Repository navigation
Session manager: each initiative's roadmap on the ledger page - #454
Conversation
ledger apply takes an optional roadmaps list: each entry replaces its initiative's roadmap whole (source, purpose, done-when, parts to three levels with owner, status, summary, now, waits_on, refs and changes), validated as the rest of the document is and on read, stored with a written stamp. ledger --json carries it per initiative; the text ledger and apply's summary name it. The page shows it after Needs you: every part a compact row, children indented, each expanding to its detail and its changes newest first; a change after the last window's start is marked new and counted on its row, and the header links to it. en/ko labels. SKILL.md: the manager rewrites an initiative's roadmap at each update from its roadmap document, carrying each part's changes forward. Sminos-Session: session-pool-attention-manager#f89d7fb0 (doperpowers on macbook)
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
…uous row keys and anchors A held roadmaps that is not a list of objects is a named problem in the Invalid normalize raises, not a traceback or a silent drop; a second held roadmap for one initiative is named as apply names it. The page's roadmap row keys are the JSON of [initiative, id], and the roadmap's anchor is r-<slug>, a namespace initiative sections (i-...) cannot produce. Sminos-Session: session-pool-attention-manager#f89d7fb0 (doperpowers on macbook)
|
Review (doperpowers:reviewer-medium) found two P2s and two P3s, all fixed in fdb0bfe. On read, a held Sminos-Session: session-pool-attention-manager#f89d7fb0 (doperpowers on macbook) |
The owner asked to see each initiative's whole roadmap on the ledger page: every part and sub-part, who owns it, its status, what it is now, and what changed in it over time. The manager writes this at each update from the initiative's roadmap document; the plugin stores, validates and renders it.
What changes
ledger applytakes an optionalroadmapslist. Each entry replaces that initiative's roadmap whole, asbriefsdoes, and is stored with awrittenstamp. Shape:initiative(one the ledger knows),source, optionalpurposeanddone_when, and non-emptyparts. Each part hasid(unique across the tree),title,status(done, in progress, waiting, not started, deferred, dropped),summary, optionalowner,now,waits_on(required when waiting),changes[{at, text}],refs, and childpartsup to 3 levels deep. Validation works as for the rest of the document: every problem is named and nothing is applied, unknown fields are refused, and kinds are checked before use. Held roadmaps are also checked when the state file is read.ledger --json//ledger.jsongive each initiative aroadmap(or null). The textledgeraddsroadmap from <source>, written <time>: 3 done · 2 in progress · …, andapply's summary adds· roadmap written.window.sincegets the "new" mark, and each row shows how many of its changes are new. The header summary links to the roadmap. Labels come from the en/ko tables. DESIGN.md records the layout: ids stay aligned in the margin column, so a nested title keeps its width on a phone, and status is shown by stamp words, never by hue.roadmapsentry at each update. It reads the document read-only at its newest revision, keeps each part'schangesfrom the held roadmap, and adds what the document and the window show. The entry is written in the ledger'slang.scripts/CLAUDE.md, and sminos 1.31.0.Checks
test_manager.py: a newRoadmapsclass covers storing and replacing a roadmap, reading it back, the view and text, an initiative with no subscription, every validation problem in one document, and a bad held roadmap failing the read. The CLI test now covers apply, text and--json. All 107 tests pass locally.test_manager_serve.py/page_check.mjs: a newroadmapscenario checks section order, rows and depth, new marks and counts, changes newest first, an open row staying open across a re-render, and the header link. The ko/en label tests now include the roadmap's words. All 27 tests pass locally (1 skipped).koledger with a three-part P5 roadmap carrying earlier changes, the roadmap document at a newer revision, and a four-hour window in which C2 lands. It wrote aroadmapsentry thatapplyaccepted. C2 moved to done, with two new changes (the merge, and a decision taken in the window). Every earlier change on C1–C3 was kept, the source moved to the new revision, and the text was in Korean.Sminos-Session: session-pool-attention-manager#f89d7fb0 (doperpowers on macbook)