Skip to content

Add a plan-board read verb to the project door - #21

Merged
pruge merged 2 commits into
mainfrom
fm/fm-project-next
Aug 26, 2026
Merged

pruge merged 2 commits into
mainfrom
fm/fm-project-next

Conversation

@pruge

@pruge pruge commented Aug 26, 2026

Copy link
Copy Markdown
Owner

What

bin/fm-project.sh <project> next reads the next stage-one ticket from the gootte plan board and passes it through verbatim.

  • Invokes the gootte CLI as npx --prefix <gootte>/code/web tsx <gootte>/code/web/cli/src/main.ts next <project> with cwd at $FM_HOME/projects, because the CLI resolves project names from its working directory only (GOOTTE_ROOTS is backend-only).
  • Locates the gootte clone through the script's existing resolve_project order, never a hard-coded path.
  • Filters the two npm notice lines npx mixes into stdout.
  • Refuses loudly when the gootte clone, its CLI entry, npx, or the projects root is missing - never a silent empty answer.
  • Does not touch the codegraph index: like grep and read, this is not a structural question.
  • Header # VERBS block documents the verb plus one KNOWN LIMIT line: gootte's CLI still reports finished tickets as next (only its backend joins backlog status); drop that line once gootte fixes it.

Live output

$ FM_HOME=... bin/fm-project.sh QuicMic next
menubar-and-installable-app/T04	T-review: 사관장 검수

(Note: T01 was reported during ticket writing; gootte's backlog join has since improved and QuicMic now shows its actual next ticket.)

Verification

  • bin/fm-lint.sh pass (shellcheck clean)
  • bin/fm-doc-audience-check.sh pass (ok surfaces=78 local_links=276)
  • bin/fm-test-run.sh --changed --base origin/main pass, including 5 new assertions in tests/fm-project.test.sh: pass-through without npm noise, index untouched, missing clone refuses by name, missing runner refuses by name, unknown verb still refused
  • docs/scripts.md one-line update for fm-project.sh

'PR must be raised via no-mistakes' failing is by design on this repo's direct-PR path.

Reading this codebase

  • Verbs that earned their keep: none for this task. The ticket handed me exact anchors (line ranges, function names), so structure questions were pre-answered; I went straight to file reads.
  • Never reached for: explore, node, callers, callees, impact. The change is additive shell plumbing in one file; there was no symbol graph to traverse.
  • Questions answered by plain reading instead: the full body of cmd_grep/cmd_read as style templates, and the test file's stubbing pattern (fm_fakebin, heredoc stubs). Both are faster read directly than queried.
  • One wrong turn worth reporting: I initially wired cmd_next "$@" after main's shift 2, which silently dropped the project name - $@ was empty because the name had been shifted into $name. An explore callers cmd_next would not have caught that; only bash -x did. The lesson is about argument flow, not indexing.
  • Concrete improvement: nothing to change. For single-file shell edits with good anchors, the door adds cost without payoff; its value showed up nowhere in this task.

pruge added 2 commits August 26, 2026 13:03
fm-project.sh <project> next passes the gootte CLI's stage-one ticket
answer through verbatim, from the projects root so gootte can resolve
the name. Missing clone or runner is a loud refusal; npm notice noise
is filtered.
gootte PR kunchenguid#72 fixed the CLI's backlog join before this branch started,
so finished tickets no longer come back as next. The warning is now
false.
@pruge

pruge commented Aug 26, 2026

Copy link
Copy Markdown
Owner Author

Removed the KNOWN LIMIT warning from the next verb description: gootte PR kunchenguid#72 fixed the CLI's backlog join before this branch started, so the CLI no longer reports finished tickets as next (live check: QuicMic correctly answers T04, its only remaining ticket). The invocation-shape comment above cmd_next was already clean and stays. lint, doc-audience-check, and --changed all pass.

@pruge
pruge merged commit 6e2d66b into main Aug 26, 2026
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant