Filename search needs the prefix on disk, not just in prose; a bare NNN can't tell decisions and blueprints apart by ls or grep. * refactor(okf): rename decision and blueprint files to R-/B- prefix * fix(write-OKF): recognize R-/B- filenames in register_numbers * docs(blueprint): fix numbering step and filename-pattern docs
1.6 KiB
1.6 KiB
type, purpose, answers, cites, status
| type | purpose | answers | cites | status | |||
|---|---|---|---|---|---|---|---|
| Learnings | Keep what jj turned out to do under a headless agent, against what was assumed. |
|
|
live |
octobot — learnings: version control
- Believed:
jj squash/describecan run like any shell command. True: without-m/--use-destination-messagethey open an editor and hang headless sessions; backgrounded jj mutations race the working-copy snapshot. Source:skills/productivity/commit-atomic-jj/anti-patterns.md, session 2026-07-19. - Believed: a conflicted jj chain must be resolved where it stands. True: check topology first — a chain rebased onto the wrong root produces phantom conflicts; rebasing onto the true destination shrank a 2-file conflict to 1 file before any hand-resolution. Source: session 2026-07-19 (write-readme-py conflict).
- Believed:
jj restore <path>undoes "what I just appended to this file." True: with no--from, it reverts to the parent commit's snapshot — discarding every uncommitted edit on that path, not just the last append. A Verify script that plants a probe line and cleans up withjj restorewipes real Build work sitting uncommitted on the same file. Fix: undo exactly the planted lines (head -n -N), never a blanket restore, when other uncommitted edits may be present. Source: 028, session 2026-09-23.