shadowgraph_review_context
Evaluates reopen rules, persists signals, and returns the project working set for review so you can see which items need attention next.
Instructions
Evaluate reopen rules, persist signals and return the project working set. shadowgraph_context does not save signals; shadowgraph_review also persists signals but returns only due items. shadowgraph_ack_review closes a returned signal. Deduplicates owned signals and commits a revision on every call. Grants widen audited evaluation, never writes. No choice or lifecycle changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| facts | No | Temporary key/value overrides for object rules; unlisted keys use stored facts. Example: facts:{ready:true} tests {key:"ready",value:true}. This does not record a fact or fire a string rule; changedFacts supplies those changed-key signals. | |
| limit | No | Maximum items per collection, 1-1000, applied to each collection independently. Omit for the default of 50. | |
| grantId | No | Alias for accessId; conflicting identifiers are refused. | |
| project | No | Project or confirmed workspace binding; otherwise origin-only. No identity returns an empty scoped view. | |
| accessId | No | Grant ID, rechecked at use. Widens reads only, never write authority. Presenting an access key commits a revision and bounded operational audit: at most one aggregate per grant, surface, outcome and UTC day. Conflicts with a different grantId are refused. | |
| originId | No | Capture-origin id; with no project the record belongs to it alone. | |
| changedFacts | No | Ephemeral changed-key signals for string-form reopenWhen rules; not stored facts. Example: changedFacts:["budget"] fires reopenWhen:["budget"]. Object rules instead read values from facts overrides or stored facts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | The resolved project, or null when unresolved. | |
| openReviews | Yes | Decisions currently due for reconsideration. | |
| completeness | Yes | Per-collection completeness. context returns several named collections, so one page object cannot describe it. | |
| readProvenance | No | Original read bounds; reuse intersects these with currently valid authority. | |
| activeDecisions | Yes | Decisions in a current, actionable state: proposed, planned, in_progress, executed, validated, or reconsidered. | |
| reusableAttempts | No | Attempts whose reusableWhen conditions all hold now. Worth reconsidering, not authorised to retry. | |
| 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. | |
| conditionDiagnostics | No | Conditions that could not be settled, or that rest on facts which disagree. Neither a breach nor a confirmed-safe decision. | |
| failedAttemptsToAvoid | Yes | Attempts that failed: resultClass failed or, with none and not captured, a result mentioning failure, regression, or error. |