Repository navigation
#147 Adopt shipping-work's local-gate attestation - #151
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ation tier push.sh posts gate/local on a tree pre-ship.sh passed. ci.yml's test job reads it on a PR only (statuses: read on the job) and skips the full suite at step level, so main's push run, which deploy.sh reads, always runs everything. The integration tier, which pre-ship.sh deselects, runs on the inverse condition. tests/test_ci.py evaluates both if:s over every trigger. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ILLS, AGENTS Also DEPENDENCIES.md's setup-uv pin row, v10.4.0 since #148. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…assed Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…why the read is PR-only Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… reads Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 24, 2026
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.
Adopts
shipping-work's local-gate attestation (gregoryfoster/skills#688), in CannObserv/status's shape, per #147's brief (comment 7141925251; corrections 7142241797). This is conformance, not a cost lever: the repo is public.What changes
.skills/attest-local-gate=on.push.shgates the exact tree, pushes only what passes, then postsgate/local=successon the pushed SHA.ci.ymltest:statuses: readgoes on the job's ownpermissions, since a job's permissions replace the workflow's.atteststep afteruv sync, onpull_requestonly, reads the head's combined status (per_page=100).pytesttakes the reference'sif:verbatim, at step level.pytest (integration)step takes!(<that if>), so an attested PR still runs the tierpre-ship.shdeselects.mainreads nothing and runs the whole suite, sodeploy.sh,CI_JOBSand the gate's meaning don't change.tests/test_ci.pyevaluates bothif:s with a small evaluator for GitHub's expression syntax, over every trigger (push, tag, dispatch, a human's PR, a bot's PR, a fork's PR), attested and not. Exactly one of the two steps runs. The full suite never skips outside an attested human PR.tests/test_shipping_knobs.pyreads the knob through the skill's ownattest_read_knob.docs/DEPENDENCIES.md: a new § Local-gate attestation, and the setup-uv pin row (v10.4.0, chore: bump astral-sh/setup-uv from 10.3.3 to 10.4.0 #148).docs/DEPLOYMENT.md§ The CI gate: one line.docs/SKILLS.md: the knob rows.AGENTS.md: the CI row..skills/doc-sensitive-pathsanddoc-sectionsgain the knob and the new section.Plan:
docs/plans/2026-11-24-147-attest-local-gate.md. CR 1–5 are fixed in their own commits. CR 6 (AGENTS.md has about 38 tokens of headroom left) is stet: it's within budget.Evidence
pytest -m integrationagainst the scratch Redis: 60 passed.push.sh:Attestation: gate/local = success posted on 6c09fb7…, and the combined status reads it back.attestreadsattested=yes,pytestis skipped,pytest (integration)runs 60 tests, andlintruns in full.main's push run on the same SHA should skipattestand run the full suite.No deploy: nothing in
processor.drift.RUNTIME_*changes.Refs #147. It stays open for the live check: the next Dependabot PR must run
pytestin full.🤖 Generated with Claude Code