Repository navigation
Adopt Projector project layout - #164
Conversation
|
CI did not execute on this head. The failed Linux job contains zero steps and GitHub annotated it as not started because recent account payments failed or the spending limit must be increased. The local migration gate ( |
f330bdd to
e8b9040
Compare
The migration was written against Projector 0.1.0, whose frontmatter carried one `status: now|next|later|done` field. Projector split that into an independent lifecycle and schedule in 0.3.0, so every plan here failed `project check` and `project list` refused to read the tree at all — the branch adopted a convention the tool no longer accepts. Map each old value to the pair it became, deriving the lifecycle from the keyword the plan carried on main: `done` becomes `completed` with no priority, `now` becomes `in-progress` at `priority: now` for the two plans that were `Active`, and `next` and `later` become `draft` at that priority. Restore the twelve plan-less items the migration dropped with `later.md`. Each was a recorded idea with its rationale and citations, so deleting them loses work rather than moving it; each becomes a stub project at `draft` and `priority: later`, which is what Projector's model prescribes and what the `tui` stub already did. They also give the plans that cited "later.md's line" something real to point at, so the references the migration left dangling now resolve. Take the repository README's convention text from Projector's own template, so it says what `project init` writes, and keep the Field conventions Projector does not supply: the goal line, decisions recorded with their alternatives, and where how-it-works docs live. Claude-Session: https://claude.ai/code/session_01AJNt2NDQJLGKWFt56CGZVv
minjudd
left a comment
There was a problem hiding this comment.
🔭 Projector review · model claude-opus-5[1m] · effort xhigh · CHANGES REQUESTED · took 18m 53s over 2 heads
3 finding threads: 0 resolved, 3 open.
Reviewed 78440ed. The head moved from e8b9040 while this review was running, and the second commit fixes everything that was blocking on the first: frontmatter now carries status and priority as two fields, project check passes where it had rejected all 27 plans with exit 65, the twelve backlog items that the first head deleted along with later.md are back as their own project directories, and the dangling later.md citation in src/commands/generate.ts is repaired. The README also recovers the field-specific conventions the first head dropped. This review is against the new head only.
What I checked
Every claim in the Testing section reproduces. I extracted the head to a scratch directory instead of checking it out, so the working tree was never touched:
git archive 78440ed | tar -x -C /tmp/head
project --root /tmp/head --projects-dir /tmp/head/docs/projects check # "Project plans are valid.", exit 0project list reports 39 projects grouped exactly as the body says — add-insert and plugin-hosting under now, ui under next, seventeen later, nineteen completed. Both retired-layout sweeps print nothing and exit 1 when run from the extracted tree. git diff --check is clean. The only source change is a one-line comment, so nothing here can move behaviour.
I ran the sweep the way this repo requires, git grep -l with and without -I, and the two agree at this head. Nothing is hiding in a file a stray NUL byte has made binary. All 209 relative links under docs/ resolve to blobs that exist, and projects/all/ has zero occurrences tree-wide. The thirteen surviving mentions of later.md are deliberate historical prose of the form "this entry carries the line later.md held before the Projector migration", which reads correctly.
The twelve new plans preserve their later.md lines faithfully, including the detail worth keeping — lint-and-format still records that prettier costs a ~1,900-line reformat and that #83 was 312 lines, which is the kind of thing that is expensive to rediscover.
Readiness gate
No plan is flipped into an executable-readiness claim by this diff, so no open question blocks it. The two plans at in-progress carried Active at the base, so the translation changes their spelling and not their claim. The twelve new plans and the four converted ones are all draft, where open questions are expected and do not withhold approval.
The three findings
One theme: the PR writes down three rules and the tree does not yet follow them. None breaks a tool, which is why the validator is happy, and each would mislead the next person or agent reading these documents as authoritative.
Three findings on 78440ed share one cause: the migration moved every plan into Projector's layout but left the conventions attached to the old layout speaking the old vocabulary. Plan prose still told a future pull request to set `Active`, a status the validator rejects. Reproduced against this Projector: a plan carrying `status: Active` fails `project check` with exit 65, and `in-progress` exits 0. Five instructions across four plans now name statuses that validate. Historical `**Status:** Shipped` prose is left alone, because it records what happened rather than instructing anyone. The citation convention contradicted itself two lines apart. The new README introduced `project-core/readme.md §3.2` while the file beside it, the twelve new plans, and 406 citations tree-wide use the `project-core.md §6` shorthand — 58 of those under `docs/` and the rest in code comments, counted with `git grep -o -E '[a-z][a-z0-9-]*\.md §'`. Keep the shorthand, which costs nothing, and document what it names; sweeping instead would edit several hundred files to say what the short form already says. The one comment this branch had already converted goes back to the shorthand. The rule defining *done* for this repository was dropped rather than translated. The old README finished a project only once a real session had exercised it, usually after real music had been made with it, and recorded that by keeping it on `now.md`. Eight projects were marked `completed` on merge, and their conditions went with the deleted list. Restore them to `in-progress` at `priority: now` with each condition back in its plan, and state the rule in the README so the next reader knows `completed` is a claim about use rather than about merging. `project list` now reproduces the old `now.md` exactly: the same ten projects. Claude-Session: https://claude.ai/code/session_01AJNt2NDQJLGKWFt56CGZVv
minjudd
left a comment
There was a problem hiding this comment.
🔭 Projector review · model claude-opus-5[1m] · effort xhigh · APPROVED · took 2m 25s
3 finding threads: 3 resolved, 0 open.
Reviewed 6662d71. All three findings from 78440ed are fixed, I verified each against the code rather than against the replies, and I found nothing new. The head looks clean. A human approval is what remains, since this loop does not cast one.
Verifying the three fixes
Invalid status instructions. All five instruction sites now name statuses the validator accepts, and a search for the instruction pattern across the whole tree returns nothing:
git grep -n -E 'flips? (it|this plan)? ?to `?(Active|Draft|Shipped)`?|status to (Active|Shipped)|flip-to-(Active|Shipped)|stays `?(Draft|Active)`?' 6662d71 -- .Leaving the historical prose alone is right, and the distinction you drew is the correct one. render-pipeline/readme.md:9 recording "Status: Shipped, chunks 1–6" states what happened; it does not tell the next author which keyword to type. The finding was about instructions and only instructions changed.
Citation convention. The README now documents the shorthand and explains why it survives the move, so the rule and the tree agree. Your 406 and 58 reproduce exactly under your own command, and they measure the better thing — a citation carrying a section is the load-bearing case, where my 756 also counted plain filename mentions. Reverting src/commands/generate.ts:508 to generation-progress.md's line was the right call on the same logic: it was the single converted site, so it was the outlier rather than the model. AGENTS.md needing no edit is the correct outcome under option 1 and I confirmed both its citations resolve.
The finishing rule. This is the fix I checked hardest, because "restored faithfully" is easy to assert and easy to get subtly wrong. It is faithful:
$ project list --priority now
now:
add-insert cross-rate-live multi-rate nested-tracks plugin-hosting
project-core realtime reverbs voice-generation watch (all in-progress)
That set is identical to the ten now.md held at origin/main, which I extracted from the base commit and compared sorted, not eyeballed. Each of the eight restored plans carries its own closing condition on its **Outcome:** line, and the conditions match the ones the deleted list carried. The README states the rule as a rule: shipping the code does not finish a project, a landed but unexercised plan stays in-progress at priority: now, and completion is when the condition is met rather than when the last pull request merges.
Your point about which decision a layout migration is allowed to make is the right principle, and it is worth recording. Retiring the definition of done is a product decision, and it should not arrive as a side effect of moving files.
The rest of the head
project check exits 0. All 224 relative links under docs/ resolve to files that exist. Both retired-layout sweeps print nothing and exit 1. git diff --check is clean. The twelve restored backlog projects are all present at draft. The fourteen surviving mentions of the old list filenames are all deliberate historical prose, including the new one at README.md:61 explaining why the rule needed restating.
The sweep was run the way this repo requires, with and without -I, and the two agree at 14 files, so nothing is hiding in a file a stray NUL byte has made binary.
I did not run the test suite. The only source change in this pull request is a one-line comment, which I confirmed by reading the full source diff against the base, so the suite cannot be affected by it and running it would tell me nothing about this change.
Readiness gate
Eight plans move to in-progress, which is an executable-readiness claim, so I checked what it owns. None of them flips from a non-claiming status: at the base they were Shipped, and add-insert and plugin-hosting were Active, all of which already claimed executability under the old scheme. So this diff changes how the claim is spelled and not whether it is made, and it introduces no new questions into those plans.
One open question sits on a plan at in-progress: watch/readme.md §5, the status-visibility question, which the plan's own **Outcome:** line names as its closing condition. It predates this pull request — §5 is open at the base commit too — so it is noted here rather than filed as a thread, since this change did not introduce it and does not own it.
The twelve new plans and the four converted ones are draft, where open questions are expected and withhold nothing.
Brings the branch up to date with main, which adopted the Projector layout (#164) underneath it. - docs/projects/now.md and later.md are deleted on main; the plan's priority moves to frontmatter instead. - The plan lives at docs/projects/windows-portability/readme.md. Its frontmatter becomes status: in-progress and priority: now, the Projector spelling of this branch's Active flip. - Prose this branch added now says draft/in-progress rather than Draft/Active, and its links use the ../<name>/readme.md form. - docs/README.md's two links into the deleted docs/projects/all/ point at the new readme.md paths.
Brings the UI up to date with its parent, which now carries main: the Projector layout, recording chunks 1-4, and the remote. Docs, moved to the Projector layout (#164): - docs/projects/all/ui.md becomes docs/projects/ui/readme.md, where main already carried #156's plan. A three-way merge against #156's original keeps this branch's implementation and main's wording changes; the frontmatter is status: in-progress, priority: now, which is what this branch's Active flip and its now.md line said. - docs/projects/all/daw-features.md becomes docs/projects/daw-features/readme.md with status: draft and priority: later, from its later.md line; "Reference" is not a Projector status. Its links into sibling plans use the ../<name>/readme.md form, and its later.md links point at the projects those lines became (mcp-surface, analysis-workers). The link to ui-timeline.md is unlinked and marked not yet written: no such plan has ever existed, and project check refuses the dead link. - project-core's two amendments link ui.md as ../ui/readme.md. - now.md and later.md are deleted on main; their lines live in frontmatter now. Code, where both sides added a block at the same place: - src/cli.ts keeps this branch's `field ui` and main's `field record`. - src/graph/build.ts keeps this branch's renameOverwrite() and main's fetchAction(). - package.json keeps build:ui beside main's bounded native build with this stack's --config Release.
Brings the CLI manual up to date with main. The merge is clean, but main's Projector layout (#164) moved the plans out of docs/projects/all/, so the manual's two links to windows-portability and linux-portability now use docs/projects/<name>/readme.md. Every relative link in docs/cli.md resolves on the merged tree.
Replace Field's conflict-prone
now.md,next.md,later.md, andall/layout with Projector's permanent project directories. Each project now has a lowercasereadme.mdunderdocs/projects/<name>/, and two independent frontmatter fields carry its state:status: draft|ready|in-progress|completedis the lifecycle, andpriority: now|next|lateris the schedule. Changing either edits one file, so two branches working on different projects no longer contend on a shared index.The two-field shape is what Projector 0.3.0 requires. An earlier revision of this branch was written against 0.1.0, whose frontmatter carried a single
status: now|next|later|done; every plan failedproject checkunder the current CLI andproject listrefused to read the tree at all. Each old value maps to the pair it became, with the lifecycle taken from the keyword the plan carried onmain.The twelve plan-less items that
later.mdcarried are preserved rather than deleted. Each was a recorded idea with its rationale and citations — convolution reverb waiting on a deterministic FFT story, the prettier and ESLint trade-off, the MCP surface, thesrc/engineumbrella, and the rest — so dropping them would lose work rather than move it. Each becomes a stub project atdraftandpriority: later, which is what Projector's model prescribes for an idea nobody has committed to. They also give the plans that cited "later.md's line" something real to point at, so references the migration would otherwise have left dangling now resolve.The rule that defines done here survives the move. This repository finishes a project only once a real session has exercised it, usually after real music has been made with it, and the old layout recorded that by keeping the project on
now.md. Projector has no such list and does not displaypriorityfor a completed project, so marking these projectscompletedon merge would retire the rule by accident and leave the distinction nowhere to live. The ten projectsnow.mdheld stayin-progressatpriority: now, each with its closing condition restored to its own plan, anddocs/projects/README.mdstates the rule. Retiring it would be a real decision, and it is not one a layout migration should make quietly.docs/projects/README.mdotherwise takes its convention text from Projector's own template, so it says whatproject initwrites into any adopting repository, and keeps the conventions Projector does not supply: the**Goal:**line, decisions recorded with the alternatives they beat, theproject-core.md §3.2citation shorthand and what it names, and where how-it-works documentation lives instead.The migration preserves numbered sections, repairs relative links, updates citations throughout the system documentation, and leaves historical
**Status:** Shippedprose alone, because it records what happened rather than instructing anyone.Testing
Projector 0.3.0 or newer is required, because 0.1.0 predates the split into
statusandpriority:From the repository root:
project checkprints "Project plans are valid." and exits 0.project listgroups 39 projects: ten undernow,uiundernext, seventeen underlater, and elevencompletedat the end. The ten undernoware exactly the tennow.mdlisted onmain, which is the check that the soak rule survived rather than being approximated. Both other commands exit silently.The suite needs the native daemon, and without it 78 tests fail with
field-audiod is not builtrather than anything to do with this change:pnpm build:native pnpm testThat reports 686 passing across 45 files. The build writes
native/audiod/build/, which is ignored, and takes several minutes from cold.Check that no reference to the retired layout survives. Run the sweep twice, because
rgskips a file one stray NUL byte has made binary andcommand grepdoes not:Both print nothing and exit 1. Before this change they report the shared lists and every
all/citation.The failure signal for the status vocabulary is worth running directly, because it is what the first revision of this branch got wrong. A plan carrying a retired keyword is rejected rather than ignored:
That prints
status must be one of draft|ready|in-progress|completed [invalid-project]and exits 65. All eight keywords of the retired set fail identically;in-progressexits 0.Nothing is left running.
pnpm typecheckruns thepreparescript, which writesdist/, anddist/is already ignored.https://claude.ai/code/session_01AJNt2NDQJLGKWFt56CGZVv