Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
310 commits
Select commit Hold shift + click to select a range
22213a7
fix(plugin): repair core marketplace drift so the plugin installs
Snider Jun 2, 2026
46cf234
chore(deps): bump dappco.re/go v0.10.3 → v0.10.4
Snider Jun 13, 2026
327eda2
fix(agentic): export + reset workspace-root override to isolate test …
Snider Jun 19, 2026
d554389
test(core-agent): cover hub/chat/main pure helpers (34.4 -> 39.5%)
Snider Jun 19, 2026
0f04fff
chore(ci): codecov ratchet gate + `task cov` target
Snider Jun 19, 2026
28613a4
test(opencode): cover nestedString helper (34.0 -> 34.7%)
Snider Jun 19, 2026
843f6b8
test(opencode): kv-harness covers auth/enable/MergeHostConfig (34.0 -…
Snider Jun 19, 2026
b1137db
test(agentic): cover core-pipeline routers + placeholders (70.5 -> 70…
Snider Jun 19, 2026
263621b
test(agentic): cover cmdPlanList + cmdPlanShow
Snider Jun 19, 2026
b270d29
test(agentic): cover cmdPersonas + cmdTasks (70.8 -> 71.0%)
Snider Jun 19, 2026
3de05ae
test(agentic): cover *InputFromOptions mappers + brainValuePresent
Snider Jun 19, 2026
795cf60
test(agentic): cover cmdPromptVersion workspace guard
Snider Jun 19, 2026
efe3432
test(opencode): finish GetProfile + SaveProfile (guard/notfound/round…
Snider Jun 19, 2026
0450cd9
test(opencode): cover ToOpenCodeWire + ListProfiles + DeleteProfile
Snider Jun 19, 2026
603b744
test(agentic): cover cmdExtract + cmdBranchDelete guard paths
Snider Jun 19, 2026
ead2917
test(agentic): cover forge action handlers' empty-input guards
Snider Jun 19, 2026
4476b84
test(agentic): cover path helpers + audit predicate + credit parser
Snider Jun 19, 2026
31b57f7
test(agentic): cover parseFleetStats + pipelineWorkspaceDir
Snider Jun 19, 2026
55c67eb
test(agentic): cover pipeline usage printers (epic/fix/budget)
Snider Jun 19, 2026
1f146a5
test(agentic): cover sync push/pull/status tools (happy path via mock…
Snider Jun 19, 2026
3c12d56
test(agentic): cover fleetTaskFromEvent + fleetSnapshotEmpty
Snider Jun 19, 2026
68ab7b1
test(agentic): cover computeBudgetMapValue (nil/zero/populated)
Snider Jun 19, 2026
248ff62
test(agentic): cover fleetRegisterTool (platform happy path)
Snider Jun 19, 2026
76e33be
test(agentic): cover fleetHeartbeatTool (platform happy path)
Snider Jun 19, 2026
d3498ac
test(agentic): cover fleetDeregisterTool (platform happy path)
Snider Jun 19, 2026
9164b41
test(agentic): cover authProvisionTool (platform happy path)
Snider Jun 19, 2026
11f2b43
test(agentic): cover authRevokeTool + authLoginTool (reach-platform)
Snider Jun 19, 2026
458577a
test(agentic): exercise remaining fleet/credits/subscription tools
Snider Jun 19, 2026
4df498c
test(agentic): cover issue/PR list commands (reach-forge)
Snider Jun 19, 2026
367a523
test(agentic): exercise issue/PR get/create/merge/close commands
Snider Jun 19, 2026
763b7bd
test(agentic): exercise branch-delete command (reach-forge)
Snider Jun 19, 2026
f2e6f77
test(opencode): cover readHostAuthJSON (missing + present auth.json)
Snider Jun 19, 2026
7a61a7a
test(opencode): cover persistProjects empty path
Snider Jun 19, 2026
c709ed2
test(opencode): cover stringFrom/projectNameFrom + parsePullDigest/va…
Snider Jun 19, 2026
33dd79b
test(agentic): cover printFleetUsage
Snider Jun 19, 2026
0ccf936
test(chathistory): cover Path/UserID getters + LoadTurns closed guard
Snider Jun 19, 2026
5d0e06a
test(brain): cover actionFloatValue + actionStringSliceValue extractors
Snider Jun 19, 2026
582848e
test(brain): cover actionStringSliceFromAny + cleanActionStrings
Snider Jun 19, 2026
4d09115
test(lemma): cover Resume + ConversationID
Snider Jun 19, 2026
70ab1e6
test(agentic): cover sprintUpdate identifier guard
Snider Jun 19, 2026
d2ceec6
test(agentic): cover sprint/content identifier guards
Snider Jun 19, 2026
dc24271
test(agentic): cover session/issue identifier guards (11 handlers)
Snider Jun 19, 2026
553588b
test(agentic): cover content generate/create guards
Snider Jun 19, 2026
e68ca9e
test(agentic): exercise remaining list/create platform handlers
Snider Jun 19, 2026
639e963
test(core-agent): cover printDownloadJob
Snider Jun 19, 2026
6373818
test(agentic): cover creditsBalanceTool happy path
Snider Jun 19, 2026
93657a3
test(opencode): cover ControlGroup Name/BasePath/RegisterRoutes
Snider Jun 19, 2026
946f87b
test(agentic): cover printFleetTask + qaAnalysisCompatible
Snider Jun 19, 2026
a7f8621
test(opencode): cover profile + enabled HTTP handlers via gin harness
Snider Jun 19, 2026
6e76129
test(opencode): extend profile HTTP coverage (get/delete + host-confi…
Snider Jun 19, 2026
725021d
test(agentic): cover creditsHistoryTool happy path
Snider Jun 19, 2026
61aa573
test(agentic): cover fleetNodesTool happy path
Snider Jun 19, 2026
28f740d
test(agentic): cover fleetTaskNextTool happy path
Snider Jun 19, 2026
c1b9bae
test(core-agent): cover buildAdmin client construction
Snider Jun 19, 2026
f17b552
test(core-agent): cover serve status/reload/profiles no-daemon paths
Snider Jun 19, 2026
727b581
test(core-agent): cover models-download + opencode-models no-daemon p…
Snider Jun 19, 2026
0aa0e9f
test(brain): cover string/int option extractors
Snider Jun 19, 2026
5c4ed9c
test(agentic): cover statusRemote error path
Snider Jun 19, 2026
36af573
test(agentic): cover fleetEventsTool happy path
Snider Jun 19, 2026
8485969
test(agentic): cover subscriptionBudgetTool happy path
Snider Jun 19, 2026
95d1c9d
test(agentic): cover fleet task assign/complete guards
Snider Jun 19, 2026
a382bd6
test(agentic): cover creditsAward + subscriptionBudgetUpdate guards
Snider Jun 19, 2026
88e3459
test(core-agent): cover lemma subsystem Shutdown
Snider Jun 19, 2026
11c6236
test(core-agent): cover modelsJob no-daemon path
Snider Jun 19, 2026
36e74bc
test(agentic): cover platform CLI command guards
Snider Jun 19, 2026
5a9cb4f
test(agentic): cover state/task/sprint dispatcher usage paths
Snider Jun 19, 2026
b39abc0
test(agentic): cover sprint/state/task sub-handler guards
Snider Jun 19, 2026
b87ae6c
test(agentic): cover fleet-stats/task-next/sprint + sync command paths
Snider Jun 19, 2026
651f504
test(agentic): cover content batch/brief-get wrapper guards
Snider Jun 19, 2026
d5a2d4a
test(brain): cover remember/forget/send handler guards
Snider Jun 19, 2026
129c30e
test(agentic): cover plan/sprint/issue-comment wrapper guards
Snider Jun 19, 2026
5422748
test(agentic): cover plan-list/lang-list/cleanup + prompt-version guard
Snider Jun 19, 2026
cec7f2b
test(agentic): cover dispatch shutdown + shutdown-now no-op paths
Snider Jun 19, 2026
31ef42b
test(brain): cover inbox + conversation handler guards
Snider Jun 19, 2026
1b9679d
test(agentic): cover handleAutoPR disabled-gate path
Snider Jun 19, 2026
4794a5f
test(agentic): cover branch-delete + dispatch-start via mocked ops
Snider Jun 19, 2026
9d9348c
test(agentic): cover pipeline epic/fix/monitor command guards
Snider Jun 19, 2026
2e21407
test(agentic): cover pipeline epic/fix dispatcher usage paths
Snider Jun 19, 2026
8c88341
test(agentic): cover epic guard + fleet usage paths
Snider Jun 19, 2026
efb7027
test(agentic): cover fleetStatsTool happy path + completeTool guard
Snider Jun 19, 2026
7d1fbc5
test(agentic): cover fleet runtime snapshot persist/reload
Snider Jun 19, 2026
e649dc8
test(opencode): cover sandbox proxy registry set/delete/has/routes
Snider Jun 19, 2026
92e8577
test(opencode): cover service accessors + sandbox-change callback
Snider Jun 19, 2026
0c1bb7a
test(opencode): cover Subscribe guards + Unsubscribe no-op
Snider Jun 19, 2026
729cbbf
test(opencode): cover Register + applyAuth header injection
Snider Jun 19, 2026
8bb6a00
test(opencode): cover unixMillis converter + readEnabledFlag
Snider Jun 19, 2026
0fca402
test(opencode): cover ListImports/ListImportedProviders no-store paths
Snider Jun 19, 2026
e2b270d
test(opencode): cover Status + Inspect no-store paths
Snider Jun 19, 2026
24397c3
test(opencode): cover targetFor no-sandbox path
Snider Jun 19, 2026
8b66f3a
test(core-agent): cover serve-status/reload/profiles via admin stub s…
Snider Jun 20, 2026
a731a59
test(agentic): cover plan task/checkpoint/phase value extractors
Snider Jun 20, 2026
1a563f2
test(chathistory): cover load/export/copy paths + closed-handle guards
Snider Jun 20, 2026
22e960c
test(core-agent): cover models-download/models-job via admin stub server
Snider Jun 20, 2026
8d116f4
test(lemma): cover admin client guard + error paths (default home tok…
Snider Jun 20, 2026
b56add9
test(runner): cover nil status converters + WriteStatus WriteAtomic f…
Snider Jun 20, 2026
dc21030
test(opencode): cover Wails binding guards + safe delegators
Snider Jun 20, 2026
d53bb87
test(agentic): cover platform value extractors (recovered)
Snider Jun 20, 2026
898eea5
test(opencode): cover persist helpers + control read/error HTTP handlers
Snider Jun 20, 2026
aa0f4ab
test(opencode): cover adoptFromOutput branches + no-op emit hooks
Snider Jun 20, 2026
96d9b56
test(core-agent,agentic): cover buildAdmin error branch + OpencodeHos…
Snider Jun 20, 2026
2baf1e2
test(agentic): cover cmd* platform wrapper success paths via local mux
Snider Jun 20, 2026
6b62f76
test(opencode): backed-store round-trip for persist helpers + read ha…
Snider Jun 20, 2026
6014bd3
test(opencode): backed-store success paths for running-sandbox read s…
Snider Jun 20, 2026
3bfb3ef
test(runner): cover HandleIPCEvents AgentStarted + no-workspace Agent…
Snider Jun 20, 2026
4b77e97
test(brain,core-agent): cover notifySelf mcp-guard + pollDownload ctx…
Snider Jun 20, 2026
be91167
fix(brain): guard notifySelf nil runtime
Snider Jun 20, 2026
74c3d5a
test(opencode): crack Start/Stop/waitHealthy/applyProfile via process…
Snider Jun 20, 2026
e737846
test(opencode): crack Reconcile/Enable/Disable/ensureSandbox via proc…
Snider Jun 20, 2026
9a0b275
test(opencode): cover control handlers + callOpenCode + importFetchJSON
Snider Jun 20, 2026
71bc503
test(opencode): cover runSubscription reconnect loop
Snider Jun 20, 2026
23ae3ab
test(runner): crack drainOne dispatch path + HandleIPCEvents concurre…
Snider Jun 20, 2026
593c6e4
test(runner): cover drainOne malformed-envelope assertion legs
Snider Jun 20, 2026
4b43c4f
test(agentic): cover prep/resume/watch/review-queue/epic/auto-pr/veri…
Snider Jun 20, 2026
104361b
feat(opencode): injectable studio-presence + launch seams
Snider Jun 20, 2026
8531643
test(opencode): drive openStudio both legs via the studio seam
Snider Jun 20, 2026
4e32352
fix(agentic): createGitHubPR panic on gh failure + cover mirror lifec…
Snider Jun 20, 2026
901b490
test(agentic): cover pipeline fix/* + epic/* command happy + error paths
Snider Jun 20, 2026
ba5aac4
test(agentic): cover cleanupWorkspaceBranch eligibility gates
Snider Jun 20, 2026
a681fb6
test(agentic): cover cmdPipelineAudit happy + error paths
Snider Jun 20, 2026
47f6fed
test(core-agent): cover cmd command error paths + hub guards + poll loop
Snider Jun 20, 2026
91973ce
test(agentic): exhaustive branch coverage for pure value-coercion hel…
Snider Jun 20, 2026
0fbcffc
test(agentic): cover sprint dispatcher + update/archive request builders
Snider Jun 20, 2026
f5c419a
test(agentic): cover platform command error paths + fleet/sync print …
Snider Jun 20, 2026
7b1775e
test(agentic): cover plan command show/status/update/archive/delete p…
Snider Jun 20, 2026
23b040f
test(agentic): cover pipeline dispatcher help + unknown-action routing
Snider Jun 20, 2026
31c86ed
test(agentic): cover local-file write helpers + cmdState dispatcher
Snider Jun 20, 2026
56c83cb
test(agentic): cover plan-cleanup wrapper + content brief get + revie…
Snider Jun 20, 2026
5f8b360
test(opencode): cover profile value validator arms + audit no-op hooks
Snider Jun 20, 2026
9a3c52a
docs(container): VZ-first dispatch + container shell TUI design spec
Snider Jun 21, 2026
e704971
docs(container): phased implementation plan for VZ dispatch + shell TUI
Snider Jun 21, 2026
02e3ad4
fix(container): correct SP0a gate timing in spec to match plan
Snider Jun 21, 2026
8026e20
feat(provider): add opencode + vibe provider plugins
Snider Jun 21, 2026
13acef0
docs(superpowers): add RFC-parity + opencode-plugin specs/plans/parity
Snider Jun 21, 2026
9da09dc
docs: add GOAL.md parity gate + RFC.md contract; update CLAUDE.md
Snider Jun 21, 2026
e592ca5
build(agent): add go-container to go.work for VZ dispatch (SP1.1)
Snider Jun 21, 2026
fe028ad
feat(agentic): detection seam delegating runtime availability to go-c…
Snider Jun 21, 2026
7f0ae4c
feat(agentic): recognise vz runtime, guarded out of auto until SP2
Snider Jun 21, 2026
24c51d5
refactor(agentic): runtimeAvailable delegates to the go-container seam
Snider Jun 21, 2026
ce3646c
docs(runner): document vz as a dispatch.runtime value
Snider Jun 21, 2026
2b922da
refactor(agentic): route resolver through runtimeAvailable (SP1 cleanup)
Snider Jun 21, 2026
4e144c5
docs(plan): fix SP1.2/SP1.3 RuntimeVZ ordering + SP1.4 reconciliation…
Snider Jun 21, 2026
7f2fd31
chore(deps): bump external/mcp → dev 53c8007
Snider Jun 21, 2026
748d076
feat(agentic): real vzDispatchEnabled gate + downgrade status note (S…
Snider Jun 21, 2026
4741c6b
feat(agentic): VZ in-process dispatch fork with auto-fallback (SP2.2-…
Snider Jun 21, 2026
c3993e1
test(agentic): gated live VZ boot+exec+stop test (SP2.5)
Snider Jun 21, 2026
be65d2c
fix(agentic): preserve VZ→OCI downgrade note across post-spawn status…
Snider Jun 21, 2026
6cf2fd7
fix(agentic): create status on VZ downgrade when none exists yet
Snider Jun 21, 2026
05bfbbc
build(agent): refresh go.work.sum for SP2 container imports
Snider Jun 21, 2026
224a75e
docs(plan): SP2 as-built note + SP3 prerequisites (virtio-fs, VZ acco…
Snider Jun 21, 2026
43a8b05
feat(agentic): wire VZ dispatch to virtio-fs workspace + structured e…
Snider Jun 21, 2026
f3c45bd
fix(agentic): count VZ dispatches in the concurrency limiter
Snider Jun 21, 2026
26759cc
fix(agentic): run the VZ guest agent in /workspace/repo behind a moun…
Snider Jun 21, 2026
a93920c
fix(agentic): preserve full status on the VZ + DispatchSync path
Snider Jun 21, 2026
3814012
feat(agentic): resolve the VZ guest image via the go-build CLI
Snider Jun 21, 2026
1bae25e
feat(agentic): core-agent shell <id> — interactive OCI container/VM s…
Snider Jun 22, 2026
e843b48
feat(agentic): wire core-agent shell VZ path — raw terminal over vsoc…
Snider Jun 22, 2026
3fb6e48
docs(agentic): shell usage shows --flag=value form (matches the CLI p…
Snider Jun 22, 2026
c653f21
fix(agentic): shell — a non-zero interactive exit is not a verb error…
Snider Jun 22, 2026
216caf6
test(brain): cover the action value converters to 100% (AX-11)
Snider Jun 22, 2026
c43c6d2
test(flow,monitor): cover markdownFrontMatter (100%) + defaultBranch …
Snider Jun 22, 2026
f778ae3
test(agentic): fleet_connect SSE-success + poll-fallback paths (AX-11)
Snider Jun 22, 2026
0dd8dd5
test(runner): cover loadAgentsConfig, delayForAgent, drainQueue, live…
Snider Jun 22, 2026
4ed5056
test(runner): cover sendNotification, actionKill live-terminate, runL…
Snider Jun 22, 2026
f1bf3de
test(runner): cover canDispatch fall-through, delay rollback, drainOn…
Snider Jun 22, 2026
f1a6023
test(opencode): cover profile schema type-rejection branches (AX-11)
Snider Jun 22, 2026
85ebb1a
test(opencode): cover ProviderList success + upstream-error via httpt…
Snider Jun 22, 2026
225d7a9
test(opencode): cover profile control error paths + Wails success del…
Snider Jun 22, 2026
b5f638f
test(opencode): cover Subscribe registration + readEnabledFlag helper…
Snider Jun 22, 2026
7982ced
test(opencode): cover Wails lifecycle delegators + enable error arm +…
Snider Jun 22, 2026
9b034c4
test(opencode): cover trusted-publisher loader reject arms incl N1 in…
Snider Jun 22, 2026
4f31049
test(opencode): cover sendMessage arms + host-config 409/500 + import…
Snider Jun 22, 2026
7c17e5c
test(opencode): cover signature-policy arms + custom image override (…
Snider Jun 22, 2026
942c7bc
test(opencode): cover kv-failure fail-closed arms + corrupt-value han…
Snider Jun 22, 2026
5d57613
test(agentic): cover flow/brain/extract helpers + cmdPromptVersion/cm…
Snider Jun 22, 2026
270911f
test(agentic): cover platform sync/auth-revoke/credits-history error+…
Snider Jun 22, 2026
cdf44a5
test(agentic): cover plan create template path + check/complete-outpu…
Snider Jun 22, 2026
88a212a
test(agentic): cover session get/list/artifact/replay/handoff error+e…
Snider Jun 22, 2026
bda9ad1
test(agentic): cover phase optional-field/error paths + task router/e…
Snider Jun 22, 2026
e5421eb
test(agentic): cover sprint create/update/archive errors + workspace …
Snider Jun 22, 2026
f8bafbc
test(agentic): cover dispatch start/shutdown error arms + extract std…
Snider Jun 22, 2026
e45ace2
test(agentic): cover cmdPrep success/json/branch-default via PrepareW…
Snider Jun 22, 2026
729dafe
test(agentic): cover plan update/archive/delete error + missing-ident…
Snider Jun 22, 2026
ad43626
refactor(core-agent): table-driven command registration (AX-11, decla…
Snider Jun 22, 2026
baefe00
refactor(agentic): table-driven commit command registration (AX-11)
Snider Jun 22, 2026
0113650
refactor(agentic): table-driven setup command registration (AX-11)
Snider Jun 22, 2026
17ce795
refactor(agentic): table-driven language command registration (AX-11)
Snider Jun 22, 2026
4b07636
refactor(agentic): table-driven state command registration (AX-11)
Snider Jun 22, 2026
38273f7
refactor(agentic): table-driven task command registration (AX-11)
Snider Jun 22, 2026
743e767
refactor(agentic): table-driven sprint command registration (AX-11)
Snider Jun 22, 2026
903a5d4
refactor(agentic): table-driven phase command registration (AX-11)
Snider Jun 22, 2026
62bc59a
refactor(agentic): table-driven session command registration (AX-11)
Snider Jun 22, 2026
9bc385b
refactor(agentic): table-driven workspace command registration (AX-11)
Snider Jun 22, 2026
8a8c348
refactor(agentic): table-driven fleet command registration (AX-11)
Snider Jun 22, 2026
0ac34ee
refactor(agentic): table-driven pipeline command registration (AX-11)
Snider Jun 22, 2026
44fe086
refactor(agentic): table-driven plan command registration (AX-11)
Snider Jun 22, 2026
0610a10
test(agentic): cover pipelineAuditFindings, pipelineFindingSummary, c…
Snider Jun 22, 2026
b189539
test(agentic): cover writePlanResult, cleanPlanSlug, planSlugValue, f…
Snider Jun 22, 2026
eb62460
test(agentic): cover handlePlanCheck, handlePlanUpdateStatus, planPro…
Snider Jun 22, 2026
19faaa9
test(agentic): cover cmdPipelineMonitor, pipelineCheckStatus (AX-11)
Snider Jun 22, 2026
48a0dc7
test(agentic): cover cmdPipelineEpicStatus (AX-11)
Snider Jun 22, 2026
9c8c519
test(agentic): cover cmdPipelineOnboard (AX-11)
Snider Jun 22, 2026
07b158f
test(agentic): cover cmdPipelineFix{Reviews,Conflicts,Format,Threads}…
Snider Jun 22, 2026
58afc26
test(agentic): cover cmdPipeline routers and pipelineSlug (AX-11)
Snider Jun 22, 2026
bf5a8e2
test(agentic): cover audit classifiers and plan status mappers (AX-11)
Snider Jun 22, 2026
7f8d8fb
test(agentic): cover checks-successful, linked-comment, handlePlan{Cr…
Snider Jun 22, 2026
a095e51
test(agentic): cover phaseCriteriaList merge and phaseSliceValue type…
Snider Jun 22, 2026
5383ec7
test(agentic): tighten router-arm tests to assert distinctive routed …
Snider Jun 22, 2026
05f514d
test(agentic): cover reviewRepo, cmdReviewQueue, reviewQueueReviewers…
Snider Jun 22, 2026
2b6192b
test(agentic): cover runQALegacy, recordLintFindings, runLintReport, …
Snider Jun 22, 2026
c411d7e
test(agentic): cover executeFlowStep, executeNestedFlowStep, validate…
Snider Jun 22, 2026
3ab144d
test(agentic): cover dispatchTimeoutReason, localAgentCommandScript, …
Snider Jun 22, 2026
c98b31e
test(agentic): cover completeTool, handleQA, handleIngest, handleBran…
Snider Jun 22, 2026
aa70e0b
test(agentic): cover storeSession, sessionFromInput, sessionEndFromIn…
Snider Jun 22, 2026
80445d4
test(agentic): add parseRetryAfter no-match + recordBuildResult persi…
Snider Jun 22, 2026
60a5b48
test(agentic): make qa workspace tests count=2-safe (unique names) + …
Snider Jun 22, 2026
c13f39a
test(agentic): cover fetch_loop repo-ref collectors + content batch/f…
Snider Jun 22, 2026
2b417cf
test(agentic): cover cmdFleet routing + status fields + nodes empty/e…
Snider Jun 22, 2026
772a8d8
test(agentic): cover repo_sync IPC/context/reset-checkout + cmd error…
Snider Jun 22, 2026
9595834
test(agentic): cover brainSeedMemory dry-run/skip/no-key + type/tags/…
Snider Jun 22, 2026
8082d2e
test(agentic): cover content_seo schedule tool closure + middleware s…
Snider Jun 22, 2026
6b30ac4
test(agentic): cover prep writePromptSnapshot reuse/ensure-dir + buil…
Snider Jun 22, 2026
b331d30
test(agentic): prefix new cov helpers with covMisc per AX-11 convention
Snider Jun 22, 2026
c8107f2
feat(agentic): add canonical DispatchJob/AgentRegistration/DispatchSe…
Snider Jun 25, 2026
816e55f
feat(agentic): re-point FleetController onto DispatchService
Snider Jun 25, 2026
4ab92b1
feat(agentic): re-point Sync actions off FleetNode onto AgentRegistra…
Snider Jun 25, 2026
1fb3964
refactor(agentic): migrate the dispatch/stream fleet stack onto Dispa…
Snider Jun 25, 2026
6e8e9be
chore: remove stale agent state-dump docs
Snider Jun 27, 2026
94ac6af
chore: drop shipped superpowers design docs + gitignore docs/superpow…
Snider Jun 27, 2026
d202435
chore: remove GEMINI/TODO/ROADMAP cruft from repo root
Snider Jun 27, 2026
d3a68c1
docs(agent): drop RFCs (canonical in plans/) + promo, keep literal fe…
Snider Jun 27, 2026
569e5ea
docs(agent): scaffold per-feature doc stubs + DOCS-TASK brief
Snider Jun 27, 2026
b210505
docs(agent): write CLI/getting-started user guide from code (#213)
Snider Jun 27, 2026
93bbe7e
docs(agent): write Dispatch user guide from code (#214)
Snider Jun 27, 2026
e063ad4
docs(agent): write Pipeline (closeout + orchestration) user guide fro…
Snider Jun 27, 2026
2043cfb
docs(agent): write Plans/Phases/Sessions user guide from code (#216)
Snider Jun 27, 2026
a3e4cb6
docs(agent): write Fleet & remote dispatch user guides from code (#217)
Snider Jun 27, 2026
d7dc9e6
docs(agent): write OpenBrain memory & messaging user guide from code …
Snider Jun 27, 2026
7d7ba7e
docs(agent): write Local models & OpenCode user guides from code (#219)
Snider Jun 27, 2026
213165b
docs(agent): write Workspace setup & embedded library user guides fro…
Snider Jun 27, 2026
7539816
docs(agent): write Shell, Review, Scan/Mirror, Content user guides fr…
Snider Jun 27, 2026
b9b4d92
docs(agent): document internal subsystems (runner/monitor/audit) + re…
Snider Jun 27, 2026
ea646ef
docs(agent): retire DOCS-TASK brief — all feature guides written
Snider Jun 27, 2026
b3a6ffc
docs(agent): restructure feature docs into SEO indexes + child detail…
Snider Jun 27, 2026
ef7efbd
docs(agent): add providers/ section — local + remote dispatch provide…
Snider Jun 27, 2026
f4fe85f
docs(agent): fold development.md (459L) into docs/development/ subfol…
Snider Jun 27, 2026
66ceca6
fix(monitor): structured-log misuse — interval was a dangling key
Snider Jun 27, 2026
740f52a
chore(agent): wire cli onto the service + go.work to submodule refs (…
Snider Jun 28, 2026
a89ceb3
feat(agent): IPC handlers for emitted-but-unhandled events (H1-H5)
Snider Jun 28, 2026
96a3e62
feat(agent/php): device-pairing auth — 6-digit code -> AgentApiKey (#…
Snider Jun 28, 2026
683926d
wip(agent/php): ContentController — content API endpoints (unrouted)
Snider Jun 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"name": "core",
"source": "./provider/claude/core",
"description": "CoreAgent platform — dispatch, review, messaging, OpenBrain",
"version": "0.14.0"
"version": "0.18.0"
},
{
"name": "core-research",
Expand Down
23 changes: 21 additions & 2 deletions .core/agents.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ dispatch:
# Default prompt template
default_template: coding
# Workspace root. Absolute paths used as-is.
# Relative paths resolve against $HOME/Code (e.g. ".core/workspace" → "$HOME/Code/.core/workspace").
workspace_root: .core/workspace
# Relative paths resolve against ~/Lethean (e.g. "workspace" → "~/Lethean/workspace").
workspace_root: workspace
# Container runtime — auto | apple | docker | podman.
# auto picks the first available runtime in preference order:
# Apple Container (macOS 26+) → Docker → Podman.
Expand All @@ -23,11 +23,20 @@ dispatch:
gpu: false

# Per-agent concurrency limits (0 = unlimited)
# NB: the limit keys on the agent BASE (before the first ":"), so all opencode
# models share the `opencode` budget. Use per-model sub-limits to separate the
# paid Go tier from the free Zen tier (modelVariant is everything after ":",
# e.g. "opencode-go/deepseek-v4-pro"). Without an entry an agent is UNLIMITED —
# it never enqueues, so a batch dispatches all at once instead of working through.
concurrency:
claude: 5
gemini: 1
codex: 1
local: 1
opencode:
# total + inline per-model sub-limits (model = everything after the first ":")
total: 3
opencode-go/deepseek-v4-pro: 1 # paid Pro — one at a time

# Rate limiting / quota management
# Controls pacing between task dispatches to stay within daily quotas.
Expand Down Expand Up @@ -71,6 +80,16 @@ rates:
sustained_delay: 300
burst_window: 0
burst_delay: 60
opencode:
# OpenCode Zen (free) + Go (authed balance) tiers. Set daily_limit/min_delay
# to pace within the actual tier quota when running a large batch; these are
# light defaults — tune to your OpenCode Zen/Go limits.
reset_utc: "00:00"
daily_limit: 0
min_delay: 5
sustained_delay: 20
burst_window: 0
burst_delay: 5

# Agent identities (which agents can dispatch)
agents:
Expand Down
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,20 @@ build/
*.test
coverage.out
*.coverprofile
.lintdeps/
.scannerwork/
node_modules.bak/
coverage/
htmlcov/
.coverage

# Stray go-build output — `go build ./cmd/core-agent` without -o drops a
# binary at the repo root and under go/. The bundled binary is bin/lthn-agent.
/core-agent
/go/core-agent

# superpowers design/plan scratch — not committed (shipped work lives in code)
docs/superpowers/

# PHP — installed dependencies are regenerated from composer.json/lock
php/vendor/
16 changes: 16 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,19 @@
path = external/rag
url = https://github.com/dappcore/go-rag.git
branch = dev
[submodule "external/api"]
path = external/api
url = https://github.com/dappcore/api.git
branch = dev
[submodule "external/cli"]
path = external/cli
url = https://github.com/dappcore/cli.git
branch = dev
[submodule "external/orm"]
path = external/orm
url = https://github.com/dAppCore/orm.git
branch = dev
[submodule "external/go-container"]
path = external/go-container
url = https://github.com/dappcore/go-container.git
branch = dev
8 changes: 5 additions & 3 deletions .mcp.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"mcpServers": {
"core": {
"type": "stdio",
"command": "core",
"args": ["mcp", "serve"]
"type": "http",
"url": "http://127.0.0.1:9202/mcp",
"headers": {
"Authorization": "Bearer ${MCP_AUTH_TOKEN}"
}
}
}
}
19 changes: 12 additions & 7 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,15 @@ go vet ./... # Vet
## Architecture

```
cmd/core-agent/main.go Entry point (97 lines — core.New + services + Run)
pkg/agentic/ Agent orchestration: dispatch, prep, verify, scan, review
pkg/brain/ OpenBrain memory integration
pkg/lib/ Embedded templates, personas, flows, workspace scaffolds
pkg/messages/ Typed IPC message definitions (12 message types)
cmd/core-agent/main.go Entry point — core.New + services + CLI run
pkg/agentic/ Agent orchestration: dispatch, prep, verify, scan, plans/phases/sessions, fleet/platform sync
pkg/brain/ OpenBrain memory + cross-agent messaging
pkg/lemma/ Local lthn-mlx client — chat sessions + /v1/admin control
pkg/chathistory/ Per-user portable DuckDB chat archive
pkg/lib/ Embedded personas, prompt/flow/workspace templates
pkg/messages/ Typed IPC message definitions
pkg/monitor/ Agent monitoring, notifications, completion tracking
pkg/runner/ Local + container runners + dispatch queue
pkg/setup/ Workspace detection and scaffolding
```

Expand All @@ -37,11 +40,13 @@ c := core.New(
core.WithOption("name", "core-agent"),
core.WithService(agentic.ProcessRegister),
core.WithService(agentic.Register),
core.WithService(runner.Register),
core.WithService(monitor.Register),
core.WithService(brain.Register),
core.WithService(mcp.Register),
core.WithService(setup.Register),
core.WithService(registerLemmaSubsystem),
core.WithService(coremcp.Register),
)
c.Run()
```

### Dispatch Flow
Expand Down
59 changes: 33 additions & 26 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ This file provides guidance to Claude Code when working with code in this reposi

## Session Context

Running on **Claude Max20 plan** with **1M context window** (Opus 4.6).
Running on **Claude Max20 plan** with **1M context window** (Opus 4.8).

## Overview

**core-agent** is the AI agent orchestration platform for the Core ecosystem. Single Go binary (`core-agent`) that runs as an MCP server — either via stdio (Claude Code integration) or HTTP daemon (cross-agent communication).

**Module:** `dappco.re/go/agent`

**Source of truth:** the RFC specs live in the plans tree at `plans/code/core/agent/` (`RFC.md`, `RFC.pipeline.md`, `RFC.topology.md`, `RFC.serve.md`, `flow/`, `plugins/`) — the present-tense contract for every subsystem. `docs/` in this repo holds literal feature documentation only — `architecture.md`, `known-issues.md`, a `development/` guide, and a folder per feature (each a URL: `dispatch/`, `pipeline/`, `plans/`, `brain/`, `inference/`, `providers/`, …) whose `README.md` is a concise SEO index linking to detail pages. This file is the operational quick-reference; when docs and code disagree, the code wins.

## Build & Test

```bash
Expand All @@ -30,19 +32,30 @@ GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o core-agent-linux ./cmd/core-ag
## Architecture

```
cmd/core-agent/main.go Entry point (mcp + serve commands)
pkg/agentic/ MCP tools — dispatch, verify, remote, mirror, review queue
pkg/brain/ OpenBrain — recall, remember, messaging
pkg/monitor/ Background monitoring + repo sync
pkg/prompts/ Embedded templates + personas (go:embed)
cmd/core-agent/main.go Entry point — core.New + services + CLI run
pkg/agentic/ MCP dispatch tools, IPC pipeline, plans/phases/sessions, fleet/platform sync
pkg/brain/ OpenBrain — recall, remember, forget, list, messaging
pkg/lemma/ Local lthn-mlx client — chat sessions + /v1/admin control
pkg/chathistory/ Per-user portable DuckDB chat archive
pkg/monitor/ Background monitoring + repo sync
pkg/runner/ Local + container runners + dispatch queue
pkg/setup/ Project detection + .core/ scaffolding
pkg/lib/ Embedded personas, prompt + flow + workspace templates (go:embed)
pkg/messages/ Typed IPC message definitions
```

> Also `pkg/opencode/` — the sandboxed opencode host (Service Start/Stop/Generate, profiles, reverse-proxy, hub control + audit): the AUI surface (RFC.md §6).

### Binary Modes

- `core-agent mcp` — stdio MCP server for Claude Code
- `core-agent serve` — HTTP daemon (Charon, CI, cross-agent). PID file, health check, registry.
- `core-agent mcp` — stdio MCP server for Claude Code (registered by the `dappco.re/go/mcp` service)
- `core-agent serve` — HTTP MCP daemon (Charon, CI, cross-agent)
- `core-agent hub` — loopback control plane: `--http 127.0.0.1:9201` (bearer) + `--mcp-http 127.0.0.1:9202` (fail-closed MCP), fronting the opencode control/proxy groups + brain with a non-optional audit edge (RFC.md §2/§6)
- `core-agent chat --user=<id>` — REPL against the local lthn-mlx engine, auto-captured to the user's archive
- `core-agent serve-status` / `serve-reload` / `serve-profiles` — inspect / hot-swap the local model engine
- `core-agent models-download` / `models-job` — queue + poll Hugging Face model downloads

### MCP Tools (33)
### MCP Tools (common subset — full action surface in `RFC.md`)

| Category | Tools |
|----------|-------|
Expand All @@ -68,6 +81,8 @@ pkg/prompts/ Embedded templates + personas (go:embed)
| `codex` | Codex CLI | Autonomous coding |
| `codex:review` | Codex review | Deep security analysis |
| `coderabbit` | CodeRabbit CLI | Code quality review |
| `opencode` | `opencode run` | Sandboxed agent routed to local/free-compute model profiles (RFC.md §6) |
| `local` | Codex + ollama bridge | Local OSS model via host `ollama` |

### Dispatch Flow

Expand All @@ -77,19 +92,13 @@ dispatch → agent works → closeout sequence (review → fix → simplify →
→ push to GitHub → CodeRabbit reviews → merge or dispatch fix agent
```

### Personas (pkg/prompts/lib/personas/)

116 personas across 16 domains. Path = context, filename = lens.
### Personas (pkg/lib/persona/)

```
prompts.Persona("engineering/security-developer") # code-level security review
prompts.Persona("smm/security-secops") # social media incident response
prompts.Persona("devops/senior") # infrastructure architecture
```
Personas across many domains (ads, blockchain, code, design, devops, plan, product, sales, secops, smm, spatial, support, testing). Path = context, filename = lens.

### Templates (pkg/prompts/lib/templates/)
### Templates (pkg/lib/prompt/, pkg/lib/task/, pkg/lib/flow/)

Prompt templates for different task types: `coding`, `conventions`, `security`, `verify`, plus YAML plan templates (`bug-fix`, `code-review`, `new-feature`, `refactor`, etc.)
Prompt + task templates for different task types (`coding`, `conventions`, `security`, `verify`, code review, simplifier), plus per-language flow definitions in `pkg/lib/flow/` and YAML upgrade flows in `pkg/lib/flow/upgrade/`.

## Key Patterns

Expand All @@ -114,14 +123,12 @@ All paths use `CORE_WORKSPACE` env var, fallback `~/Code/.core`:

Always check `err != nil` BEFORE accessing `resp.StatusCode`. Split into two checks.

## Plugin (claude/core/)
## Plugin Providers (provider/)

core-agent ships its capabilities to a coding-agent host through two providers, one capability set (RFC.md §7):

The Claude Code plugin provides:
- **MCP server** via `mcp.json` (auto-registers core-agent)
- **Hooks** via `hooks.json` (PostToolUse inbox notifications, auto-format, debug warnings)
- **Agents**: `agent-task-code-review`, `agent-task-code-simplifier`
- **Commands**: dispatch, status, review, recall, remember, scan, etc.
- **Skills**: security review, architecture review, test analysis, etc.
- **`provider/claude/`** — Claude Code plugin: MCP server (`mcp.json`, auto-registers core-agent), hooks (`hooks.json` — inbox notifications, auto-format, debug warnings), agents (`agent-task-code-review`, `agent-task-code-simplifier`), commands (dispatch, status, review, recall, remember, scan…), skills (security / architecture / test review…).
- **`provider/opencode/`** — opencode plugin (`@opencode-ai/plugin`): capabilities as custom `tool()` exports (dispatch, status, scan, brain_recall…); `session.*` event hooks feeding the report-home loop; the ctx `client` SDK drives the running session. Personas ≡ opencode agent-defs (markdown frontmatter); skills ≡ `SKILL.md`; dispatch is two-layer (opencode `Task` subagents + core-agent's cross-host fleet), or attach the hub MCP plane via `POST /mcp`.

## Testing Conventions

Expand Down
Loading
Loading