Project context
rbook_contextView, update, condense, snapshot, or check the history of project context documents, next steps, and constraints, and search decisions, learnings, and missions to resume work.
Instructions
The record's documents and lists: view the context digest; update, condense, snapshot or history the context documents; next_steps (by nextStepAction) and constraints (by constraintAction); search decisions, learnings and missions. search needs query; snapshot requires source; condense applies unless dryRun=true. New next steps and constraints come from rbook_session capture.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | update: manual if contextType/edits supplied; else aggregate | |
| page | No | 1-based page | |
| query | No | search: required | |
| since | No | ISO date | |
| until | No | history: ISO date | |
| action | Yes | ||
| dryRun | No | condense: preview only | |
| source | No | snapshot: its label | |
| compact | No | view: default true; false adds both documents and every row | |
| pageSize | No | Rows per page | |
| sizeOnly | No | view: sizes only | |
| strategy | No | condense: how hard to cut | |
| evergreen | No | Never shown as past the review age | |
| missionId | No | list/carry: only this mission | |
| sessionId | No | ||
| contextType | No | Default master_context, except view/history | |
| nextStepIds | No | show/complete/drop/reopen: required; carry: omitted/[] means all pending/carried | |
| projectRoot | No | Folder/rbook:// address; inferred | |
| searchLimit | No | search: default 5 | |
| searchTypes | No | Default: decisions only | |
| arrayUpdates | No | Append to arrays | |
| constraintId | No | reaffirm: id; resets its age | |
| fieldUpdates | No | [{path, value}] | |
| statusFilter | No | decisions/learnings only; []=all; default excludes superseded | |
| carryToSprint | No | An existing sprint; omit to park | |
| constraintIds | No | archive: ids | |
| recencyWeight | No | search: 0-1, default 0.5 | |
| nextStepAction | No | ||
| nextStepStatus | No | list: open unless IDs supplied; show ignores filters | |
| constraintAction | No | ||
| constraintStatus | No | list: default active | |
| targetSizePercent | No | condense: % of size limit; default 60 | |
| stalenessThresholdDays | No | review: days, default 30 |