Skip to content

Backlog topics: write, group and close put-off work by the result you want - #2016

Merged
dmlguq456 merged 4 commits into
mainfrom
backlog-outcome-topics-1129
Nov 29, 2026
Merged

dmlguq456 merged 4 commits into
mainfrom
backlog-outcome-topics-1129

Conversation

@dmlguq456

@dmlguq456 dmlguq456 commented Nov 29, 2026 •

Copy link
Copy Markdown
Owner

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.md backlog.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.
  • Topic identity = campaign + folded name. The same name under another campaign is another topic; names are never merged for looking alike, by a reader or a writer.
  • A new request looks for the topic of the same result: another case of a written job → one indented noteN: line under it; a job finished apart → a sibling - ; another result → a new ###; unsure → a new topic.
  • Done: a finished job is no longer deleted. Its block (the - line and its indented lines, moved by lines, never by text replacement) is appended to <artifact root>/backlog-closed.md under the same ##/###, with one indented closed: YYYY-MM-DD <decision and evidence> line. Siblings stay open; the last job takes the ### out of the open file. Older backlog-closed-*.md files are read-only history.
  • Recurrence: the same result again is found by name in the open file, then the closed records, and reopened with the same words plus an 이력: note.
  • Old documents (no ###), ### before the first ##, ####, four-space indents and fenced lines read exactly as before; a job with no topic above it is No topic.
  • core/CORE.md and ROOT_DOCUMENT_NAMES learn backlog-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.py carries each job's topic and each campaign's topics; counts() adds topics and no_topic. Existing keys and values are unchanged.
  • tools/fleet/session_status.py: for a document with a topic, the board answer adds topics, counts.topics and an eighth row cell (topic index, -1 none); a document without a topic gets a byte-identical answer. backlog_counts(), item keys and the panel's lists are untouched. The detail adds a topic <name> line after campaign.
  • BACKLOG board (backlog-board.cjs): a Topic grouping on o (document order, No topic last, · <campaign> where one name stands under two campaigns), opened by default when the document has topics (k is 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 says 5 total.
  • Entrance: 3 topics · 5 items (주제 3 · 할 일 5) with topics, the old meta byte for byte without.
  • Help: key line 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)

│ Sample backlog                                           │
│ updated 2026-11-29 10:00                                 │
│ 3 topics · 5 items · FIX 2 · TASK 2 · TBD 0 · NOTE 1     │
│ group Kind Area Date [Topic] · showing 5 · Discuss 1     │
│                                                          │
│   ▾ 질문에 한 번 답하면 어디로 갔는지 안다 2             │
│ ▶   TASK  2026-11-28  Discuss  Sample answered question  │
│     FIX   2026-11-27           Sample second under the … │
│   ▸ 패널에서 백로그를 주제로 본다 · 2026-11-29_sample-a… │
│   ▸ 패널에서 백로그를 주제로 본다 · Unassigned 1         │
│   ▸ No topic 1                                           │

Read against the real reorganized ledger (read only, not committed), the reader gives 39 topics · 99 items · 0 without a topic.

Verification

  • New 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, detail topic line, entrance en/ko/old, picture widths at 100×26 and 60×20.
  • Selected suites: backlog board 1126, kinds 1122, backlog performance, artifact entrance/residue/producer, 9 panel/status-popup suites, i18n ui_text, Fleet test_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).
  • The one-line bootstrap pointer put the Codex bootstrap one warning over the context-footprint census ceiling (21) in hooks/portable-guards.test.sh; the second commit re-measures bootstrap:codex in tools/context-footprint-baseline.json (9244 → 9796), as 9603e3c88 did for the LAB guidance, and keeps the 21-warning ceiling. CI on the final head is green.

Limits

  • No write command was added (the request keeps writing by hand); the contract in core/ARTIFACT_META.md is the one writer rule.
  • The shared spec sentence PRD U11 (artifact-path-contract, "a finished job's line is deleted") now disagrees with the contract and needs its own spec revision.
  • Moving the real ledger's existing dated closed file into backlog-closed.md is a separate data task; this PR touches no real ledger.
  • The board now opens on Topic for a document with topics; k returns the old Kind view.

🤖 Generated with Claude Code

dmlguq456 and others added 4 commits November 29, 2026 22:41
… 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.
@dmlguq456
dmlguq456 merged commit b4d52c6 into main Nov 29, 2026
28 of 30 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