CI / ci (push) Canceled after 0s
Collapse #192: the root AGENTS.md testing learnings shrink to what scripts/full-test.sh cannot encode. Eight gate-running recitals become the one-line pointer; MuseionTests/AGENTS.md Verification names the script instead of the raw xcodebuild line. Deleted → encoded by: - #30 flake ritual → --serialized rerun + no-concurrent-lint rule; pre-push no-push-while-live pid scan - #31/#134 executed-count-not-banner + vacuous filters → xcresulttool-authoritative counts; zero-executed summary exits nonzero (full-test.sh:431-449) - #178 parameterized @Test count arithmetic → summary-based counting - #33/#179 newest-bundle race → per-run pinned -resultBundlePath (:190), each run polls its own dir - #177 grep -c chain break → the script is the single gate command - #177 build/test split under timeout cap → detached run (the split existed only to dodge the cap) - #182 test-without-building stale green → obviation: rail builds+tests in one detached run; residual covered by no-push-while-live + kept #197 learning - lint-gate scoping recital → scripts/hooks/pre-push header + push- delta scoping loop Retained (script cannot encode): #197 stale binaries + FSEvent quiesce, #162 ticker, #178 transport double, #33 keychain, #151 seam, #134 reboot remedy, #147 pair, #142/#143/#180/#181 format family. Two-axis review (Standards + Spec subagents): spec PASS — all 8 mappings verified against script body, not header claims; standards follow-ups applied (pointer scoped to its section; Commands-block xcodebuild line marked ad-hoc/outside-the-rail). Verify: swiftformat --lint 0/141, swiftlint 0 findings, full-test.sh 693/693; gitnexus detect-changes low, 0 flows. Closes #192
4.7 KiB
4.7 KiB
Collapse the gate-running AGENTS.md learnings into the verify-rail pointer
Date: 2026-11-17 Type: issue Reference: #192
Goal
Shrink root AGENTS.md's testing learnings to what scripts/full-test.sh cannot encode: the gate-running recitals (executed-count-not-banner #31/#178, newest-bundle race #33/#179, build/test split #177, vacuous filters #31/#134, the #30 flake ritual, the #182 stale-green corollary, the lint-gate scoping recital) collapse into one pointer line; test-authoring rules stay; MuseionTests/AGENTS.md Verification names the script instead of the raw xcodebuild line.
What Was Done
- Root
AGENTS.mdTesting section: deleted 7 gate-running bullets, added the one-line pointer — gate rules are encoded inscripts/full-test.sh(#190), runstart+status, never hand-rolled xcodebuild/xcresult incantations - Root
AGENTS.mdTooling & gates: deleted the lint-gate-scoping sentence from the lint bullet (survives verbatim inscripts/hooks/pre-pushheader + scoping loop;#191closed as superseded — tree went green, no baseline file ever landed) MuseionTests/AGENTS.mdVerification: deleted the raw xcodebuild line; the section now names only./scripts/full-test.sh start+status- Root Commands block: annotated the raw
xcodebuild … testline as ad-hoc/outside-the-rail so it no longer contradicts the pointer (review follow-up) - Scoped the pointer's "everything below" to "the rest of this section" — it had swept in the heading-less format bullets and the Trust boundaries section (review follow-up)
- Two-axis review (parallel subagents: Standards + Spec) — Spec verified all 8 deletion mappings against the script body, not just header claims (zero-executed VACUOUS fail at
full-test.sh:431-449, pinned-resultBundlePathat:190,--serializedat:192)
Decisions & Rationale
| Decision | Rationale |
|---|---|
| Deletion test = "can the script encode it?" | Issue AC2: authoring rules retained, nothing deleted the script does not encode. Each of the 8 deletions maps to verified script/hook behavior (table in the issue comment trail / commit body) |
| Keep #197 stale-binary learning | full-test.sh does not verify SwiftCompile lines — the trap survives even scripted runs |
| Keep #134 reboot remedy | Script detects the wedge family via per-test timeouts but cannot encode "reboot the machine"; the emergency workaround (standalone swift <file> check) is machine-level knowledge |
| Delete #182 despite partial encoding | Encoded by obviation: the sanctioned rail builds+tests in one detached run, so no built-products-vs-sources gap exists; mid-run-edit residual is covered by the hook's no-push-while-live guard + kept #197 |
| Keep lint green-contract sentence, delete only the gate-scoping sentence | The green contract is #197's documented state; the scoping recital duplicates the pre-push hook header (DOX: no duplication where the script header is the contract's home) |
| Authoring halves of deleted bullets survive in the child | MuseionTests/AGENTS.md already carries suite-name-filter notes (L15, L28), spawnsTicker/#30/#147 family (L27), keychain/makeHome guidance (L24) — untouched |
Gotchas & Fixes
| Problem | Root Cause | Fix |
|---|---|---|
| Pointer line claimed "everything below is test authoring" | The section below also holds format-shape bullets and flows into Trust boundaries — sentence overshot its scope | Rescoped to "the rest of this section is authoring rules the script cannot encode" |
Commands block still listed bare xcodebuild … test beside the new "never hand-rolled incantations" pointer |
Pre-existing tension, aggravated by the new prohibition | Annotated the line: ad-hoc run incl. UI smoke (outside the rail), full-suite verification → full-test.sh |
Files Changed
| File | Change Summary |
|---|---|
AGENTS.md |
8 gate-running learnings → one verify-rail pointer; lint recital sentence dropped; Commands annotation; GitNexus auto-managed counter refresh (7035→7044 nodes) |
MuseionTests/AGENTS.md |
Verification names only ./scripts/full-test.sh (raw xcodebuild line deleted) |
Verification
swiftformat --lint .→ 0/141 require formatting;swiftlint→ 0 findings (read-only checks, run before the suite so the green attaches to exact bytes)./scripts/full-test.sh start+status→ 693 executed / 693 passed / 0 failed / 0 skipped, xcodebuild exit 0gitnexus detect-changes→ 2 files, 19 symbols (docs-shaped only), 0 affected processes, risk low
Open Items & Next Steps
- None — commit body carries the deletion→script-behavior mapping table (AC1);
Closes #192auto-closes on push.
Log written by write-log skill