wire-core: close lane; lanes now run directly on main, no worktrees
Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
1 parent
1ed49d145e
commit
be7c4e934b
5 files changed
+38
-72
No files matched your search
+33
-28
@@ -6,18 +6,19 @@ the rules; this file is the procedure. The lead follows it verbatim so
|
||||
every lane leaves the same trail: a feature README with Work log, QA
|
||||
log and Review filled in, ticked TODO lines, and a `--no-ff` merge.
|
||||
|
||||
**Standing instruction from the user (2026-09-15):** one lane at a time;
|
||||
Dev commits as it goes and need not keep every commit compiling; QA
|
||||
reviews code quality and completeness of the port, not tests; nobody
|
||||
writes test suites — the user tests the app at the end.
|
||||
**Standing instruction from the user (2026-09-15/16):** one lane at a
|
||||
time, **directly on `main` in this repository — no worktrees, no lane
|
||||
branches**; Dev commits as it goes and need not keep every commit
|
||||
compiling; QA reviews code quality and completeness of the port, not
|
||||
tests; nobody writes test suites — the user tests the app at the end.
|
||||
|
||||
## 0. Roles
|
||||
|
||||
| role | model | owns | never |
|
||||
|---|---|---|---|
|
||||
| **Lead** | Fable 5.1 (this session) | `main`, briefs, dispatch, inspection, merges, pushes, `docs/topo.md` | writes lane code (bootstrap was the one exception); trusts a report it has not read against the diff |
|
||||
| **Dev** | Opus 5 | one lane on branch `lane/<name>`: the port, the README Work log, ticks in Status/TODO and `TODO.md`, small frequent commits | pushes; touches files outside the brief; writes test suites; asks for permissions |
|
||||
| **QA** | Sonnet 5 | the same branch after Dev: a code-quality and completeness review, the README QA log, a verdict | redesigns; writes tests; edits beyond small unambiguous fixes it records |
|
||||
| **Dev** | Opus 5 | one lane on `main`: the port, the README Work log, ticks in Status/TODO and `TODO.md`, small frequent commits | pushes; touches files outside the brief; writes test suites; asks for permissions |
|
||||
| **QA** | Sonnet 5 | the same tree after Dev: a code-quality and completeness review, the README QA log, a verdict | redesigns; writes tests; edits beyond small unambiguous fixes it records |
|
||||
|
||||
"Inspect" is the lead's review: the lead reads the diff with its own
|
||||
eyes and runs `tools/gates.sh` before writing the Review section.
|
||||
@@ -28,23 +29,22 @@ eyes and runs `tools/gates.sh` before writing the Review section.
|
||||
Goal, Assumptions, Handshakes and a Status/TODO whose items name
|
||||
their files (template: `docs/features/TEMPLATE.md`). Commit as
|
||||
`brief: <name>`.
|
||||
2. **Open the lane**: `tools/lane.sh new <name>` → worktree at
|
||||
`../mwb-lanes/<name>` on branch `lane/<name>`. (One worktree, so
|
||||
`main` stays clean for the lead to write the next brief.)
|
||||
3. **Dispatch Dev** (§3), `cwd` = the worktree. Dev commits as it goes
|
||||
and finishes when every Status/TODO item is ticked or explicitly
|
||||
2. **Note the start commit**: `git rev-parse HEAD` — the lane's diff is
|
||||
everything after it. No branch, no worktree.
|
||||
3. **Dispatch Dev** (§3) in the repository. Dev commits to `main` as it
|
||||
goes and finishes when every Status/TODO item is ticked or explicitly
|
||||
deferred, and `tools/gates.sh` is green on the final commit.
|
||||
4. **Dispatch QA** (§4), same worktree. Verdict `PASS` or `REWORK`.
|
||||
4. **Dispatch QA** (§4), same tree, diff = `git diff <start>..HEAD`.
|
||||
Verdict `PASS` or `REWORK`.
|
||||
5. **On REWORK**, dispatch Dev again with the QA log as input. At most
|
||||
two rework rounds; a third means the brief was wrong — the lead
|
||||
rewrites it.
|
||||
6. **Inspect** (§5). Write the Review section (the lead commits that on
|
||||
the lane branch). A defect found here goes back to step 3 as a
|
||||
rework with the review text as the finding.
|
||||
7. **Merge**: on `main`, `git merge --no-ff lane/<name>`, run
|
||||
`tools/gates.sh`, update `docs/topo.md` for any edge the lane added
|
||||
or amended, tick the lane line in `TODO.md`, commit, push,
|
||||
`tools/lane.sh done <name>`, delete the branch.
|
||||
6. **Inspect** (§5). Write and commit the Review section. A defect
|
||||
found here goes back to step 3 as a rework with the review text as
|
||||
the finding.
|
||||
7. **Close**: run `tools/gates.sh`, update `docs/topo.md` for any edge
|
||||
the lane added or amended, tick the lane line in `TODO.md`, commit
|
||||
`<name>: close lane`, push.
|
||||
8. **Log the lane** in §8: dates, rework count, what the brief got wrong.
|
||||
9. Only now write the next brief.
|
||||
|
||||
@@ -67,8 +67,8 @@ eyes and runs `tools/gates.sh` before writing the Review section.
|
||||
## 3. Dev prompt (dispatch verbatim, fill the brackets)
|
||||
|
||||
```
|
||||
You are the Dev for lane `<name>` of mwb-mac. Work only in this worktree:
|
||||
<absolute worktree path> (branch lane/<name>). Read, in order: CLAUDE.md,
|
||||
You are the Dev for lane `<name>` of mwb-mac. Work in the repository
|
||||
/Users/guoliangchen/repo/mac_without_borders on main. Read, in order: CLAUDE.md,
|
||||
README.md, docs/protocol.md, docs/topo.md, docs/features/<name>/README.md.
|
||||
The README's Status/TODO is your task list and its file list is the only
|
||||
set of files you may create or edit, plus: docs/features/<name>/README.md
|
||||
@@ -97,10 +97,10 @@ from, open handshake requests, and the gates.sh tail.
|
||||
## 4. QA prompt (dispatch verbatim)
|
||||
|
||||
```
|
||||
You are QA for lane `<name>` of mwb-mac, in worktree <absolute path>
|
||||
(branch lane/<name>). Dev is finished. Read CLAUDE.md, docs/protocol.md,
|
||||
docs/features/<name>/README.md (all sections), then the diff:
|
||||
git diff main...HEAD.
|
||||
You are QA for lane `<name>` of mwb-mac, in the repository
|
||||
/Users/guoliangchen/repo/mac_without_borders on main. Dev is finished.
|
||||
Read CLAUDE.md, docs/protocol.md, docs/features/<name>/README.md (all
|
||||
sections), then the diff: git diff <start commit>..HEAD.
|
||||
|
||||
You review code quality and completeness of the port. You do not write
|
||||
tests and you do not redesign. In order: (1) run tools/gates.sh;
|
||||
@@ -124,10 +124,10 @@ verdict and the findings.
|
||||
|
||||
## 5. Lead inspection checklist
|
||||
|
||||
Run in the worktree, by the lead, before writing Review:
|
||||
Run in the repository, by the lead, before writing Review:
|
||||
|
||||
- [ ] `tools/gates.sh` green on the lane's last commit, run by me.
|
||||
- [ ] `git diff main...HEAD --stat`: only files in the brief's list plus
|
||||
- [ ] `git diff <start>..HEAD --stat`: only files in the brief's list plus
|
||||
the shared-by-nature files, in the lane's own sections.
|
||||
- [ ] Read the whole diff. Every protocol constant traces to a
|
||||
`docs/protocol.md` line; every offset matches §1.1.
|
||||
@@ -152,7 +152,7 @@ Strictly one at a time, in this order (mirrors `TODO.md`):
|
||||
| # | lane | status |
|
||||
|---|---|---|
|
||||
| 0 | bootstrap | merged 2026-09-15 (lead, solo) |
|
||||
| 1 | wire-core | brief written |
|
||||
| 1 | wire-core | merged 2026-09-16 (worktree; the last lane to use one) |
|
||||
| 2 | session-matrix | |
|
||||
| 3 | control-channel | |
|
||||
| 4 | input-capture | |
|
||||
@@ -174,6 +174,11 @@ Strictly one at a time, in this order (mirrors `TODO.md`):
|
||||
|
||||
## 8. Lane log
|
||||
|
||||
- **2026-09-16, lane 1 (wire-core)** — Dev (Opus) one pass, QA (Sonnet)
|
||||
PASS with one doc typo fixed, lead merge. Brief held. Findings the
|
||||
dev surfaced for later lanes are in `docs/protocol.md` §10.1. Mid-lane
|
||||
the user ruled out worktrees; this procedure now runs on `main`.
|
||||
|
||||
- **2026-09-15, lane 0 (bootstrap)** — done by the lead alone at the
|
||||
user's request. `swift-format` is not on `PATH`; the gate calls it
|
||||
through `xcrun`. Later the same day the user set the standing
|
||||
|
||||
Reference in new issue
Block a user