@tech-leads-club/harness-toolkit 0.16.5 → 0.16.7
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 -0
- package/bin/tlc-cli.ts +4 -1
- package/dist/compact-before.mjs +91 -91
- package/dist/doctor.mjs +94 -94
- package/dist/init-project.mjs +85 -85
- package/dist/install-runtime.mjs +82 -82
- package/dist/lessons-cli.mjs +91 -91
- package/dist/obs-cli.mjs +88 -88
- package/dist/prompt-submit.mjs +91 -91
- package/dist/refresh-model-prices.mjs +84 -84
- package/dist/response-after.mjs +91 -91
- package/dist/run.mjs +91 -91
- package/dist/session-end.mjs +87 -87
- package/dist/session-start.mjs +91 -91
- package/dist/shim.mjs +82 -82
- package/dist/ship-gate.mjs +96 -95
- package/dist/stop.mjs +96 -94
- package/dist/subagent-start.mjs +91 -91
- package/dist/subagent-stop.mjs +92 -92
- package/dist/support.mjs +88 -88
- package/dist/tlc-cli.mjs +108 -107
- package/dist/tool-after.mjs +87 -87
- package/dist/tool-before.mjs +106 -105
- package/dist/tool-failure.mjs +91 -91
- package/dist/uninstall-runtime.mjs +4 -4
- package/dist/verify.mjs +150 -0
- package/docs/concepts.md +25 -0
- package/docs/diagnose.md +8 -0
- package/package.json +1 -1
- package/src/core/core.facade.ts +10 -0
- package/src/core/gate/gate.verdicts.ts +107 -0
- package/src/core/index.ts +1 -0
- package/src/entrypoints/ship-gate.ts +82 -88
- package/src/entrypoints/stop.ts +155 -31
- package/src/platform/git.ts +57 -1
- package/src/platform/process.ts +19 -4
- package/tools/verify.ts +154 -0
package/README.md
CHANGED
|
@@ -485,6 +485,7 @@ See `tlc harness help architecture` or [`docs/architecture.md`](docs/architectur
|
|
|
485
485
|
| `tlc harness help [topic]` | Docs |
|
|
486
486
|
| `tlc harness build` | Compile `dist/` for the Node fallback path |
|
|
487
487
|
| `tlc harness test` | Run the full local gate |
|
|
488
|
+
| `tlc harness verify` | Run lint and tests on the current tree and record the verdict that push, PR open and merge read |
|
|
488
489
|
| `tlc harness grind [on\|off]` | Lint/test follow-ups on stop |
|
|
489
490
|
| `tlc harness pause` / `resume` | Circuit breaker: every hook steps aside except the floor / back on |
|
|
490
491
|
| `tlc harness mode solo\|paired\|focus` | Operator posture |
|
package/bin/tlc-cli.ts
CHANGED
|
@@ -881,6 +881,7 @@ QUICK
|
|
|
881
881
|
tlc harness uninstall print what would be undone; --yes applies it, --purge includes state
|
|
882
882
|
tlc harness build compile dist/ for Node
|
|
883
883
|
tlc harness test run the full local gate
|
|
884
|
+
tlc harness verify run lint/tests on this tree; push and PR read the recorded verdict
|
|
884
885
|
tlc harness help <topic> documentation
|
|
885
886
|
|
|
886
887
|
TOPICS
|
|
@@ -1203,6 +1204,8 @@ export function route(args: string[]): Action {
|
|
|
1203
1204
|
return { kind: "version" };
|
|
1204
1205
|
case "test":
|
|
1205
1206
|
return { kind: "test" };
|
|
1207
|
+
case "verify":
|
|
1208
|
+
return { kind: "entry", entry: "verify", args: args.slice(1) };
|
|
1206
1209
|
case "grind":
|
|
1207
1210
|
case "g": {
|
|
1208
1211
|
const arg = (args[1] ?? "on").toLowerCase();
|
|
@@ -1661,7 +1664,7 @@ async function main(argv: string[]): Promise<void> {
|
|
|
1661
1664
|
if (group !== "harness") {
|
|
1662
1665
|
console.error(`unknown: ${argv[0] ?? ""}`);
|
|
1663
1666
|
console.error(
|
|
1664
|
-
"usage: tlc harness <status|doctor|help|grind|pause|resume|reset|mode|obs|prices|lessons|init|update|test|build>",
|
|
1667
|
+
"usage: tlc harness <status|doctor|help|grind|pause|resume|reset|mode|obs|prices|lessons|init|update|test|verify|build>",
|
|
1665
1668
|
);
|
|
1666
1669
|
process.exit(1);
|
|
1667
1670
|
}
|