Repository navigation
Description
Opened after the repo went public on 2026-11-06. Two items, neither urgent, both wanting a deliberate decision rather than a default.
Already done, recorded here so nobody redoes it
- Fork-PR approval tightened from
first_time_contributorstoall_external_contributors, so no fork's workflows run unapproved. Reversible viagh api -X PUT repos/:owner/:repo/actions/permissions/fork-pr-contributor-approval -f approval_policy=…. Note the--input -JSON form of that PUT fails silently;-fworked. Read back every write. - Credential scan of the full history: clean. Zero
AKIA…, zeroghp_/github_pat_, zero SSH private keys. Twosk-ant-hits are unit-test fixtures ("sk-ant-new","sk-ant-x"); the RSA PEM istestdata/sa_token_test_rsa.pem,include_str!'d intosatoken.rstests..env.exampleis placeholders. The never-expiring AdministratorAccess key is not in the repo. Nothing needs rotating. - Merge queue is still unavailable.
mergeQueue(branch:"main")isnull— public only unlocks it for organization-owned repos, and this is user-owned.merge-bus.ymlis therefore not redundant. If the repo ever moves under an org, revisit: merge queue would replace the bus.
1. Was publishing the security material intended?
Now world-readable, and all of it was written when the repo was private:
.claude/skills/security/**and.claude/skills/pentest/**(15 files) — the known vulnerability classes specific to this system, which harness locks each one, and where a PoC belongsdocs/infrastructure.md— the IAM model, the deliberate exceptions still pending retirement, the SSO design- the AWS account id, in
er-ci-sccache-797781631727
None of it is a secret and publishing it may well be fine — threat models benefit from review. But it is a map of the attack surface written for an audience of one, and the decision should be explicit. Options: accept as-is, move the security skills to a private repo, or edit out the "not yet fixed" specifics.
2. Fork PRs will fail the Rust gate
rust.yml requests id-token: write in seven jobs to exchange for the sccache S3 role, and runs on pull_request. A fork PR is issued no id-token, so that exchange cannot succeed.
infra.yml already handles this deliberately — "A fork PR is issued no id-token, so it could not assume the plan role" — and its plan tier skips with that explanation. rust.yml has no equivalent, so an outside contributor's PR would just go red on the compile jobs with a confusing cause.
If outside contributions are wanted, rust.yml needs the same treatment: detect the absent token and run without sccache (slower, but green) rather than failing the exchange. If they are not wanted, say so somewhere, because the current behaviour reads as a broken gate rather than a closed door.
Not an issue
Actions compute for this repo is now free (standard hosted runners, public repo), and ubuntu-latest is the 4-vCPU/16GB machine rather than 2-vCPU/8GB — so the Rust gate gets faster for nothing. The $500 spending limit now only governs the other repos (mono, sqlfmt).
Product context (2026-11-26)
Why this matters for the API product: Indirect, it's about operating safely. Item 1 decides how much of the attack-surface map stays public while the API is the product. Item 2 decides whether outside contributors can get a green gate.
Current state:
- The fork-PR approval policy still reads
all_external_contributors(read back today). The repo is still public and user-owned. - Item 1:
docs/no longer holds this material.docs/infrastructure.mdnow lives at.claude/skills/infra-platform/references/infrastructure.md, and it names the account id at lines 81 and 85. The account id also appears inapi-contract/SKILL.md:248,infra-platform/SKILL.md:194and theer-engine-opsreferences. The sccache bucket no longer carries it: sccache moved to Cloudflare R2 in ci(rust): sccache on Cloudflare R2 — cheap AND fast #920, and the bucket is nower-ci-sccacheon an R2 endpoint (rust.yml:115-116).security/pluspentest/is now 17 files, up from 15. - Item 2's mechanism is out of date.
rust.ymlhas noid-token: writeleft. Compile jobs now read R2 keys from repository secrets, and main reads them from the protectedsccache-writeenvironment (rust.yml:118-150,:563-568). A fork PR gets no secrets, butSCCACHE_BUCKETis still set for it. Only Dependabot is special-cased to an empty bucket (rust.yml:114-115). So the open question is now "does sccache fail or degrade with empty credentials?" That is unverified. CONTRIBUTING.mdstill says nothing about whether outside PRs are wanted.
Definition of done:
- Record the owner's disclosure decision in the issue: accept, move, or redact.
- Either a fork PR's
rustgate goes green without sccache (empty credentials leads to an emptySCCACHE_BUCKET, the same way Dependabot is handled), orCONTRIBUTING.mdstates that outside PRs are not accepted.
Open product decision: Whether the security/pentest skills and the IAM-exception detail stay public, and whether outside contributions are wanted at all.
Size: ~0.25 engineer-weeks after the decision.
Activity
athvin commentedon Nov 28, 2026
Decision on item 1 (disclosure), made under the standing instruction to use judgment rather than wait: accept as published. The security and pentest skills, the IAM-exception detail and the account id stay public.
Reasoning:
The owner can revisit this at any time: the options remain move or redact. Item 2 is handled in the linked PR.
ci: a fork PR's Rust gate builds without the R2 cache, like Dependabo…
docs(api): the person × account support matrix, each red cell a ticket (