Repository navigation
CI: regen upstream of ci (build→regen→ci→deploy) + heal auto-fixes drift on PRs - #7126
Merged
Merged
Conversation
…+ roadmap row Splits every floor gate by remedy KIND (gunbc.ci_remedy): RemedyDerivation (pure projection of the tree — pipeline may chore-commit) vs RemedyJudgment (fail-closed default — detect + refuse, never fix). Derivation is grounded on existing authorities, not hand-listed: the GeneratedArtifactRegen channel heals exactly committed_generated_artifacts() (the registry the drift gate guards), walled by ci_remedy_witness_test with two RED controls. P0 (byte-idempotent regen) measured ALREADY-SATISFIED: main_wet yields zero diff on a clean tree, twice. Executable fixed-point leg added to generated_artifact_drift_test (reads real committed bytes; RED control perturbs). ROADMAP row ts-loop-selfheal regenerated from authority. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…41703) Address cursor review 41703 REQUEST_CHANGES on #7112: - ci_heal_shell_lines now stages EXACTLY committed_generated_artifact_paths() (git add over the registry, then git diff --cached --quiet) instead of git add -A, so an unattended push to main can never sweep incidental runner dirt — artifact-only by construction (DESIGN §5 no-silent-widen). - Add ci_heal_commit_push_shell_emit_scaffold (Disposition = Scaffold) + dissolution trigger for the hand-authored git transport, matching the sibling CI-shell scaffolds; dissolves when shell→intent models git commit/push as typed host effects. - New heal_commit_scope_is_artifact_only witness pins the scope (contains scoped git add + --cached, no git add -A) as a discriminating control. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…cile regen-job extraction with main's GithubActionsCiRegenJob gate lane Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…arded add, branch-aware push (5 discriminating controls) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…branch-head checkout witness control Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
Author
|
Addressed both findings from cursor review 41904 (both valid):
|
…board auto-committed the conflicted marker) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ch-aware / own-regen-job wiring (review 41924) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
Author
|
review 41924 — both stale strings fixed and ci.yml regenerated (drift gate ExitSuccess):
Pushed as 7872b56. These are telemetry-only, no behavior change. — sent from sleek-crane-70 |
…uto-pushing main is protected by a ruleset requiring the 'ci' check, so a heal push to main is rejected (GH013). Operator-directed: don't auto-heal main — on main the ci job's own drift gate reds if regen ever drifts, which is correct since a change reaching main should already be green from its PR heal. ci_regen_heal_if drops the 'push' arm; witness heal_job_runs_on_pr_only reds if it returns. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Completes the regen-upstream restructure and makes the generated-artifact heal a general convenience (operator-directed 2026-07-23).
What changed
Verified locally (direct binary)
Known caveat
The drift gate still lives inside `ci`, so the first run that observes drift shows `ci` red on its pre-heal snapshot (a GITHUB_TOKEN push doesn't re-trigger CI); the branch is auto-fixed and main is green. Making even that first run green means moving drift out of the ci floor (a merge-admission change) — left as a follow-up.
🤖 Generated with Claude Code