Repository navigation
Shell keyword families: five red cells (bitwise, time, panics, io, debug_prints) to ok (Part of #8863, #9338) - #9371
squid-protocol wants to merge 12 commits into
Conversation
…it ops and file/network moves count at command position (Part of #8863, #9338) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…eyword families (Part of #8863, #9338) Goldens move only for shell files (including .sh/.csh inside the zig and fortran corpora) and the repo-wide rollups; scope_check --expect shell shows no other language. Baseline: the five Shell cells (bitwise_ops, time_date_logic, panics_and_aborts, io, debug_prints) go from dead/over-counts to ok. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #9371 @ deffecd: 1 failed check(s) == rosetta-audit (failure) -- real |
|
No description provided. |
…egenerate family-validity baseline and charts (Part of #8863, #9338) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (590d7bb) is not the one a maintainer labelled |
|
No description provided. |
1 similar comment
|
No description provided. |
|
PR #9371 @ 590d7bb: 1 failed check(s) == rosetta-audit (failure) -- main |
…art of #8863, #9338) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (0958b4f) is not the one a maintainer labelled |
|
No description provided. |
|
PR #9371 @ 0958b4f: 10 failed check(s) == crucible (cancelled) -- infra == db2 ${{ matrix.shard }} (cancelled) -- infra == det (cancelled) -- infra == full-suite (cancelled) -- infra == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == ground-truth (cancelled) -- infra == publish-history (cancelled) -- infra == shard ${{ matrix.shard }} (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
…egenerate family-validity baseline and charts (Part of #8863, #9338) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (ce1e9d2) is not the one a maintainer labelled |
|
No description provided. |
|
PR #9371 @ ce1e9d2: 13 failed check(s) == crucible (cancelled) -- infra == db2 ${{ matrix.shard }} (cancelled) -- infra == equivalence-e2e (cancelled) -- infra == full-suite (cancelled) -- infra == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == ground-truth (cancelled) -- infra == ground-truth part ${{ matrix.shard }} (cancelled) -- infra == ground-truth-warm (cancelled) -- infra == publish-history (cancelled) -- infra == rosetta-audit (failure) -- real == shard ${{ matrix.shard }} (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
…alidity charts (Part of #8863, #9338) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (86aeb6b) is not the one a maintainer labelled |
|
No description provided. |
3 similar comments
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
PR #9371 @ 86aeb6b: 13 failed check(s) == crucible (cancelled) -- infra == db2 (cancelled) -- infra == full-suite (cancelled) -- infra == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == ground-truth (cancelled) -- infra == ground-truth part ${{ matrix.shard }} (cancelled) -- infra == ground-truth-warm (cancelled) -- infra == publish-history (cancelled) -- infra == rosetta-audit (failure) -- real == shard ${{ matrix.group }}/${{ needs.plan.outputs.splits }} (cancelled) -- infra == shard ${{ matrix.shard }} (${{ matrix.loc }} LOC) (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
…alidity charts (Part of #8863, #9338) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (522e4c0) is not the one a maintainer labelled |
|
No description provided. |
1 similar comment
|
No description provided. |
|
PR #9371 @ 522e4c0: 13 failed check(s) == crucible (cancelled) -- infra == db2 ${{ matrix.shard }} (cancelled) -- infra == full-suite (cancelled) -- infra == ground-truth (cancelled) -- infra == ground-truth part 1/4 (cancelled) -- infra == ground-truth part 2/4 (cancelled) -- infra == ground-truth part 3/4 (cancelled) -- infra == ground-truth part 4/4 (cancelled) -- infra == publish-history (cancelled) -- infra == rosetta-audit (failure) -- real == shard ${{ matrix.shard }} (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
|
Waiting on an owner decision (asked privately, 2026-11-26). Nothing is needed from contributors; work resumes once it is answered. |
|
Closing as superseded: this change merged in #9409 ( 🤖 Generated with Claude Code |
What
Shell keyword families: the five red cells on the pinned crucible (bitwise_ops, time_date_logic, panics_and_aborts, io, debug_prints) are now
okintests/family_validity_baseline.json(Part of #8863, #9338).Changes in
gitgalaxy/standards/language_standards/languages/shell.py:_CMDPOS: line start, after; & | ( { \`` orthen/do/else, optionalsudo/env/exec-style wrappers and a path prefix, not a backslash-continuation line).exit,date/time/uptime,echo/printf`, and the file/network commands only count where a command runs, not as an argument, a word in a string or a path component.io: redirections to a real file plus the command list (cat, cp, mv, mkdir, touch, ln, tee, dd, curl, wget, scp, rsync, nc, read, mapfile, mktemp)./dev/null|stdout|stderr|fd|ttytargets do not count.debug_prints: echo/printf/print at command position, not when the output feeds a pipe or a file.panics_and_aborts:exitat command position.bitwise_ops: operators only inside(( ))andlet, so&&,||,>>redirects and<<heredocs stop counting.time_date_logic: clock commands plus$EPOCHSECONDS,$EPOCHREALTIME,$SECONDS.Before, the cells read
dead(no signal) orover-counts(precision 0.26-0.68); all five now readok(precision 0.92-1.0, recall 0.95-1.0): see thetests/family_validity_baseline.jsondiff.Tests
tests/extraction/languages/test_shell_family_validity_9338.py(positive and negative shapes per family, a continuation-line case).test_shell_strict.pyupdated where old behavior was the bug:exit 1abort case, thesleepassertion (sleep is a thread sleep, not a clock read), the retiredkilldual.pr_gates --fast(the stale family-validity SVGs were regenerated),pr_gates --ratchets,audit_check.py(ruff, mypy, dead-key, doc-refs, ast-accuracy, signal-coverage),family_oracle_sweep.py --write,scope_check.py --expect shell --mode both.Golden re-bless
Re-blessed with
golden-lock.sh crucible_check.py --update --yeson top of the merged origin/main.scope_check --expect shellattributes the drift to shell files (including.sh/.cshfiles inside the zig and fortran corpora, which are shell files by extension) and the repo-wide rollups that follow from them. No other language moved after the merge of main's C keyword-family PR (an earlier run showed C drift only because the local base was behind main).Class / Sibling gaps
Class: Shell keyword families on the pinned crucible. Siblings checked: thread_sleeps is 0.83 precision (not red, left alone); ipc_rpc_bridges not measured by the oracle for Shell; telemetry overlaps debug_prints on
>/dev/stderrechoes;rm/rmdirare in the oracle's io list but the io contract (C2, cleanup ruling) gives removals to cleanup, so they are not inio(recall is still 0.95): contract question if the oracle list should drop them; grep/tail/find/xargs/jq/ssh are not in the oracle's io list and were left out.Checklist: done [c:2bff1f05]
Facts checked: all five Shell cells read
okin the regeneratedtests/family_validity_baseline.json(only Shell cells moved);scope_checkshows no non-shell language drift; origin/main merged, not rebased.Family-validity checklist
rosetta:rebless-owedRemaining slices
None for the five cells; the oracle's
rm/rmdirio question is a contract question for #8863.Lessons for agents
scope_check.pydiffs against a base that may lag origin/main: a C/C++ drift in a shell PR means main moved;git fetch, merge main and re-bless before attributing.date/echoat the start of a\-continued line is an argument, not a command: guard command-position anchors with(?<!\\\n)^.🤖 Generated with Claude Code