Skip to content

nightly: engine before the verbs + Goldpath.Cli mutation debt paid (62 % → 97 %) - #173

Merged
omercelikdev merged 1 commit into
mainfrom
nightly-green
Aug 23, 2026
Merged

nightly: engine before the verbs + Goldpath.Cli mutation debt paid (62 % → 97 %)#173
omercelikdev merged 1 commit into
mainfrom
nightly-green

Conversation

@omercelikdev

Copy link
Copy Markdown
Owner

Nightly has been red every night since 2026-08-06 on two jobs. Both trace to the 2026-08-05 CLI PRs (#143#147).

GmSixGatewaygoldpath new service gates its result through specdrift, but validate-gm.sh installed the engine only at the spec-lint step (after the post-generation verbs, into a tool-path not on PATH) → could not run 'specdrift'. Fix: resolve the pinned engine once, BEFORE any verb, and hand it to the CLI via its existing GOLDPATH_SPECDRIFT hook. Proven locally: new service → new gateway → build → spec-lint → smoke, green.

mutation (Goldpath.Cli) — 62.35 % vs the 70 % break (528 survivors; the gate is nightly-only so the PRs never saw it). Seven new test files pin generated files byte-exact, every refusal message/exit code, every process invocation and branch. Score: 96.95 % (1650 killed / 42 survived — the remainder are equivalent mutants). Suite 133 → 368 tests, still ~0.6 s. No production code changed; the threshold was NOT touched.

After merge: gh workflow run nightly.yml to confirm before tonight's schedule.

🤖 Generated with Claude Code

…ation debt paid

Two reds since 2026-08-06, both from the 2026-08-05 CLI PRs (#143#147):

1. GmSixGateway: 'goldpath new service' gates itself through specdrift, but
   validate-gm.sh installed the engine only at spec-lint — AFTER the post-generation
   verbs, into a tool-path not on PATH. The engine is now resolved ONCE before any verb
   and handed to the CLI through its own GOLDPATH_SPECDRIFT hook, so 'new service',
   'new gateway' and spec-lint all run the same 0.4.2 pin. Proven locally end to end
   (new service → new gateway → build → spec-lint → smoke green).

2. mutation (Goldpath.Cli): 62.35 % against a 70 % break. The four PRs added ~1,600
   lines of command code with thin tests and the gate runs only nightly, so it was never
   seen on a PR. Seven new test files pin the generated files byte-exact, every refusal
   message and exit code, every engine/process invocation, and every branch the
   survivors lived on. Score now 96.95 % (killed 1650, survived 42 — the remaining ones
   are equivalent mutants, listed in the test files' comments where relevant).
   133 → 368 tests, ~0.6 s.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@omercelikdev
omercelikdev merged commit 2e59397 into main Aug 23, 2026
4 checks passed
@omercelikdev
omercelikdev deleted the nightly-green branch August 23, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant