Skip to content

Commit 7684973

Browse files
committed
docs: sync admission design record with hardened gate
1 parent 78817c5 commit 7684973

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎docs/superpowers/specs/2026-08-02-contribution-firewall-design.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Low-effort implementation pull requests currently transfer the cost of validatio
1212

1313
Add a second intake layer that evaluates outcomes rather than attempting to detect AI-generated code.
1414

15-
1. Implementation PRs from contributors without repository push permission must reference an issue labeled `approved-for-work`.
15+
1. Implementation PRs from contributors without repository push permission must reference an open issue labeled `approved-for-work`.
1616
2. Every PR author must check a concrete responsibility attestation.
1717
3. Failed intake applies `awaiting-author`; passed intake applies `intake: admitted`.
1818
4. A scheduled workflow warns after three inactive days in `awaiting-author` and closes after two more.
@@ -21,7 +21,7 @@ Add a second intake layer that evaluates outcomes rather than attempting to dete
2121

2222
## Scope classification
2323

24-
An approved issue is required when any changed path is under `src/`, `gui/`, `scripts/`, `tests/`, `bin/`, or `packages/`, or when the PR changes `package.json`, `bun.lock`, or `tsconfig.json`.
24+
An approved issue is required when any changed path is under `src/`, `gui/`, `scripts/`, `tests/`, `bin/`, or `packages/`, or when the PR changes `package.json`, `bun.lock`, `bunfig.toml`, or `tsconfig.json`.
2525

2626
Documentation-only and repository-policy changes remain exempt so typo fixes and governance work do not require ceremonial issues.
2727

@@ -31,6 +31,8 @@ Documentation-only and repository-policy changes remain exempt so typo fixes and
3131

3232
The scheduled stale workflow is default-branch-only and uses an immutable action SHA.
3333

34+
Linked-issue lookups are capped so untrusted PR text cannot exhaust the API allowance, and transient lookup failures abort before admission labels are mutated. A manual `workflow_dispatch` re-run lets a maintainer re-evaluate a PR after its linked issue gains `approved-for-work`; dispatch is restricted to the repository default branch.
35+
3436
## Author responsibility contract
3537

3638
The PR template requires the author to attest that they:

0 commit comments

Comments
 (0)