[PR #120·121·122] Three Process Docs: Tightening PL Procedure, Session Token Rules, and a Test-Check Duty for Fizz
I requested all three tasks. No code or server changed; only documents did. They merged within about an hour of each other, so I combined them into one post.
At a glance
| Item | PR #120 | PR #121 | PR #122 |
|---|---|---|---|
| Topic | Tightening the PL procedure | Session token-saving rules | A test-check duty for Fizz |
| Trigger | Cloud session started twice, a merge delayed about 9 hours, 205 command rejections | How to put the advice to split long Opus sessions into practice | 4 of 6 Fizz tests had flaws, 18 of 38 CI verify runs failed |
| Changed | PL procedure docs, order-sheet template, decision record | One guide page | Track A in the procedure docs, order-sheet template, decision record |
| Chosen approach | Fix the written form in documents | One short guide page | Write the check rule once and add one line to the template |
| Rejected | Widening server permissions | Adding to CLAUDE.md, always splitting sessions |
Editing old order sheets, requiring “zero errors”, widening Fizz to implementation |
| Checked by | Report line numbers and quotes matched against main | npm run verify |
npm run verify |
| Not confirmed | Effect (no new tests) | Per-session token counts and models | Whether the PL kept the sentence on purpose |
PR #120: Tightening the PL procedure
- Why: On Oct 29–30, the PL (the Claude session that coordinates work) ran into several incidents. The basis was a report from an independent review session (Claude Opus 5.5). The work itself was done by Claude Sonnet 5.5 in my Windows computer session.
- A cloud session was opened three times for the same task. So
references/task.mdnow says to check the state file with the Read tool before opening, send only follow-up messages if one exists, and stop and tell the PM if the read fails. - The PL wrongly decided it could not do an Opus review from inside a Sonnet run, and a merge was delayed by about 9 hours.
SKILL.mdnow says a helper agent can do it. - Command rejections reached 205 in one week.
SKILL.mdnow lists the shapes that must not be used, such as unquoted git format strings. - The devlog recorded the PL’s model as “unknown”. The fixed name list now includes the PL and the cloud session (both Claude Sonnet 5.5).
- The order-sheet template gained fields for “paths Fizz may read”, “functions and endpoints to use (file:line)”, and “actual response codes checked”. Fizz had stopped five times for lack of that information.
- A cloud session was opened three times for the same task. So
- Chosen approach: I dropped the options that widen server permissions (putting the state folder in the work folder, allowing
git -C), because they could let the PL edit queue files or get around thegit pushban. I fixed the written form instead. - Checking: Claude matched the report’s line numbers and quotes against main, and all were right. One sentence the report pointed to read as if
catwere allowed, so it became “read once with the Read tool”. Only documents changed, so there are no new tests.
PR #121: Session token-saving rules
- Why: I asked how to put the advice “split long Opus sessions and cut analysis short” into practice. Claude looked at the session list and usage readout, analyzed the habits, and left one page,
docs/guides/세션-토큰-절약-규칙.md. - Chosen approach: A context (how much conversation a session holds at once) of 200–300k tokens, giving analysis questions an end shape, turning off unused external connections, and stopping new large tasks once the usage limit passes 80%.
- Rejected alternatives:
- Adding the rules directly to
CLAUDE.md: every session would read a longer text at start, which raises token use, and the effect has not been measured yet. - Always splitting sessions into small ones: one session costs about 80k tokens at start, so splitting repeats that cost.
- Adding the rules directly to
- Not confirmed: Per-session token counts and models. “200–300k tokens” is a proposed value.
PR #122: A test-check duty for Fizz
- Why: While reviewing ways to use Fizz (GPT-6 Luna) more, Claude found that 4 of the 6 tests Fizz wrote for customer app tasks 4–9 had flaws in the tests themselves, and 18 of 38 GitHub CI
verifyruns failed. One cause was the sentence “Fizz: no npm run is possible in your box” in the order sheets.- The sentence was correct in task 1, which brought in new packages that only the cloud session could install.
- In tasks 4–9 the packages were already in the lock file (the file that pins package versions) and
npm ciworked, but the sentence was copied unchanged. Fizz had in fact runnpm ciand type checks without trouble in other tasks. - Track A (where Fizz writes tests) had no check rule, so nothing caught the wrong sentence.
- What changed:
task.mdnow has a Track A check duty. When there is no new package bundle, Fizz runsnpm ci, the shared-package build, and the type check, lint, and no-database tests for the area it touched, and pastes about the last 20 lines of output into its report. The “module not found (TS2307)” errors before implementation are treated as normal. The order-sheet template got one matching line. - Rejected alternatives:
- Editing the already-merged order sheets: they are past records, so I left them alone.
- Requiring “zero errors”: in a tests-first flow TS2307 is normal before implementation, so it cannot be met.
- Widening Fizz to implementation at the same time: Fizz usage reached 18% from writing tests alone, so I chose to go step by step.
- Not confirmed: Whether the PL kept that sentence on purpose in tasks 4–9 is not in the records.
Who did what
- I: requested all three tasks, and in #121 asked how to put the advice into practice.
- Claude (my computer session, Claude Sonnet 5.5): changed the documents in all three PRs, and did the analysis and cross-checks.
- Claude (Opus 5.5): wrote the independent review report that #120 was based on.
- PL, cloud session, Fizz, Pollen: were not directly involved in these three PRs.
Lessons
- A limit that came from one task’s situation needs its reason written beside it. Without the reason it gets copied into the next order sheet and outlives the situation.
- When something is blocked, fix the written form instead of widening permissions. Widening can let a ban be bypassed.
- When adding rules, the length of what every session reads is also a cost. Keep the rules on one short page, measure the effect, then add only a link.