Push the Forgejo policy down to deploy instead of it fetching up #1410
No reviewers
Labels
No labels
burndown-2026-06
burndown-2026-08
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
coherence-core
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
qa-fixture
role/advocate
role/director
role/exec
role/frontend
role/gamedev
role/human
role/platform
role/qa
role/science
role/sysadmin
state
ambient
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-flight-deck/agentic-os!1410
Loading…
Reference in a new issue
No description provided.
Delete branch "aos/claude/ee98-vendorpolicy"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
coilyco-bridge/deployneeds a vendored copy offorgejo.kdland its pruned spec so its MCP guardfile caninheritthem.Config lives at the lowest layer that fully determines it and is never fetched downward, and a CI-time fetch is the same coupling wearing a different hat - it makes deploy's build depend on reaching this repo. So the bytes arrive by a push, which is the authoring-vs-rollout split already in force everywhere else.
Shape
vendor-forgejo-policy.ymlfires on areleasepush touching either file. The script copies both intoservices/forgejo-mcp/vendor/aosguard/beside aSOURCEfile naming the source commit, pushes a branch, and opens a pull request.It never merges. Deploy reviews and lands its own vendored copy, so nothing here writes deploy's
main. A test asserts/mergeappears nowhere in the script.The credential is not part of this, deliberately
DEPLOY_WRITE_TOKENdoes not exist. Minting and placing an Actions secret is an operator step on a hosted surface, outside what I should do.Until it exists the job is inert rather than broken: the script warns and
exit 0s on an absent token, the same guardaos-cli-release.shuses for its tap and scoop pushes.tests/test_vendor_forgejo_policy.pyholds that guard in place, because the two failure modes are asymmetric - a job that fails every release gets disabled, and one that pushes on a token nobody reviewed is worse.So this is safe to land now and starts working the moment the secret lands.
What it unblocks
Once deploy carries the vendored pair,
services/forgejo-mcp/forgejo.mcp.kdlcaninheritit rather than restating grants. That is the deduplication #1365 was originally after - and per my finding there, it is available only for this rung, since the sirens-echo tier fixes every path to one repository and cannot inherit a parameterized one.It is also the prerequisite for #1377: that leaf needs
issueCreateLabelin the vendored spec, which neither pruned copy carries today.769 tests pass, full pre-commit suite green.
Closes #1376