@tech-leads-club/harness-toolkit 0.16.3 → 0.16.4
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 +1 -1
- package/bin/tlc-cli.ts +3 -3
- package/dist/compact-before.mjs +89 -89
- package/dist/doctor.mjs +88 -88
- package/dist/init-project.mjs +84 -84
- package/dist/install-runtime.mjs +87 -87
- package/dist/lessons-cli.mjs +81 -81
- package/dist/obs-cli.mjs +82 -82
- package/dist/prompt-submit.mjs +89 -89
- package/dist/refresh-model-prices.mjs +81 -81
- package/dist/response-after.mjs +89 -89
- package/dist/run.mjs +89 -89
- package/dist/session-end.mjs +89 -89
- package/dist/session-start.mjs +91 -91
- package/dist/shim.mjs +80 -80
- package/dist/ship-gate.mjs +83 -83
- package/dist/stop.mjs +95 -95
- package/dist/subagent-start.mjs +89 -89
- package/dist/subagent-stop.mjs +90 -90
- package/dist/support.mjs +85 -85
- package/dist/tlc-cli.mjs +97 -97
- package/dist/tool-after.mjs +89 -89
- package/dist/tool-before.mjs +98 -98
- package/dist/tool-failure.mjs +89 -89
- package/dist/uninstall-runtime.mjs +3 -3
- package/docs/concepts.md +4 -2
- package/docs/diagnose.md +3 -2
- package/docs/troubleshooting.md +1 -1
- package/package.json +1 -1
- package/src/core/core.facade.ts +3 -0
- package/src/core/policy/policy.pause.ts +21 -0
- package/src/entrypoints/run.ts +37 -3
- package/src/entrypoints/tool-before.ts +13 -10
- package/src/platform/git.ts +15 -0
package/README.md
CHANGED
|
@@ -486,7 +486,7 @@ See `tlc harness help architecture` or [`docs/architecture.md`](docs/architectur
|
|
|
486
486
|
| `tlc harness build` | Compile `dist/` for the Node fallback path |
|
|
487
487
|
| `tlc harness test` | Run the full local gate |
|
|
488
488
|
| `tlc harness grind [on\|off]` | Lint/test follow-ups on stop |
|
|
489
|
-
| `tlc harness pause` / `resume` |
|
|
489
|
+
| `tlc harness pause` / `resume` | Circuit breaker: every hook steps aside except the floor / back on |
|
|
490
490
|
| `tlc harness mode solo\|paired\|focus` | Operator posture |
|
|
491
491
|
| `tlc harness attest` | Tamper-evident record of what each session ran under |
|
|
492
492
|
| `tlc harness handoff` | Handoff state between turns and sessions — the sanctioned reader |
|
package/bin/tlc-cli.ts
CHANGED
|
@@ -116,7 +116,7 @@ export function statusScreen(root: string): Screen {
|
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
118
|
label: "gates",
|
|
119
|
-
value: report.gatesPaused ? "PAUSED —
|
|
119
|
+
value: report.gatesPaused ? "PAUSED — every hook steps aside; only the floor runs" : "active",
|
|
120
120
|
level: report.gatesPaused ? "warn" : "ok",
|
|
121
121
|
},
|
|
122
122
|
],
|
|
@@ -185,13 +185,13 @@ export function setPaused(root: string, on: boolean): string {
|
|
|
185
185
|
if (on) {
|
|
186
186
|
writeFileSync(path, "");
|
|
187
187
|
coreFacade.policy.refreshPolicyBaselines(root);
|
|
188
|
-
return "
|
|
188
|
+
return "harness PAUSED — every hook steps aside (only the floor still runs) until `tlc harness resume`";
|
|
189
189
|
}
|
|
190
190
|
if (existsSync(path)) {
|
|
191
191
|
rmSync(path);
|
|
192
192
|
}
|
|
193
193
|
coreFacade.policy.refreshPolicyBaselines(root);
|
|
194
|
-
return "
|
|
194
|
+
return "harness ACTIVE again";
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
/**
|