repo-harness 0.5.2 → 0.5.3
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.es.md +6 -7
- package/README.fr.md +6 -7
- package/README.ja.md +6 -7
- package/README.md +11 -15
- package/README.zh-CN.md +10 -13
- package/assets/skill-version.json +6 -2
- package/package.json +1 -1
- package/src/cli/index.ts +11 -2
package/README.es.md
CHANGED
|
@@ -56,12 +56,11 @@ En un repositorio adoptado, la superficie se mantiene pequeña:
|
|
|
56
56
|
| `tasks/contracts/`, `tasks/reviews/` y `.ai/harness/checks/` | Scope, verificación y evidencia de review para probar que el trabajo terminó. |
|
|
57
57
|
| `.ai/harness/handoff/` y `tasks/current.md` | Session journal y estado resumible, derivados de workflow artifacts en vez de chat memory. |
|
|
58
58
|
|
|
59
|
-
## Novedades en 0.5.
|
|
59
|
+
## Novedades en 0.5.3
|
|
60
60
|
|
|
61
|
-
- **
|
|
62
|
-
- **
|
|
63
|
-
- **
|
|
64
|
-
- **Cross-review más resistente.** El skill bundled `claude-review` puede recuperar resultados print-mode con stdout vacío desde los transcripts de sesión de Claude Code.
|
|
61
|
+
- **Runtime updates con versión fija.** `repo-harness update --version <version>` ahora instala el package `repo-harness@<version>` solicitado, en vez de ser interceptado por el shortcut global de versión de la CLI.
|
|
62
|
+
- **Version shortcut preservado.** `repo-harness --version` y `repo-harness -V` siguen mostrando la versión de la CLI cuando se usan en el nivel superior.
|
|
63
|
+
- **Patch-only surface.** No cambian hook routes, setup checks, security scan ni workflow contracts, salvo el fix del option del comando update.
|
|
65
64
|
|
|
66
65
|
## Qué hace el producto
|
|
67
66
|
|
|
@@ -378,8 +377,8 @@ Guards habituales:
|
|
|
378
377
|
|
|
379
378
|
## Release actual
|
|
380
379
|
|
|
381
|
-
- npm package: `repo-harness@0.5.
|
|
382
|
-
- Generated workflow stamp: `repo-harness@0.5.
|
|
380
|
+
- npm package: `repo-harness@0.5.3`
|
|
381
|
+
- Generated workflow stamp: `repo-harness@0.5.3+template@0.5.3`
|
|
383
382
|
- GitHub repository: `Ancienttwo/repo-harness`
|
|
384
383
|
- Release history: [`docs/CHANGELOG.md`](docs/CHANGELOG.md)
|
|
385
384
|
|
package/README.fr.md
CHANGED
|
@@ -56,12 +56,11 @@ Dans un dépôt adopté, la surface à comprendre reste volontairement réduite
|
|
|
56
56
|
| `tasks/contracts/`, `tasks/reviews/` et `.ai/harness/checks/` | Scope, vérification et preuves de review pour démontrer que le travail est terminé. |
|
|
57
57
|
| `.ai/harness/handoff/` et `tasks/current.md` | Session journal et état resumable dérivés des workflow artifacts plutôt que de la chat memory. |
|
|
58
58
|
|
|
59
|
-
## Nouveautés de la 0.5.
|
|
59
|
+
## Nouveautés de la 0.5.3
|
|
60
60
|
|
|
61
|
-
- **
|
|
62
|
-
- **
|
|
63
|
-
- **
|
|
64
|
-
- **Cross-review plus robuste.** Le skill bundled `claude-review` peut récupérer les résultats print-mode à stdout vide depuis les transcripts de session Claude Code.
|
|
61
|
+
- **Runtime updates épinglés.** `repo-harness update --version <version>` installe maintenant le package `repo-harness@<version>` demandé au lieu d'être intercepté par le raccourci global de version de la CLI.
|
|
62
|
+
- **Version shortcut préservé.** `repo-harness --version` et `repo-harness -V` continuent d'afficher la version CLI lorsqu'ils sont utilisés au niveau supérieur.
|
|
63
|
+
- **Patch-only surface.** Aucun changement de hook route, setup check, security scan ou workflow contract au-delà du fix de l'option du command update.
|
|
65
64
|
|
|
66
65
|
## Ce que fait le produit
|
|
67
66
|
|
|
@@ -382,8 +381,8 @@ Guards courants :
|
|
|
382
381
|
|
|
383
382
|
## Release actuelle
|
|
384
383
|
|
|
385
|
-
- npm package : `repo-harness@0.5.
|
|
386
|
-
- Generated workflow stamp : `repo-harness@0.5.
|
|
384
|
+
- npm package : `repo-harness@0.5.3`
|
|
385
|
+
- Generated workflow stamp : `repo-harness@0.5.3+template@0.5.3`
|
|
387
386
|
- GitHub repository : `Ancienttwo/repo-harness`
|
|
388
387
|
- Release history : [`docs/CHANGELOG.md`](docs/CHANGELOG.md)
|
|
389
388
|
|
package/README.ja.md
CHANGED
|
@@ -47,12 +47,11 @@ Agent に完全な PRD または Sprint を渡せば、あとは review and `nex
|
|
|
47
47
|
| `tasks/contracts/`, `tasks/reviews/`, `.ai/harness/checks/` | 作業完了を証明する scope、verification、review evidence。 |
|
|
48
48
|
| `.ai/harness/handoff/` と `tasks/current.md` | chat memory ではなく workflow artifacts から派生する session journal と resumable status。 |
|
|
49
49
|
|
|
50
|
-
## 0.5.
|
|
50
|
+
## 0.5.3 の新機能
|
|
51
51
|
|
|
52
|
-
-
|
|
53
|
-
- **
|
|
54
|
-
- **
|
|
55
|
-
- **Resilient cross-review。** bundled `claude-review` skill は Claude Code print-mode の stdout が空でも session transcript から最終出力を復旧できます。
|
|
52
|
+
- **Pinned runtime updates。** `repo-harness update --version <version>` は、top-level CLI version shortcut に横取りされず、指定された `repo-harness@<version>` package をインストールするようになりました。
|
|
53
|
+
- **Version shortcut preserved。** `repo-harness --version` と `repo-harness -V` は、top level で使った場合は引き続き CLI version を出力します。
|
|
54
|
+
- **Patch-only surface。** update command option fix 以外に、hook route、setup check、security scan、workflow contract の動作変更はありません。
|
|
56
55
|
|
|
57
56
|
## repo-harness は何をするか
|
|
58
57
|
|
|
@@ -352,8 +351,8 @@ hook がブロックしたときは、まず terminal の構造化された出
|
|
|
352
351
|
|
|
353
352
|
## 現在の Release
|
|
354
353
|
|
|
355
|
-
- npm package:`repo-harness@0.5.
|
|
356
|
-
- Generated workflow stamp:`repo-harness@0.5.
|
|
354
|
+
- npm package:`repo-harness@0.5.3`
|
|
355
|
+
- Generated workflow stamp:`repo-harness@0.5.3+template@0.5.3`
|
|
357
356
|
- GitHub repository:`Ancienttwo/repo-harness`
|
|
358
357
|
- Release history:[`docs/CHANGELOG.md`](docs/CHANGELOG.md)
|
|
359
358
|
|
package/README.md
CHANGED
|
@@ -50,19 +50,15 @@ In an adopted repo, the surface area is intentionally small:
|
|
|
50
50
|
| `tasks/contracts/`, `tasks/reviews/`, and `.ai/harness/checks/` | Scope, verification, and review evidence for proving the work is done. |
|
|
51
51
|
| `.ai/harness/handoff/` and `tasks/current.md` | Session journal and resumable status, derived from workflow artifacts instead of chat memory. |
|
|
52
52
|
|
|
53
|
-
## What's New in 0.5.
|
|
54
|
-
|
|
55
|
-
- **
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
- **
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
treats gbrain fast-mode DB skips as accepted readiness and keeps real gbrain
|
|
63
|
-
warnings visible.
|
|
64
|
-
- **More resilient cross-review.** The bundled `claude-review` skill can recover
|
|
65
|
-
empty-stdout print-mode results from Claude Code session transcripts.
|
|
53
|
+
## What's New in 0.5.3
|
|
54
|
+
|
|
55
|
+
- **Pinned runtime updates.** `repo-harness update --version <version>` now
|
|
56
|
+
installs the requested `repo-harness@<version>` package instead of being
|
|
57
|
+
intercepted by the top-level CLI version shortcut.
|
|
58
|
+
- **Version shortcut preserved.** `repo-harness --version` and
|
|
59
|
+
`repo-harness -V` still print the CLI version when used at the top level.
|
|
60
|
+
- **Patch-only surface.** No hook route, setup check, security scan, or workflow
|
|
61
|
+
contract behavior changes beyond the update command option fix.
|
|
66
62
|
|
|
67
63
|
## What repo-harness Does
|
|
68
64
|
|
|
@@ -459,8 +455,8 @@ Most common guards:
|
|
|
459
455
|
|
|
460
456
|
## Current Release
|
|
461
457
|
|
|
462
|
-
- npm package: `repo-harness@0.5.
|
|
463
|
-
- Generated workflow stamp: `repo-harness@0.5.
|
|
458
|
+
- npm package: `repo-harness@0.5.3`
|
|
459
|
+
- Generated workflow stamp: `repo-harness@0.5.3+template@0.5.3`
|
|
464
460
|
- GitHub repository: `Ancienttwo/repo-harness`
|
|
465
461
|
- Release history: [`docs/CHANGELOG.md`](docs/CHANGELOG.md)
|
|
466
462
|
|
package/README.zh-CN.md
CHANGED
|
@@ -43,17 +43,14 @@ handoff、检查结果和 review evidence 写回项目文件,让下一个 agen
|
|
|
43
43
|
| `tasks/contracts/`、`tasks/reviews/`、`.ai/harness/checks/` | 证明完成所需的 scope、verification 和 review evidence。 |
|
|
44
44
|
| `.ai/harness/handoff/` 和 `tasks/current.md` | session journal 与可恢复状态,从 workflow artifacts 派生,而不是依赖聊天记忆。 |
|
|
45
45
|
|
|
46
|
-
## 0.5.
|
|
47
|
-
|
|
48
|
-
-
|
|
49
|
-
|
|
50
|
-
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
gbrain fast-mode DB skip 当成已接受的 readiness 状态,同时保留真实 gbrain warning。
|
|
55
|
-
- **更稳的 cross-review。** bundled `claude-review` skill 可以从 Claude Code
|
|
56
|
-
session transcript 恢复 print-mode 空 stdout 的最终输出。
|
|
46
|
+
## 0.5.3 新特性
|
|
47
|
+
|
|
48
|
+
- **可 pin 的 runtime update。** `repo-harness update --version <version>` 现在会
|
|
49
|
+
安装指定的 `repo-harness@<version>` package,不再被顶层 CLI version shortcut 抢占。
|
|
50
|
+
- **保留 version shortcut。** `repo-harness --version` 和 `repo-harness -V` 在顶层使用时
|
|
51
|
+
仍然输出 CLI version。
|
|
52
|
+
- **Patch-only surface。** 除 update command option 修复外,hook route、setup check、
|
|
53
|
+
security scan 和 workflow contract 行为不变。
|
|
57
54
|
|
|
58
55
|
## 产品做什么
|
|
59
56
|
|
|
@@ -413,8 +410,8 @@ hook block 工作时,先看 terminal 里的结构化输出。核心字段是
|
|
|
413
410
|
|
|
414
411
|
## 当前 Release
|
|
415
412
|
|
|
416
|
-
- npm package:`repo-harness@0.5.
|
|
417
|
-
- Generated workflow stamp:`repo-harness@0.5.
|
|
413
|
+
- npm package:`repo-harness@0.5.3`
|
|
414
|
+
- Generated workflow stamp:`repo-harness@0.5.3+template@0.5.3`
|
|
418
415
|
- GitHub repository:`Ancienttwo/repo-harness`
|
|
419
416
|
- Release history:[`docs/CHANGELOG.md`](docs/CHANGELOG.md)
|
|
420
417
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.5.
|
|
3
|
-
"templateVersion": "0.5.
|
|
2
|
+
"version": "0.5.3",
|
|
3
|
+
"templateVersion": "0.5.3",
|
|
4
4
|
"skillName": "repo-harness",
|
|
5
5
|
"contractId": "tasks-first-harness-v1",
|
|
6
6
|
"retiredAliases": [
|
|
@@ -135,6 +135,10 @@
|
|
|
135
135
|
{
|
|
136
136
|
"version": "0.5.2",
|
|
137
137
|
"description": "Adds weekly tooling-update advisory caching, reviewed security exceptions, gbrain fast-doctor warning handling, and Claude review transcript recovery"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"version": "0.5.3",
|
|
141
|
+
"description": "Fixes repo-harness update --version so the update command can install a pinned package version without being intercepted by the top-level CLI version flag"
|
|
138
142
|
}
|
|
139
143
|
],
|
|
140
144
|
"generatedProjectStamp": {
|
package/package.json
CHANGED
package/src/cli/index.ts
CHANGED
|
@@ -54,7 +54,7 @@ export function buildProgram(): Command {
|
|
|
54
54
|
program
|
|
55
55
|
.name('repo-harness')
|
|
56
56
|
.description('Make Claude/Codex work resumable, reviewable, and repo-local')
|
|
57
|
-
.version
|
|
57
|
+
.addHelpText('after', '\nGlobal shortcuts:\n -V, --version output the version number')
|
|
58
58
|
.exitOverride();
|
|
59
59
|
|
|
60
60
|
program
|
|
@@ -421,9 +421,18 @@ export function buildProgram(): Command {
|
|
|
421
421
|
return program;
|
|
422
422
|
}
|
|
423
423
|
|
|
424
|
+
export async function runCli(argv: string[] = process.argv): Promise<void> {
|
|
425
|
+
const args = argv.slice(2);
|
|
426
|
+
if (args.length === 1 && (args[0] === '--version' || args[0] === '-V')) {
|
|
427
|
+
console.log(CLI_VERSION);
|
|
428
|
+
return;
|
|
429
|
+
}
|
|
430
|
+
await buildProgram().parseAsync(argv);
|
|
431
|
+
}
|
|
432
|
+
|
|
424
433
|
if (import.meta.main) {
|
|
425
434
|
try {
|
|
426
|
-
await
|
|
435
|
+
await runCli(process.argv);
|
|
427
436
|
} catch (err) {
|
|
428
437
|
const e = err as { exitCode?: number; message?: string };
|
|
429
438
|
if (typeof e.exitCode === 'number') process.exit(e.exitCode);
|