@dzhechkov/harness-cli 0.7.3 → 0.7.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/.dz-manifest.json CHANGED
@@ -9,7 +9,7 @@
9
9
  },
10
10
  {
11
11
  "path": "README.md",
12
- "sha256": "c58f8ba9168698b8b85767b8989c707a2f9cec3ebe28cc47061160f2f143e997"
12
+ "sha256": "1f117cb9a9e3ebf8e1ddd9fcd9227c64afa93c4dee354851befdfb1c6f1d1e98"
13
13
  },
14
14
  {
15
15
  "path": "dist/bin.d.ts",
@@ -33,15 +33,15 @@
33
33
  },
34
34
  {
35
35
  "path": "dist/cli.d.ts.map",
36
- "sha256": "833c76f1fca3af7f1085862cb1239bb81a70e1261839fc34f8d2dc0d00752cc7"
36
+ "sha256": "2adf5f4cd1cdb6f9300c50b67acf6031eb8dfa48eed9e44cceb0e87b705a3335"
37
37
  },
38
38
  {
39
39
  "path": "dist/cli.js",
40
- "sha256": "130604723d58640d89186e5535201346eabba190a2f9542504235d28d323a761"
40
+ "sha256": "86d6f102999ac1b5183775cd8d721b71050ac55b024113f23cca6be1fe494a6c"
41
41
  },
42
42
  {
43
43
  "path": "dist/cli.js.map",
44
- "sha256": "a46fc71ca11f520e532956258cbce30e80736ce8315edbd2d2abab67c5affe6f"
44
+ "sha256": "87e420d5db13a85a12cb185d9da2874c788bfdf26fd44a6400f3799a4b835ccc"
45
45
  },
46
46
  {
47
47
  "path": "dist/core-compat.d.ts",
@@ -75,6 +75,22 @@
75
75
  "path": "dist/index.js.map",
76
76
  "sha256": "02b6b6f1b17a53d652a75555d185a20ea5d3e3110aa915ab228bf5521b0ce5fb"
77
77
  },
78
+ {
79
+ "path": "dist/known-flags.d.ts",
80
+ "sha256": "40403ed4e24cdf95cb2757653485d7cb4650ef8496af96927ab503c2a189c598"
81
+ },
82
+ {
83
+ "path": "dist/known-flags.d.ts.map",
84
+ "sha256": "4ac14404f0c1d3c75c215fd7eb7b49c7b0b5d2e3f9fe9a22851117fc8944975b"
85
+ },
86
+ {
87
+ "path": "dist/known-flags.js",
88
+ "sha256": "a3a40afcc63df47a39512dfc243f989fdf5dabe205342d76ee9ca77e33646976"
89
+ },
90
+ {
91
+ "path": "dist/known-flags.js.map",
92
+ "sha256": "8e9dadaf3a205827c7b5dec03a73b2ab15a6ea775e4d6fc58314065c2a43851b"
93
+ },
78
94
  {
79
95
  "path": "keys/README.md",
80
96
  "sha256": "142fc5d0d59003476b8e7367d6fc21fe40ce9e0bf70159318a05abdb10502b8a"
@@ -85,7 +101,7 @@
85
101
  },
86
102
  {
87
103
  "path": "package.json",
88
- "sha256": "2aa110c79aca3b5874a166eed1d9bdecb2450cb389fbd28f689ede4e1e629532"
104
+ "sha256": "95d92b6f95141dc44061f0d728d7df200d96518ee42f9ff9174cd0539263cc52"
89
105
  },
90
106
  {
91
107
  "path": "src/bin.ts",
@@ -93,7 +109,7 @@
93
109
  },
94
110
  {
95
111
  "path": "src/cli.ts",
96
- "sha256": "43cc0a4fb533c65076b9e0e5da37b836cdbae1fc2d285131bd27b9bde9c38899"
112
+ "sha256": "9564c17c05ac595a2db3eef3ea547b39db88837c84e6efe6c1716fb9f7e16018"
97
113
  },
98
114
  {
99
115
  "path": "src/core-compat.ts",
@@ -102,8 +118,12 @@
102
118
  {
103
119
  "path": "src/index.ts",
104
120
  "sha256": "d4258f3b183d03047aa07399ae96bdb2b3af83f0005127a24a39f8932982bf78"
121
+ },
122
+ {
123
+ "path": "src/known-flags.ts",
124
+ "sha256": "59b255c1ba248365fe5e9432d7ec8933e73bfcb9cd2ce8e19cf8f85f96137163"
105
125
  }
106
126
  ]
107
127
  },
108
- "signature": "53BymryHz3CvFNkIuLLn/QIAKqSGEc9mHISpK2M0beR0wxPW4SzKWmb76LOMU+B0AQm+hQCKHcZwtDv999y/Bw=="
128
+ "signature": "Ay/2zRjJGEi+9Xp56MdbVaRnDH2A7zacchPcrzYnMCIZd8VcGVlzHUD8f64s7Zgc6TJbO1XkMDEGZl5j5rfZBg=="
109
129
  }
package/README.md CHANGED
@@ -4094,10 +4094,10 @@ npx @dzhechkov/p-replicator init
4094
4094
 
4095
4095
  ## Status
4096
4096
 
4097
- `v0.7.3` — **a signature-only republish.** `0.7.0` shipped through `pnpm publish` rather than
4097
+ `v0.7.4` — **a signature-only republish.** `0.7.0` shipped through `pnpm publish` rather than
4098
4098
  `dz publish`, so the re-signing step was skipped and 17 of 497 files in the published core did not
4099
4099
  match their signed hashes — the content was correct, the manifest was ten hours stale. Nothing in
4100
- the shipped behaviour changes between `0.7.0` and `0.7.3`; the integrity check stops reporting these
4100
+ the shipped behaviour changes between `0.7.0` and `0.7.4`; the integrity check stops reporting these
4101
4101
  packages as tampered. The one code change is a TEST: the compat case that asserted the workspace
4102
4102
  core sits exactly on `MIN_CORE` is split into an integration half and a boundary half, so a patch
4103
4103
  bump of core no longer reddens it and `MIN_CORE` need not claim a version the CLI does not require.
package/dist/cli.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,OAAO,EAA0B,KAAK,EAAa,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAKjG,OAAO,EA4CL,iBAAiB,EAmBjB,KAAK,oBAAoB,EAwUzB,KAAK,YAAY,EAsClB,MAAM,yBAAyB,CAAC;AA4IjC,2EAA2E;AAC3E,MAAM,WAAW,KAAK;IACpB,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C;;;;OAIG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB;;;;;OAKG;IACH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MAAM,EACjB,GAAG,GAAE,MAAsB,EAC3B,SAAS,GAAE,OAAO,KAAa,GAC9B,OAAO,CAAC,eAAe,CAAC,CAI1B;AA8CD,gFAAgF;AAChF,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,CAEvG;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,cAAc,CAClC,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,EAAE,EACd,IAAI,EAAE;IACJ,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,KAAK,CAAC;IACzB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IACxC;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,WAAW,CAAC;IAChC,kGAAkG;IAClG,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CAC9B,GACA,OAAO,CAAC,eAAe,CAAC,CA8D1B;AAutED,wBAAsB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,GAAE,KAAU,GAAG,OAAO,CAAC,MAAM,CAAC,CA0N5E"}
package/dist/cli.js CHANGED
@@ -6,6 +6,7 @@
6
6
  import { appendFileSync, chmodSync, closeSync, cpSync, existsSync, fstatSync, lstatSync, mkdirSync, mkdtempSync, openSync, readFileSync, readSync, readdirSync, readlinkSync, realpathSync, renameSync, rmdirSync, rmSync, statSync, symlinkSync, unlinkSync, writeFileSync } from 'node:fs';
7
7
  import { basename, dirname, extname, isAbsolute, join, relative, resolve, sep } from 'node:path';
8
8
  import { fileURLToPath } from 'node:url';
9
+ import { KNOWN_CLI_FLAGS } from './known-flags.js';
9
10
  import { execFileSync, execSync, spawn, spawnSync } from 'node:child_process';
10
11
  import { createHash, randomBytes } from 'node:crypto';
11
12
  import { homedir, tmpdir } from 'node:os';
@@ -16,7 +17,7 @@ TRACE_RUNID_RE, WF_RUN_OWNER_HOST, preflight, runWorkflow, makeClaudePDispatcher
16
17
  // guard-promotion (feature guard-promotion, scout idea #1)
17
18
  assembleCandidates, renderPromotionReport, renderPromotionAdr, normalizePromotionState, nextPromotionState, globMatch, promotionAdrRelPath, DEFAULT_WINDOW_DAYS, DEFAULT_PERIODS, MAX_CONTENT_FETCHES, BUILTIN_COVERAGE, decideProvenance, isInsideTree, signManifest, verifyManifest, listSignablePackFiles, assertKeyOutsideTree, decidePublishGate, collectPackageFacts, planReleaseGates, selectAffectedPackages, classifyGateExecutions, buildFailureIssue, buildReleaseNotes, releaseTagName, firstOutputLine, formatPublishError, MANIFEST_NAME, SBOM_NAME, buildArchitectureMap, renderMapHuman, findArchitectureDrift, renderDriftReport, scanWorkspacePackages, loadSubsystemManifest, loadProductVision, checkFeatureAgainstArchitecture, renderArchCheck, planProjectSkills, guidanceForStage, renderInjectionReport, analyzeCorpus, renderRakeReport, renderCriticSection, rakeAsLesson, rakeReward, DEFAULT_RAKE_THRESHOLDS, streamSessionEvents, findLatestTranscript, detectProcessRakes, buildRetro, renderRetro, retroLessonText, PROCESS_SIGNATURES, RETRO_DOMAIN, scanForSetup, buildSetupPlan, scaffoldFromSpec, renderScaffoldPreview, readExistingForScaffold, assembleChallengeContext, buildChallengeBrief, planDiscriminationCheck, classifyDiscrimination, classifyExecutionEvidence, pickAdversaryModel, CHALLENGE_QUESTIONS, loadOutcomes, renderOutcomes, statsForKey, selectAutoCost, recordProvisional, finalizeOutcome, harvestStageOutcomes, recommendModels, planFeed, GRADE_SUCCESS_FLOOR, COST_LADDER, splitScenarios, budgetPlan, selectWinner, proseScopeOk, renderProseDiff, readScenarioIds, DEFAULT_MAX_JUDGE_RUNS, collectDeliveryFacts, planDeliveryCheck, renderDeliveryBrief, classifyDelivery, isUsablePlaneResult, renderDeliveryReview, scanSkillsLayout, declaredPluginSurface, parseInitFacts, verifyRegistration, buildContentProbePrompt, classifyContentProbe, renderContentProbe, findNonRegistrableSkillDirs, assembleCompoundingReport,
18
19
  // Cold-vs-warm EPOCH RUNNER (feature epoch-replay) — orchestrates + scores, never calls a model.
19
- replayableInstances, buildWorkOrder, buildJudgePrompts, unblindJudgments, verifyWorkOrder, isValidMargin, DIGEST_HONEST_SCOPE, scoreEpochReplay, generateMockOutcomes, renderEpochReplayResult, renderWorkOrderSummary, renderJudgePromptsSummary, WORK_ORDER_KIND, DEFAULT_MOCK_N, DEFAULT_MOCK_SEED, scoreRun, readQeGrade, recapWindow, decideHorizon, withinWindow, buildRecap, renderRecap, parseSourceManifest, mirrorWriterExplanation, appendRecallUsage, closenessLine, anyAboveFloor, decideNameCheck, renderNameCheck, exportedNamesIn, dispatchedCommandsIn, decideSourceProvenance, renderSourceProvenance, REFUSED_HORIZONS, renderScorecard, renderCompoundingReport, readReinforcementState, readQuarantineState, registrationExitCode, renderRegistrationReport,
20
+ replayableInstances, buildWorkOrder, buildJudgePrompts, unblindJudgments, verifyWorkOrder, isValidMargin, DIGEST_HONEST_SCOPE, scoreEpochReplay, generateMockOutcomes, renderEpochReplayResult, renderWorkOrderSummary, renderJudgePromptsSummary, WORK_ORDER_KIND, DEFAULT_MOCK_N, DEFAULT_MOCK_SEED, scoreRun, readQeGrade, recapWindow, decideHorizon, withinWindow, buildRecap, renderRecap, parseSourceManifest, unknownFlagNotice, mirrorWriterExplanation, appendRecallUsage, closenessLine, anyAboveFloor, decideNameCheck, renderNameCheck, exportedNamesIn, dispatchedCommandsIn, decideSourceProvenance, renderSourceProvenance, REFUSED_HORIZONS, renderScorecard, renderCompoundingReport, readReinforcementState, readQuarantineState, registrationExitCode, renderRegistrationReport,
20
21
  // Smart Backlog (feature smart-backlog) — goal-directed idea pipeline over the Brain vector engine.
21
22
  readBacklogConfig, readIdeas, writeIdeas, ideaId, dedupIdea, readGoalMap, readGoalMapDetailed, parseEffort, ensureBacklogGitignored, isSafeId, alignIdea, mirrorIdeaVector, ensureBacklogEmbedForm, readBacklogEmbedFormVersion, recordAbsorption, DEDUP_EMBED_FORM_VERSION, snapshotIdeas, spinRoulette, rankRoulette, seededRng, eligibleIdeas, stageEnrichment, buildJiraDraft, resolveJiraAdapter, makeBacklogIO, harmonizeBacklog, transitionIdeas, editIdea, clearEmbedStale, BACKLOG_BACKENDS, applyDomainBoost, DZ_OWNED_TASK_TYPES, applyExportHoldout, DEFAULT_HELD_OUT_DOMAINS, canonicalDomainKey, readAgentdbRowsByTaskType, heldOutAfterOptIn, renderHoldoutNote, renderSharedStoreAdvice, decideVectorExport, countDisplacedByCut, renderDomainBoostNote, renderDomainCutNote, parseReqeDebt,
22
23
  // qe-bridge (feature qe-bridge-claude, ADR-001): the pure half of the reverse QE bridge.
@@ -12649,6 +12650,15 @@ export async function runCli(argv, io = {}) {
12649
12650
  }
12650
12651
  };
12651
12652
  const { command, options, optionLists, flags } = parseArgs(argv);
12653
+ // An unrecognised `--flag` must not pass in silence. MEASURED 2026-08-24: `dz recall "x" --breif
12654
+ // --limit 2` printed the full ordinary output and exited 0, so a typo read as "the mode worked".
12655
+ // It WARNS rather than refuses, and the reason is measured, not cautious: 53 of the names this CLI
12656
+ // reads appear nowhere in help, and static extraction over the dispatch table lost `--week` from
12657
+ // `dz recap` — a refusal built on either list would reject working commands, which is a worse
12658
+ // failure than the one being fixed. Goes to STDERR so a `--json` consumer's stdout stays clean.
12659
+ for (const notice of unknownFlagNotice([...flags, ...options.keys()].filter((k) => !k.startsWith('_positional_')), KNOWN_CLI_FLAGS)) {
12660
+ writeErr(notice.line);
12661
+ }
12652
12662
  // ── `dz --version` / `dz -v` / `dz version` — PRE-DISPATCH, before the help branch ──
12653
12663
  //
12654
12664
  // Until now `dz --version` printed the whole USAGE manual and exited 0 (MEASURED 2026-08-17,