Amend PAT transcendence plan with challenge findings#249
Conversation
Seven amendments from oddkit_challenge (planning mode, 2026-06-09): rotation reframe, workflow-write escalation acknowledgment, middleware dependency citation, expiry+scope-aware cache spec, PKCS#8 runbook step, PAT-retirement sequencing gate, public-template README disclosure.
Canon Quality — Homepage Surfacing ✅46 essay(s) scanned. Soft report — never blocks; the hard field gate is the Frontmatter Schema job. All published essays resolve to the homepage feed. Report: |
Canon Quality — P0010 Retrieval-Readiness
|
Canon Quality — Frontmatter Schema ✅All 46 file(s) in Validator: |
Canon Quality —
|
Descriptive/searchable per commodity-as-advertisement; forge-agnostic naming clears GitHub trademark restrictions; app instance keeps oddkit-steward for audit provenance. Adds gh-scoped-creds and github-app-user-auth as 6B comparison rows.
Borrow: agents createMcpHandler + @modelcontextprotocol/sdk + @octokit/auth-app (cache spec satisfied by construction). Bide inspected-and-rejected (foundational gap) with tripwire retained. Build = minimal (~190 lines).
Seven amendments from
oddkit_challenge(planning mode, 2026-06-09), per E0010 — findings go to the doc:GITHUB_TOKEN; accepted because changes are visible under the bot identity. New section.(repositories, permissions); flat TTL serves near-dead tokens, scope-blind keys leak broad tokens to narrow requests.openssl pkcs8 -topk8one-liner added.github_tokenpasses fresh-context validation; otherwise lockout risk.Also adds
complements:frontmatter linking the middleware handoff and #248 exploration, dates the stock-connector comparison (as of June 2026), and names the retraction condition / 6B tripwire.Plan shape unchanged — challenge verdict was
block_until_addressed: false. Build gate (6B borrow evaluation) is named in the doc and lands before any code.Note
Low Risk
Internal planning documentation only; no runtime, auth, or application code changes.
Overview
Amends the PAT transcendence planning doc with seven
oddkit_challengefindings (E0010): rotation is reframed (PAT-in-chat → rarely rotated worker-held key; token expiry replaces PAT rotation), Workflows RW / CI escalation is called out explicitly, and the MCP bearer middleware is documented as the load-bearing security boundary oncegithub_tokenexists.The owner runbook gains a PKCS#8 conversion step for Workers WebCrypto and a sequencing gate—do not retire the last PAT until
github_tokenvalidates in a fresh session. Implementation notes add a 6B borrow build gate, an expiry-aware cache keyed on(repositories, permissions), and a executed 6B evaluation table (~190-line minimal build). New sections cover accepted escalation, public template naming (git-repo-auth-mcp) and README disclosure (#248), stock-connector retraction/tripwire language, and the v0.2 bridge model (OAuth front door, per-user grants). Frontmatter addscomplements:links to the middleware handoff and credential-relay exploration.Reviewed by Cursor Bugbot for commit 3749cf9. Bugbot is set up for automated code reviews on this repo. Configure here.