CONV-001: Conversation Interface Infrastructure #131
Labels
No labels
blocked:children
blocked:commit-ready-failed
blocked:depends-231
blocked:depends-236
blocked:depends-237
blocked:depends-238
blocked:depends-239
blocked:gate-fetch
blocked:gate-fetch
blocked:gate-lint
blocked:gate-research
blocked:needs-attention
blocked:needs-decision
blocked:no-changes
blocked:no-procedure
blocked:preflight
blocked:verify-failed
bug
enhancement
feature-request
high-priority
in-progress
lint-cleanup
needs-decompose
needs-triage
ops-retry
ops-task
phase-5
quickfix
security/medium
self-building
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/mesh-seed#131
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Overview
Implement thread-based conversation management for multi-turn interactions.
Current State
Mesh is stateless. Each intent is independent with no context from previous interactions.
Missing Components
Thread Management
HTTP API
Intent Payload Extension
Storage
Acceptance Criteria
Related
Priority
HIGH - Required for conversational agents
Review Summary: CONV-001 Conversation Interface Infrastructure
Verdict: PARTIAL — data structures only, no integration.
Implemented
ThreadandTurndataclasses insubstrate/ledger/models.py:370-472withto_dict()/from_dict()and JSON metadata handling.Critical Gaps
threads/turnstables missing fromsubstrate/ledger/schema.pyinit_db().substrate/ledger/repositories/has noThreadRepository.MeshLedgerhas zero thread/turn methods (create_thread,get_thread,add_turn,get_thread_history, etc.).docker/api_gateway.pylacksPOST /threads,GET /threads/{id},POST /threads/{id}/intents,GET /threads/{id}/history,DELETE /threads/{id}.submit_intent()does not acceptthread_id/context_window.EphemeralWorker._execute_single_intent()ignores thread context.tests/unit/test_ledger.pyor elsewhere.Acceptance Criteria
Recommended Next Steps
threads/turnstables + indexes inschema.py.ThreadRepositoryinsubstrate/ledger/repositories/.MeshLedger.create_thread/get_thread/add_turn/get_thread_history/close_thread/archive_thread.api_gateway.py.submit_intentto accept + forwardthread_idandcontext_window.EphemeralWorkerto read thread context from env and pass into execution.The models are well-designed but completely disconnected from persistence, API, and runtime. Closing this as a model-only stub does not satisfy the spec.