Enforce accepted package authority at runtime #71

Closed
opened 2026-10-27 13:34:50 +00:00 by sam · 1 comment
Owner

Goal

A package step attempting a forge action, trigger or tool outside its accepted authority fails.

Evidence

store.md 'Nothing a package does at runtime can exceed its accepted authority'; AcceptedAuthority is consulted only in infrastructure/secretengine/runner.go:104. Tracked loosely as em7s.3: close that with this.

Rules

Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. Run task check once at the end; if it fails twice on the same problem, comment on this bead and stop.

Stop when

  • Checks at forge action, trigger and tool call sites, one table-driven test in the grants seam.
    Then commit (Conventional Commits, scoped by package), bd close this bead and stop.

Close reason

Forge permissions enforced for package workflows. Tools, trigger and pin-replacement filed as follow-ups.


Imported from beads archie-core-4q28.19 · GitHub #1244 · type feature · priority P1 · created 2026-10-05 · closed 2026-10-10

## Goal A package step attempting a forge action, trigger or tool outside its accepted authority fails. ## Evidence store.md 'Nothing a package does at runtime can exceed its accepted authority'; AcceptedAuthority is consulted only in infrastructure/secretengine/runner.go:104. Tracked loosely as em7s.3: close that with this. ## Rules Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. Run `task check` once at the end; if it fails twice on the same problem, comment on this bead and stop. ## Stop when - [ ] Checks at forge action, trigger and tool call sites, one table-driven test in the grants seam. Then commit (Conventional Commits, scoped by package), `bd close` this bead and stop. ### Close reason Forge permissions enforced for package workflows. Tools, trigger and pin-replacement filed as follow-ups. --- _Imported from beads `archie-core-4q28.19` · GitHub #1244 · type feature · priority P1 · created 2026-10-05 · closed 2026-10-10_
sam added the highfeature labels 2026-10-27 13:34:50 +00:00
sam self-assigned this 2026-10-27 13:34:50 +00:00
sam closed this issue 2026-10-27 13:34:50 +00:00
Author
Owner

sam wrote (originally 2026-10-08):

Investigation: workflow projection preserves only ID/YAML, task grants preserve only task ID/expiry, and task-scoped Update can replace workflow pins. Runtime checks need authoritative package provenance retained through projection and snapshotted by the State Store when issuing the run grant; deriving authority from worker fields or current contribution ownership can allow widening after edits/removal. No partial security fix committed.

_sam wrote (originally 2026-10-08):_ Investigation: workflow projection preserves only ID/YAML, task grants preserve only task ID/expiry, and task-scoped Update can replace workflow pins. Runtime checks need authoritative package provenance retained through projection and snapshotted by the State Store when issuing the run grant; deriving authority from worker fields or current contribution ownership can allow widening after edits/removal. No partial security fix committed.
sam added a new dependency 2026-11-14 14:45:06 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#71