5 KiB
5 KiB
| phase | task | total_tasks | status | last_updated |
|---|---|---|---|---|
| 01.1-matrix-restart-reconciliation-and-dev-reset-workflow | 1 | 2 | paused | 2026-04-07T21:29:48.982Z |
<current_state>
Formally, the most recently active execution artifact inside the roadmap is still 01.1-03-PLAN.md, which has not been implemented yet. In parallel, the platform-integration track has moved forward: the direct-agent Matrix prototype design is now approved, the implementation plan is written, and the next useful session should evaluate that spec/plan pair against the live platform repos before starting execution.
</current_state>
<completed_work>
- Re-analysed live platform repos on 2026-04-07 by cloning
platform/agent,platform/agent_api,platform/master, andplatform/docs. - Confirmed
masteris still only a thin HTTP skeleton with/healthand/users/{user_id}, not a chat/session/settings backend for surfaces. - Confirmed
agentexposes a working/agent_ws/WebSocket andagent_apiprovides enough protocol/client code to stream model output. - Identified the real technical gap for a prototype:
agentcurrently uses a singleton service with a fixedthread_id="default", so all conversations would share memory unless that is parameterized. - Derived and got approval for the prototype path: keep Matrix adapter logic largely intact, add
sdk/agent_session.py,sdk/prototype_state.py, andsdk/real.py, keep settings local, and use the directagentWebSocket for real messaging. - Resolved the repo-placement question: the prototype stays in this repo on its own branch, not in a separate prototype repo.
- Resolved the platform-change minimization question: prefer patching only
platform/agent, notplatform/agent_api, and use a tiny local WebSocket client in this repo. - Wrote and committed the approved design spec:
docs/superpowers/specs/2026-04-08-matrix-direct-agent-prototype-design.md. - Wrote the implementation plan:
docs/superpowers/plans/2026-04-08-matrix-direct-agent-prototype.md. </completed_work>
<remaining_work>
- Task 1: Implement
adapter.matrix.resetwithlocal-only,server-leave-forget, and--dry-run, plus tests. - Task 2: Update
README.mdso restart vs explicit reset workflow is documented and the old manual reset ritual is removed. - Prototype evaluation follow-up: review the approved spec and plan against the platform repos before starting execution.
- Future prototype work: introduce
sdk/real.pyplus a narrow compatibility boundary that keeps Matrix adapter logic stable while allowing later expansion toward a fuller platform split. </remaining_work>
<decisions_made>
- Do not integrate with
masteryet; it is still not the backend surfaces needs. - Use the direct
agentWebSocket as the only realistic path for a working prototype right now. - Keep consumer-facing Matrix logic as intact as possible and absorb backend differences inside a shim under
sdk/. - Treat future platform evolution as likely to split into at least two concerns: control-plane access and direct agent session streaming.
- Keep the prototype in this repo on its own branch.
- Minimize platform-side changes by patching only
platform/agentif possible. </decisions_made>
<next_action> Resume with one of these depending on priority:
- Evaluate the approved prototype spec and implementation plan against the live platform repos and decide whether to start in this repo or patch
platform/agentfirst. - If staying on roadmap execution, implement
01.1-03-PLAN.mdTask 1 (adapter.matrix.reset) first. - If starting prototype execution immediately, begin with Task 1 of
docs/superpowers/plans/2026-04-08-matrix-direct-agent-prototype.md. </next_action>