-
fork: rebuild #2 P3a, private skill sources (server) behind fork seams + C6
fork-tests / verify (pull_request) Successful in 6m6sreleased this
2026-10-18 17:50:42 +00:00 | 3507 commits to local since this releasePer-skill source auth for company skills on github.com, in
server/src/modules/fork-skill-sources/:- PAT (stored as the skill's own
skill-pat:{skillId}secret, rotated in
place, released when no skill references it) or a selected github-app
connection (validated by minting at the PATCH). - Read ladder: source/host gate -> PAT -> selected App (fails loudly) ->
organization App (silent) -> anonymous. The bearer is attached only to
github.com hosts, and authenticated reads refuse redirects. - Import, update check, update, file reads, snapshots and runtime
materialization all read through it; one resolution per operation. - installUpdate picks its candidate with selectUpdateCandidate: pinned
folder, unambiguous key, same key, never a frontmatter-only stub. - PATCH /companies/:id/skills/:skillId/auth (secret-sensitive route,
activity-logged without the PAT); import acceptsauthand stays off
the Skill Sources path when it carries any. - C6 (coverage audit #7): Skills -> Sources board reads try the
organization App after managed grants and before anonymous, and never
save it on the source.
Upstream files carry only
fork-seam:skill-source-*hooks (27 seams).
Every behavioural hook is mutation-checked (32/32 caught).Co-Authored-By: Claude Opus 5.5 [email protected]
Downloads
- PAT (stored as the skill's own