Skip to content

Plan and Summary modes over plan/ (sprints by month, day/week checklists, summary record) - #5

Merged
donglaiw merged 1 commit into
mainfrom
planner-mount
Nov 9, 2026
Merged

donglaiw merged 1 commit into
mainfrom
planner-mount

Conversation

@donglaiw

@donglaiw donglaiw commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

The board at / becomes the Project mode; two server-rendered modes join it over the workbench's own plan/ folder, nothing outside the repository:

  • Plan › Ladder /plan/ladder: every plan/*.md with a ## Rungs table is one sprint row; one column per month, months −1 / 0 / +1 visible and the rest scrolling (‹ › move one month). Gate tags are read as ladder.py reads them, never inferred. ladder.read now looks in plan/LADDER.md first, root LADDER.md as the older location.
  • Plan › Daily / Weekly /plan/daily?d=, /plan/weekly?w=: plan/days/YYYY-MM-DD.md and plan/weeks/<Monday>.md as checkboxes grouped by ## project. Ticking flips one line, × deletes an item with its notes, both through POST /api/plan/edit (X-Rdash + JSON, stale-line check → 409, writer lock, publish_replace). POST /api/plan/new creates an empty file with one heading per project.
  • Summary /summary: plan/summary/YYYY-MM-DD-<kind>.md (weekly, heads, ed, konrad, else note) as a cadence table by week plus the full list; /summary/view?p= renders one.

Pages load /static/planner.css and planner.js; no inline script or style, so the existing CSP stays default-src 'self'. Paths go through resolve_within and a name regex; only plan/days and plan/weeks are writable.

Tests: dashboard/tests/test_planner.py (sprint discovery, parse/toggle/delete/create, week-Monday and traversal rules, summary kinds and rendering) and a route test in test_server.py. Full board suite: 268 tests pass.

Companion workbench PR (mindspanorg/pytc-jam-msi, branch plan-modes) moves LADDER.md to plan/LADDER.md and documents plan/days, plan/weeks, plan/summary.

🤖 Generated with Claude Code

…cklists, the summary record

The board at / is the Project mode. planner.py renders /plan/ladder (every plan/*.md with a
## Rungs table, one row per sprint, one column per month with -1/0/+1 visible and the rest
scrolling), /plan/daily and /plan/weekly (plan/days and plan/weeks as checkboxes grouped by
## project, written back one line at a time through /api/plan/edit with a stale-line check),
and /summary (plan/summary/YYYY-MM-DD-<kind>.md as a cadence table and a list). Pages use
/static/planner.css and planner.js, so the strict CSP holds. ladder.read looks in plan/ first.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@donglaiw
donglaiw merged commit b9f0ce6 into main Nov 9, 2026
1 check passed
@donglaiw
donglaiw deleted the planner-mount branch November 9, 2026 06:01
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