Cognitive Harness: runnable demo for preserving reasoning state in Symphony #74
SuhaibAslam
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I built a branch-shaped demo exploring how Symphony-style Codex runs can preserve reasoning state across retries, reviews, and continuations.
Branch:
https://github.com/SuhaibAslam/symphony/tree/codex-cognitive-harness
Why I made it
Symphony already gives agent work a strong execution substrate: tracked work becomes an isolated workspace, the run has hooks, retries, observable output, and a review path.
The gap I wanted to explore is the reasoning state around the run.
Long-running agent work often produces useful judgment that can disappear between attempts:
Raw transcripts can contain that information, but they make it expensive to recover. I wanted to see what it looks like when that state becomes an explicit workspace artifact.
What is in the branch
The branch adds a self-contained Cognitive Harness demo under:
It includes:
The demo is intentionally local and deterministic. It does real file generation, but it uses committed fixtures instead of live Symphony run traces. That keeps the artifact shape easy to inspect.
What the demo produces
Running this:
produces:
COGNITIVE_STATE.jsonRATIONALE_GRAPH.jsonREFLECTION_REPORT.mdCONTINUATION_PROMPT.mdRUN_SUMMARY.jsonThe committed sample run preserves:
The core idea
Treat the workspace as a bounded cognitive environment.
The execution layer can still do what Symphony already does well: create workspaces, run agents, retry, observe, and route to review.
The cognition layer preserves the state that a later run or reviewer should not have to reconstruct from scratch.
Where I think this could go
I think this can be split into smaller, reviewable pieces:
signals.jsonFeedback I would especially value
I put this in a public branch because pull requests appear restricted to collaborators. I would love to shape it into whatever form is most useful for the project.
Beta Was this translation helpful? Give feedback.
All reactions