read_memory
Read saved top-level values from repository state without writing files, so you can inspect a hypothesis, fix queue, fix log, or health history. Replace stored values with write operations instead.
Instructions
Read one top-level value from persisted repository state without writing files. Use when: you need a saved hypothesis, fix queue, fix log or health history. Don't use when: you need to replace a stored value (use write_memory instead).
Returns {key, value, found}; an unknown key returns value=null and found=false. Built-in default keys may return found=true even when no state file exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Top-level state key to read, e.g. architecture_hypothesis, fix_log, pending_fixes or health_history. Arbitrary strings are accepted; built-in default keys count as found even without a state file. | |
| repo_path | Yes | Directory containing reforge-state.json; prefer an absolute path. Missing/unreadable/invalid JSON state is replaced by in-memory defaults. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| found | Yes | ||
| value | Yes |