| 1 | # GitHub connector step 2: forge key and seam |
| 2 | |
| 3 | Base: origin/main 00d09aa7. Scope: hub compatibility, no GitHub service, |
| 4 | credentials, project behavior, migrations or new wire fields. |
| 5 | |
| 6 | 1. Record the controller's completed scratch probe, exact calls and sanitized |
| 7 | observed answers. Keep full merge table and CARLOS egress open. |
| 8 | 2. Add wire/forgekey tests before code: closed hosts, bare hub keys, |
| 9 | case-preserving GitHub keys and case-insensitive equality, rejected URL |
| 10 | decorations and path escapes, shared display and existing hub rules. |
| 11 | 3. Add runner seam tests before code: host routing with no fallback, explicit |
| 12 | read/push use, optional CI/access forwarding, hub branch proposal without |
| 13 | writes, git username default and explicit username. Rename merge types |
| 14 | without changing their fields or existing assertions. |
| 15 | 4. Route the production hub through Forges. Replace hub key parsing/display |
| 16 | duplication with forgekey while retaining hub-only admission boundaries. |
| 17 | Document every assumption in the approved spec with current file and line. |
| 18 | 5. Break each new guard deliberately, observe its regression fail, restore it. |
| 19 | Record test commands and mutation outcomes in the controller report. |
| 20 | 6. Run pinned formatting, leaks, measured budgets, migrations, copy release, |
| 21 | lane and fixture checks; full equipo, chat, thintest and runner tests. |
| 22 | Linux CI decides runner tests that macOS cannot build. |
| 23 | 7. Commit, run the postcommit dead-reference scan, push github/seam with the |
| 24 | helper, wait for CI, and report the fixed SHA. Do not merge or deploy. |
| 25 | |
| 26 | No device API or runner wire additions are planned. New GitHub lease and |
| 27 | proposal wire fields, a protocol bump and older-runner refusal tests belong |
| 28 | with the later implementation that can dispatch GitHub work. This slice must |
| 29 | continue to reject GitHub work at hub admission boundaries. |
| 30 | |
| 31 | ## Fable review follow-up, 2026-11-23 |
| 32 | |
| 33 | On the same branch after 176d61cb, add focused regressions before fixing: |
| 34 | truncated host keys, real fileForge routing, git username redaction and Heads, |
| 35 | per-call push authority, distinct hub identity, proposal failure after a good |
| 36 | push, operation error identity, and the existing branch-link spelling. |
| 37 | Break each guard and record the killing test. Preserve successful pushes and |
| 38 | carry only proposal_failed in the existing Reason field, as the controller |
| 39 | approved. Add Luna's approved fragment to copy.go and test sentence rendering. |
| 40 | Record the organisation manifest flow and explicitly leave the uncaptured |
| 41 | workflow refusal cause open. Repeat gates, full suites, postcommit reference |
| 42 | scan and Linux CI, without rewriting existing commits. |
| 43 | |