Repository navigation
Backlog topics: write, group and close put-off work by the result you want - #2016
Merged
Merged
Conversation
… want A new `###` topic heading under a campaign names the result the person wants. New requests look for that topic first (one more case is one indented line, a job finished apart is a sibling, another result is a new topic), a finished job moves block by block to `backlog-closed.md` with a `closed:` line, the last job takes the topic out of the open file, and a closed result recurring opens the same words again with an `이력:` note. The common reader (`utilities/backlog_items.py`) carries each job's topic and each group's topics; the panel, board and entrance still read the one rule and are unchanged for a document without a topic (same keys, same counts, same board answer byte for byte). The board gains a Topic axis on `o` and opens grouped by topic where the document has one, an opened job's lines carry its topic, Tab finds a topic, and the head and the entrance say both numbers (`39 topics · 99 items`). core/ARTIFACT_META.md carries the form, the topic identity, the counting rule, who writes what, Done, Recurrence and `backlog-closed.md`; CORE.md and the root-document tuple learn the closed record, the bootstrap's Where-to-look points at the contract, and README/docs/session-shell say the same.
The one-line pointer in core/fragments/bootstrap-body.md raises the Codex bootstrap to 9796 bytes, one warning over the 21-warning ceiling held by the context-footprint census case. Re-measure the baseline (as 9603e3c did for the LAB guidance) instead of raising the ceiling; the assertion and every other baseline entry stay as they were.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The backlog (
<artifact root>/backlog.md) only knew campaigns (##) and jobs (-). A new request for a result that was already written became one more loose line, a job finished on its own was deleted with no evidence left, and nothing told the person how many results were open against how many jobs. The person asked for topics: a topic names the result they want, a new request first reinforces the topic of the same result, and a topic can be closed one job at a time.What changes
Writing contract (
core/ARTIFACT_META.mdbacklog.md) — still one Markdown file, no ID, no database, no new approval:### <topic>under a campaign names the result the person wants to do or see (not an area, a plan step or a batch).area:stays separate; one topic may span areas.noteN:line under it; a job finished apart → a sibling-; another result → a new###; unsure → a new topic.-line and its indented lines, moved by lines, never by text replacement) is appended to<artifact root>/backlog-closed.mdunder the same##/###, with one indentedclosed: YYYY-MM-DD <decision and evidence>line. Siblings stay open; the last job takes the###out of the open file. Olderbacklog-closed-*.mdfiles are read-only history.이력:note.###),###before the first##,####, four-space indents and fenced lines read exactly as before; a job with no topic above it isNo topic.core/CORE.mdandROOT_DOCUMENT_NAMESlearnbacklog-closed.md(a person-written root document, not residue). The bootstrap's Where to look gets one line pointing at the contract (generated into the three adapters).Reader and screens (reuse, no new screen):
utilities/backlog_items.pycarries each job'stopicand each campaign'stopics;counts()addstopicsandno_topic. Existing keys and values are unchanged.tools/fleet/session_status.py: for a document with a topic, the board answer addstopics,counts.topicsand an eighth row cell (topic index,-1none); a document without a topic gets a byte-identical answer.backlog_counts(), item keys and the panel's lists are untouched. The detail adds atopic <name>line aftercampaign.backlog-board.cjs): a Topic grouping ono(document order,No topiclast,· <campaign>where one name stands under two campaigns), opened by default when the document has topics (kis the old view); Tab in find cycles title → area → topic; the head says both numbers,3 topics · 5 items · FIX …, and an old document still says5 total.3 topics · 5 items(주제 3 · 할 일 5) with topics, the old meta byte for byte without.k/a/d/o group,README.md/README.ko.md,docs/session-panel.md,core/references/session-shell.md.Fleet does not read
backlog.md(its "backlog" is memory records), so it is unchanged.Preview (synthetic sample, 60×20)
Read against the real reorganized ledger (read only, not committed), the reader gives 39 topics · 99 items · 0 without a topic.
Verification
utilities/backlog_topics_1129.test.py(33 tests, short synthetic Korean documents): reading boundaries (###/####/indent/before first##/fence/empty###/reset at##/same name in two campaigns), the six document transitions (reinforce a job, sibling job, new topic, close one job with the rest still open and the closed one readable under the same campaign/topic, close the last job, recurrence), key stability (inserting###changes no item key; same title under two topics splits:2), the old board answer as a golden JSON, unchanged panel lists, board default axis/o/k/Tab find/state filter/old 7-cell answer/held state, detailtopicline, entrance en/ko/old, picture widths at 100×26 and 60×20.ui_text, Fleettest_session_status,sync_bootstrap_dispatch,generated-projections.test.sh, plus 11 more suites that read the backlog/board/entrance — all PASS.python3 tools/sync-bootstrap-dispatch.py --check,python3 tools/generate.py --check,./tools/check-adaptation-boundary.sh,python3 tools/context-footprint.py --skip-runtime— exit 0 (bootstrap growth +0.95–1.02 %, inside the 1.05× bound).hooks/portable-guards.test.sh; the second commit re-measuresbootstrap:codexintools/context-footprint-baseline.json(9244 → 9796), as9603e3c88did for the LAB guidance, and keeps the 21-warning ceiling. CI on the final head is green.Limits
core/ARTIFACT_META.mdis the one writer rule.artifact-path-contract, "a finished job's line is deleted") now disagrees with the contract and needs its own spec revision.backlog-closed.mdis a separate data task; this PR touches no real ledger.kreturns the old Kind view.🤖 Generated with Claude Code