Extract from packages and Kits; acceptance records; forge actions, triggers and tool grants checked. See docs/prds/store.md.
Notes
Slice (b) acceptance records is implemented and merged (af25fea4): Authority.Covers as the upper-bound predicate, AcceptedAuthority on the installed record, migration 0022 (jsonb, NULL = no acceptance), the wire field plus an admin-only AcceptPackageAuthority RPC, and a real Postgres + bufconn gRPC test proving the record -- not the descriptor -- is the bound and that an undeclared/wider grant fails closed. Slice (c) runtime checks are deliberately NOT implemented: nothing reads Descriptor.Authority and no contribution is materialised into workflows/triggers/tools yet, so a check there would be unwired. Slice (c) needs the update flow first (em7s.4/.5); Covers is the predicate it will land on.
Gap confirmed 2026-10-05: extension processes get only declared env, but declared egress hosts are not enforced; an extension can reach any host. Slice (c) must confine extension egress to the accepted hosts.
Egress enforcement split out as its own P0 bead; not part of slice (c).
Close reason
Forge (5fe8716d), tools (4ed4b7f9) and triggers (c8f4902c) are all enforced from the accepted authority at runtime.
Imported from beads archie-core-em7s.3 · GitHub #1192 · type task · priority P1 · created 2026-09-25 · closed 2026-10-10
Extract from packages and Kits; acceptance records; forge actions, triggers and tool grants checked. See docs/prds/store.md.
### Notes
Slice (b) acceptance records is implemented and merged (af25fea4): Authority.Covers as the upper-bound predicate, AcceptedAuthority on the installed record, migration 0022 (jsonb, NULL = no acceptance), the wire field plus an admin-only AcceptPackageAuthority RPC, and a real Postgres + bufconn gRPC test proving the record -- not the descriptor -- is the bound and that an undeclared/wider grant fails closed. Slice (c) runtime checks are deliberately NOT implemented: nothing reads Descriptor.Authority and no contribution is materialised into workflows/triggers/tools yet, so a check there would be unwired. Slice (c) needs the update flow first (em7s.4/.5); Covers is the predicate it will land on.
Gap confirmed 2026-10-05: extension processes get only declared env, but declared egress hosts are not enforced; an extension can reach any host. Slice (c) must confine extension egress to the accepted hosts.
Egress enforcement split out as its own P0 bead; not part of slice (c).
### Close reason
Forge (5fe8716d), tools (4ed4b7f9) and triggers (c8f4902c) are all enforced from the accepted authority at runtime.
---
_Imported from beads `archie-core-em7s.3` · GitHub #1192 · type task · priority P1 · created 2026-09-25 · closed 2026-10-10_
sam
added the hightask labels 2026-10-27 13:35:33 +00:00
Triage 2026-10-02 @ 11974196: PARTIAL. Shipped: Authority type + Covers predicate + Validate (domain/storepkg/authority.go, descriptor.go:49-55); the acceptance record AcceptedAuthority with the wider-than-declared fail-closed case (installed.go:37,98-115, ErrAuthorityNotDeclared); migration 0022 + State Store wire RPC; admin-only enforcement via the task-scoped token allowlist (staterpc/task_grants.go). NOT shipped: the bead's own 'forge actions, triggers and tool grants checked' slice -- every non-test AcceptedAuthority reference is serialization or persistence, with no runtime reader, and nothing materialises a contribution into a workflow/trigger/tool. Kit-derived authority is absent (zero authority refs under internal/infrastructure/kit). The remaining slice is blocked by em7s.4 (signed catalogues) -> em7s.5; Kit extraction is em7s.6. No operator surface (dashboard/CLI) exists for the already-callable accept RPC.
_sam wrote (originally 2026-10-02):_
Triage 2026-10-02 @ 11974196: PARTIAL. Shipped: Authority type + Covers predicate + Validate (domain/storepkg/authority.go, descriptor.go:49-55); the acceptance record AcceptedAuthority with the wider-than-declared fail-closed case (installed.go:37,98-115, ErrAuthorityNotDeclared); migration 0022 + State Store wire RPC; admin-only enforcement via the task-scoped token allowlist (staterpc/task_grants.go). NOT shipped: the bead's own 'forge actions, triggers and tool grants checked' slice -- every non-test AcceptedAuthority reference is serialization or persistence, with no runtime reader, and nothing materialises a contribution into a workflow/trigger/tool. Kit-derived authority is absent (zero authority refs under internal/infrastructure/kit). The remaining slice is blocked by em7s.4 (signed catalogues) -> em7s.5; Kit extraction is em7s.6. No operator surface (dashboard/CLI) exists for the already-callable accept RPC.
Operator surface correction: the 2026-10-02 triage said no dashboard/CLI surface exists for the accept RPC. That is stale — internal/webui/api_extensions.go:213 now calls Packages.AcceptPackageAuthority from the dashboard, so the admin UI accept path is wired. Remaining scope is unchanged: slice (c) runtime checks (nothing outside storepkg reads Covers; only Env slicing uses AcceptedAuthority) plus kit-derived authority (no authority refs under internal/infrastructure/kit). Sequencing note: em7s.10 (egress enforcement, P0) should land before or with slice (c) so operator-accepted egress is enforced independently of the update flow.
_sam wrote (originally 2026-10-05):_
Operator surface correction: the 2026-10-02 triage said no dashboard/CLI surface exists for the accept RPC. That is stale — internal/webui/api_extensions.go:213 now calls Packages.AcceptPackageAuthority from the dashboard, so the admin UI accept path is wired. Remaining scope is unchanged: slice (c) runtime checks (nothing outside storepkg reads Covers; only Env slicing uses AcceptedAuthority) plus kit-derived authority (no authority refs under internal/infrastructure/kit). Sequencing note: em7s.10 (egress enforcement, P0) should land before or with slice (c) so operator-accepted egress is enforced independently of the update flow.
Forge (5fe8716d) and tools (33d5c7d4) runtime checks are enforced. Only the triggers slice (4q28.29, needs a product decision) remains.
_sam wrote (originally 2026-10-10):_
Forge (5fe8716d) and tools (33d5c7d4) runtime checks are enforced. Only the triggers slice (4q28.29, needs a product decision) remains.
sam
added a new dependency 2026-10-27 13:41:49 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Extract from packages and Kits; acceptance records; forge actions, triggers and tool grants checked. See docs/prds/store.md.
Notes
Slice (b) acceptance records is implemented and merged (
af25fea4): Authority.Covers as the upper-bound predicate, AcceptedAuthority on the installed record, migration 0022 (jsonb, NULL = no acceptance), the wire field plus an admin-only AcceptPackageAuthority RPC, and a real Postgres + bufconn gRPC test proving the record -- not the descriptor -- is the bound and that an undeclared/wider grant fails closed. Slice (c) runtime checks are deliberately NOT implemented: nothing reads Descriptor.Authority and no contribution is materialised into workflows/triggers/tools yet, so a check there would be unwired. Slice (c) needs the update flow first (em7s.4/.5); Covers is the predicate it will land on.Gap confirmed 2026-10-05: extension processes get only declared env, but declared egress hosts are not enforced; an extension can reach any host. Slice (c) must confine extension egress to the accepted hosts.
Egress enforcement split out as its own P0 bead; not part of slice (c).
Close reason
Forge (
5fe8716d), tools (4ed4b7f9) and triggers (c8f4902c) are all enforced from the accepted authority at runtime.Imported from beads
archie-core-em7s.3· GitHub #1192 · type task · priority P1 · created 2026-09-25 · closed 2026-10-10sam wrote (originally 2026-10-02):
Triage 2026-10-02 @
11974196: PARTIAL. Shipped: Authority type + Covers predicate + Validate (domain/storepkg/authority.go, descriptor.go:49-55); the acceptance record AcceptedAuthority with the wider-than-declared fail-closed case (installed.go:37,98-115, ErrAuthorityNotDeclared); migration 0022 + State Store wire RPC; admin-only enforcement via the task-scoped token allowlist (staterpc/task_grants.go). NOT shipped: the bead's own 'forge actions, triggers and tool grants checked' slice -- every non-test AcceptedAuthority reference is serialization or persistence, with no runtime reader, and nothing materialises a contribution into a workflow/trigger/tool. Kit-derived authority is absent (zero authority refs under internal/infrastructure/kit). The remaining slice is blocked by em7s.4 (signed catalogues) -> em7s.5; Kit extraction is em7s.6. No operator surface (dashboard/CLI) exists for the already-callable accept RPC.sam wrote (originally 2026-10-05):
Operator surface correction: the 2026-10-02 triage said no dashboard/CLI surface exists for the accept RPC. That is stale — internal/webui/api_extensions.go:213 now calls Packages.AcceptPackageAuthority from the dashboard, so the admin UI accept path is wired. Remaining scope is unchanged: slice (c) runtime checks (nothing outside storepkg reads Covers; only Env slicing uses AcceptedAuthority) plus kit-derived authority (no authority refs under internal/infrastructure/kit). Sequencing note: em7s.10 (egress enforcement, P0) should land before or with slice (c) so operator-accepted egress is enforced independently of the update flow.
sam wrote (originally 2026-10-10):
Forge (
5fe8716d) and tools (33d5c7d4) runtime checks are enforced. Only the triggers slice (4q28.29, needs a product decision) remains.