shadowgraph_context
Build a project's working set of decisions, assumptions, and failures before a task. Evaluate reopen rules, persist signals, and commit a revision for current context.
Instructions
Build one project's working set before a consequential task: decisions, stale assumptions, failed attempts, open reviews. shadowgraph_search or shadowgraph_retrieve look one thing up, shadowgraph_recall reads scoped memory, shadowgraph_review only evaluates. Not a read: it evaluates reopen rules, can persist signals, and commits a revision.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| facts | No | Fact key/value overrides evaluated instead of the stored facts of the same key. Stored facts are used for every key not listed here, so reopen rules still work after a restart. | |
| limit | No | Maximum items per collection, 1-1000, applied to each collection independently. Omit for the default of 50. | |
| project | No | Project namespace. Defaults to "default"; an empty string is rejected. | |
| changedFacts | No | Fact keys that just changed. Only string-form reopenWhen rules match this list; it is an ephemeral signal, not durable state. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | The project this context describes. | |
| openReviews | Yes | Decisions currently due for reconsideration. | |
| completeness | Yes | Per-collection completeness. context returns five named collections, so one page object cannot describe it. | |
| activeDecisions | Yes | Decisions in a current, actionable state: proposed, planned, in_progress, executed, validated, or reconsidered. | |
| staleAssumptions | Yes | Facts that are no longer active, such as superseded or expired ones, which earlier decisions may still rest on. | |
| suggestedQuestions | Yes | Questions for the low-confidence decisions in this project. | |
| failedAttemptsToAvoid | Yes | Attempts whose result mentions failure, regression, or error. |