Title: analysis: dsh-superagent-prototype vs our fleet — findings and adoptable ideas · Issue #3450 · developing-today/code · GitHub
Open Graph Title: analysis: dsh-superagent-prototype vs our fleet — findings and adoptable ideas · Issue #3450 · developing-today/code
X Title: analysis: dsh-superagent-prototype vs our fleet — findings and adoptable ideas · Issue #3450 · developing-today/code
Description: Standalone analysis commissioned by Drew, 2026-11-01: full comparison of DeepSeek's dsh-superagent-prototype against our repo-health fleet — same-path check, concept mapping, adoptable ideas (fed into #3424 and #3418), and the deliberate...
Open Graph Description: Standalone analysis commissioned by Drew, 2026-11-01: full comparison of DeepSeek's dsh-superagent-prototype against our repo-health fleet — same-path check, concept mapping, adoptable ideas (fed i...
X Description: Standalone analysis commissioned by Drew, 2026-11-01: full comparison of DeepSeek's dsh-superagent-prototype against our repo-health fleet — same-path check, concept mapping, adoptable ideas (f...
Opengraph URL: https://github.com/developing-today/code/issues/3450
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"analysis: dsh-superagent-prototype vs our fleet — findings and adoptable ideas","articleBody":"Standalone analysis commissioned by Drew, 2026-11-01: full comparison of DeepSeek's [dsh-superagent-prototype](https://github.com/deepseek-ai/dsh-superagent-prototype) against our repo-health fleet — same-path check, concept mapping, adoptable ideas (fed into #3424 and #3418), and the deliberate differences we keep. Full text below; also sent to Aster for review.\n\n# DeepSeek dsh-superagent-prototype vs. our repo-health fleet — comparison & adoptable ideas\n\nDate: 2026-11-01. Scope: whole system, not just code#3424.\nSources read: their `docs/000-philosophy.md`, `001-domain.md`, `002-authorization.md`,\n`003-execution.md`, `004-prompts.md`, `005-panel.md`, `007-architecture.md`\n(006-deployment / 008-cookbook not read). Ours: goal GOAL.md, code#3424 + newest\ncomments, code#3418, opencode#1014 + directive comments, fleet instruction files,\nstanding Drew rules (merge authority, quota doctrine, decision surfacing).\nEvery claim about their system cites the doc it came from. Nothing posted to GitHub.\n\n---\n\n## 1. Their core concepts (compact)\n\n**Philosophy / operating stance**\n- Prime metric: take as little human attention as possible, give as much value as\n possible; every message, notification, question, setting, and panel element must\n earn its attention cost or be removed (000-philosophy).\n- Acts only when asked, or when a written rule allows it; unrequested work starts\n in a record-only mode (000-philosophy, 002-authorization).\n- Speaks only when a person must act or can use a result; confirms a request once,\n stays quiet while working (000-philosophy, 004-prompts).\n- One concrete question at a time, in structured form (000-philosophy; implemented\n as the Report's structured question field, 001-domain / 003-execution).\n- Stops by impact, not effort: local change → reviewable result; a change needing\n a design decision stops with a clear question (000-philosophy).\n- Honest reporting: drafts marked unfinished, failures reported as failures,\n limits never bypassed to avoid asking (000-philosophy, 004-prompts).\n\n**Domain (001-domain)**\n- Source — an event stream (kind + instance config); holds its read position and\n bot identity; drops the bot's own messages before they enter the domain.\n- Trigger — one immutable event; the unit of audit and idempotence (accepting it\n twice creates one Ticket).\n- Thread — Triggers in time order; at most one Eval at a time; holds\n Subscriptions and Decision history.\n- Eval — stateless judgement on a batch of Triggers in two layers: a deterministic\n Gate, then model Assessment. Output is a Decision: accept / stop / ignore /\n unavailable.\n- Mandate — what an accept grants: Policy version, scope, strength, matched\n rules, sender identity. Immutable; wider scope = new Ticket; only a person's\n stop withdraws it; revalidated against current Policy before an ended Ticket\n resumes.\n- Ticket — the unit of authorized work; open → ended → resumable by a person's\n message on its Threads; defines its own state, independent of the Executor.\n- Assignment — binding of a Ticket to one Executor instance; a Ticket has several\n over time; pending → running → ended independently of the Ticket.\n- Subscription — many-to-many Ticket↔Thread relation; fan-out delivers Thread\n messages to live Tickets as context with no authority check; context-only\n subscriptions lend context but no authority and do not resume.\n- Correlation — relation between Threads sharing a Trigger; adds context, never\n routes.\n- Channel — the write side of a Thread (acks, replies, PRs, review replies).\n- Policy — versioned assessment rules + per-Source parts (allowed list, admission\n table, bot list); a Policy change notifies affected live Tickets but does not\n revoke their Mandates.\n- Attention — a structured question on a Ticket waiting for a person's answer.\n- Disposition — the record of where each Trigger went (filtered / evaluated /\n fanned out / handed back / answered).\n- Report — the Executor's structured state report to its Ticket: progress /\n waiting / ready / blocked / failed / dropped, plus an optional question.\n- Explicitly rejected concepts (001-domain \"Rejected concepts\"): cross-Source\n identity mapping, Eval scheduling its own delayed Triggers (waiting belongs to\n Sources), waiting/revoked Eval states, one-live-Ticket-per-Thread, Ticket state\n following the Executor session, an Executor declaring a person asked to stop,\n cancelling running Tickets on Policy change, inferring \"waiting on a person\"\n from free-text reports.\n\n**Authorization (002-authorization)**\n- Strength: explicit (allowed person addresses the agent, or follows up on a\n Thread with a Ticket) vs inferred (bot on the bot list, unlisted follow-up,\n admission-cell candidates). Bots can never make explicit requests or stop work.\n- Admission table per Source: rows = receiving scopes, cells decide\n explicit / inferred / ignore by sender membership × addressed-or-not.\n- Accept mode per Policy: `off` / `observe` (default; inferred accepts are\n recorded as \"would accept\" and nothing starts) / `auto`. Explicit requests\n work in every mode. Proactive accept requires ≥1 matching rule, and every\n enabled rule is judged exactly once per assessment.\n- Follow-up ownership: a message on a Ticket's Thread is owned by that Ticket's\n Executor (no Eval); the Executor handles it in-scope or hands it back once,\n with a reason; only when no Ticket owns it does it go to fresh Eval. The main\n Session may act on an owned follow-up only to stop work.\n- Revalidation before resume: an ended Ticket's Mandate is checked against\n today's Policy (mode, rules still enabled, sender still listed, bot still\n listed); failure = the Ticket stays ended and its waiting messages re-enter\n the intake path as unowned.\n- Eval failure discipline: an expired Eval requeues twice, then records\n `unavailable`; assessment failure also records `unavailable`; Policy change\n mid-Eval records `unavailable` and requeues under the new version immediately.\n\n**Execution (003-execution)**\n- Ticket stages are derived, not stored: a precedence table (first match wins)\n computes the stage from facts — input-undelivered, has-Attention, latest\n Report ready / blocked / failed, queued, idle (waiting), working. A `person/*`\n stage means the Ticket cannot continue without a human.\n- One Executor Session + one directory per Ticket (`worker-\u003cticket id>`);\n prepare command (typically `git worktree`) runs once before the first\n Assignment; a PR belongs to the Ticket when its branch's last segment matches\n the Ticket's short name.\n- Worker slots: a Ticket holds a slot through background work; background work\n gets ≤30 min after turn end, then shell jobs are killed and the Ticket reports\n waiting with which jobs were killed. One extra slot beyond the concurrency\n limit is reserved for a person's message or a status request, and human wakes\n take priority over new launches.\n- Blocked/failed hold: on a `blocked`/`failed` Report the Ticket takes no\n automatic Input (CI/bot messages are recorded, not delivered); transient\n provider/network failures (408/429/5xx, refused/reset/timeout) retry 3× with\n growing backoff before the hold; a person's message, a non-blocked Report, or\n a manual Retry ends the hold.\n- Stored work: side effects are stored first, executed after (transactional\n outbox); retries with doubling backoff; a kind of work surfaces as a system\n problem only after 3 consecutive failures of an item.\n- Restart recovery: interrupted Assignments restart with a recovery note (\"check\n directory, git history and GitHub before repeating any outside action\"),\n oldest Ticket first; read/unread Input accounting survives restarts, and a\n replacement Assignment re-receives exactly the Inputs the old one never took.\n- Pause processing: stops dispatch, Evals, deliveries and replies; Sources keep\n recording Triggers; running turns are not interrupted; Eval deadlines shift\n by the pause length.\n- Merge governance is prompt text (\"Delivery requirements\"), not host logic:\n the agent account never enables auto-merge (attribution goes to whoever\n enabled it); default rule allows auto-merge only for the Ticket's own PR,\n ready, approvals covering the head commit, \u003c200 changed lines.\n- A Ticket following PRs ends when none of the PRs it opened remain open (or all\n followed PRs closed); outcome = the last relevant close; it keeps its\n Subscriptions afterwards so a later human comment resumes it.\n\n**Panel (005-panel)**\n- The panel answers three questions in order: (1) does anything need me now?\n (2) is the system healthy and doing the right things? (3) what is the history\n of one piece of work, Trigger → Eval → Ticket?\n- Overview lists Tickets needing action first; a healthy state takes no space;\n every count equals the length of the list it links to; a label says whom a\n row waits for and what it needs, not an internal status code; problems must\n be actionable (a one-off network error is not enough); rows needing a person\n offer their action (Retry, stop, dismiss, evaluate-again) directly.\n- An `unavailable` Decision asks for human attention only when \u003c24h old, still\n the latest on its Thread, undismissed, and the Thread is neither queued nor\n evaluating.\n\n**Prompts (004-prompts)**\n- Prompt assembly has a fixed precedence ladder: (1) facts enforced by tools/\n host, (2) built-in + generated sections as overridden, (3) a proactive\n Ticket's matched-rule requirements for that Ticket only, (4) team sections\n and skills, (5) outside text — data, never authorization.\n- The Policy section is regenerated from settings on every model request and\n placed last, so a Policy change leaves the preceding prompt text unchanged.\n- Prompts and settings are immutable versions with base-revision optimistic\n concurrency; a conflicting save is refused without discarding the draft;\n Sessions read the latest version on every request, even mid-turn; an override\n identical to the default is deleted so the part follows future defaults.\n- Role split: the main Session only routes (forwards the original Trigger +\n routing facts, no technical decisions, routing note ≤30 words, one routing\n call batches up to 20 decisions); Executors read original sources, judge\n scope, implement and verify. The main Session never waits — a host guard\n refuses `sleep`, shell timeouts >30s, and job waits >5s.\n- Chat messages: one sentence by default, hard limit 100 words; main-Session\n coordination notes to a Ticket ≤100 words and grant no authority.\n\n**Architecture (007-architecture)**\n- One Engine is the only writer of Triggers/Threads/Decisions/Tickets/\n Assignments; every command mutates its aggregates in one transaction; ports\n enqueue external work inside the transaction and adapters perform it after\n commit (`afterCommit`). Callers get only their role's `Pick` of the Engine\n (Sources / Main Session / People / Settings / Executor).\n- Effects: a durable side-effect queue (kind/key rows; re-enqueueing a waiting\n key replaces its payload without changing queue order); per-kind handlers\n with their own concurrency and backoff; throwing `Later` defers without\n counting a failure.\n- Decisions record structured `reason`s: a code + values (+ per-Trigger id),\n rendered to text for agents and panel from one code table.\n- Persistence: one SQLite file; domain tables per aggregate plus a\n `disposition` table, an `effect` table, an `outbox` receipt table (a message\n id is never queued twice; dropped messages keep when/why), and typed KV.\n Generated columns (`open`, `active`, `subscribed`) index exactly the working\n set a pass must read. Schema version only increases; nothing deletes old\n records yet (named as a known unbounded-growth gap).\n- Reasons, stages, and health have single definitions used by core, panel and\n prompts alike (\"one writer per state\", \"one place per concept\").\n\n---\n\n## 2. Concept-by-concept mapping to our system\n\nLegend: **have** = we do this today in substance · **partial** = shape exists,\nweaker or by convention only · **lack** = no equivalent.\n\n### A. Intake, authorization, work acceptance\n\n| Their concept (doc) | Ours | Verdict |\n| --- | --- | --- |\n| Source with read position, own bot identity, self-messages dropped pre-domain (001) | Producers (sweeps, new-issue-creator, pr-diff-review, pr-comment-review, fleet monitor, conductor) write packets to per-repo Supabase queues; GitHub is the event surface; watermarks exist per producer (e.g. pr-review-state.json) | partial — positions/watermarks exist per producer, no single Source abstraction, no uniform \"own output never re-enters\" filter |\n| Trigger as immutable unit of audit + idempotence (001) | `repo-task/v1` packets with dedupe keys (fix/triage/pr families); enqueue revives on duplicate key (migration 0014) | partial — dedupe gives idempotent enqueue, but the packet is a work order, not an immutable record of the originating event with its actor |\n| Gate (deterministic) + Assessment (model) as two Eval layers (001, 002) | Label hard-stops at claim (held, user/owned, do-not-merge, do-not-auto-edit) + lane judgement during triage kinds | partial — the deterministic layer exists as label checks inside claim/revalidation; the judgement layer is the lane itself, not a separate recorded Decision |\n| Decision as a recorded object with structured reasons (001, 007) | Triage outcomes recorded as issue comments (`agent-note:v1`) and queue status; reasons are free text in progress/last_error | lack — no Decision record, no reason-code vocabulary; this is exactly what #3424 pieces 4–5 would build |\n| Mandate: immutable grant w/ Policy version, scope, strength, matched rules (001, 002) | The packet is the closest analog: scope + timebox + payload, frozen at enqueue | partial — packet carries scope but no strength, no rule provenance, no version of the rule set it was admitted under |\n| Strength explicit vs inferred (002) | Drew's direct directives vs fleet-inferred work (sweep findings, producer packets) — real distinction, nowhere recorded | lack as data; have as practice (Drew escalations short-circuit everything) |\n| Admission table per Source (002) | Producer charters in job bodies (what new-issue-creator / pr-diff-review may file, caps per run) | partial — rules exist as prose in cron bodies, not as data consulted at intake |\n| Accept modes off / observe / auto (002) | Pilot Phase 0 ran a 48h shadow before live cutover (GOAL.md); since then producers run `auto` permanently | partial — we did observe-mode once, at system level, by hand; no per-rule or per-producer mode |\n| Follow-up ownership + hand-back with reason (002, 003) | PR shepherd tasks and resume-briefs approximate it: a parked task's follow-up work returns to the same queue item; lanes hand off via handoff snapshots | partial — ownership is by queue item, not by conversation thread; hand-backs are prose in comments, not a routed object with a reason code |\n| Revalidation of the grant before resume (002) | Lanes revalidate against fresh GitHub state (labels first) on every claim/resume — a strong, enforced habit (§ instruction) | partial — we revalidate the *work's* state rigorously; we do not revalidate the *authority* (e.g. a label Drew set since, a rule that changed) as a distinct check — in practice labels cover most of it |\n| Eval timeout → requeue ×2 → `unavailable` + health surfacing (002) | Task attempts cap (max_attempts) + lease expiry returning tasks to queued; fleet monitor flags dead-in-queue | partial — caps exist; the \"terminal undecidable\" state and its dedicated surfacing do not (dead-in-queue repair is manual/operator) |\n\n### B. Queue data model (code#3424 / #3418 territory)\n\n| Their concept (doc) | Ours | Verdict |\n| --- | --- | --- |\n| Ticket defines its own state, independent of Executor (001) | Task row holds status; lanes are interchangeable claimers | have — this is already our shape, and #3424 keeps it |\n| Assignment separate from Ticket, several over time (001) | Claim/lease + attempts on the task row; lane-execution ledger exists (migration-era) | partial — attempts counted, but no first-class assignment record with its own lifecycle; #3424 piece 6 (provenance) covers who, not the binding as an object |\n| Derived stage from facts, precedence table, \"whom does it wait for\" (003, 005) | Stored status enum (queued/claimed/parked/blocked/done) + free-text reason | lack — #3424 piece 4 adds `status_reason`; a derived \"waiting-on\" classification (CI / review / person / budget / external) computed from facts is not in the design yet — adoptable (see §3.3) |\n| Structured Report vocabulary: progress/waiting/ready/blocked/failed/dropped + structured question (001, 003) | Terminal verbs complete/park/block + checkpoint text; escalation to Drew is prose in chat | partial — verbs map roughly (park≈waiting, block≈blocked), but the *question for a person* is not a structured field anywhere; escalations are hand-written chat lines |\n| Attention as a first-class object (001) | `user/escalated` label + backlog entries + chat lines | lack — no queryable \"questions waiting on Drew\" set; the morning readout assembles it by hand each cycle |\n| Disposition: every Trigger's fate recorded (001, 007) | Sweep logs, backlog files, lane handoff snapshots — per-producer, prose | lack — #3424 piece 5 (events) covers task changes, not intake fates (what a producer saw and skipped, and why) |\n| Subscriptions / fan-out to live work (001) | Shepherd tasks poll their PRs on park-resume; fleet monitor watches in-progress items hourly | partial — polling by schedule instead of subscription; works, costs cycles |\n| Correlation adds context, never routes (001) | #3424 links: `related` kind adds context; claim consumes only derived hard/soft block semantics | have (in design) — the newest #3424 comments independently converged on this: kinds + provenance + derived blocking semantics, claim reads semantics only |\n| Typed links with provenance, system-inferred links marked (their Disposition/hand-back reasons, 001/007) | #3424 amendment: kind × provenance (direct/inferred/related — explicitly not pinned) × derived effect; inference rules (issue-blocker ⇒ its queue item; PR closing a blocked-on issue joins the chain) | have (in design) — theirs is thinner here; our link model is already the more developed one |\n| Append-only history, reconstruct any moment (their disposition + decision tables, 007) | #3424 piece 5: events table with before/after (JSONB diff pocket per storage ruling) | have (in design) |\n| Actor provenance on every write (007's Mandate basis + Decision reasons) | #3424 piece 6: lane, runtime, session, host, pid, ip, originating system | have (in design) — ours is more detailed than theirs |\n| Normal-form tables + generated working-set indexes (007 Persistence) | #3424 storage ruling: normal form default, JSONB in four sanctioned pockets, graduation rule | have (in design) — same instinct; their generated-column trick is the concrete mechanism worth copying (§3.8) |\n| Budget-aware claiming: match work to claimer capacity (— they have worker slots instead, 003) | code#3418: `required_budget_minutes` on park/packet, claim takes claimer's remaining shift budget; external-wait vs capacity-wait split | have (ours, in design) — they solve the adjacent problem (slot accounting + human-priority slot), not this one; #3418 is genuinely ours |\n| Park revalidation on a cadence (—) | #3424 piece 3: daily re-verification of long parks writing `last_checked_at` + outcome | have (ours, in design) — no analog in their docs; their nearest is Mandate revalidation at resume |\n\n### C. Execution, sessions, routing (lanes + conductor + router; opencode#1014)\n\n| Their concept (doc) | Ours | Verdict |\n| --- | --- | --- |\n| One session + one directory per work item, prepared by a prepare command (003) | Lane shifts claim many tasks sequentially in shared worktrees on the laptop; sessions are per-shift, not per-task | lack — deliberately different (§4), but their per-item directory discipline is what our worktree-per-task hygiene approximates by instruction |\n| Worker slots with a reserved +1 human-priority slot (003) | Fixed lane counts per queue (code 6 lanes at peak design, opencode/openchamber/nix 1 each); Drew's messages don't preempt a lane mid-shift — they wait for a shift boundary or the main chat acts directly | lack — no priority lane for Drew-originated work inside the queue system; the main chat *is* the priority slot, informally |\n| Background-work slot accounting: turn ending with jobs running keeps the slot, 30-min cap, kill + report (003) | Shift budget ~90 min; lanes park instead of waiting (CI, reviews); a task never just stops (§10 anti-evaporation) | partial — park-don't-wait is the same instinct; we bound by shift, they bound by per-item background window |\n| Blocked/failed hold: no automatic input delivered while held; transient provider errors retry 3× backoff first (003) | Blocked tasks sit until operator/fleet-monitor action; provider-error handling lives in the router (#1014), not the queue | partial — split across two systems in ours; their rule \"a hold is a state computed from stored Reports/Inputs, so a restart keeps it\" is a property our blocked state has via the DB |\n| Stored-work / transactional outbox: store first, execute after commit, per-kind backoff, surface after 3 consecutive failures (003, 007 Effects) | Supabase queue + cron/hook triggers + signal chaining; GitHub comments posted directly by lanes | partial — the queue itself is durable, but side effects (comments, enqueues, signals) are fire-and-forget from the lane; no outbox, no per-kind failure accounting |\n| Restart recovery note + re-delivery of exactly the untaken inputs (003) | Lane handoff snapshots (per lane/queue JSON) + resume briefs on parked tasks; new shift re-derives state from GitHub + snapshot | partial — same goal, prose mechanism; theirs is exact because read/unread is tracked per Input; ours re-verifies fresh each claim (stronger against staleness, weaker on continuity) |\n| Pause processing (dispatch/evals/deliveries stop; intake continues; deadlines shift) (003) | Individual cron jobs can be paused; quota walls stop dispatch by conductor gate (Meta read is the dispatch gate) | partial — no single fleet-wide pause that freezes clocks; our pauses are per-job and time keeps running on parks/leases |\n| Merge governance as prompt text with attribution rule (003) | Merge authority is Drew's standing rule: Muse merges verified work itself; CI runs on main only; PRs don't wait for CI (2026-10-29/31 rules) | have, inverted — both keep merge policy out of the host's decision logic; the *content* of the policy deliberately differs (§4) |\n| Router behavior under provider failure (their Executor retry classes, 003) | opencode#1014: any-error-class escalating bench, reset-aware holds, balance-shaped known-full, dynamic pull-out on quota error, nearest-first cascade that never kills a session while a candidate remains, pooled-seat launch rule (code#3325) | have (in flight, task 5256) — our router doctrine is considerably more developed than theirs; theirs contributes the *classification* discipline (transient class → retry 3× → hold) as a cross-check, not a replacement |\n\n### D. Surfacing: panel vs chat escalation + morning readout\n\n| Their concept (doc) | Ours | Verdict |\n| --- | --- | --- |\n| Panel: needs-me-first, health second, per-item history third; healthy = invisible (005) | Chat delivery discipline: one compact line for material outcomes only; everything else to logs/backlogs; morning readout + stewardship cycles name stalled/blocked items | have as discipline, lack as artifact — the *ordering principle* is identical (attention first, health second, history on demand); we render it as chat text assembled per cycle, they render it as a standing view over queryable state. #3424's notes/events/attention data is what would let ours be generated instead of written |\n| Stage labels say whom a row waits for (005, 003) | Backlog/readout prose names blockers (\"BLOCKED: \u003cwhat's needed>\") | partial — convention exists, not computable from data today |\n| Actionable-only problems; one-off errors don't surface; counts == list lengths (005) | \"A failed read never idles a pool\"; routine exhaustion not surfaced, sole-door pools and anomalies are (quota doctrine) | have — same principle, independently arrived at |\n| Dismissable, expiring attention requests (\u003c24h, latest-only, not-while-queued) (002, 005) | Escalations persist until Drew rules or the condition clears; re-asking a recorded decision is banned | partial — we have the no-re-ask rule; we lack expiry/dismissal mechanics, so stale asks can linger in backlogs |\n| One structured question at a time to the person (000, 004) | Decision surfacing carries substance + options + recommendation (Drew's 2026-10-28 rule); options widgets used for rulings | have — our version is richer in content; theirs adds the structured-field plumbing (question travels with the work item, answer returns to it) |\n\n### E. Prompts / instructions\n\n| Their concept (doc) | Ours | Verdict |\n| --- | --- | --- |\n| Precedence ladder: host-enforced facts > built-ins > matched-rule reqs > team text > outside text as data (004) | System rules > Drew directives > instruction files > issue/PR text; injection discipline in fleet instructions | have as practice — never written as one ladder our instruction files cite |\n| Policy section regenerated per request, placed last so rule changes don't churn the prompt prefix (004) | Instruction files are static per cron definition; quota/router state injected per conductor cycle; cron definitions are truth, edits pushed via cron.update | partial — our \"policy\" (quota state, gates) does ride per-cycle; the placement/caching trick is OpenCode-session-specific but the principle (volatile state last, stable text first) applies to lane prompts |\n| Versioned prompts/settings, base-revision saves, override==default auto-deleted (004, 007) | Cron definition files in git + cron.update; instruction files in hidden_files with git history | partial — versioned by git, no optimistic-concurrency on edits, no \"instruction identical to template gets dropped\" hygiene |\n| Router/executor role split: router never decides technically, ≤30-word notes, batched routing calls (004) | Conductor dispatches and gates; lanes judge and implement; main chat routes Drew's intent | have in shape — our conductor already only dispatches/gates; the word-limit and batching disciplines are not formalized |\n| Router never waits (no sleep / long job waits) (004) | Cron shifts are fresh-context and time-boxed; lanes park instead of polling | have by architecture — cron model gives us this for free |\n| Few concepts, few settings; behaviour in words is prompt text, not a setting (000) | Fleet has accreted many job types and instruction files; label taxonomy 400+ labels | partial — worth an explicit audit pass (§3.10) |\n\n---\n\n## 3. Most adoptable ideas (ranked by value ÷ cost)\n\nEach idea names its source doc, every plausible home, and a one-line cost note.\n\n### 3.1 Structured question field on the work item (\"Attention\")\nTheir Executor asks through a structured field on its Report; the question\ntravels with the Ticket and the person's answer returns to the same Ticket\n(001-domain glossary; 003-execution; 004-prompts \"Ask through human_action\").\nOurs: escalations are chat prose + `user/escalated` labels; the substance rule\n(what/options/recommendation/why) is enforced socially.\n**Homes:** code#3424 (notes schema gains an `attention` note type with\nquestion/options/recommendation/answer fields — fits the typed-notes piece\ndirectly) · lane instructions (`repo-queue-worker-instruction.md`,\n`lane-shift-instruction.md`: escalation = write the attention note, then the\nchat line *renders* it) · escalation discipline / morning readout (readout\nlists open attention notes instead of re-deriving them).\n**Cost:** small — one note type + fields in a design already in flight; readout\ngeneration is a follow-up, not a prerequisite.\n\n### 3.2 Accept mode per producer: off / observe / auto\nInferred work starts in `observe`: positive assessments recorded as\n\"would accept\", nothing starts; flip to `auto` after reviewing the recorded\nDecisions (002-authorization). We ran observe once, system-wide, by hand\n(pilot shadow); every new producer since went straight to auto.\n**Homes:** code#3424 (a mode column on producer/queue config is schema-shaped)\n· producer job bodies (new-issue-creator, pr-diff-review, pr-comment-review:\nnew filing rules/kinds start in observe for N runs) · fleet monitor (reports\nwould-accept counts so the flip decision has data).\n**Cost:** small–medium — a config flag + producers honouring it; the win is a\nsafe on-ramp for every future producer rule change.\n\n### 3.3 Derived \"waiting-on\" stage instead of (only) a stored status\nStage computed from facts by a precedence table — undelivered → person/answer →\nperson/review → person/blocked-failed → queued → idle → working — and the label\nnames whom it waits for (003-execution stage table; 005-panel principle 2).\n**Homes:** code#3424 (add a derived waiting-class to the design: inputs are\nstatus + blocker links + park kind + last note type; stored `status_reason`\nstays as the human gloss) · code#3418 (capacity-wait vs external-wait is\nexactly two rows of this table — fold them in rather than inventing parallel\nvocabulary) · fleet monitor + morning readout (queue health reported in\nwaiting-on classes; \"31 parked\" becomes \"12 on CI, 9 on review, 4 on Drew,\n6 capacity\").\n**Cost:** small in the design phase (a view/function over #3424's tables);\nmedium if retrofitted after implementation — decide it inside #3424 now.\n\n### 3.4 Decision/reason codes as a shared vocabulary\nDecisions and transitions record a `code` + values from one table; agents,\npanel and humans all render from the same codes (007-architecture Model;\n001-domain disposition). Our reasons are free text (`last_error`, progress\nblobs) — the failure #3424 exists to fix.\n**Homes:** code#3424 (notes/events carry `reason_code` beside the free-text\nbody; seed the code list from our real vocabulary: ci_wait, codex_review,\nquota_reset, capacity, blocked_on_task, drew_decision, upstream_pr, …) ·\nlane instructions (terminal verbs require a code) · repo-queue.py (validate\ncodes at the verb, like packet schemas).\n**Cost:** small — a controlled vocabulary list + one column; discipline cost\nonly if lanes must retrofit old rows (don't — codes apply going forward).\n\n### 3.5 Follow-up ownership + hand-back, applied to PR shepherding\nA follow-up on a work item's own thread is owned by that item's worker, which\neither handles it in-scope or hands it back once with a reason; only unowned\nmessages become new intake (002-authorization; 003-execution). Our analog:\nreview comments and CI results on a PR with a live shepherd task should route\nto that task (as a resume trigger with context), and a shepherd that judges a\ncomment out-of-scope hands it back as a new triage packet naming why — instead\nof today's pattern where pr-comment-review files fresh issues that can collide\nwith the shepherd's own work.\n**Homes:** lane instructions (shepherd resume protocol) · pr-comment-review\njob body (check for a live shepherd/pr task before filing) · code#3424\n(hand-back = a link + note with provenance `inferred`, reason code from 3.4).\n**Cost:** medium — mostly instruction + one producer check; no schema beyond\nwhat #3424 already plans.\n\n### 3.6 Reserved human-priority capacity in claiming\nWorker slots reserve +1 beyond the limit for a person's message or a status\nrequest, and human wakes preempt new launches (003-execution Concurrency).\nOur failure shape (2026-11-01): Drew-prioritized work waits behind whatever\nthe shift already claimed; there is no mechanism for a Drew directive to\npreempt inside the queue system.\n**Homes:** code#3418 (claim-side companion: expedite/Drew-originated tasks may\nclaim against a reserved budget slice — e.g. a lane may exceed its bundle cap\nby one for a priority-90 task, or one lane slot per queue is reserved for\nexpedite until T-30 of the shift) · lane instructions (the reservation rule\nlanes can actually execute) · conductor instruction (dispatch gate honours the\nreservation when seating sessions).\n**Cost:** small — a claim rule + instruction text; no schema beyond #3418's\n`required_budget_minutes` conversation.\n\n### 3.7 Stored-work discipline for side effects (mini-outbox)\nSide effects are stored in the same transaction as the state change and\nexecuted after commit with per-kind backoff; a kind surfaces as a system\nproblem only after 3 consecutive failures of one item (003-execution \"Stored\nwork\"; 007-architecture Effects). Our lanes post GitHub comments / enqueue\nfollow-ups / fire signals inline; a crash between the DB verb and the comment\nis exactly the claim-evaporation class we repaired on 2026-10-26.\n**Homes:** code#3424 (events table already stores the intent; add an\n`effects`/outbox table for comment-mirroring — note piece 4 already promises\n\"the system comments notes back automatically\", which *is* an outbox consumer)\n· repo-queue.py (verbs enqueue effects; a small drainer in the fleet monitor\nor a hook executes them) · fleet monitor (per-kind failure accounting replaces\nad-hoc divergence repair).\n**Cost:** medium — one table + a drainer; but it mechanizes repairs the fleet\nmonitor currently does by hand every hour.\n\n### 3.8 Generated working-set columns for queue reads\nTheir store computes `open` / `active` / `subscribed` as generated columns\nwith partial indexes so a pass reads only active work (007-architecture\nPersistence). Our claim/health queries filter the full tasks table by status\nand timestamps on every lane cycle.\n**Homes:** code#3424 (schema design: generated columns or partial indexes for\nclaimable-now, parked-due, blocked-on-open-task working sets — pairs with the\nnormal-form ruling already recorded) · supabase migrations chain (lands as\npart of the #3424 implementation migrations).\n**Cost:** small — index design inside migrations already being written.\n\n### 3.9 Prompt-precedence ladder + volatile-state-last, written into fleet instructions\nOne explicit ladder (host-enforced facts > standing rules > matched task\nrequirements > instruction text > repo/issue text as data), and prompts\nassembled stable-first with volatile state (quota snapshot, gate state) last\n(004-prompts). Our lanes already behave this way; writing it down once ends\nper-instruction-file reinvention and gives the injection rule a citation.\n**Homes:** `lane-shift-instruction.md` + `repo-queue-worker-instruction.md`\n(one shared preamble section) · conductor instruction (same preamble) ·\nopencode route/session prompts where the router assembles per-session context\n(adjacent to #1014's surfaces, not inside its scope).\n**Cost:** small — an editing pass over instruction files we control.\n\n### 3.10 \"Few concepts\" audit of our own surface\nTheir design refuses new concepts: a business need becomes an attribute of an\nexisting concept or prompt text (000-philosophy; 001-domain rejected-concepts\ntable is the worked example). Our surface has grown by accretion: 400+ labels,\nmultiple overlapping job types, per-queue instruction variants.\n**Homes:** goal-level review (label taxonomy file\n`files/label-taxonomy-2026-10-25.md` — prune labels no query uses) ·\nstewardship cycle (a standing \"concept count\" check when a new job/instruction\nis proposed: attribute of an existing thing, or genuinely new?) · code#3424\n(the design already applies this to links/notes — extend the same test to the\npieces' own vocabulary before implementation packets split).\n**Cost:** small per pass, recurring; the cost of *not* doing it is the drift\nthat made tonight's routing incident hard to reason about.\n\n---\n\n## 4. What they do that we deliberately do differently — and should keep\n\n1. **Merge authority.** Their default: the agent account never enables\n auto-merge, people merge, policy lives in a \"Delivery requirements\" prompt\n (003-execution). Ours (Drew, 2026-10-24/25, restated since): Muse merges\n verified finished work itself — \"if an issue or PR says it needs a human,\n they mean you\" — drafts and conflicted PRs included, fix forward. Keep\n ours. It is the throughput decision the whole fleet is built on; their\n model optimizes for a team of human colleagues whose attention and trust\n are the scarce resource, ours for a single operator who has explicitly\n delegated the merge call. (Borrow only their *attribution* awareness:\n merges are attributable actions, which our provenance piece 6 now records.)\n\n2. **Start narrow / observe-first as the permanent posture.** Their\n responsibility section: begin with a short allowed list and record-only\n proactive work; widen only when the record looks right; never produce\n volume (000-philosophy). We already passed that gate deliberately (pilot\n shadow → Drew-approved cutovers, Phase 3 approved 2026-10-26) and Drew's\n standing direction is the opposite failure-mode guard: \"fix it means fix\n it now\", file the issue in the same pass, merge when verified. Keep our\n posture; adopt observe-mode only as a per-producer on-ramp (3.2), not as a\n fleet-wide temperament.\n\n3. **One work item per session, session per item.** Their Executor model is\n one Session + directory per Ticket, resumed across days by subscription\n fan-out (001/003). Our lanes are fresh-context cron shifts claiming bundles\n — chosen 2026-10-26 precisely because long-lived worker contexts compact\n and die mid-bundle (\"cron jobs don't compact\"). Keep the shift model. Our\n continuity lives in the queue + GitHub + handoff snapshots, not in a\n session's memory — which is also why #3424's notes/events matter more for\n us than their Session-history mechanics would.\n\n4. **Panel as a separate UI artifact.** Their panel is a standing view inside\n the DeepSeek Harness (005-panel). Our surface is chat + GitHub + the\n morning readout, and Drew works from his phone. Keep the surface; adopt\n the panel's *principles* (needs-me-first ordering, waiting-on labels,\n actionable-only problems, counts that equal their lists) as readout\n requirements — 3.1/3.3 are what make them generatable from data instead of\n assembled by hand.\n\n5. **Waiting belongs to Sources; no park timers in the core.** They reject\n delayed-Trigger scheduling inside Eval: a condition that needs waiting is\n a Source that checks again itself (001-domain rejected concepts). Our\n park/`not_before` + scheduled revalidation (#3424 piece 3) puts waiting\n inside the queue deliberately — because our \"sources\" are cron jobs and\n GitHub state, and a park with a known external instant (quota reset, CI\n completion) is more honest as data than as a poller. Keep ours; #3418's\n external-wait vs capacity-wait split already encodes the part of their\n objection that was right (a capacity wait is not a time wait).\n\n6. **GitHub as the canonical work surface.** Their Sources translate GitHub\n into an internal domain and the Ticket state lives in their store\n (001-domain \"What is reusable\"). Ours keeps GitHub issues/PRs canonical —\n the queue is a control plane, the discussion and the audit trail people\n read live on the issue — and #3424 piece 4 mirrors notes *out* to GitHub\n for exactly this reason. Keep ours; it's why a person can audit any fleet\n action from the repo alone.\n\n7. **Escalation content.** Their questions are one concrete question, short\n (000/004). Drew's rule requires the substance in the message itself —\n what, options, ramifications, recommendation — because he rules from the\n chat, not from a panel. Keep ours; 3.1 adds their plumbing (the question\n as structured data on the item) underneath our content rule, not instead\n of it.\n\n---\n\n*Prepared for the repo-health fleet's design work (code#3424, code#3418,\nopencode#1014, fleet instruction files). Reference only — no GitHub posts made.*\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-01T09:28:53Z","url":"https://github.com/developing-today/code/issues/3450"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:364b241d-fac7-69fd-7701-975e0281598a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A768:3422CF:35759B:45DC99:6B0617F5 |
| html-safe-nonce | af4391a94fd957d757275d0e0d19ad953fbe829c625f20a8abca5bd91ce3eb49 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzY4OjM0MjJDRjozNTc1OUI6NDVEQzk5OjZCMDYxN0Y1IiwidmlzaXRvcl9pZCI6Ijc0MTIzNDE4ODY1MDc0MjM3MzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a47ec6617755544de53fc1695fbbc1a2bebec1861dd53adf0c6d3adc27b6ee8f |
| hovercard-subject-tag | issue:6145370938 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/3450/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1c1041499fe847dc252aa8945d36385cf2ae8047a2dd587be1452adfc5d09918/developing-today/code/issues/3450 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1c1041499fe847dc252aa8945d36385cf2ae8047a2dd587be1452adfc5d09918/developing-today/code/issues/3450 |
| og:image:alt | Standalone analysis commissioned by Drew, 2026-11-01: full comparison of DeepSeek's dsh-superagent-prototype against our repo-health fleet — same-path check, concept mapping, adoptable ideas (fed i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 97d4714e567728e1f85f88b0cf68c89f0f8a3dc41e8869af7aeb8195ad990374 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 866f202ebf7ac5aff8f633417d9fd8a53818a977 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width