specs(automation): crm-client-workspace -- one CRM workspace per client: dashboard and client thread - #3605
Merged
Merged
Conversation
…nt: dashboard and client thread Closes #3604 One thread of the seller ABOUT each client (agent_messages.thread, DEFAULT 'self', 'client:<id>'), the client param on all four /api/agent routes with the gate before the first DB read, client context injected as context, a dashboard at /crm/:clientId that reads through /mcp tools and says 'unavailable' rather than zero, and duet runs persisted at start/turn/finish with 'lost' derived on read after 30 minutes. Measured before: one thread per person, flat /crm, duet runs in a process Map; the #2377 redeploy cut duet-mtzsz1la after its first pair. Validated with the wasm compiler: typecheckOk, 0 errors, 0 discarded. ASCII. Not claimed: dashboard seen live, run survived a redeploy.
Contributor
|
📓 NotebookLM Notebook linked to this PR
This notebook contains session context, decisions, and artifacts for this work. |
Contributor
Owner
Author
|
Host PRs: gHashTag/999-multibots-telegraf#2383 (render: thread, gates, crm_duet_runs, read tools) and gHashTag/999-multibots-telegraf#2384 (player: /crm/:clientId dashboard and client thread). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3604
Spec for the per-client CRM workspace of gHashTag/999-multibots-telegraf (apps/vibee-editor). Written after the owner said on 2026-09-13 that every client's chat lands in one place.
agent_messages.thread(DEFAULTself,client:<id>),clientparam on all four/api/agentroutes, delete clears only its thread, client context injected as context./crm/:clientId+/crm/:clientId/chat: 6 panels, reads through/mcptools (crm_clients,crm_client_plan,crm_duet_runs), says unavailable rather than zero, sends nothing.crm_duet_runspersisted at start/turn/finish;lostderived on read after 30 min.Measured before the spec: one thread per person, flat
/crm, duet runs in a process Map -- the #2377 redeploy (19:41-19:44 +07) cutduet-mtzsz1laafter its first pair.Validated with
public/t27/t27_compiler.wasmviaagents-from-specs.mjs:{typecheckOk:true, errors:0, discarded:0, hirOk:true}. ASCII-only.tools/published_figures.py --checkpasses (test blocks 12739 -> 12744).Claim status: contract and gates only;
DASHBOARD_SEEN_LIVE = false,RUN_SURVIVED_REDEPLOY = false. Host PRs will be linked here when opened.