@martinloop/mcp 0.3.8 → 0.5.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.
- package/README.md +90 -106
- package/dist/discovery-metadata.d.ts +1 -1
- package/dist/discovery-metadata.js +1 -1
- package/dist/resources.d.ts +1 -2
- package/dist/resources.js +190 -238
- package/dist/server-validation.d.ts +1 -1
- package/dist/server-validation.js +16 -11
- package/dist/server.d.ts +23 -0
- package/dist/server.js +152 -7
- package/dist/tools/run-dossier.d.ts +3 -1
- package/dist/tools/run-dossier.js +40 -2
- package/dist/tools/run-loop.d.ts +1 -4
- package/dist/tools/run-loop.js +6 -15
- package/dist/tools/tool-support.d.ts +2 -1
- package/dist/tools/tool-support.js +1 -12
- package/dist/vendor/adapters/claude-cli.js +38 -35
- package/dist/vendor/adapters/cli-bridge.d.ts +9 -1
- package/dist/vendor/adapters/cli-bridge.js +54 -13
- package/dist/vendor/adapters/codex-launcher.d.ts +61 -1
- package/dist/vendor/adapters/codex-launcher.js +118 -19
- package/dist/vendor/adapters/index.d.ts +1 -3
- package/dist/vendor/adapters/index.js +1 -3
- package/dist/vendor/adapters/openai-compatible.js +57 -18
- package/dist/vendor/contracts/adapter-capabilities.d.ts +1 -1
- package/dist/vendor/contracts/context-handoff.d.ts +100 -0
- package/dist/vendor/contracts/context-handoff.js +11 -0
- package/dist/vendor/contracts/context-manifest.d.ts +195 -0
- package/dist/vendor/contracts/context-manifest.js +17 -0
- package/dist/vendor/contracts/context-shadow.d.ts +75 -0
- package/dist/vendor/contracts/context-shadow.js +8 -0
- package/dist/vendor/contracts/exits.d.ts +126 -0
- package/dist/vendor/contracts/exits.js +32 -0
- package/dist/vendor/contracts/index.d.ts +39 -2
- package/dist/vendor/contracts/index.js +22 -0
- package/dist/vendor/contracts/mission.d.ts +102 -0
- package/dist/vendor/contracts/mission.js +64 -0
- package/dist/vendor/contracts/operator.d.ts +3 -1
- package/dist/vendor/contracts/operator.js +2 -1
- package/dist/vendor/contracts/verified-handoff.d.ts +100 -0
- package/dist/vendor/contracts/verified-handoff.js +35 -0
- package/dist/vendor/core/context-chain-gate.d.ts +89 -0
- package/dist/vendor/core/context-chain-gate.js +173 -0
- package/dist/vendor/core/context-compiler.d.ts +53 -0
- package/dist/vendor/core/context-compiler.js +261 -0
- package/dist/vendor/core/context-handoff.d.ts +42 -0
- package/dist/vendor/core/context-handoff.js +167 -0
- package/dist/vendor/core/context-shadow.d.ts +39 -0
- package/dist/vendor/core/context-shadow.js +200 -0
- package/dist/vendor/core/exit-signal.d.ts +88 -0
- package/dist/vendor/core/exit-signal.js +339 -0
- package/dist/vendor/core/exits.d.ts +41 -0
- package/dist/vendor/core/exits.js +258 -0
- package/dist/vendor/core/index.d.ts +42 -1
- package/dist/vendor/core/index.js +1086 -662
- package/dist/vendor/core/mission/aggregate.d.ts +27 -0
- package/dist/vendor/core/mission/aggregate.js +42 -0
- package/dist/vendor/core/mission/index.d.ts +2 -0
- package/dist/vendor/core/mission/index.js +1 -0
- package/dist/vendor/core/persistence/compiler.d.ts +8 -0
- package/dist/vendor/core/persistence/compiler.js +156 -0
- package/dist/vendor/core/persistence/context-handoff-store.d.ts +68 -0
- package/dist/vendor/core/persistence/context-handoff-store.js +112 -0
- package/dist/vendor/core/persistence/index.d.ts +4 -0
- package/dist/vendor/core/persistence/index.js +2 -0
- package/dist/vendor/core/persistence/ledger.d.ts +1 -1
- package/dist/vendor/core/persistence/mission-store.d.ts +56 -0
- package/dist/vendor/core/persistence/mission-store.js +281 -0
- package/dist/vendor/core/policy.d.ts +2 -0
- package/dist/vendor/core/policy.js +5 -2
- package/dist/vendor/core/rollback.js +15 -1
- package/dist/vendor/core/savings.d.ts +13 -0
- package/dist/vendor/core/savings.js +22 -0
- package/dist/vendor/core/termination-store.d.ts +15 -0
- package/dist/vendor/core/termination-store.js +44 -0
- package/dist/vendor/core/verified-handoff.d.ts +67 -0
- package/dist/vendor/core/verified-handoff.js +210 -0
- package/package.json +76 -83
- package/server.json +21 -21
- package/LICENSE +0 -216
- package/dist/vendor/adapters/adapters/src/claude-cli.d.ts +0 -146
- package/dist/vendor/adapters/adapters/src/claude-cli.js +0 -1100
- package/dist/vendor/adapters/adapters/src/cli-bridge.d.ts +0 -103
- package/dist/vendor/adapters/adapters/src/cli-bridge.js +0 -569
- package/dist/vendor/adapters/adapters/src/codex-launcher.d.ts +0 -78
- package/dist/vendor/adapters/adapters/src/codex-launcher.js +0 -663
- package/dist/vendor/adapters/adapters/src/direct-provider.d.ts +0 -10
- package/dist/vendor/adapters/adapters/src/direct-provider.js +0 -40
- package/dist/vendor/adapters/adapters/src/index.d.ts +0 -8
- package/dist/vendor/adapters/adapters/src/index.js +0 -8
- package/dist/vendor/adapters/adapters/src/openai-compatible.d.ts +0 -62
- package/dist/vendor/adapters/adapters/src/openai-compatible.js +0 -306
- package/dist/vendor/adapters/adapters/src/runtime-support.d.ts +0 -17
- package/dist/vendor/adapters/adapters/src/runtime-support.js +0 -59
- package/dist/vendor/adapters/adapters/src/stub-agent-cli.d.ts +0 -8
- package/dist/vendor/adapters/adapters/src/stub-agent-cli.js +0 -40
- package/dist/vendor/adapters/adapters/src/stub-direct-provider.d.ts +0 -8
- package/dist/vendor/adapters/adapters/src/stub-direct-provider.js +0 -12
- package/dist/vendor/adapters/adapters/src/verifier-only.d.ts +0 -9
- package/dist/vendor/adapters/adapters/src/verifier-only.js +0 -63
- package/dist/vendor/adapters/contracts/src/context-graph.d.ts +0 -48
- package/dist/vendor/adapters/contracts/src/context-graph.js +0 -26
- package/dist/vendor/adapters/contracts/src/execution-policy.d.ts +0 -78
- package/dist/vendor/adapters/contracts/src/execution-policy.js +0 -43
- package/dist/vendor/adapters/contracts/src/governance.d.ts +0 -24
- package/dist/vendor/adapters/contracts/src/governance.js +0 -11
- package/dist/vendor/adapters/contracts/src/identity.d.ts +0 -29
- package/dist/vendor/adapters/contracts/src/identity.js +0 -30
- package/dist/vendor/adapters/contracts/src/index.d.ts +0 -412
- package/dist/vendor/adapters/contracts/src/index.js +0 -225
- package/dist/vendor/adapters/contracts/src/operator.d.ts +0 -19
- package/dist/vendor/adapters/contracts/src/operator.js +0 -11
- package/dist/vendor/adapters/contracts/src/trajectory.d.ts +0 -26
- package/dist/vendor/adapters/contracts/src/trajectory.js +0 -27
- package/dist/vendor/adapters/core/src/compiler.d.ts +0 -52
- package/dist/vendor/adapters/core/src/compiler.js +0 -52
- package/dist/vendor/adapters/core/src/context-graph.d.ts +0 -3
- package/dist/vendor/adapters/core/src/context-graph.js +0 -371
- package/dist/vendor/adapters/core/src/context-integrity.d.ts +0 -26
- package/dist/vendor/adapters/core/src/context-integrity.js +0 -80
- package/dist/vendor/adapters/core/src/grounding.d.ts +0 -38
- package/dist/vendor/adapters/core/src/grounding.js +0 -273
- package/dist/vendor/adapters/core/src/identity.d.ts +0 -20
- package/dist/vendor/adapters/core/src/identity.js +0 -86
- package/dist/vendor/adapters/core/src/index.d.ts +0 -186
- package/dist/vendor/adapters/core/src/index.js +0 -1495
- package/dist/vendor/adapters/core/src/leash.d.ts +0 -48
- package/dist/vendor/adapters/core/src/leash.js +0 -497
- package/dist/vendor/adapters/core/src/persistence/compiler.d.ts +0 -18
- package/dist/vendor/adapters/core/src/persistence/compiler.js +0 -34
- package/dist/vendor/adapters/core/src/persistence/index.d.ts +0 -10
- package/dist/vendor/adapters/core/src/persistence/index.js +0 -5
- package/dist/vendor/adapters/core/src/persistence/integrity.d.ts +0 -39
- package/dist/vendor/adapters/core/src/persistence/integrity.js +0 -252
- package/dist/vendor/adapters/core/src/persistence/ledger.d.ts +0 -23
- package/dist/vendor/adapters/core/src/persistence/ledger.js +0 -9
- package/dist/vendor/adapters/core/src/persistence/memory-store.d.ts +0 -63
- package/dist/vendor/adapters/core/src/persistence/memory-store.js +0 -115
- package/dist/vendor/adapters/core/src/persistence/runs-reader.d.ts +0 -66
- package/dist/vendor/adapters/core/src/persistence/runs-reader.js +0 -140
- package/dist/vendor/adapters/core/src/persistence/store.d.ts +0 -89
- package/dist/vendor/adapters/core/src/persistence/store.js +0 -125
- package/dist/vendor/adapters/core/src/persistence/trace-store.d.ts +0 -85
- package/dist/vendor/adapters/core/src/persistence/trace-store.js +0 -125
- package/dist/vendor/adapters/core/src/policy-compiler.d.ts +0 -2
- package/dist/vendor/adapters/core/src/policy-compiler.js +0 -195
- package/dist/vendor/adapters/core/src/policy.d.ts +0 -156
- package/dist/vendor/adapters/core/src/policy.js +0 -704
- package/dist/vendor/adapters/core/src/repo-analyzer.d.ts +0 -53
- package/dist/vendor/adapters/core/src/repo-analyzer.js +0 -263
- package/dist/vendor/adapters/core/src/rollback.d.ts +0 -15
- package/dist/vendor/adapters/core/src/rollback.js +0 -253
- package/dist/vendor/adapters/core/src/routing.d.ts +0 -82
- package/dist/vendor/adapters/core/src/routing.js +0 -336
- package/dist/vendor/adapters/core/src/test-integrity.d.ts +0 -64
- package/dist/vendor/adapters/core/src/test-integrity.js +0 -197
- package/dist/vendor/adapters/core/src/trajectory.d.ts +0 -18
- package/dist/vendor/adapters/core/src/trajectory.js +0 -295
- package/dist/vendor/adapters/stub-agent-cli.d.ts +0 -8
- package/dist/vendor/adapters/stub-agent-cli.js +0 -40
- package/dist/vendor/adapters/verifier-only.d.ts +0 -9
- package/dist/vendor/adapters/verifier-only.js +0 -63
package/README.md
CHANGED
|
@@ -1,153 +1,137 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @martinloop/mcp
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
You give an AI agent a coding task. It runs. You get a bill.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
But did it actually work? Did it pass your tests? How much did it spend? What files did it touch? Did it loop 47 times trying the same broken approach?
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
You don't know. And that's the problem.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
## What This Does
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
MartinLoop is a governed loop for AI coding agents. You tell it what to do, set a budget, and point it at your test suite. It runs the agent, checks your tests after every attempt, and stops when either the tests pass or the money runs out.
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
- **Tadas Antanavicius** (PulseMCP) [@tadasant](https://github.com/tadasant)
|
|
15
|
-
- **Radoslav (Rado) Dimitrov** (Stacklok) [@rdimitrov](https://github.com/rdimitrov)
|
|
16
|
-
- **Bob Dickinson** (TeamSpark) [@BobDickinson](https://github.com/BobDickinson)
|
|
17
|
-
- **Preeti (Pree) Dewani** (Ravenmail) [@pree-dew](https://github.com/pree-dew)
|
|
13
|
+
When it's done, you get a receipt — not a vague summary, but a structured record: dollars spent, attempts made, verification results, files changed, and whether you got what you asked for.
|
|
18
14
|
|
|
19
|
-
|
|
15
|
+
**One line to connect it:**
|
|
20
16
|
|
|
21
|
-
|
|
17
|
+
```sh
|
|
18
|
+
claude mcp add martin-loop -- npx -y @martinloop/mcp
|
|
19
|
+
```
|
|
22
20
|
|
|
23
|
-
|
|
21
|
+
That's it. Your agent now runs governed.
|
|
24
22
|
|
|
25
|
-
|
|
26
|
-
- **[Discussions](https://github.com/modelcontextprotocol/registry/discussions)** - Propose and discuss product/technical requirements
|
|
27
|
-
- **[Issues](https://github.com/modelcontextprotocol/registry/issues)** - Track well-scoped technical work
|
|
28
|
-
- **[Pull Requests](https://github.com/modelcontextprotocol/registry/pulls)** - Contribute work towards issues
|
|
23
|
+
## Real Numbers From Real Runs
|
|
29
24
|
|
|
30
|
-
|
|
25
|
+
We tested this against live repos with real API spend:
|
|
31
26
|
|
|
32
|
-
|
|
27
|
+
| What happened | Without MartinLoop | With MartinLoop |
|
|
28
|
+
|---|---|---|
|
|
29
|
+
| Budget: $1.50 task | Agent spent **$28.42** | Agent stopped at **$1.20** |
|
|
30
|
+
| Failing verifier | Retried indefinitely | Stopped after 3 attempts with diagnosis |
|
|
31
|
+
| CLI not on PATH | "not available on PATH" (dead stop) | Auto-discovered in AppData, kept running |
|
|
32
|
+
| `bun run lint && bun run test` | Passed `&&` as a literal arg (always fails) | Routed through shell, worked |
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
- **Go 1.24.x**
|
|
36
|
-
- **ko** - Container image builder for Go ([installation instructions](https://ko.build/install/))
|
|
37
|
-
- **golangci-lint v2.4.0**
|
|
34
|
+
These aren't hypotheticals. The $28 overshoot happened in production testing. We fixed the circuit breaker in `0.3.8`.
|
|
38
35
|
|
|
39
|
-
|
|
36
|
+
## Install
|
|
40
37
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
38
|
+
### Claude Code
|
|
39
|
+
```sh
|
|
40
|
+
claude mcp add martin-loop -- npx -y @martinloop/mcp
|
|
44
41
|
```
|
|
45
42
|
|
|
46
|
-
|
|
43
|
+
Windows:
|
|
44
|
+
```sh
|
|
45
|
+
claude mcp add --transport stdio --scope user martin-loop -- cmd /c npx -y @martinloop/mcp
|
|
46
|
+
```
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
### Codex
|
|
49
|
+
```sh
|
|
50
|
+
codex mcp add martin-loop -- npx -y @martinloop/mcp
|
|
51
|
+
```
|
|
49
52
|
|
|
50
|
-
|
|
53
|
+
### Gemini CLI
|
|
54
|
+
```sh
|
|
55
|
+
gemini mcp add martin-loop -- npx -y @martinloop/mcp
|
|
56
|
+
```
|
|
51
57
|
|
|
52
|
-
|
|
58
|
+
### Any MCP Host
|
|
59
|
+
```sh
|
|
60
|
+
npx -y @martinloop/mcp
|
|
61
|
+
```
|
|
53
62
|
|
|
54
|
-
|
|
55
|
-
<summary>Alternative: Running a pre-built Docker image</summary>
|
|
63
|
+
## How a Governed Run Works
|
|
56
64
|
|
|
57
|
-
|
|
65
|
+
```
|
|
66
|
+
You: "Fix the auth bug. Budget $3. Verify: npm test"
|
|
58
67
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
68
|
+
martin_doctor → checks CLI, auth, environment
|
|
69
|
+
martin_plan → scopes the task, sets constraints
|
|
70
|
+
martin_preflight → validates before any spend
|
|
71
|
+
martin_run → agent works inside budget + verifier gates
|
|
72
|
+
martin_dossier → receipt: $1.40 spent, 2 attempts, tests pass
|
|
73
|
+
```
|
|
62
74
|
|
|
63
|
-
|
|
64
|
-
docker run -p 8080:8080 ghcr.io/modelcontextprotocol/registry:main
|
|
75
|
+
Every attempt runs your verifier. Every dollar is tracked. If the agent drifts off-task, the scope contract catches it. If it blows the budget, the circuit breaker kills the subprocess mid-stream — not after the bill arrives.
|
|
65
76
|
|
|
66
|
-
|
|
67
|
-
docker run -p 8080:8080 ghcr.io/modelcontextprotocol/registry:v1.0.0
|
|
77
|
+
## What Your Agent Gets
|
|
68
78
|
|
|
69
|
-
|
|
70
|
-
docker run -p 8080:8080 ghcr.io/modelcontextprotocol/registry:main-20250906-abc123d
|
|
71
|
-
```
|
|
79
|
+
### 21 Tools
|
|
72
80
|
|
|
73
|
-
**
|
|
74
|
-
|
|
75
|
-
- **Continuous**: `main` (latest main branch build)
|
|
76
|
-
- **Development**: `main-<date>-<sha>` (specific commit builds)
|
|
81
|
+
**Run the loop:**
|
|
82
|
+
`martin_doctor` `martin_plan` `martin_preflight` `martin_run` `martin_pause` `martin_continue` `martin_cancel`
|
|
77
83
|
|
|
78
|
-
|
|
84
|
+
**Inspect results:**
|
|
85
|
+
`martin_status` `martin_logs` `martin_dossier` `martin_eval` `martin_inspect` `martin_list_runs` `martin_get_run` `martin_get_attempt` `martin_get_verification_results` `martin_triage_runs`
|
|
79
86
|
|
|
80
|
-
|
|
87
|
+
**Ship the work:**
|
|
88
|
+
`martin_pr_summary` `martin_create_pr` `martin_review_pr`
|
|
81
89
|
|
|
82
|
-
|
|
90
|
+
### 11 Read-Only Resources
|
|
83
91
|
|
|
84
|
-
|
|
85
|
-
# Build the latest CLI
|
|
86
|
-
make publisher
|
|
92
|
+
Your agent can pull context without side effects:
|
|
87
93
|
|
|
88
|
-
|
|
89
|
-
./bin/mcp-publisher --help
|
|
90
|
-
```
|
|
94
|
+
`martin://runs/latest` · `martin://runs/latest/proof-card` · `martin://runs/latest/budget-status` · `martin://runs/latest/verifier-evidence` · `martin://runs/recent` · `martin://server/health` · `martin://policies/current` · `martin://agent/next-step` · `martin://guides/mcp-usage` · `martin://guides/agent-start` · `martin://repo/risk-map`
|
|
91
95
|
|
|
92
|
-
|
|
96
|
+
### Configuration Profiles
|
|
93
97
|
|
|
94
|
-
|
|
98
|
+
Generate host config tuned to your workflow:
|
|
95
99
|
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
|
|
100
|
+
```sh
|
|
101
|
+
npx martin-loop mcp print-config --host claude --profile minimal # run + inspect
|
|
102
|
+
npx martin-loop mcp print-config --host claude --profile diagnostic # + doctor + triage
|
|
103
|
+
npx martin-loop mcp print-config --host claude --profile full-local # all local tools
|
|
104
|
+
npx martin-loop mcp print-config --host claude --profile github-review # + PR workflow
|
|
99
105
|
```
|
|
100
106
|
|
|
101
|
-
|
|
107
|
+
## What Happens When Things Go Wrong
|
|
102
108
|
|
|
103
|
-
|
|
104
|
-
For Claude and other AI tools: Always prefer make targets over custom commands where possible.
|
|
105
|
-
-->
|
|
109
|
+
MartinLoop doesn't just report failures — it tries to fix them:
|
|
106
110
|
|
|
107
|
-
|
|
111
|
+
| Failure | Old behavior | Now |
|
|
112
|
+
|---|---|---|
|
|
113
|
+
| CLI not on PATH | Error message, dead stop | Searches npm global, homebrew, nvm, scoop — uses what it finds |
|
|
114
|
+
| Verifier says "command not found" | Generic "verification failed" | Tells the next attempt: "bun is missing, install with `npm i -g bun`" |
|
|
115
|
+
| `git restore` fails mid-rollback | Throws, leaves dirty state | Retries once, falls back to `git checkout`, cleans up |
|
|
116
|
+
| Invalid `--profile` flag | Crashes | Warns, falls back to `minimal`, keeps running |
|
|
108
117
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
```
|
|
112
|
-
├── cmd/ # Application entry points
|
|
113
|
-
│ └── publisher/ # Server publishing tool
|
|
114
|
-
├── data/ # Seed data
|
|
115
|
-
├── deploy/ # Deployment configuration (Pulumi)
|
|
116
|
-
├── docs/ # Documentation
|
|
117
|
-
├── internal/ # Private application code
|
|
118
|
-
│ ├── api/ # HTTP handlers and routing
|
|
119
|
-
│ ├── auth/ # Authentication (GitHub OAuth, JWT, namespace blocking)
|
|
120
|
-
│ ├── config/ # Configuration management
|
|
121
|
-
│ ├── database/ # Data persistence (PostgreSQL)
|
|
122
|
-
│ ├── service/ # Business logic
|
|
123
|
-
│ ├── telemetry/ # Metrics and monitoring
|
|
124
|
-
│ └── validators/ # Input validation
|
|
125
|
-
├── pkg/ # Public packages
|
|
126
|
-
│ ├── api/ # API types and structures
|
|
127
|
-
│ │ └── v0/ # Version 0 API types
|
|
128
|
-
│ └── model/ # Data models for server.json
|
|
129
|
-
├── scripts/ # Development and testing scripts
|
|
130
|
-
├── tests/ # Integration tests
|
|
131
|
-
└── tools/ # CLI tools and utilities
|
|
132
|
-
└── validate-*.sh # Schema validation tools
|
|
133
|
-
```
|
|
118
|
+
## Who Uses This
|
|
134
119
|
|
|
135
|
-
|
|
120
|
+
- **Engineers running overnight agent loops** — you need a kill switch that actually works, and a receipt in the morning
|
|
121
|
+
- **Teams with shared API budgets** — you need per-task spend caps, not org-wide prayer
|
|
122
|
+
- **Anyone reviewing agent-generated PRs** — the dossier shows what the agent tried, what passed, and what didn't
|
|
136
123
|
|
|
137
|
-
|
|
138
|
-
- **GitHub OAuth** - For publishing by logging into GitHub
|
|
139
|
-
- **GitHub OIDC** - For publishing from GitHub Actions
|
|
140
|
-
- **DNS verification** - For proving ownership of a domain and its subdomains
|
|
141
|
-
- **HTTP verification** - For proving ownership of a domain
|
|
124
|
+
## Requirements
|
|
142
125
|
|
|
143
|
-
|
|
144
|
-
-
|
|
145
|
-
- `me.adamjones/my-cool-mcp` you must prove ownership of `adamjones.me` via DNS or HTTP challenge
|
|
126
|
+
- Node.js 20+
|
|
127
|
+
- One AI coding CLI: [Claude Code](https://docs.anthropic.com/claude-code), [Codex](https://github.com/openai/codex), or [Gemini CLI](https://github.com/google/gemini-cli)
|
|
146
128
|
|
|
147
|
-
##
|
|
129
|
+
## Links
|
|
148
130
|
|
|
149
|
-
|
|
131
|
+
- [martin-loop](https://www.npmjs.com/package/martin-loop) — the standalone CLI
|
|
132
|
+
- [GitHub](https://github.com/Keesan12/martin-loop) — source and issues
|
|
133
|
+
- [martinloop.com](https://martinloop.com)
|
|
150
134
|
|
|
151
|
-
##
|
|
135
|
+
## License
|
|
152
136
|
|
|
153
|
-
|
|
137
|
+
Apache-2.0
|
|
@@ -4,7 +4,7 @@ export declare const MARTIN_MINIMAL_TOOL_NAMES: readonly ["martin_doctor", "mart
|
|
|
4
4
|
export declare const MARTIN_DIAGNOSTIC_TOOL_NAMES: readonly ["martin_doctor", "martin_plan", "martin_preflight", "martin_estimate", "martin_logs", "martin_list_runs", "martin_triage_runs", "martin_get_run", "martin_get_attempt", "martin_get_verification_results", "martin_dossier", "martin_eval"];
|
|
5
5
|
export declare const MARTIN_GITHUB_REVIEW_TOOL_NAMES: readonly ["martin_doctor", "martin_plan", "martin_preflight", "martin_dossier", "martin_eval", "martin_pr_summary", "martin_create_pr", "martin_review_pr"];
|
|
6
6
|
export declare const MARTIN_PAID_REMOTE_TOOL_NAMES: readonly ["martin_doctor", "martin_plan", "martin_preflight", "martin_estimate", "martin_run", "martin_list_runs", "martin_triage_runs", "martin_get_run", "martin_get_verification_results", "martin_dossier", "martin_eval"];
|
|
7
|
-
export declare const MARTIN_RESOURCE_URIS: readonly ["martin://server/health", "martin://runs/recent", "martin://runs/triage", "martin://runs/latest", "martin://runs/latest/summary", "martin://runs/latest/
|
|
7
|
+
export declare const MARTIN_RESOURCE_URIS: readonly ["martin://server/health", "martin://runs/recent", "martin://runs/triage", "martin://runs/latest", "martin://runs/latest/summary", "martin://runs/latest/proof-card", "martin://runs/latest/budget-status", "martin://runs/latest/verifier-evidence", "martin://runs/latest/rollback-evidence", "martin://policies/current", "martin://repo/risk-map", "martin://verifiers/results", "martin://agent/next-step", "martin://agent/governance-status", "martin://agent/mode-status", "martin://agent/memory-summary", "martin://guides/mcp-usage", "martin://guides/agent-start", "martin://guides/command-map", "martin://guides/ide-onboarding", "martin://guides/operating-rules", "martin://guides/publish-readiness"];
|
|
8
8
|
export declare const MARTIN_RESOURCE_TEMPLATE_URIS: readonly ["martin://runs/{loopId}", "martin://runs/{loopId}/dossier", "martin://runs/{loopId}/attempts/{attemptIndex}", "martin://runs/{loopId}/verification"];
|
|
9
9
|
export declare const MARTIN_PROMPT_NAMES: readonly ["martin_start", "martin_preflight", "martin_triage", "martin_resume", "martin_prove", "martin_release_check", "martin_governed_coding_kickoff", "martin_debug_failed_run", "martin_publish_readiness_review", "martin_triage_run_store", "safe_bug_fix", "write_tests_first", "small_refactor", "security_review", "pr_review", "release_check"];
|
|
10
10
|
export interface MartinDiscoveryMetadata {
|
|
@@ -84,7 +84,6 @@ export const MARTIN_RESOURCE_URIS = [
|
|
|
84
84
|
"martin://runs/triage",
|
|
85
85
|
"martin://runs/latest",
|
|
86
86
|
"martin://runs/latest/summary",
|
|
87
|
-
"martin://runs/latest/receipt",
|
|
88
87
|
"martin://runs/latest/proof-card",
|
|
89
88
|
"martin://runs/latest/budget-status",
|
|
90
89
|
"martin://runs/latest/verifier-evidence",
|
|
@@ -94,6 +93,7 @@ export const MARTIN_RESOURCE_URIS = [
|
|
|
94
93
|
"martin://verifiers/results",
|
|
95
94
|
"martin://agent/next-step",
|
|
96
95
|
"martin://agent/governance-status",
|
|
96
|
+
"martin://agent/mode-status",
|
|
97
97
|
"martin://agent/memory-summary",
|
|
98
98
|
"martin://guides/mcp-usage",
|
|
99
99
|
"martin://guides/agent-start",
|
package/dist/resources.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ export declare const MARTIN_STATIC_RESOURCE_URIS: {
|
|
|
6
6
|
readonly triage: "martin://runs/triage";
|
|
7
7
|
readonly latestRun: "martin://runs/latest";
|
|
8
8
|
readonly latestSummary: "martin://runs/latest/summary";
|
|
9
|
-
readonly latestReceipt: "martin://runs/latest/receipt";
|
|
10
9
|
readonly latestProofCard: "martin://runs/latest/proof-card";
|
|
11
10
|
readonly latestBudgetStatus: "martin://runs/latest/budget-status";
|
|
12
11
|
readonly latestVerifierEvidence: "martin://runs/latest/verifier-evidence";
|
|
@@ -22,8 +21,8 @@ export declare const MARTIN_STATIC_RESOURCE_URIS: {
|
|
|
22
21
|
readonly operatingRulesGuide: "martin://guides/operating-rules";
|
|
23
22
|
readonly publishReadinessGuide: "martin://guides/publish-readiness";
|
|
24
23
|
readonly governanceStatus: "martin://agent/governance-status";
|
|
25
|
-
readonly memorySummary: "martin://agent/memory-summary";
|
|
26
24
|
readonly modeStatus: "martin://agent/mode-status";
|
|
25
|
+
readonly memorySummary: "martin://agent/memory-summary";
|
|
27
26
|
};
|
|
28
27
|
export declare const MARTIN_RESOURCE_TEMPLATES: ResourceTemplate[];
|
|
29
28
|
export declare const MARTIN_STATIC_RESOURCES: Resource[];
|