Skip to content

Session manager: each initiative's roadmap on the ledger page - #454

Merged
SSFSKIM merged 2 commits into
mainfrom
manager-roadmap
Nov 1, 2026
Merged

SSFSKIM merged 2 commits into
mainfrom
manager-roadmap

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 1, 2026

Copy link
Copy Markdown
Owner

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 apply takes an optional roadmaps list. Each entry replaces that initiative's roadmap whole, as briefs does, and is stored with a written stamp. Shape: initiative (one the ledger knows), source, optional purpose and done_when, and non-empty parts. Each part has id (unique across the tree), title, status (done, in progress, waiting, not started, deferred, dropped), summary, optional owner, now, waits_on (required when waiting), changes [{at, text}], refs, and child parts up 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.json give each initiative a roadmap (or null). The text ledger adds roadmap from <source>, written <time>: 3 done · 2 in progress · …, and apply's summary adds · roadmap written.
  • The page puts the roadmap after Needs you. At its head are the purpose and done-when, then the source and when it was written. Below that, every part is a compact row (id in the margin, title, status stamp, owner), with children indented beneath their parent. A row expands to show what it is, now, what it waits on, owner, refs, and its changes newest first. A change dated after the view's window.since gets 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.
  • SKILL.md: when an initiative has a roadmap document, the manager rewrites its roadmaps entry at each update. It reads the document read-only at its newest revision, keeps each part's changes from the held roadmap, and adds what the document and the window show. The entry is written in the ledger's lang.
  • The spec's Interfaces section and a Decision Log entry (2026-11-01), scripts/CLAUDE.md, and sminos 1.31.0.

Checks

  • test_manager.py: a new Roadmaps class 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 new roadmap scenario 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).
  • Visual check: a 30-part Korean fixture at phone width (Chromium mobile emulation), in light and dark, with rows collapsed and expanded.
  • Focused SKILL.md check: a fresh Opus subagent got only SKILL.md and three files: a held ko ledger 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 a roadmaps entry that apply accepted. 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)

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)
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-11-01T20:10:14.361080Z
We couldn’t complete this review. Comment @codex review to try again.
7ddafde PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

…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)
@SSFSKIM

SSFSKIM commented Nov 1, 2026

Copy link
Copy Markdown
Owner Author

Review (doperpowers:reviewer-medium) found two P2s and two P3s, all fixed in fdb0bfe. On read, a held roadmaps that is not a list of objects, or that holds two roadmaps for one initiative, is now refused with each problem named instead of dropped or tracebacking. Roadmap row keys are now the JSON of [initiative, id], and roadmap anchors are r-…, so neither collides. The same lenient read of items/briefs, which predates this PR, is logged as debt in #89. ci-gate is green on fdb0bfe: https://github.com/SSFSKIM/doperpowers/actions/runs/41347984521

Sminos-Session: session-pool-attention-manager#f89d7fb0 (doperpowers on macbook)

@SSFSKIM
SSFSKIM merged commit d6cd826 into main Nov 1, 2026
10 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