@iowarp/clio-coder 0.3.7 → 0.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/README.md +7 -2
- package/dist/{acp-SK4MD6MM.js → acp-U67UHUK2.js} +13 -13
- package/dist/{agents-2FN2K6ME.js → agents-YU6SGALZ.js} +35 -33
- package/dist/assets/codewiki.json +1 -1
- package/dist/{auth-QIYZWM5I.js → auth-5ZPJOIVG.js} +32 -24
- package/dist/builtins-C6JMZVV6.js +17 -0
- package/dist/{chunk-YD734TPH.js → chunk-26LEYJZH.js} +2 -2
- package/dist/{chunk-TSHXZTOQ.js → chunk-2HEJ2F35.js} +5 -5
- package/dist/{chunk-WJHBC77E.js → chunk-2HFZQUHL.js} +5 -5
- package/dist/{chunk-FO5ZOVUY.js → chunk-3BINW3FP.js} +5 -5
- package/dist/{chunk-EOOQZZDE.js → chunk-4SPRNWDE.js} +18 -18
- package/dist/{chunk-EBEFWSGL.js → chunk-5DHKRSMQ.js} +7 -7
- package/dist/{chunk-OBMAI2DP.js → chunk-5H3GB5BO.js} +11 -9
- package/dist/{chunk-JTSEDYVQ.js → chunk-5Q2VVUKB.js} +7 -7
- package/dist/{chunk-VQNODYQ4.js → chunk-7RFXX52T.js} +294 -3704
- package/dist/{chunk-XEGB6BCN.js → chunk-7RGZWPB6.js} +5 -5
- package/dist/{chunk-GH5622CP.js → chunk-A2NJGIB3.js} +2 -2
- package/dist/{chunk-CEYBNUGC.js → chunk-A3WNZD3P.js} +323 -27
- package/dist/{chunk-D4MDIG46.js → chunk-B5CSFE7B.js} +7 -7
- package/dist/{chunk-2SFS6XQE.js → chunk-DGSYXYMX.js} +3 -2
- package/dist/{chunk-ZWLZP4ZT.js → chunk-DYIM5TJT.js} +98 -12
- package/dist/{chunk-KCMKRQX4.js → chunk-E77JEWSD.js} +42 -49
- package/dist/{chunk-J7PIKKWC.js → chunk-EMYUUSFG.js} +7 -7
- package/dist/{chunk-JRIO5UD2.js → chunk-EQ63NRB7.js} +5 -5
- package/dist/{chunk-UVDSQ6LW.js → chunk-FBVTI2TJ.js} +74 -28
- package/dist/{chunk-BMWK7ZIZ.js → chunk-FHJEP5SW.js} +13 -13
- package/dist/{chunk-FOT2FX5J.js → chunk-GN57SG4G.js} +7 -7
- package/dist/{chunk-SROCI7ZU.js → chunk-GPIEI3LY.js} +5 -5
- package/dist/{chunk-UFQ3F4FW.js → chunk-GU2UIAFZ.js} +4 -4
- package/dist/{chunk-UND3GU2L.js → chunk-H7IXIC72.js} +2 -2
- package/dist/{chunk-VREKEFLL.js → chunk-HLE42MG7.js} +3 -3
- package/dist/{chunk-465YSENW.js → chunk-IFBNV6H6.js} +3 -3
- package/dist/{chunk-LADCF22A.js → chunk-IGWKHNIQ.js} +113 -54
- package/dist/chunk-IIZWH4XA.js +172 -0
- package/dist/{chunk-UHXRNZ2J.js → chunk-IJ7RPIYJ.js} +4 -4
- package/dist/{chunk-M4AKACEO.js → chunk-J3YUBZWY.js} +2 -2
- package/dist/{chunk-AB4XIIVB.js → chunk-JOZYP4GM.js} +6 -6
- package/dist/{chunk-ZGH7FGS5.js → chunk-K4XHGFR5.js} +742 -12
- package/dist/{chunk-EELBMBT6.js → chunk-KTYTFRMB.js} +62 -5
- package/dist/chunk-LU7P4LHA.js +33 -0
- package/dist/{chunk-DQA7QLMD.js → chunk-ME6CCNFO.js} +9 -24
- package/dist/{chunk-KZ2H5X4G.js → chunk-MXKJU4JB.js} +88 -14
- package/dist/{chunk-DMD2AGVS.js → chunk-N22QMJKY.js} +20 -18
- package/dist/chunk-NMPKI6XL.js +3006 -0
- package/dist/chunk-NUGM5KR6.js +165 -0
- package/dist/{chunk-5C77SEEY.js → chunk-P43ETTHK.js} +2 -2
- package/dist/{chunk-JNXPYBB4.js → chunk-PMDBGQSJ.js} +2 -2
- package/dist/chunk-PT7HYKEM.js +165 -0
- package/dist/{chunk-GEYXPTRF.js → chunk-RWSI4YD7.js} +2 -2
- package/dist/{chunk-C4JBQ5SR.js → chunk-TANS5ZJS.js} +6 -6
- package/dist/{chunk-YTYFXUI3.js → chunk-TB5666IT.js} +9 -9
- package/dist/{chunk-UUANF5CR.js → chunk-TLQJPP24.js} +375 -687
- package/dist/{chunk-OB5HIGJY.js → chunk-TT36MB5S.js} +2 -1
- package/dist/{chunk-DJNLUABN.js → chunk-TTHACPOM.js} +135 -17
- package/dist/{chunk-6M7VS3J3.js → chunk-TYPGUK6W.js} +4 -4
- package/dist/{chunk-THKY7CD7.js → chunk-U6MBIEMB.js} +108 -24
- package/dist/{chunk-PD3MESLB.js → chunk-VAWNZU7Z.js} +4 -4
- package/dist/{chunk-IR4CFBFN.js → chunk-VCBR6CU7.js} +12 -12
- package/dist/{chunk-WHJYKASB.js → chunk-VHN4MY6O.js} +2 -2
- package/dist/{chunk-MXI6J5JF.js → chunk-VWZOAB7K.js} +10 -10
- package/dist/{chunk-QCTRSGHQ.js → chunk-WLFILSD5.js} +36 -36
- package/dist/{chunk-5UJ6ECTS.js → chunk-WNIJTQQK.js} +6 -6
- package/dist/{chunk-4DWFMQDR.js → chunk-WSB3FPX7.js} +68 -20
- package/dist/{chunk-3HAPLH5M.js → chunk-WWCZ5F23.js} +112 -10
- package/dist/{chunk-X2KV5FXT.js → chunk-WXY7KU3G.js} +2 -2
- package/dist/{chunk-PPAMZ32Z.js → chunk-XK56QHLX.js} +6 -1
- package/dist/{chunk-DOOEX22V.js → chunk-XWSF374K.js} +4 -4
- package/dist/{chunk-6TUKSZVF.js → chunk-YS5VLNH5.js} +8 -8
- package/dist/{chunk-ZZMN5OM4.js → chunk-ZNLWCMVZ.js} +2 -2
- package/dist/{chunk-WHGPSPT5.js → chunk-ZVJ5BLO2.js} +2 -2
- package/dist/cli/index.js +31 -31
- package/dist/{clio-WBVQEBKO.js → clio-QVTYJ57A.js} +8 -8
- package/dist/code-nav-FGGFIE7L.js +2 -2
- package/dist/codewiki/build-worker.js +4 -4
- package/dist/{components-F7OEATSO.js → components-ZFA3SAER.js} +8 -8
- package/dist/{config-TRBL3RCF.js → config-LW5IJFQN.js} +58 -53
- package/dist/{configure-OLCVPHNM.js → configure-7XIZCOU4.js} +26 -21
- package/dist/{context-XEWE3MOJ.js → context-L3WL3X7K.js} +47 -41
- package/dist/{context-WFPKQSM6.js → context-N52ZA626.js} +22 -22
- package/dist/{context-MJIJ6GOX.js → context-Y6Y7QPR6.js} +12 -12
- package/dist/{context-clear-KNOS2JPB.js → context-clear-MBQRLSDQ.js} +47 -41
- package/dist/{context-index-SSR5ECNE.js → context-index-HVMFQHK3.js} +5 -5
- package/dist/{context-working-set-EUXAZI6N.js → context-working-set-GS6DSO7F.js} +14 -14
- package/dist/{dispatch-runner-B7MTOVKL.js → dispatch-runner-22ZCNOM3.js} +83 -55
- package/dist/{docs-FLJTIDSE.js → docs-7LQ23DLM.js} +8 -8
- package/dist/{doctor-RN4YKO2X.js → doctor-M7YEDGAE.js} +24 -20
- package/dist/{eval-RUBJVSNQ.js → eval-BEC2WHDA.js} +71 -19
- package/dist/{evidence-JZNBUOQZ.js → evidence-REJUMSKM.js} +62 -56
- package/dist/{evolve-FJVC4KKI.js → evolve-PY5ZBA5K.js} +41 -35
- package/dist/{extensions-IQL36S7K.js → extensions-HVKU65YU.js} +6 -6
- package/dist/{fleet-BDKYJFCP.js → fleet-7WZEWRFA.js} +72 -67
- package/dist/{fleet-commands-ZFIWZSB3.js → fleet-commands-UVHWM76J.js} +10 -10
- package/dist/{fleet-graph-Y6HPXIVF.js → fleet-graph-6ULH7PES.js} +13 -13
- package/dist/{fleet-preflight-BHSNPBMH.js → fleet-preflight-J53T6CCE.js} +5 -5
- package/dist/{fleet-validate-BIYREGIK.js → fleet-validate-72PC4SLA.js} +17 -17
- package/dist/{init-LQUB5COQ.js → init-OG3TPGQG.js} +61 -56
- package/dist/{library-NJAHIGG4.js → library-CNTMPLRF.js} +18 -18
- package/dist/{memory-OG6HOYKM.js → memory-6IS7F275.js} +43 -37
- package/dist/{models-5ZG5XY7J.js → models-ENRJDA5W.js} +33 -28
- package/dist/{monitor-TJ7AMTGB.js → monitor-XLDVO7TN.js} +56 -38
- package/dist/{orchestrator-WZYB54DM.js → orchestrator-6KSPYRHA.js} +421 -303
- package/dist/{paths-XUC7GS6E.js → paths-DBXMZMDU.js} +5 -5
- package/dist/registry-LG64LTF4.js +11 -0
- package/dist/{reset-PXQT45IY.js → reset-RZ4ER727.js} +10 -10
- package/dist/{run-FQ74YF62.js → run-Y2CNK5RU.js} +79 -74
- package/dist/{share-FW7SVCL3.js → share-A55GYP6Z.js} +16 -16
- package/dist/{skills-7E7IRB3R.js → skills-ALC5J6AT.js} +19 -19
- package/dist/{skills-eval-LI75W6OK.js → skills-eval-JPBEBYQU.js} +52 -47
- package/dist/support-MIETYA5E.js +38 -0
- package/dist/{targets-4CIFKCTW.js → targets-VGNXIR3S.js} +42 -33
- package/dist/{terminal-lease-WUZY7ZV5.js → terminal-lease-WOBR64YA.js} +3 -3
- package/dist/{uninstall-7FV7IP4E.js → uninstall-ZJF5H5ZN.js} +8 -8
- package/dist/{upgrade-K2HVIVMQ.js → upgrade-FUSUAGHR.js} +27 -25
- package/dist/{usage-GTZELZQX.js → usage-N4MKVHKD.js} +51 -46
- package/dist/{verifiers-RLAHT27O.js → verifiers-YAWOJ3H2.js} +13 -13
- package/dist/{verify-BX3BRKH5.js → verify-LTDHYBGY.js} +9 -9
- package/dist/{wiki-generate-ASIFASCN.js → wiki-generate-6M7GHTBJ.js} +66 -61
- package/dist/worker/entry.js +68 -61
- package/docs/alcf-provider.md +1 -1
- package/docs/architecture.md +1 -1
- package/docs/artifact-versions.md +6 -5
- package/docs/built-in-agents.md +1 -1
- package/docs/commands-and-modes.md +2 -2
- package/docs/configuration-and-targets.md +8 -3
- package/docs/context-engine.md +1 -1
- package/docs/documentation-guide.md +1 -1
- package/docs/eval-runner.md +1 -1
- package/docs/evals-internal.md +1 -1
- package/docs/evidence-and-memory.md +70 -6
- package/docs/evolution.md +1 -1
- package/docs/extensions-and-sharing.md +1 -1
- package/docs/fleet-dispatch.md +34 -9
- package/docs/glossary.md +21 -1
- package/docs/installation-and-lifecycle.md +1 -1
- package/docs/middleware-and-components.md +1 -1
- package/docs/model-catalog.md +1 -1
- package/docs/observability.md +2 -2
- package/docs/proactive-memory.md +1 -1
- package/docs/prompt-envelope-and-tools.md +4 -2
- package/docs/provider-adapter-cookbook.md +1 -1
- package/docs/release-cut-checklist.md +41 -38
- package/docs/safety-model.md +1 -1
- package/docs/scientific-validation.md +1 -1
- package/docs/skills-marketplace.md +1 -1
- package/docs/tool-usage.md +1 -1
- package/docs/trace-store.md +1 -1
- package/docs/tui-design.md +1 -1
- package/docs/worker-dispatch-mechanics.md +1 -1
- package/package.json +1 -2
- package/src/cli/argv.ts +5 -0
- package/src/cli/configure.ts +107 -23
- package/src/cli/doctor.ts +5 -1
- package/src/cli/evidence.ts +30 -25
- package/src/cli/fleet-preflight.ts +2 -12
- package/src/cli/shared.ts +1 -0
- package/src/cli/targets.ts +4 -1
- package/src/cli/validate-model.ts +60 -5
- package/src/core/bus-events.ts +25 -0
- package/src/core/commit-attribution.ts +4 -4
- package/src/core/path-boundary.ts +100 -0
- package/src/domains/agents/extension.ts +2 -11
- package/src/domains/agents/fleet-contract.ts +30 -12
- package/src/domains/agents/recipe.ts +7 -1
- package/src/domains/agents/registry.ts +73 -5
- package/src/domains/agents/result-contract.ts +128 -17
- package/src/domains/agents/write-boundary.ts +15 -50
- package/src/domains/context/project-rules.ts +51 -1
- package/src/domains/dispatch/assignment-reconcile.ts +22 -5
- package/src/domains/dispatch/assignment-store.ts +151 -14
- package/src/domains/dispatch/contract.ts +15 -1
- package/src/domains/dispatch/delegation-plan.ts +2 -5
- package/src/domains/dispatch/execution-role.ts +9 -1
- package/src/domains/dispatch/extension.ts +156 -67
- package/src/domains/dispatch/fleet-run.ts +57 -3
- package/src/domains/dispatch/gate-role-prompts.ts +38 -0
- package/src/domains/dispatch/index.ts +3 -1
- package/src/domains/dispatch/intent-requirements.ts +40 -0
- package/src/domains/dispatch/intent.ts +84 -8
- package/src/domains/dispatch/path-scope.ts +370 -0
- package/src/domains/dispatch/receipt-integrity.ts +2 -1
- package/src/domains/dispatch/types.ts +14 -7
- package/src/domains/dispatch/validation.ts +6 -3
- package/src/domains/dispatch/write-boundary-enforcer.ts +45 -0
- package/src/domains/dispatch/write-boundary.ts +201 -22
- package/src/domains/eval/metrics/evidence.ts +79 -2
- package/src/domains/eval/runners/clio-run.ts +12 -2
- package/src/domains/evidence/build.ts +69 -11
- package/src/domains/evidence/index.ts +21 -0
- package/src/domains/evidence/provenance.ts +46 -11
- package/src/domains/evidence/trust-projection.ts +274 -0
- package/src/domains/evidence/trust-status.ts +145 -17
- package/src/domains/evidence/types.ts +4 -0
- package/src/domains/extensions/discovery.ts +88 -1
- package/src/domains/extensions/resources.ts +20 -8
- package/src/domains/extensions/state.ts +6 -2
- package/src/domains/extensions/types.ts +4 -1
- package/src/domains/lifecycle/doctor.ts +140 -1
- package/src/domains/prompts/contract.ts +3 -5
- package/src/domains/providers/extension.ts +30 -2
- package/src/domains/resources/common-loader.ts +3 -0
- package/src/domains/resources/prompts/loader.ts +119 -14
- package/src/domains/safety/policy-engine.ts +5 -5
- package/src/domains/safety/run-effects.ts +64 -1
- package/src/domains/safety/scope.ts +7 -12
- package/src/engine/acp/server.ts +4 -1
- package/src/engine/prompt-templates.ts +18 -1
- package/src/engine/worker-runtime.ts +6 -3
- package/src/interactive/dispatch-board.ts +53 -3
- package/src/interactive/interactive-event-projection.ts +14 -0
- package/src/interactive/overlays/settings.ts +141 -47
- package/src/interactive/slash-commands.ts +7 -2
- package/src/interactive/view/artifacts.ts +42 -9
- package/src/interactive/view/view-overlay.ts +15 -3
- package/src/interactive/worker-receipts.ts +14 -2
- package/src/interactive/worker-stream.ts +8 -0
- package/src/tools/dispatch-admission.ts +12 -13
- package/src/tools/dispatch-arguments.ts +27 -0
- package/src/tools/dispatch-plan.ts +29 -0
- package/src/tools/dispatch-runner.ts +48 -13
- package/src/tools/monitor.ts +13 -0
- package/src/tools/worker-evidence.ts +19 -13
- package/src/worker/spec-contract.ts +2 -1
|
@@ -5,41 +5,38 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
SchedulingDomainModule,
|
|
7
7
|
createPromptsDomainModule
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5DHKRSMQ.js";
|
|
9
9
|
import {
|
|
10
10
|
SafetyDomainModule
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EMYUUSFG.js";
|
|
12
12
|
import {
|
|
13
13
|
ConfigDomainModule,
|
|
14
14
|
loadDomains
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FHJEP5SW.js";
|
|
16
|
+
import {
|
|
17
|
+
ResourcesDomainModule
|
|
18
|
+
} from "./chunk-U6MBIEMB.js";
|
|
19
|
+
import {
|
|
20
|
+
AgentsDomainModule
|
|
21
|
+
} from "./chunk-FBVTI2TJ.js";
|
|
22
|
+
import "./chunk-DR52UMZW.js";
|
|
23
|
+
import "./chunk-TANS5ZJS.js";
|
|
24
|
+
import "./chunk-DGSYXYMX.js";
|
|
16
25
|
import {
|
|
17
26
|
createObservabilityDomainModule
|
|
18
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-WNIJTQQK.js";
|
|
19
28
|
import "./chunk-GWS3VEIW.js";
|
|
20
29
|
import "./chunk-HFSBBKSQ.js";
|
|
21
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-26LEYJZH.js";
|
|
31
|
+
import "./chunk-WXY7KU3G.js";
|
|
22
32
|
import {
|
|
23
33
|
ContextDomainModule,
|
|
24
34
|
buildWikiPagePrompt,
|
|
25
35
|
buildWikiPlanPrompt
|
|
26
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-WSB3FPX7.js";
|
|
27
37
|
import "./chunk-LCGCVYZ4.js";
|
|
28
38
|
import "./chunk-5WIGXA4T.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import {
|
|
31
|
-
DispatchDomainModule
|
|
32
|
-
} from "./chunk-UUANF5CR.js";
|
|
33
|
-
import {
|
|
34
|
-
SessionDomainModule
|
|
35
|
-
} from "./chunk-6TUKSZVF.js";
|
|
36
|
-
import "./chunk-KZ2H5X4G.js";
|
|
37
|
-
import "./chunk-M4AKACEO.js";
|
|
38
|
-
import "./chunk-RVG5JXAL.js";
|
|
39
|
-
import "./chunk-ZGH7FGS5.js";
|
|
40
|
-
import "./chunk-TSHXZTOQ.js";
|
|
41
|
-
import "./chunk-TXOTCRLG.js";
|
|
42
|
-
import "./chunk-HVDIIIQW.js";
|
|
39
|
+
import "./chunk-TYPGUK6W.js";
|
|
43
40
|
import {
|
|
44
41
|
MAX_PAGE_ATTEMPTS,
|
|
45
42
|
pendingPages,
|
|
@@ -48,36 +45,39 @@ import {
|
|
|
48
45
|
} from "./chunk-NDINPTJ4.js";
|
|
49
46
|
import "./chunk-MVVUPGPW.js";
|
|
50
47
|
import {
|
|
51
|
-
|
|
52
|
-
} from "./chunk-
|
|
48
|
+
DispatchDomainModule
|
|
49
|
+
} from "./chunk-TLQJPP24.js";
|
|
53
50
|
import {
|
|
54
|
-
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
51
|
+
SessionDomainModule
|
|
52
|
+
} from "./chunk-YS5VLNH5.js";
|
|
53
|
+
import "./chunk-K4XHGFR5.js";
|
|
54
|
+
import "./chunk-MXKJU4JB.js";
|
|
55
|
+
import "./chunk-J3YUBZWY.js";
|
|
56
|
+
import "./chunk-RVG5JXAL.js";
|
|
60
57
|
import "./chunk-W6GROXXM.js";
|
|
61
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-E77JEWSD.js";
|
|
59
|
+
import "./chunk-DYIM5TJT.js";
|
|
60
|
+
import "./chunk-JVCV3ICN.js";
|
|
61
|
+
import "./chunk-2HEJ2F35.js";
|
|
62
|
+
import "./chunk-TXOTCRLG.js";
|
|
63
|
+
import "./chunk-HVDIIIQW.js";
|
|
62
64
|
import {
|
|
63
65
|
MiddlewareDomainModule
|
|
64
|
-
} from "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
+
} from "./chunk-7RGZWPB6.js";
|
|
67
|
+
import "./chunk-VCBR6CU7.js";
|
|
66
68
|
import "./chunk-UOV2BYIW.js";
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-CEYBNUGC.js";
|
|
69
|
-
import "./chunk-5FR74PWO.js";
|
|
70
|
-
import "./chunk-OBMAI2DP.js";
|
|
71
|
-
import "./chunk-5C77SEEY.js";
|
|
72
|
-
import "./chunk-UND3GU2L.js";
|
|
73
|
-
import "./chunk-CMZWFGD2.js";
|
|
74
|
-
import "./chunk-I4HZDVNP.js";
|
|
75
|
-
import "./chunk-GH5622CP.js";
|
|
69
|
+
import "./chunk-ZVJ5BLO2.js";
|
|
76
70
|
import "./chunk-VG7TBQIY.js";
|
|
71
|
+
import "./chunk-A3WNZD3P.js";
|
|
72
|
+
import "./chunk-5FR74PWO.js";
|
|
73
|
+
import "./chunk-P43ETTHK.js";
|
|
74
|
+
import "./chunk-H7IXIC72.js";
|
|
75
|
+
import "./chunk-5H3GB5BO.js";
|
|
76
|
+
import "./chunk-A2NJGIB3.js";
|
|
77
77
|
import "./chunk-OQE5J4C6.js";
|
|
78
78
|
import "./chunk-GOXNB3AO.js";
|
|
79
79
|
import "./chunk-HWUFFB6L.js";
|
|
80
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-TTHACPOM.js";
|
|
81
81
|
import "./chunk-AOCYTWAV.js";
|
|
82
82
|
import "./chunk-MV3K5QF2.js";
|
|
83
83
|
import "./chunk-UL3WSD3F.js";
|
|
@@ -85,47 +85,52 @@ import "./chunk-ODFEOB4F.js";
|
|
|
85
85
|
import "./chunk-OZNBF4L3.js";
|
|
86
86
|
import "./chunk-4BJ5BYCE.js";
|
|
87
87
|
import "./chunk-ECH6PKUQ.js";
|
|
88
|
+
import "./chunk-CMZWFGD2.js";
|
|
89
|
+
import "./chunk-I4HZDVNP.js";
|
|
88
90
|
import "./chunk-6XLNIQDB.js";
|
|
89
91
|
import "./chunk-5B2AEOW5.js";
|
|
90
92
|
import {
|
|
91
93
|
ToolNames
|
|
92
94
|
} from "./chunk-CGKSTWHD.js";
|
|
93
95
|
import "./chunk-M6L6IDJG.js";
|
|
94
|
-
import "./chunk-XAKHZX5N.js";
|
|
95
96
|
import "./chunk-UUVG37B4.js";
|
|
96
97
|
import "./chunk-LBMZMYH2.js";
|
|
98
|
+
import "./chunk-XAKHZX5N.js";
|
|
97
99
|
import "./chunk-33YXPOE3.js";
|
|
100
|
+
import "./chunk-7CR24IG7.js";
|
|
98
101
|
import {
|
|
99
102
|
ProvidersDomainModule,
|
|
100
103
|
canonicalizeWireModelId
|
|
101
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-7RFXX52T.js";
|
|
102
105
|
import "./chunk-CFGTUFWB.js";
|
|
103
|
-
import "./chunk-
|
|
106
|
+
import "./chunk-LU7P4LHA.js";
|
|
107
|
+
import "./chunk-RWSI4YD7.js";
|
|
104
108
|
import "./chunk-IHXBNWMM.js";
|
|
105
|
-
import "./chunk-
|
|
106
|
-
import "./chunk-
|
|
109
|
+
import "./chunk-B5CSFE7B.js";
|
|
110
|
+
import "./chunk-IJ7RPIYJ.js";
|
|
111
|
+
import "./chunk-FQ4SKYE4.js";
|
|
112
|
+
import "./chunk-ZGVHUX3M.js";
|
|
113
|
+
import "./chunk-TT36MB5S.js";
|
|
114
|
+
import "./chunk-3BINW3FP.js";
|
|
115
|
+
import "./chunk-R346GLFC.js";
|
|
116
|
+
import "./chunk-6EJMN2Y3.js";
|
|
117
|
+
import "./chunk-IWHMRKLL.js";
|
|
118
|
+
import "./chunk-NMPKI6XL.js";
|
|
107
119
|
import "./chunk-4DGYLA73.js";
|
|
108
120
|
import "./chunk-LL4KHSZI.js";
|
|
109
|
-
import "./chunk-SST6Z5JA.js";
|
|
110
|
-
import "./chunk-FO5ZOVUY.js";
|
|
111
|
-
import "./chunk-R346GLFC.js";
|
|
112
|
-
import "./chunk-D4MDIG46.js";
|
|
113
|
-
import "./chunk-FQ4SKYE4.js";
|
|
114
121
|
import "./chunk-4ZG3XFUR.js";
|
|
122
|
+
import "./chunk-IIZWH4XA.js";
|
|
123
|
+
import "./chunk-EQ63NRB7.js";
|
|
124
|
+
import "./chunk-SST6Z5JA.js";
|
|
115
125
|
import "./chunk-IKCO5N3L.js";
|
|
116
126
|
import "./chunk-3I7MS7N2.js";
|
|
117
|
-
import "./chunk-FCSXB6T2.js";
|
|
118
127
|
import "./chunk-APJ265NV.js";
|
|
119
|
-
import "./chunk-YXLYO42X.js";
|
|
120
128
|
import "./chunk-BNAZZHFG.js";
|
|
121
|
-
import "./chunk-6EJMN2Y3.js";
|
|
122
129
|
import "./chunk-WEPFGWHJ.js";
|
|
123
|
-
import "./chunk-
|
|
124
|
-
import "./chunk-
|
|
125
|
-
import "./chunk-
|
|
126
|
-
import "./chunk-
|
|
127
|
-
import "./chunk-7CR24IG7.js";
|
|
128
|
-
import "./chunk-IWHMRKLL.js";
|
|
130
|
+
import "./chunk-NUGM5KR6.js";
|
|
131
|
+
import "./chunk-PT7HYKEM.js";
|
|
132
|
+
import "./chunk-FCSXB6T2.js";
|
|
133
|
+
import "./chunk-YXLYO42X.js";
|
|
129
134
|
import {
|
|
130
135
|
init_esm_shims
|
|
131
136
|
} from "./chunk-3R73A4XB.js";
|
|
@@ -445,4 +450,4 @@ export {
|
|
|
445
450
|
resolveDocumenterModelId,
|
|
446
451
|
runWikiDispatch
|
|
447
452
|
};
|
|
448
|
-
//# sourceMappingURL=wiki-generate-
|
|
453
|
+
//# sourceMappingURL=wiki-generate-6M7GHTBJ.js.map
|
package/dist/worker/entry.js
CHANGED
|
@@ -16,25 +16,29 @@ import {
|
|
|
16
16
|
resolveDeliveryTools,
|
|
17
17
|
sanitizeLockedSynthesisMessage,
|
|
18
18
|
workerLoopBlockBudget
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-WLFILSD5.js";
|
|
20
20
|
import "../chunk-K7VKOLQQ.js";
|
|
21
21
|
import {
|
|
22
22
|
createMiddlewareContractFromSnapshot,
|
|
23
23
|
createMiddlewareToolChoiceControl,
|
|
24
24
|
shouldRequestStalledTurnContinuation
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-7RGZWPB6.js";
|
|
26
26
|
import {
|
|
27
27
|
CONFIRMED_SCOPE,
|
|
28
28
|
READONLY_SCOPE,
|
|
29
29
|
WORKSPACE_SCOPE,
|
|
30
30
|
isSubset
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-VCBR6CU7.js";
|
|
32
32
|
import {
|
|
33
33
|
createLoopState,
|
|
34
34
|
observe
|
|
35
35
|
} from "../chunk-UOV2BYIW.js";
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-PMDBGQSJ.js";
|
|
37
|
+
import "../chunk-XN3L4EYL.js";
|
|
38
|
+
import "../chunk-SPULKLCF.js";
|
|
39
|
+
import "../chunk-KTYTFRMB.js";
|
|
40
|
+
import "../chunk-ZVJ5BLO2.js";
|
|
41
|
+
import "../chunk-VG7TBQIY.js";
|
|
38
42
|
import {
|
|
39
43
|
DEFAULT_ESCALATION_FALLBACK,
|
|
40
44
|
DEFAULT_ESCALATION_TIMEOUT_MS,
|
|
@@ -50,38 +54,15 @@ import {
|
|
|
50
54
|
startAntigravityWorkerRun,
|
|
51
55
|
startClaudeCodeWorkerRun,
|
|
52
56
|
validateRehydratedWorkerRuntime
|
|
53
|
-
} from "../chunk-
|
|
57
|
+
} from "../chunk-A3WNZD3P.js";
|
|
54
58
|
import "../chunk-5FR74PWO.js";
|
|
59
|
+
import "../chunk-P43ETTHK.js";
|
|
60
|
+
import "../chunk-H7IXIC72.js";
|
|
55
61
|
import {
|
|
56
62
|
createSafetyPolicyEngine
|
|
57
|
-
} from "../chunk-
|
|
58
|
-
import "../chunk-
|
|
59
|
-
import "../chunk-UND3GU2L.js";
|
|
60
|
-
import {
|
|
61
|
-
UNKNOWN_RESOURCE,
|
|
62
|
-
WORKER_PROTOCOL_VERSION,
|
|
63
|
-
WORKER_RESOURCE_LABEL_MAX,
|
|
64
|
-
WORKER_STDIN_FRAME_MAX_BYTES,
|
|
65
|
-
canonicalJson,
|
|
66
|
-
encodeControlFrame,
|
|
67
|
-
endpointIdentityHash,
|
|
68
|
-
knownResource,
|
|
69
|
-
parseAgentLedgerBody,
|
|
70
|
-
parseAgentLedgerEntry,
|
|
71
|
-
toolSignatureOf,
|
|
72
|
-
withinFrameBudget,
|
|
73
|
-
workerSpecDigest
|
|
74
|
-
} from "../chunk-CMZWFGD2.js";
|
|
75
|
-
import {
|
|
76
|
-
deleteInjectedCompileCacheFrom
|
|
77
|
-
} from "../chunk-I4HZDVNP.js";
|
|
78
|
-
import "../chunk-ZI647VB5.js";
|
|
79
|
-
import "../chunk-JNXPYBB4.js";
|
|
80
|
-
import "../chunk-GH5622CP.js";
|
|
81
|
-
import "../chunk-XN3L4EYL.js";
|
|
82
|
-
import "../chunk-VG7TBQIY.js";
|
|
63
|
+
} from "../chunk-5H3GB5BO.js";
|
|
64
|
+
import "../chunk-A2NJGIB3.js";
|
|
83
65
|
import "../chunk-OQE5J4C6.js";
|
|
84
|
-
import "../chunk-SPULKLCF.js";
|
|
85
66
|
import {
|
|
86
67
|
agentSkillToolPolicy
|
|
87
68
|
} from "../chunk-GOXNB3AO.js";
|
|
@@ -90,10 +71,10 @@ import {
|
|
|
90
71
|
} from "../chunk-HWUFFB6L.js";
|
|
91
72
|
import {
|
|
92
73
|
RESULT_CONTRACT_REPAIR_LIMIT,
|
|
93
|
-
|
|
74
|
+
parseWorkerResultContract,
|
|
94
75
|
resultContractRepairMessages,
|
|
95
76
|
validateResultContract
|
|
96
|
-
} from "../chunk-
|
|
77
|
+
} from "../chunk-TTHACPOM.js";
|
|
97
78
|
import {
|
|
98
79
|
classify
|
|
99
80
|
} from "../chunk-AOCYTWAV.js";
|
|
@@ -105,6 +86,25 @@ import "../chunk-ODFEOB4F.js";
|
|
|
105
86
|
import "../chunk-OZNBF4L3.js";
|
|
106
87
|
import "../chunk-4BJ5BYCE.js";
|
|
107
88
|
import "../chunk-ECH6PKUQ.js";
|
|
89
|
+
import {
|
|
90
|
+
UNKNOWN_RESOURCE,
|
|
91
|
+
WORKER_PROTOCOL_VERSION,
|
|
92
|
+
WORKER_RESOURCE_LABEL_MAX,
|
|
93
|
+
WORKER_STDIN_FRAME_MAX_BYTES,
|
|
94
|
+
canonicalJson,
|
|
95
|
+
encodeControlFrame,
|
|
96
|
+
endpointIdentityHash,
|
|
97
|
+
knownResource,
|
|
98
|
+
parseAgentLedgerBody,
|
|
99
|
+
parseAgentLedgerEntry,
|
|
100
|
+
toolSignatureOf,
|
|
101
|
+
withinFrameBudget,
|
|
102
|
+
workerSpecDigest
|
|
103
|
+
} from "../chunk-CMZWFGD2.js";
|
|
104
|
+
import {
|
|
105
|
+
deleteInjectedCompileCacheFrom
|
|
106
|
+
} from "../chunk-I4HZDVNP.js";
|
|
107
|
+
import "../chunk-ZI647VB5.js";
|
|
108
108
|
import "../chunk-6XLNIQDB.js";
|
|
109
109
|
import "../chunk-5B2AEOW5.js";
|
|
110
110
|
import {
|
|
@@ -114,56 +114,63 @@ import "../chunk-65DEGPJ6.js";
|
|
|
114
114
|
import {
|
|
115
115
|
FileKnowledgeBase,
|
|
116
116
|
applyModelCapabilityPatch,
|
|
117
|
-
getRuntimeRegistry,
|
|
118
117
|
loadPluginRuntimes,
|
|
119
|
-
registerBuiltinRuntimes,
|
|
120
118
|
registerClioApiProviders,
|
|
121
119
|
resolveModelRuntimeCapabilitiesForModel,
|
|
122
120
|
resolveProviderKnowledgeBaseRoots,
|
|
123
121
|
setGlobalDefaultMaxOutputTokens,
|
|
124
122
|
setProtectedModelsProvider,
|
|
125
123
|
setResidencyNoticeSink
|
|
126
|
-
} from "../chunk-
|
|
124
|
+
} from "../chunk-7RFXX52T.js";
|
|
127
125
|
import "../chunk-CFGTUFWB.js";
|
|
128
|
-
import "../chunk-
|
|
126
|
+
import "../chunk-LU7P4LHA.js";
|
|
127
|
+
import "../chunk-RWSI4YD7.js";
|
|
129
128
|
import "../chunk-IHXBNWMM.js";
|
|
130
|
-
import
|
|
129
|
+
import {
|
|
130
|
+
setGitCommitAttributionEnabled,
|
|
131
|
+
withManagedGitCommitAttributionEnvironment
|
|
132
|
+
} from "../chunk-B5CSFE7B.js";
|
|
131
133
|
import {
|
|
132
134
|
readSettings,
|
|
133
135
|
validateSettingsFile
|
|
134
|
-
} from "../chunk-
|
|
135
|
-
import "../chunk-
|
|
136
|
-
import "../chunk-
|
|
137
|
-
import "../chunk-
|
|
138
|
-
import "../chunk-
|
|
136
|
+
} from "../chunk-IJ7RPIYJ.js";
|
|
137
|
+
import "../chunk-FQ4SKYE4.js";
|
|
138
|
+
import "../chunk-ZGVHUX3M.js";
|
|
139
|
+
import "../chunk-TT36MB5S.js";
|
|
140
|
+
import "../chunk-3BINW3FP.js";
|
|
139
141
|
import "../chunk-R346GLFC.js";
|
|
140
142
|
import {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
143
|
+
AI_AGENT_NAME
|
|
144
|
+
} from "../chunk-6EJMN2Y3.js";
|
|
145
|
+
import {
|
|
146
|
+
readClioVersion
|
|
147
|
+
} from "../chunk-IWHMRKLL.js";
|
|
148
|
+
import {
|
|
149
|
+
registerBuiltinRuntimes
|
|
150
|
+
} from "../chunk-NMPKI6XL.js";
|
|
151
|
+
import "../chunk-4DGYLA73.js";
|
|
152
|
+
import "../chunk-LL4KHSZI.js";
|
|
145
153
|
import {
|
|
146
154
|
configureGuardrails,
|
|
147
155
|
isWorkerToolCallCapExceededReason,
|
|
148
156
|
isWorkerToolCallCapSynthesisReason
|
|
149
157
|
} from "../chunk-4ZG3XFUR.js";
|
|
158
|
+
import "../chunk-IIZWH4XA.js";
|
|
159
|
+
import "../chunk-EQ63NRB7.js";
|
|
160
|
+
import "../chunk-SST6Z5JA.js";
|
|
150
161
|
import "../chunk-IKCO5N3L.js";
|
|
151
162
|
import "../chunk-3I7MS7N2.js";
|
|
152
|
-
import {
|
|
153
|
-
registerFauxFromEnv
|
|
154
|
-
} from "../chunk-FCSXB6T2.js";
|
|
155
163
|
import "../chunk-APJ265NV.js";
|
|
156
|
-
import "../chunk-YXLYO42X.js";
|
|
157
164
|
import "../chunk-BNAZZHFG.js";
|
|
158
|
-
import {
|
|
159
|
-
AI_AGENT_NAME
|
|
160
|
-
} from "../chunk-6EJMN2Y3.js";
|
|
161
165
|
import "../chunk-WEPFGWHJ.js";
|
|
162
|
-
import "../chunk-ZGVHUX3M.js";
|
|
163
|
-
import "../chunk-OB5HIGJY.js";
|
|
164
166
|
import {
|
|
165
|
-
|
|
166
|
-
} from "../chunk-
|
|
167
|
+
getRuntimeRegistry
|
|
168
|
+
} from "../chunk-NUGM5KR6.js";
|
|
169
|
+
import "../chunk-PT7HYKEM.js";
|
|
170
|
+
import {
|
|
171
|
+
registerFauxFromEnv
|
|
172
|
+
} from "../chunk-FCSXB6T2.js";
|
|
173
|
+
import "../chunk-YXLYO42X.js";
|
|
167
174
|
import {
|
|
168
175
|
init_esm_shims
|
|
169
176
|
} from "../chunk-3R73A4XB.js";
|
|
@@ -943,7 +950,7 @@ function resolveWorkerRuntimeBudget(input) {
|
|
|
943
950
|
}
|
|
944
951
|
function startWorkerRun(input, emit) {
|
|
945
952
|
assertResponseSchemaRuntime(input);
|
|
946
|
-
if (input.resultContract !== void 0)
|
|
953
|
+
if (input.resultContract !== void 0) parseWorkerResultContract(input.resultContract, "WorkerSpec.resultContract");
|
|
947
954
|
if (input.runtime.id === "claude-sdk") {
|
|
948
955
|
return startClaudeSdkWorkerRun(input, emit);
|
|
949
956
|
}
|
package/docs/alcf-provider.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# ALCF Inference Provider
|
|
2
2
|
|
|
3
3
|
> [!TIP]
|
|
4
|
-
> **Interactive Spec Available:** An interactive target configurator and Globus OAuth flow diagram is located at [docs/html/alcf_blueprint.html](html/alcf_blueprint.html) (Version: 0.3.
|
|
4
|
+
> **Interactive Spec Available:** An interactive target configurator and Globus OAuth flow diagram is located at [docs/html/alcf_blueprint.html](html/alcf_blueprint.html) (Version: 0.3.8).
|
|
5
5
|
|
|
6
6
|
Clio can use Argonne's ALCF inference gateway as an OpenAI-compatible target
|
|
7
7
|
backed by Globus OAuth. The runtime id is `alcf`; each configured target points
|
package/docs/architecture.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Clio Coder Architecture and Boundaries
|
|
2
2
|
|
|
3
3
|
> [!TIP]
|
|
4
|
-
> **Interactive Spec Available:** An interactive dashboard is located at [docs/html/architecture_blueprint.html](html/architecture_blueprint.html) (Version: 0.3.
|
|
4
|
+
> **Interactive Spec Available:** An interactive dashboard is located at [docs/html/architecture_blueprint.html](html/architecture_blueprint.html) (Version: 0.3.8).
|
|
5
5
|
|
|
6
6
|
Clio Coder is an experimental, terminal-first coding harness for the CLIO ecosystem. CLIO stands for Context Layer for Input/Output; the project is named for the Greek muse of history and developed by the Gnosis Research Center at Illinois Tech. Its architecture favors small, auditable subsystems over a single monolithic agent loop: CLI entry points, the interactive TUI, provider/runtime code, worker subprocesses, tools, and feature domains are kept separate so local-model support and scientific-software workflows can evolve without collapsing safety boundaries.
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Artifact Versions & Serialization Contracts
|
|
2
2
|
|
|
3
|
-
This document is the canonical registry of all versioned file formats, serialized data structures, integrity digests, and migration rules across Clio Coder in `v0.3.
|
|
3
|
+
This document is the canonical registry of all versioned file formats, serialized data structures, integrity digests, and migration rules across Clio Coder in `v0.3.8`.
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -10,7 +10,7 @@ Clio Coder strictly versions every persistent or network-transported data struct
|
|
|
10
10
|
|
|
11
11
|
| Artifact / Subsystem | Current Version | Symbol / Type & Source Location | Persisted Path / Wire Location | Schema Semantics & Version Differences | Mismatch Handling |
|
|
12
12
|
| :--- | :--- | :--- | :--- | :--- | :--- |
|
|
13
|
-
| **Run Receipt** | `
|
|
13
|
+
| **Run Receipt** | `20` | `RUN_RECEIPT_INTEGRITY_VERSION = 20`<br>`src/domains/dispatch/receipt-integrity.ts:13` | `<stateDir>/receipts/<runId>.json` | Cryptographically sealed run record. Version 20 adds `pathProvenance` on dispatch intent and the resolved `pathScope`, over the v19 base of provenance fields, routing intent, quality labels, `validationGrounding`, `capabilityMismatch`, council provenance, and fleet gate provenance. | Fail-closed. A receipt below v20 is reported as retired rather than invalid, is never read as evidence, and is never migrated; a malformed or tampered v20 receipt fails verification. |
|
|
14
14
|
| **Session Ledger** | `3` | `CURRENT_SESSION_FORMAT_VERSION = 3`<br>`src/engine/session.ts:66` | `<stateDir>/sessions/<cwdHash>/<sessionId>/` (`meta.json`, `current.jsonl`, `tree.json`) | Append-only ledger format with UUIDv7 turn IDs, session header line, and tree graph linkage. | Automated migration via `src/domains/session/migrations/` on `/resume`. Earlier unmigratable versions rejected. |
|
|
15
15
|
| **Worker Spec** | `3` | `WORKER_SPEC_VERSION = 3`<br>`src/worker/spec-contract.ts:22` | Subprocess `stdin` control plane JSON payload | Worker invocation parameters, tool surface profile, and execution bounds. | Fail-closed preflight rejection before worker activation. |
|
|
16
16
|
| **Worker Runtime Descriptor** | `2` | `WORKER_RUNTIME_DESCRIPTOR_VERSION = 2`<br>`src/worker/spec-contract.ts:23` | Worker attestation descriptor payload | Attestation descriptor for worker runtime environment and hardware facts. | Attestation mismatch causes immediate process termination. |
|
|
@@ -22,6 +22,7 @@ Clio Coder strictly versions every persistent or network-transported data struct
|
|
|
22
22
|
| **Capacity State File** | `2` | `version: 2` in `interface CapacityStateFile`<br>`src/domains/dispatch/capacity-lease.ts:40` | `<stateDir>/dispatch-admission.json` | Active capacity leases, drain status, and cross-process lock state. | Corrupted or unparseable state file causes admission to fail closed. |
|
|
23
23
|
| **Protected Artifact Journal** | `1` | `version: 1` in `interface PendingProtectedArtifactRecord`<br>`src/domains/session/protected-artifact-journal.ts:22` | `<stateDir>/protected-artifact-pending/<key>/<id>.json` | Write-ahead durability records for pending protected artifacts. | Leftover records reconciled during session initialization. |
|
|
24
24
|
| **Fleet Run Record** | `1` | `version: 1` in `interface FleetRunRecord`<br>`src/domains/dispatch/fleet-run.ts` | `<stateDir>/fleet-runs/<runId>.json` | Durable record of one fleet run: contract name, plan hash, static step ids and steps, `--var` values, replayed and settled step results, and the delegation plan hash a `kind: plan` step produced. Read by `fleet run --resume`. | Resume refuses a changed plan hash with a per-step diff and refuses differing `--var` values. |
|
|
25
|
+
| **Durable Assignment Store** | `1` | `version: 1` in `interface AssignmentStoreFile`<br>`DurableAssignmentRecord`<br>`src/domains/dispatch/assignment-store.ts` | `<stateDir>/assignments.json` | Machine-wide logical-dispatch records: assignment id, attempt ids, terminal run id, status, optional fleet verdict owner, and—while running—`processOwner {pid, processBirthToken, acquiredAt}`. The owner is cleared on a true terminal transition. | A live sibling owner keeps the row running; a genuinely dead or legacy ownerless row is reconciled. An unsupported or unreadable store is treated as empty, and malformed records are ignored. |
|
|
25
26
|
| **Checkout Writer Lease** | `1` | `version: 1` in `interface CheckoutWriterLeaseRecord`<br>`src/domains/dispatch/checkout-writer-lease.ts` | `<stateDir>/checkout-writer-leases/<key>.json` (key derived from the canonical checkout path) | Cross-process single-writer lease: checkout path, pid, process birth token, acquisition time. | A live sibling holder is refused with `checkout_writer_lease_held`; a dead owner is reclaimed; a malformed record is treated as absent. |
|
|
26
27
|
| **Out-of-turn Usage Ledger** | unversioned JSONL | `OutOfTurnUsageRow`<br>`src/domains/observability/out-of-turn-usage.ts` | `<stateDir>/usage/out-of-turn.jsonl` | One row per priced `/btw` or `/handoff` call: label, session id, repo identity, timestamp, target, attributed model, provider usage. Bounded ring of `MAX_OUT_OF_TURN_USAGE_ROWS = 1000`, rewritten atomically under the state-file lock. | Unparseable rows are skipped and counted by `usage report`; the session ledger is never affected. |
|
|
27
28
|
| **Library Pins** | unversioned YAML map | `readLibraryPins`<br>`src/domains/resources/library.ts` | `<configDir>/library-pins.yaml` | Typed ref (`skill:x`, `agent:y`, `prompt:p`, `fleet:z`) to `{sha256, sourceUrl}` for every resource `library add` or the Skills Hub installed. | A non-map document reads as empty; an entry whose installed file is missing is reported as available, not installed. |
|
|
@@ -30,7 +31,7 @@ Clio Coder strictly versions every persistent or network-transported data struct
|
|
|
30
31
|
|
|
31
32
|
## 2. Integrity Verification Contracts
|
|
32
33
|
|
|
33
|
-
### Receipt Integrity (Version
|
|
34
|
+
### Receipt Integrity (Version 20)
|
|
34
35
|
|
|
35
36
|
Receipt integrity authenticates that a sealed receipt matches its ledger envelope without modification. Verification reproduces the canonical JSON serialization and computes the SHA-256 digest:
|
|
36
37
|
|
|
@@ -42,9 +43,9 @@ export function computeReceiptDigest(receipt: RunReceiptV15): string {
|
|
|
42
43
|
```
|
|
43
44
|
|
|
44
45
|
Receipt verification checks:
|
|
45
|
-
1. `integrity.version ===
|
|
46
|
+
1. `integrity.version === 20`. A receipt sealed at a lower version is reported as retired rather than invalid: it is intact, but is not read as evidence and is never migrated.
|
|
46
47
|
2. Calculated SHA-256 matches `integrity.digest`.
|
|
47
|
-
3. All optional fields present in the schema (`validationGrounding`, `capabilityMismatch`, `steering`, `gate`, `fleetGate`, `council`, `plan`, `briefing`) conform to the strict
|
|
48
|
+
3. All optional fields present in the schema (`validationGrounding`, `capabilityMismatch`, `steering`, `gate`, `fleetGate`, `council`, `plan`, `briefing`) conform to the strict v20 specification.
|
|
48
49
|
|
|
49
50
|
---
|
|
50
51
|
|
package/docs/built-in-agents.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Clio Coder dispatches focused fleet agents from Markdown recipes. Recipes are data files, not hidden code plugins: YAML frontmatter declares identity, mode, tools, optional target/model hints, and thinking level; the Markdown body is the agent instruction text.
|
|
4
4
|
|
|
5
5
|
> [!TIP]
|
|
6
|
-
> **Interactive Spec Available:** An interactive dashboard for the agent registry and dispatch admission check gates is located at [docs/html/agents_blueprint.html](html/agents_blueprint.html) (Version: 0.3.
|
|
6
|
+
> **Interactive Spec Available:** An interactive dashboard for the agent registry and dispatch admission check gates is located at [docs/html/agents_blueprint.html](html/agents_blueprint.html) (Version: 0.3.8).
|
|
7
7
|
|
|
8
8
|
The source of truth is `src/domains/agents/**`. Clio's agent dispatch engine and execution boundaries are built upon the [@earendil-works/pi-agent-core](https://www.npmjs.com/package/@earendil-works/pi-agent-core) library.
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Commands and Modes
|
|
2
2
|
|
|
3
3
|
> [!TIP]
|
|
4
|
-
> **Interactive Spec Available:** An interactive dashboard is located at [docs/html/commands_blueprint.html](html/commands_blueprint.html) (Version: 0.3.
|
|
4
|
+
> **Interactive Spec Available:** An interactive dashboard is located at [docs/html/commands_blueprint.html](html/commands_blueprint.html) (Version: 0.3.8).
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Clio Coder is a terminal-first alpha harness. This page keeps the command
|
|
@@ -131,7 +131,7 @@ Example:
|
|
|
131
131
|
clio-coder run \
|
|
132
132
|
"Find the test command and summarize the project structure." \
|
|
133
133
|
--target local-lmstudio \
|
|
134
|
-
--model
|
|
134
|
+
--model qwen3.8-27b
|
|
135
135
|
```
|
|
136
136
|
|
|
137
137
|
## Interactive Slash Commands
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Configuration, Targets, Runtimes, and Auth
|
|
2
2
|
|
|
3
3
|
> [!TIP]
|
|
4
|
-
> **Interactive Spec Available:** An interactive configuration validator, target resolver, and CLI command generator is located at [docs/html/configuration_blueprint.html](html/configuration_blueprint.html) (Version: 0.3.
|
|
4
|
+
> **Interactive Spec Available:** An interactive configuration validator, target resolver, and CLI command generator is located at [docs/html/configuration_blueprint.html](html/configuration_blueprint.html) (Version: 0.3.8).
|
|
5
5
|
|
|
6
6
|
Clio Coder is target-first: chat and fleet dispatch resolve through configured targets in `settings.yaml`, not through provider-specific ad hoc flags. Chat and print targets are HTTP and native engine-backed runtimes. Fleet dispatch can also target the sanctioned Claude Code subscription runtimes described below.
|
|
7
7
|
|
|
@@ -82,11 +82,16 @@ clio-coder configure \
|
|
|
82
82
|
--id local-lmstudio \
|
|
83
83
|
--runtime lmstudio \
|
|
84
84
|
--url http://127.0.0.1:1234 \
|
|
85
|
-
--model
|
|
85
|
+
--model qwen3.8-27b \
|
|
86
86
|
--set-orchestrator \
|
|
87
87
|
--set-fleet-default
|
|
88
88
|
```
|
|
89
89
|
|
|
90
|
+
`--model` must be an id the server advertises. `configure` fetches the
|
|
91
|
+
server's model list and refuses an id that is not on it, printing the ids it
|
|
92
|
+
found and which of them are loaded; `--force` saves the target anyway. Replace
|
|
93
|
+
`qwen3.8-27b` with an id from `lms ls` (LM Studio) or your server's model list.
|
|
94
|
+
|
|
90
95
|
Use the id you chose, probe it, then launch the TUI:
|
|
91
96
|
|
|
92
97
|
```bash
|
|
@@ -768,7 +773,7 @@ clio-coder configure \
|
|
|
768
773
|
--id local-llamacpp \
|
|
769
774
|
--runtime llamacpp \
|
|
770
775
|
--url http://127.0.0.1:8080 \
|
|
771
|
-
--model
|
|
776
|
+
--model qwen3.8-27b \
|
|
772
777
|
--set-orchestrator \
|
|
773
778
|
--set-fleet-default
|
|
774
779
|
```
|
package/docs/context-engine.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Context Engine
|
|
2
2
|
|
|
3
3
|
> [!TIP]
|
|
4
|
-
> **Interactive Spec Available:** An interactive dashboard is located at [docs/html/context_blueprint.html](html/context_blueprint.html) (Version: 0.3.
|
|
4
|
+
> **Interactive Spec Available:** An interactive dashboard is located at [docs/html/context_blueprint.html](html/context_blueprint.html) (Version: 0.3.8).
|
|
5
5
|
|
|
6
6
|
Clio Coder tracks context pressure, records per-turn snapshots, and protects the provider context with bounded tool results plus single-threshold compaction.
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Documentation Standards and Codebase Alignment
|
|
2
2
|
|
|
3
3
|
> [!TIP]
|
|
4
|
-
> **Interactive Spec Available:** An interactive documentation link linter, phrasing/claim evaluator, and alignment portal is located at [docs/html/documentation_blueprint.html](html/documentation_blueprint.html) (Version: 0.3.
|
|
4
|
+
> **Interactive Spec Available:** An interactive documentation link linter, phrasing/claim evaluator, and alignment portal is located at [docs/html/documentation_blueprint.html](html/documentation_blueprint.html) (Version: 0.3.8).
|
|
5
5
|
|
|
6
6
|
Clio Coder is an experimental community alpha. Documentation should help contributors and early users work from the source of truth without overstating maturity. When docs drift, prefer the current source and tests over older prose or aspirational roadmap notes.
|
|
7
7
|
|
package/docs/eval-runner.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Clio Coder Local Evaluation Runner
|
|
2
2
|
|
|
3
3
|
> [!TIP]
|
|
4
|
-
> **Interactive Spec Available:** An interactive task suite validator, subprocess execution simulator, and compare calculator is located at [docs/html/eval_blueprint.html](html/eval_blueprint.html) (Version: 0.3.
|
|
4
|
+
> **Interactive Spec Available:** An interactive task suite validator, subprocess execution simulator, and compare calculator is located at [docs/html/eval_blueprint.html](html/eval_blueprint.html) (Version: 0.3.8).
|
|
5
5
|
|
|
6
6
|
The local evaluation runner executes repository-local YAML task suites as deterministic subprocess checks. It is useful for comparing harness changes, prompts, tools, or local workflows.
|
|
7
7
|
|
package/docs/evals-internal.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Internal Eval Suites
|
|
2
2
|
|
|
3
3
|
> [!TIP]
|
|
4
|
-
> **Interactive Spec Available:** An interactive blueprint is available at [docs/html/evals_internal_blueprint.html](html/evals_internal_blueprint.html) (Version: 0.3.
|
|
4
|
+
> **Interactive Spec Available:** An interactive blueprint is available at [docs/html/evals_internal_blueprint.html](html/evals_internal_blueprint.html) (Version: 0.3.8).
|
|
5
5
|
|
|
6
6
|
Private suites should live outside this repository. Keep datasets, prompts,
|
|
7
7
|
live fleet coordinates, calibration outputs, and raw run artifacts in a private
|