martin-loop 0.1.5 → 1.3.0

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.
Files changed (274) hide show
  1. package/CODE_OF_CONDUCT.md +32 -0
  2. package/LICENSE +21 -21
  3. package/README.md +307 -398
  4. package/demo/seeded-workspace/README.md +35 -35
  5. package/demo/seeded-workspace/TASKS.md +29 -29
  6. package/demo/seeded-workspace/martin.config.yaml +11 -11
  7. package/demo/seeded-workspace/package.json +8 -8
  8. package/demo/seeded-workspace/src/invoice-summary.js +11 -11
  9. package/demo/seeded-workspace/test/invoice-summary.test.js +20 -20
  10. package/dist/bin/martin-loop.js +0 -0
  11. package/dist/vendor/adapters/counter.d.ts +1 -0
  12. package/dist/vendor/adapters/counter.js +4 -0
  13. package/dist/vendor/adapters/git-baseline.d.ts +50 -0
  14. package/dist/vendor/adapters/git-baseline.js +233 -0
  15. package/dist/vendor/adapters/openrouter-adapter.d.ts +15 -0
  16. package/dist/vendor/adapters/openrouter-adapter.js +302 -0
  17. package/dist/vendor/adapters/usage.d.ts +48 -0
  18. package/dist/vendor/adapters/usage.js +66 -0
  19. package/dist/vendor/cli/bin/exit.d.ts +12 -0
  20. package/dist/vendor/cli/bin/exit.js +28 -0
  21. package/dist/vendor/cli/commands/analyze.d.ts +5 -0
  22. package/dist/vendor/cli/commands/analyze.js +58 -0
  23. package/dist/vendor/cli/commands/audit-log-verify.d.ts +34 -0
  24. package/dist/vendor/cli/commands/audit-log-verify.js +99 -0
  25. package/dist/vendor/cli/commands/audit.d.ts +8 -0
  26. package/dist/vendor/cli/commands/audit.js +199 -0
  27. package/dist/vendor/cli/commands/corpus.d.ts +5 -0
  28. package/dist/vendor/cli/commands/corpus.js +60 -0
  29. package/dist/vendor/cli/commands/doctor.d.ts +8 -0
  30. package/dist/vendor/cli/commands/doctor.js +219 -0
  31. package/dist/vendor/cli/commands/explain.d.ts +17 -0
  32. package/dist/vendor/cli/commands/explain.js +176 -0
  33. package/dist/vendor/cli/commands/export.d.ts +5 -0
  34. package/dist/vendor/cli/commands/export.js +60 -0
  35. package/dist/vendor/cli/commands/governance.d.ts +8 -0
  36. package/dist/vendor/cli/commands/governance.js +95 -0
  37. package/dist/vendor/cli/commands/improve.d.ts +18 -0
  38. package/dist/vendor/cli/commands/improve.js +396 -0
  39. package/dist/vendor/cli/commands/init.d.ts +8 -0
  40. package/dist/vendor/cli/commands/init.js +281 -0
  41. package/dist/vendor/cli/commands/migration.d.ts +8 -0
  42. package/dist/vendor/cli/commands/migration.js +67 -0
  43. package/dist/vendor/cli/commands/prior.d.ts +23 -0
  44. package/dist/vendor/cli/commands/prior.js +145 -0
  45. package/dist/vendor/cli/commands/resume.d.ts +21 -0
  46. package/dist/vendor/cli/commands/resume.js +73 -0
  47. package/dist/vendor/cli/commands/verify.d.ts +6 -0
  48. package/dist/vendor/cli/commands/verify.js +43 -0
  49. package/dist/vendor/cli/research/public-corpus.d.ts +43 -0
  50. package/dist/vendor/cli/research/public-corpus.js +151 -0
  51. package/dist/vendor/cli/ui/error-card.d.ts +38 -0
  52. package/dist/vendor/cli/ui/error-card.js +103 -0
  53. package/dist/vendor/cli/ui/mission-brief.d.ts +41 -0
  54. package/dist/vendor/cli/ui/mission-brief.js +173 -0
  55. package/dist/vendor/cli/ui/summary-card.d.ts +34 -0
  56. package/dist/vendor/cli/ui/summary-card.js +102 -0
  57. package/dist/vendor/contracts/audit.d.ts +46 -0
  58. package/dist/vendor/contracts/audit.js +360 -0
  59. package/dist/vendor/contracts/post-phase15.d.ts +240 -0
  60. package/dist/vendor/contracts/post-phase15.js +166 -0
  61. package/dist/vendor/core/agent/mandates.d.ts +46 -0
  62. package/dist/vendor/core/agent/mandates.js +178 -0
  63. package/dist/vendor/core/agent/receipts.d.ts +38 -0
  64. package/dist/vendor/core/agent/receipts.js +131 -0
  65. package/dist/vendor/core/agent/signing.d.ts +17 -0
  66. package/dist/vendor/core/agent/signing.js +91 -0
  67. package/dist/vendor/core/attestation/sign.d.ts +25 -0
  68. package/dist/vendor/core/attestation/sign.js +216 -0
  69. package/dist/vendor/core/autonomy/autonomous-promotion.d.ts +120 -0
  70. package/dist/vendor/core/autonomy/autonomous-promotion.js +346 -0
  71. package/dist/vendor/core/autonomy/envelope-v2.d.ts +29 -0
  72. package/dist/vendor/core/autonomy/envelope-v2.js +60 -0
  73. package/dist/vendor/core/autonomy/envelope.d.ts +17 -0
  74. package/dist/vendor/core/autonomy/envelope.js +27 -0
  75. package/dist/vendor/core/autonomy/escalation-ledger.d.ts +20 -0
  76. package/dist/vendor/core/autonomy/escalation-ledger.js +18 -0
  77. package/dist/vendor/core/autonomy/resume.d.ts +15 -0
  78. package/dist/vendor/core/autonomy/resume.js +23 -0
  79. package/dist/vendor/core/circuit/circuit-breaker.d.ts +60 -0
  80. package/dist/vendor/core/circuit/circuit-breaker.js +143 -0
  81. package/dist/vendor/core/context-distillation.d.ts +3 -0
  82. package/dist/vendor/core/context-distillation.js +44 -0
  83. package/dist/vendor/core/context-flow/compile-context.d.ts +8 -0
  84. package/dist/vendor/core/context-flow/compile-context.js +111 -0
  85. package/dist/vendor/core/context-flow/entities.d.ts +2 -0
  86. package/dist/vendor/core/context-flow/entities.js +44 -0
  87. package/dist/vendor/core/context-flow/evaluate-policy.d.ts +2 -0
  88. package/dist/vendor/core/context-flow/evaluate-policy.js +42 -0
  89. package/dist/vendor/core/context-flow/index.d.ts +11 -0
  90. package/dist/vendor/core/context-flow/index.js +24 -0
  91. package/dist/vendor/core/context-flow/labels.d.ts +3 -0
  92. package/dist/vendor/core/context-flow/labels.js +17 -0
  93. package/dist/vendor/core/context-flow/normalizer.d.ts +9 -0
  94. package/dist/vendor/core/context-flow/normalizer.js +69 -0
  95. package/dist/vendor/core/context-flow/profiles.d.ts +33 -0
  96. package/dist/vendor/core/context-flow/profiles.js +36 -0
  97. package/dist/vendor/core/context-flow/redaction.d.ts +1 -0
  98. package/dist/vendor/core/context-flow/redaction.js +6 -0
  99. package/dist/vendor/core/context-flow/sensitivity.d.ts +2 -0
  100. package/dist/vendor/core/context-flow/sensitivity.js +27 -0
  101. package/dist/vendor/core/context-flow/sync-preview.d.ts +2 -0
  102. package/dist/vendor/core/context-flow/sync-preview.js +22 -0
  103. package/dist/vendor/core/context-flow/token-estimator.d.ts +3 -0
  104. package/dist/vendor/core/context-flow/token-estimator.js +13 -0
  105. package/dist/vendor/core/context-flow/types.d.ts +91 -0
  106. package/dist/vendor/core/context-flow/types.js +2 -0
  107. package/dist/vendor/core/context-utility.d.ts +47 -0
  108. package/dist/vendor/core/context-utility.js +405 -0
  109. package/dist/vendor/core/cost/pipeline.d.ts +92 -0
  110. package/dist/vendor/core/cost/pipeline.js +141 -0
  111. package/dist/vendor/core/cost/tagged-cost.d.ts +27 -0
  112. package/dist/vendor/core/cost/tagged-cost.js +55 -0
  113. package/dist/vendor/core/cost-governor.d.ts +2 -0
  114. package/dist/vendor/core/cost-governor.js +50 -0
  115. package/dist/vendor/core/cve/cve-check.d.ts +80 -0
  116. package/dist/vendor/core/cve/cve-check.js +172 -0
  117. package/dist/vendor/core/digital-twin/index.d.ts +27 -0
  118. package/dist/vendor/core/digital-twin/index.js +90 -0
  119. package/dist/vendor/core/drift/drift-graph.d.ts +47 -0
  120. package/dist/vendor/core/drift/drift-graph.js +100 -0
  121. package/dist/vendor/core/drift/objective-lock.d.ts +69 -0
  122. package/dist/vendor/core/drift/objective-lock.js +88 -0
  123. package/dist/vendor/core/drift/scope.d.ts +46 -0
  124. package/dist/vendor/core/drift/scope.js +102 -0
  125. package/dist/vendor/core/drift/signature-lock.d.ts +48 -0
  126. package/dist/vendor/core/drift/signature-lock.js +202 -0
  127. package/dist/vendor/core/drift/stale-proof-gate.d.ts +21 -0
  128. package/dist/vendor/core/drift/stale-proof-gate.js +19 -0
  129. package/dist/vendor/core/eval/known-bad-world-runner.d.ts +24 -0
  130. package/dist/vendor/core/eval/known-bad-world-runner.js +256 -0
  131. package/dist/vendor/core/evidence/claim-audit.d.ts +18 -0
  132. package/dist/vendor/core/evidence/claim-audit.js +89 -0
  133. package/dist/vendor/core/exit-intelligence.d.ts +2 -0
  134. package/dist/vendor/core/exit-intelligence.js +58 -0
  135. package/dist/vendor/core/explain/formatter.d.ts +42 -0
  136. package/dist/vendor/core/explain/formatter.js +171 -0
  137. package/dist/vendor/core/explain/timeline.d.ts +29 -0
  138. package/dist/vendor/core/explain/timeline.js +213 -0
  139. package/dist/vendor/core/failure-taxonomy.d.ts +2 -0
  140. package/dist/vendor/core/failure-taxonomy.js +76 -0
  141. package/dist/vendor/core/gateway/index.d.ts +10 -0
  142. package/dist/vendor/core/gateway/index.js +12 -0
  143. package/dist/vendor/core/gateway/registry.d.ts +40 -0
  144. package/dist/vendor/core/gateway/registry.js +97 -0
  145. package/dist/vendor/core/gateway/transport.d.ts +31 -0
  146. package/dist/vendor/core/gateway/transport.js +82 -0
  147. package/dist/vendor/core/gateway/vault.d.ts +19 -0
  148. package/dist/vendor/core/gateway/vault.js +29 -0
  149. package/dist/vendor/core/graph/adapters.d.ts +43 -0
  150. package/dist/vendor/core/graph/adapters.js +91 -0
  151. package/dist/vendor/core/graph/hotspots.d.ts +22 -0
  152. package/dist/vendor/core/graph/hotspots.js +30 -0
  153. package/dist/vendor/core/graph/index.d.ts +1 -0
  154. package/dist/vendor/core/graph/index.js +2 -0
  155. package/dist/vendor/core/honey/honey-tokens.d.ts +32 -0
  156. package/dist/vendor/core/honey/honey-tokens.js +44 -0
  157. package/dist/vendor/core/index.d.ts +2 -2
  158. package/dist/vendor/core/index.js +38 -12
  159. package/dist/vendor/core/learning/bayesian-update.d.ts +31 -0
  160. package/dist/vendor/core/learning/bayesian-update.js +60 -0
  161. package/dist/vendor/core/learning/prior-sets.d.ts +42 -0
  162. package/dist/vendor/core/learning/prior-sets.js +111 -0
  163. package/dist/vendor/core/learning/promotion-gate.d.ts +17 -0
  164. package/dist/vendor/core/learning/promotion-gate.js +23 -0
  165. package/dist/vendor/core/leash/blast-radius.d.ts +42 -0
  166. package/dist/vendor/core/leash/blast-radius.js +156 -0
  167. package/dist/vendor/core/leash/policy-leash.d.ts +31 -0
  168. package/dist/vendor/core/leash/policy-leash.js +117 -0
  169. package/dist/vendor/core/memo/memo.d.ts +63 -0
  170. package/dist/vendor/core/memo/memo.js +97 -0
  171. package/dist/vendor/core/memory/learning-pipeline.d.ts +154 -0
  172. package/dist/vendor/core/memory/learning-pipeline.js +391 -0
  173. package/dist/vendor/core/memory/palace.d.ts +84 -0
  174. package/dist/vendor/core/memory/palace.js +379 -0
  175. package/dist/vendor/core/merge/ast-merge.d.ts +22 -0
  176. package/dist/vendor/core/merge/ast-merge.js +350 -0
  177. package/dist/vendor/core/merge/text-merge.d.ts +12 -0
  178. package/dist/vendor/core/merge/text-merge.js +182 -0
  179. package/dist/vendor/core/otel/tracer.d.ts +45 -0
  180. package/dist/vendor/core/otel/tracer.js +116 -0
  181. package/dist/vendor/core/parallel/parallel-attempts.d.ts +28 -0
  182. package/dist/vendor/core/parallel/parallel-attempts.js +41 -0
  183. package/dist/vendor/core/parallel/scorer.d.ts +24 -0
  184. package/dist/vendor/core/parallel/scorer.js +65 -0
  185. package/dist/vendor/core/pattern-detection.d.ts +64 -0
  186. package/dist/vendor/core/pattern-detection.js +108 -0
  187. package/dist/vendor/core/persistence/checkpoint.d.ts +44 -0
  188. package/dist/vendor/core/persistence/checkpoint.js +156 -0
  189. package/dist/vendor/core/persistence/cleanup.d.ts +22 -0
  190. package/dist/vendor/core/persistence/cleanup.js +131 -0
  191. package/dist/vendor/core/persistence/index.d.ts +2 -0
  192. package/dist/vendor/core/persistence/index.js +1 -0
  193. package/dist/vendor/core/persistence/runs-reader.d.ts +52 -0
  194. package/dist/vendor/core/persistence/runs-reader.js +84 -0
  195. package/dist/vendor/core/persistence/store.d.ts +6 -1
  196. package/dist/vendor/core/persistence/store.js +5 -0
  197. package/dist/vendor/core/policy/file-touch-quota.d.ts +60 -0
  198. package/dist/vendor/core/policy/file-touch-quota.js +105 -0
  199. package/dist/vendor/core/policy/policy-loader.d.ts +30 -0
  200. package/dist/vendor/core/policy/policy-loader.js +170 -0
  201. package/dist/vendor/core/policy/policy-schema.d.ts +55 -0
  202. package/dist/vendor/core/policy/policy-schema.js +78 -0
  203. package/dist/vendor/core/probe/probe.d.ts +49 -0
  204. package/dist/vendor/core/probe/probe.js +115 -0
  205. package/dist/vendor/core/proof/patch-proof.d.ts +58 -0
  206. package/dist/vendor/core/proof/patch-proof.js +84 -0
  207. package/dist/vendor/core/proof/semantic-probe.d.ts +25 -0
  208. package/dist/vendor/core/proof/semantic-probe.js +82 -0
  209. package/dist/vendor/core/recovery/failure-mode-runner.d.ts +29 -0
  210. package/dist/vendor/core/recovery/failure-mode-runner.js +39 -0
  211. package/dist/vendor/core/red-blue/red-phase.d.ts +64 -0
  212. package/dist/vendor/core/red-blue/red-phase.js +141 -0
  213. package/dist/vendor/core/red-blue/risk-tiers.d.ts +22 -0
  214. package/dist/vendor/core/red-blue/risk-tiers.js +33 -0
  215. package/dist/vendor/core/replay/replay.d.ts +85 -0
  216. package/dist/vendor/core/replay/replay.js +109 -0
  217. package/dist/vendor/core/router/engine.d.ts +54 -0
  218. package/dist/vendor/core/router/engine.js +131 -0
  219. package/dist/vendor/core/router/index.d.ts +1 -0
  220. package/dist/vendor/core/router/index.js +2 -0
  221. package/dist/vendor/core/router/trust-calibration.d.ts +57 -0
  222. package/dist/vendor/core/router/trust-calibration.js +127 -0
  223. package/dist/vendor/core/run-martin.d.ts +2 -0
  224. package/dist/vendor/core/run-martin.js +287 -0
  225. package/dist/vendor/core/security/cve-scanner.d.ts +62 -0
  226. package/dist/vendor/core/security/cve-scanner.js +178 -0
  227. package/dist/vendor/core/sentinel/efficiency-sentinel.d.ts +29 -0
  228. package/dist/vendor/core/sentinel/efficiency-sentinel.js +30 -0
  229. package/dist/vendor/core/sentinel/progress-guard.d.ts +35 -0
  230. package/dist/vendor/core/sentinel/progress-guard.js +46 -0
  231. package/dist/vendor/core/siem/siem-emitter.d.ts +49 -0
  232. package/dist/vendor/core/siem/siem-emitter.js +157 -0
  233. package/dist/vendor/core/strategy/attempt-brief.d.ts +22 -0
  234. package/dist/vendor/core/strategy/attempt-brief.js +89 -0
  235. package/dist/vendor/core/summarize/diff-summary.d.ts +35 -0
  236. package/dist/vendor/core/summarize/diff-summary.js +204 -0
  237. package/dist/vendor/core/surface-signals.d.ts +21 -0
  238. package/dist/vendor/core/surface-signals.js +139 -0
  239. package/dist/vendor/core/truth/truth-wall.d.ts +51 -0
  240. package/dist/vendor/core/truth/truth-wall.js +69 -0
  241. package/dist/vendor/core/truth-spine.d.ts +26 -0
  242. package/dist/vendor/core/truth-spine.js +62 -0
  243. package/dist/vendor/core/types.d.ts +115 -0
  244. package/dist/vendor/core/types.js +2 -0
  245. package/dist/vendor/core/verification/tiered-verify.d.ts +17 -0
  246. package/dist/vendor/core/verification/tiered-verify.js +29 -0
  247. package/dist/vendor/core/verifier-pyramid.d.ts +32 -0
  248. package/dist/vendor/core/verifier-pyramid.js +111 -0
  249. package/dist/vendor/core/workflow-artifacts.d.ts +99 -0
  250. package/dist/vendor/core/workflow-artifacts.js +668 -0
  251. package/dist/vendor/core/wrap/supervised-run.d.ts +96 -0
  252. package/dist/vendor/core/wrap/supervised-run.js +178 -0
  253. package/docs/assets/cli-animated.svg +139 -0
  254. package/docs/assets/cli-static.svg +34 -0
  255. package/docs/assets/github-hero-v2.svg +23 -0
  256. package/docs/assets/martin-raplph.png.jpg +0 -0
  257. package/docs/assets/martinloop-logo.png +0 -0
  258. package/docs/assets/nvidia-inception-program-light.png +0 -0
  259. package/docs/assets/nvidia-inception-program.png +0 -0
  260. package/docs/assets/phase3c-sidesidebyside-demo.html +228 -0
  261. package/docs/assets/side-by-side.svg +134 -0
  262. package/docs/oss/CLAUDE-CODE-WALKTHROUGH.md +142 -142
  263. package/docs/oss/EXAMPLES.md +134 -134
  264. package/docs/oss/OSS-BOUNDARY-REPORT.json +1 -1
  265. package/docs/oss/OSS-BOUNDARY-REPORT.md +1 -1
  266. package/docs/oss/QUICKSTART.md +170 -165
  267. package/docs/oss/RALPH-LOOP-SAFETY.md +113 -113
  268. package/docs/oss/README.md +96 -96
  269. package/docs/oss/RELEASE-SURFACE-REPORT.json +2 -1
  270. package/docs/oss/RELEASE-SURFACE-REPORT.md +2 -1
  271. package/package.json +130 -58
  272. package/docs/distribution/DIRECTORY-SUBMISSIONS.md +0 -89
  273. package/docs/distribution/INTEGRATION-OUTREACH.md +0 -61
  274. package/docs/distribution/UNDER-3-CHALLENGE.md +0 -65
package/package.json CHANGED
@@ -1,62 +1,134 @@
1
- {
2
- "name": "martin-loop",
3
- "private": false,
4
- "version": "0.1.5",
5
- "type": "module",
6
- "description": "Martin Loop dual-track monorepo for the OSS runtime and hosted SaaS control plane.",
7
- "license": "MIT",
8
- "repository": {
9
- "type": "git",
10
- "url": "git+https://github.com/Keesan12/martin-loop.git"
11
- },
12
- "packageManager": "pnpm@10.17.1",
13
- "main": "./dist/index.js",
14
- "types": "./dist/index.d.ts",
15
- "bin": {
16
- "martin-loop": "./dist/bin/martin-loop.js",
17
- "martin": "./dist/bin/martin-loop.js"
18
- },
19
- "exports": {
20
- ".": {
21
- "types": "./dist/index.d.ts",
22
- "default": "./dist/index.js"
23
- },
24
- "./package.json": "./package.json"
25
- },
1
+ {
2
+ "name": "martin-loop",
3
+ "private": false,
4
+ "version": "1.3.0",
5
+ "type": "module",
6
+ "description": "Martin Loop dual-track monorepo for the OSS runtime and hosted SaaS control plane.",
7
+ "packageManager": "pnpm@10.33.0",
8
+ "keywords": [
9
+ "ai",
10
+ "agent",
11
+ "coding-loop",
12
+ "llm",
13
+ "automation",
14
+ "cli"
15
+ ],
16
+ "author": "Vakeesan Mahalingam and Gobi Shanthan",
17
+ "license": "MIT",
18
+ "homepage": "https://martinloop.com/",
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "https://github.com/Keesan12/MartinLoop.git"
22
+ },
23
+ "main": "./dist/index.js",
24
+ "types": "./dist/index.d.ts",
25
+ "bin": {
26
+ "martin-loop": "./dist/bin/martin-loop.js"
27
+ },
28
+ "exports": {
29
+ ".": {
30
+ "types": "./dist/index.d.ts",
31
+ "default": "./dist/index.js"
32
+ },
33
+ "./package.json": "./package.json"
34
+ },
26
35
  "files": [
27
36
  "dist",
28
- "demo",
29
37
  "README.md",
30
- "docs/oss",
31
- "docs/distribution"
38
+ "CODE_OF_CONDUCT.md",
39
+ "demo",
40
+ "docs/assets",
41
+ "docs/oss"
32
42
  ],
33
- "publishConfig": {
34
- "access": "public"
35
- },
36
- "scripts": {
37
- "build": "pnpm -r build && node ./scripts/build-public-facade.mjs",
38
- "prepublishOnly": "pnpm build",
39
- "test": "pnpm -r test",
40
- "lint": "pnpm -r lint",
41
- "oss:validate": "node ./scripts/oss-boundary.mjs",
42
- "release:surface:validate": "node ./scripts/release-surface-audit.mjs",
43
- "pilot:prep:validate": "node ./scripts/pilot-prep-audit.mjs",
44
- "public:smoke": "node ./scripts/public-facade-smoke.mjs",
45
- "repo:smoke": "node ./scripts/repo-backed-smoke.mjs",
46
- "rc:validate": "node ./scripts/rc-validation.mjs",
47
- "rc:validate:install": "node ./scripts/rc-validation.mjs --install",
48
- "release:matrix:local": "node ./scripts/release-matrix.mjs",
49
- "dev:control-plane": "pnpm --filter @martin/control-plane dev",
50
- "run:cli": "pnpm --filter @martin/cli dev",
51
- "eval": "pnpm --filter @martin/benchmarks eval",
52
- "dev:dashboard": "node apps/local-dashboard/server.js"
53
- },
54
- "devDependencies": {
55
- "@types/node": "^22.13.10",
56
- "@types/react": "^19.0.12",
57
- "@types/react-dom": "^19.0.5",
58
- "tsx": "^4.19.3",
59
- "typescript": "^5.8.2",
60
- "vitest": "^3.0.8"
61
- }
62
- }
43
+ "publishConfig": {
44
+ "access": "public"
45
+ },
46
+ "bundleDependencies": [
47
+ "@martin/adapters",
48
+ "@martin/audit-exporter",
49
+ "@martin/cli",
50
+ "@martin/contracts",
51
+ "@martin/core",
52
+ "@martin/headlessos-core",
53
+ "@martin/policy",
54
+ "@martin/sdk",
55
+ "@martin/trace-intelligence"
56
+ ],
57
+ "scripts": {
58
+ "build": "pnpm -r build && node ./scripts/build-public-facade.mjs",
59
+ "test": "pnpm -r --filter=!@martin/audit-proof-tests test",
60
+ "test:audit-proof": "pnpm --filter @martin/audit-proof-tests test",
61
+ "lint": "pnpm -r lint",
62
+ "oss:validate": "node ./scripts/oss-boundary.mjs",
63
+ "agents:validate": "node ./scripts/validate-agent-discovery.mjs",
64
+ "agents:selftest": "node ./scripts/agent-readiness-selftest.mjs",
65
+ "db:verify-schema": "node ./scripts/db-verify-schema.mjs",
66
+ "release:surface:validate": "node ./scripts/release-surface-audit.mjs",
67
+ "pilot:prep:validate": "node ./scripts/pilot-prep-audit.mjs",
68
+ "pilot:intake:validate": "node ./scripts/pilot-intake-validate.mjs",
69
+ "pilot:live:preflight": "node ./scripts/pilot-live-preflight.mjs",
70
+ "pilot:review:validate": "node ./scripts/pilot-review-pack.mjs --self-check",
71
+ "pilot:gate:review": "node ./scripts/pilot-gate-review.mjs",
72
+ "public:smoke": "node ./scripts/public-facade-smoke.mjs",
73
+ "mcp:published:smoke": "pnpm --filter @martinloop/mcp smoke:published",
74
+ "examples:validate": "node ./scripts/examples-validate.mjs",
75
+ "repo:smoke": "node ./scripts/repo-backed-smoke.mjs",
76
+ "rc:validate": "node ./scripts/rc-validation.mjs",
77
+ "rc:validate:install": "node ./scripts/rc-validation.mjs --install",
78
+ "release:truth:validate": "node ./scripts/release-truth-audit.mjs",
79
+ "release:package:validate": "node ./scripts/release-package-validate.mjs",
80
+ "release:launch:validate": "node ./scripts/release-launch-readiness.mjs",
81
+ "release:gate:review": "node ./scripts/release-gate-review.mjs",
82
+ "release:scorecard": "node ./scripts/release-scorecard.mjs",
83
+ "release:audit:gaps": "node ./scripts/release-audit-gap-manifest.mjs",
84
+ "release:audit:handoff": "node ./scripts/package-external-audit-handoff.mjs",
85
+ "claims:lint": "node ./scripts/claim-lint.mjs",
86
+ "claims:compile": "node ./scripts/claim-compile.mjs",
87
+ "claims:trace-autonomy:gate": "node --import tsx/esm ./scripts/trace-autonomy-certification.ts --require-claim-allowed",
88
+ "claims:trace-autonomy:audit-request": "node --import tsx/esm ./scripts/trace-autonomy-certification.ts --write-audit-signoff-request .martin/runs/trace-autonomy-certification/audit-signoff-request.json",
89
+ "claims:trace-autonomy:run": "node --import tsx/esm ./scripts/trace-autonomy-certification-runner.ts",
90
+ "research:corpus:build": "node --import tsx/esm ./scripts/research-corpus/build.ts",
91
+ "research:corpus:report": "node --import tsx/esm ./scripts/research-corpus/report.ts",
92
+ "release:truth:compile": "node ./scripts/release-truth-compiler.mjs",
93
+ "release:matrix:local": "node ./scripts/release-matrix.mjs",
94
+ "dev:control-plane": "pnpm --filter @martin/control-plane dev",
95
+ "run:cli": "pnpm --filter @martin/cli dev",
96
+ "eval": "pnpm --filter @martin/benchmarks eval",
97
+ "eval:ralphy-stress": "pnpm --filter @martin/benchmarks eval:ralphy-stress",
98
+ "eval:known-bad-world": "node --import tsx/esm scripts/eval-known-bad-world.ts",
99
+ "dev:dashboard": "node apps/local-dashboard/server.js",
100
+ "post-phase15:handoff": "node ./scripts/package-post-phase15-handoff.mjs",
101
+ "eval:gate-check": "pnpm --filter @martin/sdk build && node --import tsx/esm scripts/eval-gate-check.ts",
102
+ "eval:case-studies": "node --import tsx/esm scripts/eval-case-studies.ts",
103
+ "eval:phase23": "pnpm --filter @martin/benchmarks phase23",
104
+ "security:deepsec:trial": "node --import tsx/esm ./scripts/security/deepsec-bounded-audit.ts",
105
+ "headless:worker:run": "node --import tsx/esm scripts/run-headless-worker.ts",
106
+ "headless:postgres:proof": "node --import tsx/esm scripts/headlessos-postgres-proof.ts",
107
+ "headless:live:proof": "node ./scripts/headlessos-live-proof.mjs",
108
+ "headless:handoff:package": "node ./scripts/package-headlessos-handoff.mjs"
109
+ },
110
+ "devDependencies": {
111
+ "@types/node": "^22.13.10",
112
+ "@types/pg": "^8.20.0",
113
+ "@types/react": "^19.0.12",
114
+ "@types/react-dom": "^19.0.5",
115
+ "pg": "^8.20.0",
116
+ "tsx": "^4.19.3",
117
+ "typescript": "^5.8.2",
118
+ "vitest": "^3.0.8"
119
+ },
120
+ "dependencies": {
121
+ "@open-policy-agent/opa-wasm": "^1.10.0",
122
+ "@opentelemetry/api-logs": "^0.214.0",
123
+ "@opentelemetry/exporter-logs-otlp-http": "^0.214.0",
124
+ "@opentelemetry/resources": "^2.6.1",
125
+ "@opentelemetry/sdk-logs": "^0.214.0",
126
+ "@opentelemetry/semantic-conventions": "^1.38.0",
127
+ "ts-morph": "^21.0.0"
128
+ },
129
+ "workspaces": [
130
+ "packages/*",
131
+ "apps/*",
132
+ "benchmarks"
133
+ ]
134
+ }
@@ -1,89 +0,0 @@
1
- # Directory Submission Pack
2
-
3
- Use this file as the single source of truth for public directory submissions.
4
-
5
- ## Short tagline
6
-
7
- Open-source control plane for AI coding agents.
8
-
9
- ## Long description
10
-
11
- MartinLoop is an open-source governed runtime for AI coding agents. It wraps autonomous coding loops with budget caps, verifier gates, rollback evidence, JSONL run records, failure classification, and MCP/Claude/Codex integration so agent work can be inspected, halted, and trusted.
12
-
13
- ## Primary links
14
-
15
- - GitHub repo: [github.com/Keesan12/martin-loop](https://github.com/Keesan12/martin-loop)
16
- - Website: [martinloop.com](https://martinloop.com)
17
- - npm package: [npmjs.com/package/martin-loop](https://www.npmjs.com/package/martin-loop)
18
- - Benchmark challenge: [UNDER-3-CHALLENGE.md](./UNDER-3-CHALLENGE.md)
19
-
20
- ## Submission checklist
21
-
22
- ### OpenAlternative
23
-
24
- - status: pending
25
- - surface: OSS alternative listing
26
- - copy to use: short tagline + long description
27
- - include: GitHub, website, npm
28
-
29
- ### DevHunt
30
-
31
- - status: pending
32
- - surface: product hunt style dev tools directory
33
- - copy to use: short tagline + long description
34
- - include: benchmark challenge and demo command
35
-
36
- ### Uneed
37
-
38
- - status: pending
39
- - surface: startup/tool discovery
40
- - copy to use: short tagline + long description
41
- - include: GitHub, website, npm
42
-
43
- ### BetaList
44
-
45
- - status: pending
46
- - surface: early product discovery
47
- - copy to use: short tagline + long description
48
- - include: why governed agent runs matter
49
-
50
- ### Microlaunch
51
-
52
- - status: pending
53
- - surface: lightweight launch directory
54
- - copy to use: short tagline + long description
55
- - include: demo command and benchmark challenge
56
-
57
- ### AlternativeTo
58
-
59
- - status: pending
60
- - surface: alternative comparison listing
61
- - copy to use: short tagline + long description
62
- - include: comparable tools and differentiators
63
-
64
- ### Futurepedia
65
-
66
- - status: pending
67
- - surface: AI tools directory
68
- - copy to use: short tagline + long description
69
- - include: Claude, Codex, and MCP integration
70
-
71
- ### Toolify
72
-
73
- - status: pending
74
- - surface: AI tool directory
75
- - copy to use: short tagline + long description
76
- - include: benchmark challenge link
77
-
78
- ### There’s An AI For That
79
-
80
- - status: pending
81
- - surface: AI tool catalog
82
- - copy to use: short tagline + long description
83
- - include: GitHub, website, npm
84
-
85
- ## Notes
86
-
87
- - Prefer submissions that link directly to the repo, website, and npm package together.
88
- - Reuse the benchmark challenge and `martin-loop demo` as the fastest trust-building assets.
89
- - If a directory wants screenshots, use the current public repo README visuals instead of inventing a separate pitch deck.
@@ -1,61 +0,0 @@
1
- # Integration Outreach Pack
2
-
3
- Use this file for direct outreach to projects and communities building around AI coding agents.
4
-
5
- ## Core message
6
-
7
- Hey [Name] — I’m building MartinLoop, an OSS governed runtime for AI coding agents.
8
-
9
- The repo already supports budget caps, verifier gates, JSONL run records, rollback evidence, Claude/Codex adapters, and an MCP package.
10
-
11
- I’m trying to understand where a control layer like this should integrate best with projects like [their project]: CLI wrapper, MCP boundary, CI, or runtime adapter.
12
-
13
- Would value your blunt take — useful direction or wrong abstraction?
14
-
15
- ## Target projects
16
-
17
- - Claude Code
18
- - Codex CLI
19
- - MCP servers
20
- - Aider
21
- - Cline
22
- - Continue
23
- - OpenHands
24
- - SWE-agent
25
- - Goose
26
- - DevContainers
27
- - GitHub Actions
28
-
29
- ## Outreach notes by target
30
-
31
- ### Claude Code
32
-
33
- - emphasize governed repo runs and MCP install path
34
- - ask whether the best control point is local CLI wrapper or MCP boundary
35
-
36
- ### Codex CLI
37
-
38
- - emphasize budget caps, verifier gates, and auditable run records
39
- - ask whether wrapper, runtime adapter, or CI integration is most useful
40
-
41
- ### MCP projects
42
-
43
- - emphasize the packaged `@martinloop/mcp` server surface
44
- - ask whether the trust layer belongs at tool boundary or runtime boundary
45
-
46
- ### Aider, Cline, Continue, OpenHands, SWE-agent, Goose
47
-
48
- - emphasize adapter-normalized receipts and halt reasons
49
- - ask how much control should live in the agent runtime versus CI or wrapper
50
-
51
- ### DevContainers and GitHub Actions
52
-
53
- - emphasize safe default automation, budget visibility, and verifier gates in shared team workflows
54
- - ask where platform teams want policy to live
55
-
56
- ## Supporting assets
57
-
58
- - challenge page: [UNDER-3-CHALLENGE.md](./UNDER-3-CHALLENGE.md)
59
- - directory copy: [DIRECTORY-SUBMISSIONS.md](./DIRECTORY-SUBMISSIONS.md)
60
- - repo: [github.com/Keesan12/martin-loop](https://github.com/Keesan12/martin-loop)
61
- - npm: [npmjs.com/package/martin-loop](https://www.npmjs.com/package/martin-loop)
@@ -1,65 +0,0 @@
1
- # Can your AI coding agent finish this task under $3?
2
-
3
- MartinLoop is testing a simple question:
4
-
5
- Can an AI coding agent complete a task under a fixed budget, with verifier-passed completion and an inspectable run record?
6
-
7
- ## Current repo-backed comparison
8
-
9
- Same task, same starting state:
10
-
11
- - governed MartinLoop run: `$2.30`
12
- - uncontrolled retry loop: `$5.20`
13
- - governed outcome: `completed` and verifier-passed with an inspectable record
14
- - uncontrolled outcome: failed after repeated retries with no comparable audit trail
15
-
16
- These numbers match the current public benchmark story shown in the repo README and visualized in [`docs/assets/side-by-side.svg`](../assets/side-by-side.svg).
17
-
18
- ## Why this matters
19
-
20
- The claim is not that every governed run is always cheaper. The claim is that the run becomes inspectable and enforceable:
21
-
22
- - budget policy is explicit
23
- - verifier success is explicit
24
- - stop reasons are explicit
25
- - artifacts are inspectable after the run
26
-
27
- That makes a coding-agent result easier to trust, replay, compare, and audit.
28
-
29
- ## Reproduce it
30
-
31
- From the repo root:
32
-
33
- ```bash
34
- pnpm --filter @martin/benchmarks test
35
- pnpm --filter @martin/benchmarks eval
36
- pnpm --filter @martin/benchmarks eval:phase12
37
- ```
38
-
39
- ## What to share back
40
-
41
- If you run a similar challenge with Claude Code, Codex CLI, Cursor, Aider, Cline, Continue, OpenHands, SWE-agent, Goose, or an internal coding agent, share:
42
-
43
- - total budget used
44
- - number of attempts
45
- - verifier result
46
- - whether the final run was auditable
47
- - whether rollback evidence was available
48
-
49
- ## Try MartinLoop without risking your repo
50
-
51
- You can copy the public demo sandbox first:
52
-
53
- ```bash
54
- npx martin-loop demo
55
- ```
56
-
57
- Then run the sandbox locally with the printed next steps.
58
-
59
- ## Claim boundary
60
-
61
- This page intentionally stays inside the current public evidence boundary:
62
-
63
- - the `$2.30` and `$5.20` figures are the current repo-backed benchmark story used in the public README
64
- - the reproduction commands above are real commands from this repository
65
- - the benchmark harness remains a workspace-level surface, so challenge claims should stay tied to repo-backed outputs rather than generic marketing numbers