runlist 0.99.1 → 0.99.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -71,8 +71,8 @@ controls are experimental; live retrieval depends on a compatible external
71
71
  provider. Local chat and push are deferred.
72
72
 
73
73
  <!-- runlist:release:start -->
74
- CLI and desktop release version: **0.99.1**.
75
- [Mac installer and release notes](https://github.com/reowens/runlist/releases/tag/desktop-v0.99.1).
74
+ CLI and desktop release version: **0.99.2**.
75
+ [Mac installer and release notes](https://github.com/reowens/runlist/releases/tag/desktop-v0.99.2).
76
76
  Normal product releases publish both components; an installed Mac app is updated with rollback after it has quit.
77
77
  <!-- runlist:release:end -->
78
78
 
@@ -1137,18 +1137,32 @@ are per machine in `~/.runlist/model.json`.
1137
1137
  `memoryMb` (what it holds, null when nothing is loaded), followed by the full
1138
1138
  detail.
1139
1139
 
1140
- ## One document's card
1140
+ ## Read a plan or long document
1141
1141
 
1142
1142
  ```bash
1143
- runlist show docs/plans/shelf.md # title, status, next step, blockers, checklist, related, links
1144
- runlist show shelf bins --json # [{ path, title, status, nextStep, blockers, checklist,
1145
- # related: [{ field, path, title, status }], links: [...] }]
1143
+ runlist show docs/plans/shelf.md # card, outline and open boxes with line numbers
1144
+ runlist show shelf --section "Phase 2" # one section (-s is the short form)
1145
+ runlist show shelf -s "Phase 2" --from 80 # continue at a source line
1146
+ runlist show shelf --all # every open box (default: first 30)
1147
+ runlist show shelf --card # card only
1148
+ runlist show shelf --frontmatter # frontmatter, with long values collapsed
1149
+ runlist show shelf bins --json # cards with structured brief data in card.brief
1146
1150
  ```
1147
1151
 
1148
1152
  Read-only: nothing is claimed. `related` is what the frontmatter names
1149
1153
  (`related_plans`, `related_docs`, `supports_plans`, `parent_plan`, `runlist` and
1150
1154
  the configured reference fields), each with its title and status; `links` is
1151
- every other document the body links to.
1155
+ every other document the body links to. The text brief caps each related/link
1156
+ list at eight entries; JSON retains the full lists.
1157
+
1158
+ Phase headings show checklist progress as `[done/total]`; `→` marks the active
1159
+ phase. Contradictory phase markers are identified, and open boxes are grouped by
1160
+ phase. Headings and boxes inside code fences are ignored. Read the outline first,
1161
+ then one section at a time. Section reads stop at 500 lines or 60 KB and print
1162
+ the continuation command with `--from` when needed.
1163
+
1164
+ `runlist use <doc>` also prints this brief for documents over 500 lines or 60 KB.
1165
+ Use `runlist use <doc> --full` when the whole body is needed.
1152
1166
 
1153
1167
  ## Failed commands
1154
1168
 
package/bin/runlist.mjs CHANGED
@@ -1346,8 +1346,8 @@ Examples:
1346
1346
  runlist prompt list # singular alias for \`runlist prompts list\`
1347
1347
 
1348
1348
  runlist prompts show resume-foo # peek without consuming (triage)
1349
- runlist prompts show --all # peek the WHOLE pending queue in one call
1350
- runlist prompts show --all --limit 10 # ...capped
1349
+ runlist prompts # survey names before selecting bodies
1350
+ runlist prompts show --all --limit 10 # peek a capped batch
1351
1351
  runlist prompts show a b c # peek several by name
1352
1352
  runlist prompts next --dry-run # preview without consuming
1353
1353
  runlist prompts archive old-thing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runlist",
3
- "version": "0.99.1",
3
+ "version": "0.99.2",
4
4
  "description": "CLI for managing markdown documents with YAML frontmatter — index, query, validate, graph, export, lifecycle, and AI summaries.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runlist-codex",
3
- "version": "0.99.1",
3
+ "version": "0.99.2",
4
4
  "description": "Runlist workflow skill, session orientation, and tool guard for Codex",
5
5
  "author": {
6
6
  "name": "Reo Owens"
@@ -20,7 +20,7 @@ Use this skill in repositories with `runlist.config.mjs` or `dotmd.config.mjs`.
20
20
  - **Subagent handoffs:** use `runlist baton --subagent <task-slug> @/tmp/draft.md` to save `subagent-<task-slug>`. Under a parent-owned plan, choose a distinct task slug that does not resolve to a plan; do not release the parent's claim. A child owning a dedicated plan can use `runlist baton --subagent <plan-file> @/tmp/draft.md`. Add `--parent resume-<session-name>` to link the child beneath its parent in `rl prompts`; the parent may be saved later. Parent-session batons keep the default `resume-*` naming. Matching prefixes are kept once; conflicting prefixes are refused. Existing prompts keep their names, and `--subagent --replace` refuses a parent-prefixed prompt.
21
21
  - **Draft outlines:** `runlist baton --template` prints the resume outline. The desktop Templates editor saves resume/subagent outlines in `runlist.templates.json`; repository baton instructions still apply.
22
22
  - **Child draft:** `runlist baton --subagent --template --parent resume-<name>` prints the saved child outline (built-in: Task, State, Next, Evidence and Boundaries). Fill the draft; its `parent_prompt` travels on save. A launcher can pass `RUNLIST_PARENT_PROMPT` into the child environment instead. Keep full records at durable repo-relative paths with commits and checked results; temporary scratch paths are supplementary. Completed work is a result for the parent to record, not another restart. Repair old links without replacing text: `runlist prompts link <child...> --parent resume-<name>`. Showing or consuming a parent surfaces its pending children without consuming them.
23
- - Consume a saved prompt with `runlist use <prompt-file>` (or bare `runlist use` for the oldest). This archives and claims before printing the body. Only an agent session consumes; a plain terminal gets the body plus the `runlist prompts use <path>` line, and the prompt stays pending. A prompt that ends with that line is still pending: run the command first. For read-only triage, use `runlist prompts show <file>` or `runlist prompts show --all`; never open pending prompts with a file reader or `cat`.
23
+ - Consume a saved prompt with `runlist use <prompt-file>` (or bare `runlist use` for the oldest). This archives and claims before printing the body. Only an agent session consumes; a plain terminal gets the body plus the `runlist prompts use <path>` line, and the prompt stays pending. A prompt that ends with that line is still pending: run the command first. For read-only triage, survey names with `runlist prompts`, then peek selected bodies with `runlist prompts show a b c`; use `show --all` only with `--limit N`. Never open pending prompts with a file reader or `cat`.
24
24
  - Pending prompts are session-local. Commit the tracked plan or source files named by baton, not `docs/prompts/*.md`.
25
25
  - Create a document with `runlist new <type> <name> @<draft-file>`. A draft starting with frontmatter can supply scaffold fields; `type` is fixed by the command.
26
26
  - Record a decision with `runlist new decision <plan> --question "…" @<record-file>`; configured registers may also require `--answers`.