@dzhechkov/harness-cli 0.8.6 → 0.8.10

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": "4a54061280f2c8a3173a07e43492a73a927fdb98dccf6c1acd933735e5b9aca5"
12
+ "sha256": "db656fad1737e98dc639d06388a5f4ac00fa4024b195c673c3deef2ede3a40d5"
13
13
  },
14
14
  {
15
15
  "path": "dist/bin.d.ts",
@@ -33,35 +33,35 @@
33
33
  },
34
34
  {
35
35
  "path": "dist/boolean-flags.d.ts.map",
36
- "sha256": "bf5eadb6ea3ed4761fbc8206167c86119467d7dfd28d7e0eee7cd21d30099da6"
36
+ "sha256": "454794ad9738157ca422201aaedf99704a2c525e32d48ee2dac533d498bf1271"
37
37
  },
38
38
  {
39
39
  "path": "dist/boolean-flags.js",
40
- "sha256": "2cee996fe21ed692135c98b35bf5e56a89f2dc157f681b36c65020fd062b857b"
40
+ "sha256": "cd2cfc484dd9d0bcb1063be0f55e12dbd6b49e2642568bd7ad2a5f045b83be5b"
41
41
  },
42
42
  {
43
43
  "path": "dist/boolean-flags.js.map",
44
- "sha256": "68a41f08452af263f2a378b54e813567b6ba52376f3d0e13567a7eef7dff09e0"
44
+ "sha256": "ce07c1e9270067794d744c59cdacd083e22ff3a2e38f10b7b41e3397b3ad2ff5"
45
45
  },
46
46
  {
47
47
  "path": "dist/cli.d.ts",
48
- "sha256": "aac58bbd870ae960365e085570635030bd4ef454e2326ac3d782c8e9f8116941"
48
+ "sha256": "0969e281fe2684f4143a3bf4b8cfd42894809a29d0d7f59afe0b90447c1a0cd4"
49
49
  },
50
50
  {
51
51
  "path": "dist/cli.d.ts.map",
52
- "sha256": "d02abab0b734f19ac7e75d7a28b25ae43cbfc025911128c5848f8e81ba2bf01f"
52
+ "sha256": "21b330f7ea9942f8356ca69990a7324b9441ac1247f0d8b45aafdc71b70b1ed6"
53
53
  },
54
54
  {
55
55
  "path": "dist/cli.js",
56
- "sha256": "3ac75ba951cac7ae985b2b7407ffb2645ef36d98f44897d9094b00f4db20517f"
56
+ "sha256": "dcf63e22be659557cc6be3f3d339da93d31dcd2e7ed14e653de7d254e1f151c5"
57
57
  },
58
58
  {
59
59
  "path": "dist/cli.js.map",
60
- "sha256": "c7c308fbc3d596905c25760ba8fa337656f42de06d0565f73ad7c230979a514d"
60
+ "sha256": "e232d50c27c05c95d479db0d2b861a042355db56cb8f570d371b5f0a4766e05e"
61
61
  },
62
62
  {
63
63
  "path": "dist/core-compat.d.ts",
64
- "sha256": "8635dba8bfdc635d44467a47ff693ec9f85b14c1d9c6dfa6d00e6e9ff5d2f7f1"
64
+ "sha256": "a1e1b7a74e846be02a2a7384e25a695f85e8315360eea7cc3a8e0a3e2e330eeb"
65
65
  },
66
66
  {
67
67
  "path": "dist/core-compat.d.ts.map",
@@ -69,27 +69,27 @@
69
69
  },
70
70
  {
71
71
  "path": "dist/core-compat.js",
72
- "sha256": "570a6e1d7536890735e771888050c490bc1a2a239b2a2514d87248604e3354f0"
72
+ "sha256": "6eefe1328f2586bed953d61c0d9a06ad4684b1a2e978abfdf3d91b937d2f72e0"
73
73
  },
74
74
  {
75
75
  "path": "dist/core-compat.js.map",
76
- "sha256": "342b0c716f6ac9f853e6fb9e10d2d3ae4c643f047becd200d6f8576a84674fb2"
76
+ "sha256": "cb7436935411b3804741d475fb231ae7d66cece98d3934fa09f25161aa535ea7"
77
77
  },
78
78
  {
79
79
  "path": "dist/index.d.ts",
80
- "sha256": "4d80bdb7f6742b2f356b07688cda569ea2aaab55f9300626244d15862da8a14f"
80
+ "sha256": "7f2301a59931e768865a58b7681882dc3b6d9b19b4d6ba2d6836e153c15c39f0"
81
81
  },
82
82
  {
83
83
  "path": "dist/index.d.ts.map",
84
- "sha256": "3bc53d2587335beb17c5bd4ffb88987f61328b164519714d198a94f893bd3ea9"
84
+ "sha256": "f90807882ce10b96cb22af34d9a612a87f8e3869c338ebed666f9f7677bb651c"
85
85
  },
86
86
  {
87
87
  "path": "dist/index.js",
88
- "sha256": "e2f5b6cb4291b002ec74891f666ab11e916d10455ae1ca2a88d41207c944b771"
88
+ "sha256": "d492db6c67df4c7d78cdf50bcfb55da9609e2891178d5fdd1fa91ef973d81a62"
89
89
  },
90
90
  {
91
91
  "path": "dist/index.js.map",
92
- "sha256": "116828d2b6d8698b6a66291b0676e97c7cf0208a3591e8047462c70065b94bc1"
92
+ "sha256": "6a5a693bc1035cc67ea572e609d4e2fb05580c9268821e25ba8d278e61635033"
93
93
  },
94
94
  {
95
95
  "path": "dist/install-spec.d.ts",
@@ -113,15 +113,15 @@
113
113
  },
114
114
  {
115
115
  "path": "dist/known-flags.d.ts.map",
116
- "sha256": "310b51c71ec9f0f2089ece6ff4f33c2baeae78d462b3bbdd702255bcf73fb726"
116
+ "sha256": "bcc70b16fc530e09a764852e6d57f4858161244555b0d270fca8335b0a800a49"
117
117
  },
118
118
  {
119
119
  "path": "dist/known-flags.js",
120
- "sha256": "8c457fd3408799ce075bb07a6a77a885141cbf8cd9d47ae8c124ad60e64fd7f3"
120
+ "sha256": "dc11bc77b47cd80ca6f0efb0f4d991ddc6060fe59bd30824178cc9c8add6bcaf"
121
121
  },
122
122
  {
123
123
  "path": "dist/known-flags.js.map",
124
- "sha256": "e6a349e6587f8dfa134c597328d09ac09755c321c23d1bab98fd6e6a3adff86a"
124
+ "sha256": "1b5a6a740581a5ba0aa26533648ffa603411ac0ba5d9c243bd5005593e7ce11c"
125
125
  },
126
126
  {
127
127
  "path": "keys/README.md",
@@ -133,7 +133,7 @@
133
133
  },
134
134
  {
135
135
  "path": "package.json",
136
- "sha256": "2549a7e988b7a04071319dbbad8917d4231cd648720e70485a594ee9e3bd4aa1"
136
+ "sha256": "8c3f7e57b7bd8fc7534c60ca0de986466095b9c09d526077cf81c8010afe30ba"
137
137
  },
138
138
  {
139
139
  "path": "src/bin.ts",
@@ -141,19 +141,19 @@
141
141
  },
142
142
  {
143
143
  "path": "src/boolean-flags.ts",
144
- "sha256": "3ea2dd881198881f94675ce14e465ce007e5d987e25b7786f67d9af13e880e22"
144
+ "sha256": "8d9fe5f91b143cbecafacf69489f284ab312f277b8f84da0558ee572e4203b41"
145
145
  },
146
146
  {
147
147
  "path": "src/cli.ts",
148
- "sha256": "5ff3270b1b82fe28e15d09f37d8099468102abc926512303c7ef76e6c75ecf0d"
148
+ "sha256": "d235206d3cc7989890de5f9b5374755bb0a729ed2bfb63050b51a7d11dad9a8c"
149
149
  },
150
150
  {
151
151
  "path": "src/core-compat.ts",
152
- "sha256": "432d622419ea6a6cbb704ff9a6a1e305f2a3f920f253d31712a0566ab457db53"
152
+ "sha256": "31e681ab5795f875c675691a46bb2d2553c43d4638682d572dfc77343e081d49"
153
153
  },
154
154
  {
155
155
  "path": "src/index.ts",
156
- "sha256": "0401f29a7a76e73e6f6654c7f05ef547bbd7fc180a127202255337f31c21454a"
156
+ "sha256": "ece9dc7be312c38212e72440493221dc816ea109d1ba8842d2ed3410445b65a1"
157
157
  },
158
158
  {
159
159
  "path": "src/install-spec.ts",
@@ -161,9 +161,9 @@
161
161
  },
162
162
  {
163
163
  "path": "src/known-flags.ts",
164
- "sha256": "2956fd1c4720c3ccdd5b4ffd4edfa8c19ad034b5ff7fb418c5befb9cb3829644"
164
+ "sha256": "6365829621a8f3b50381310f4c62ae5a5c4c1625587acf2b73d3f3486ecfc791"
165
165
  }
166
166
  ]
167
167
  },
168
- "signature": "Wy4woPmqLQEeqD66Hc6eyZZDUc9jyxDeSA9pKbsIZyMLu+d0VJELsfj4hOiC5bQXKRFZqyOACrHd/UBB2ugVDA=="
168
+ "signature": "8YsvP0BnmZosr5jWsex+6d5UvqzGxIxzM4qBpf+iOO/E3xEcOV/DANFrklGs3XpMN+Vcgz/ult9JnixhAlK9Cw=="
169
169
  }
package/README.md CHANGED
@@ -36,6 +36,19 @@ The **`dz`** CLI — the main entry point to the DZ Harness Hub. Install AI skil
36
36
  npm install -g @dzhechkov/harness-cli
37
37
  ```
38
38
 
39
+ ## MCP and hook companion configuration
40
+
41
+ A skill can request companion configuration through a bounded adjacent `INTEGRATIONS.json`. The
42
+ first integration-aware init prints its aggregate digest; only
43
+ `--allow-integrations <that-digest>` can authorize the exact content. The live registration probe is
44
+ non-executing: it uses target-owned list/get surfaces, never the manifest command or URL.
45
+
46
+ The measured support matrix currently admits Claude Code `2.1.235` project MCP only. Every other
47
+ target/component pair is a named refusal, except that the existing Codex hook writer can map to
48
+ emitted when its live veto probe reports `ready: true`. Claude `Pending approval` is registration
49
+ with `ready: false`. Use `--no-integrations` for explicit skills-only installation; `--no-verify`
50
+ does not authorize emission.
51
+
39
52
  > **Note:** If you get `EUNSUPPORTEDPROTOCOL workspace:*`, you're inside a pnpm/yarn workspace. Run the install from `/tmp` or `~` instead.
40
53
 
41
54
  ### Updating an already-installed `dz`
@@ -331,7 +344,7 @@ npm install -g @dzhechkov/harness-cli # install the CLI
331
344
  dz help # see all commands
332
345
  dz pretrain # analyze project files → recommend by tech stack
333
346
  dz recommend "build API and deploy to K8s" # keyword match → skills + toolkits
334
- dz recommend "work on this project" # generic? → auto-runs pretrain recommends by stack
347
+ dz recommend "work on this project" # unmatched? → labels suggestions as PROJECT-STACK, not task-derived
335
348
  dz stats # 54 packages, 201 skills, 10 targets, 14 presets
336
349
  dz dashboard # visual panel — packages, adapters, skill packs
337
350
  dz registry # browse all 179 skills by category
@@ -340,6 +353,24 @@ dz registry --category devops # filter by domain
340
353
  dz downloads # npm weekly download stats
341
354
  ```
342
355
 
356
+ Russian and English word forms share the same lexical search tier; both the query and the
357
+ catalogue text are normalized. The current workspace reproducer prints the same count for the
358
+ two Russian forms (the catalogue count may grow, but the pair must stay equal):
359
+
360
+ ```console
361
+ $ dz registry search "анализы"
362
+ Search: "анализы" — 8 result(s)
363
+ $ dz registry search "анализ"
364
+ Search: "анализ" — 8 result(s)
365
+
366
+ $ dz recommend "пришли анализы крови, хочу разобраться"
367
+ ║ Topics: health
368
+ ```
369
+
370
+ `dz recommend --json` reports `topicSource` as `task`, `project-stack`, or `none`. When no topic
371
+ matches, human output explicitly says that any suggestions came from the project stack; if the
372
+ stack also yields nothing, it prints that no recommendations were found.
373
+
343
374
  ### Phase 2: Install (set up your workspace)
344
375
 
345
376
  ```bash
@@ -660,14 +691,25 @@ $ dz compounding
660
691
  INSTRUMENTATION: last apply-leg record … — live
661
692
  EVIDENCE CHAIN .dz/recall-usage.jsonl: verified · 3 chained · 133 pre-chain (uncovered)
662
693
  EVIDENCE CHAIN .dz/guard-audit.jsonl: verified · 3 chained · 82 pre-chain (uncovered)
694
+ LESSON → RULE FUNNEL (calendar month, observed traffic only):
695
+ 2026-08 · eligible/attempted/accepted/executions NOT MEASURED (promotion-history-not-recorded)
663
696
  ```
664
697
 
665
- Three honesty rules are load-bearing:
698
+ Four honesty rules are load-bearing:
666
699
  - **a gate without enough data says INSUFFICIENT DATA** — never a verdict (the apply-leg log turned
667
700
  out to have been silently dead for 19 days; "no data" is a finding, not a pass);
668
701
  - **readiness is not a result** — the replay section says `ready`, never `promote`;
669
702
  - **improvement is judged by RATE** (violations per audit), so a quiet afternoon cannot masquerade
670
- as progress.
703
+ as progress;
704
+ - **zero promotions is not itself a finding** — the funnel names a stopped stage only when its
705
+ predecessor is non-empty and it stays empty for three consecutive measured UTC months. A missing,
706
+ malformed, unreadable, unobserved, or anchorless source prints `NOT MEASURED (<reason>)`, never 0.
707
+
708
+ The funnel is prospective: ordinary non-dry `dz guard promote` runs append bounded candidate/status
709
+ observations to the existing `.dz/promotion-state.json`; `--dry-run` still writes nothing. Guard
710
+ firings join by the opaque digest of the exact effective template+params carried in the audit row, never by a
711
+ display rule id alone. Text and `--json` render the same counts/status/findings model and issue no
712
+ overall learning-health verdict.
671
713
 
672
714
  The prompt queries that make replay possible stay on your machine: `.dz/recall-usage.jsonl` is
673
715
  git-ignored, entries are truncated at 200 chars and flagged when truncated (a prefix is not a prompt,
@@ -1840,16 +1882,18 @@ runs a command that MEASURES the declared artifacts itself. It refuses a null re
1840
1882
  never recorded as done), an absent or partially-present artifact set, and a stage that declares nothing
1841
1883
  to witness — so a stage that did not happen can no longer be recorded, which the old mechanism allowed.
1842
1884
 
1843
- ## All Commands (83)
1885
+ ## All Commands (85)
1844
1886
 
1845
- *(83 MEASURED reproducer: `node --input-type=module -e "import('./dist/index.js').then(m=>console.log(m.DZ_COMMANDS.length))"`; `dz --help` exposes 80 unique top-level names, pinned by `test/command-count.test.ts`.)*
1887
+ *(84 MEASURED from the bounded command inventory below; rendered `dz --help` exposes 81 unique
1888
+ top-level names, pinned by `test/command-count.test.ts`.)*
1846
1889
 
1847
1890
  ```
1848
1891
  dz setup --target <name> [--preset <name>] [--select id,id,...] [--skills-dir <dir>] [--memory agentdb] [--no-memory] [--no-hooks] [--install-driver] [--force]
1849
- dz init --target <name> [--preset <name>] [--select id,id,...] [--force]
1892
+ dz init --target <name> [--preset <name>] [--select id,id,...] [--allow-integrations <sha256:...>] [--no-integrations] [--no-verify] [--force]
1893
+ dz integrations-verify --target <name> --component <mcp|hooks> [--project <dir>] [--json]
1850
1894
  dz install <npm-pkg> [--target <name>] [--project <dir>] [--force]
1851
1895
  dz bundle [--preset <name> | --select id,...] [--out <dir>] [--skills-dir <dir>] [--force]
1852
- dz teach "<pattern>" [--reward <0-1>] [--domain <name>] [--type rule|success-pattern|lesson-learned] [--project <dir>] [--to project|global] [--no-mirror] [--guard] # --project pins the learned store to <dir>/.dz (not the cwd) — pin to a canonical brain; --to picks WHICH store (global = ~/.dz, shared across projects). Session default: export DZ_LEARN=global. Project default: .dz/config.json -> learning.teachTo. An unknown value is REFUSED, never defaulted. Every write prints the path AND what chose it.
1896
+ dz teach "<pattern>" [--class-form "<template with :slot>"] [--reward <0-1>] [--domain <name>] [--type rule|success-pattern|lesson-learned] [--project <dir>] [--to project|global] [--no-mirror] [--guard] # --class-form is optional and never blocks the specific write; --project pins the learned store to <dir>/.dz; --to picks WHICH store (global = ~/.dz, shared across projects). Every write prints the path AND what chose it.
1853
1897
  dz teach --reinforce "<dzId-or-exact-text>" [--project <dir>] # bump an existing learned pattern instead of writing a near-duplicate
1854
1898
  dz teach --from-json <file> [--project <dir>] [--no-mirror] [--harmonize] # bulk-import a `dz recall --all --json` export; prints a harmonize dry-run advisory
1855
1899
  dz consolidate [--sessions-dir <dir>] [--project <dir>] [--no-mirror]
@@ -1865,6 +1909,7 @@ dz teach --harmonize [--apply] [--threshold <0..1>] # alias of `d
1865
1909
  dz statusline [--json] [--install] # compact Claude Code statusline: live self-learning pattern count + brain sources
1866
1910
  dz usage [--json] [--project <dir>] | --calibrate --session <pct> --weekly <pct> [--model fable=<pct>] # ESTIMATE Claude usage from fixed reset windows; optional per-model weekly binding; exit 0 ALWAYS
1867
1911
  --by-stage [--run <id> | --slug <s>] [--epsilon <0..1>] [--write <file.jsonl>] [--json] # per-stage cost ledger for ONE feature-adr run + reconciliation invariant (BALANCED | DEFECT | INSUFFICIENT_DATA)
1912
+ dz chain [--project <dir>] [--json] # verify EVERY hash-chained journal in one command; coverage is DERIVED from the CHAINED_JOURNALS registry, so a journal cannot be chained and checked by nobody; an ABSENT journal is NAMED, never omitted; exit 1 on broken/unreadable
1868
1913
  dz claim-check [paths...] [--json] [--fail-on high|medium|none] [--project <dir>] # enforce the Integrity Rule: flag untagged/overstated accuracy claims; default scan = READMEs + features' 08_qe_report.md; exit 1 only at/above --fail-on (default high)
1869
1914
  dz lint [paths...] [--json] [--config <file>] [--registry <file>] [--project <dir>] # advisory EN/RU prose-style lint; findings exit 0, incomplete input/policy exits 1, usage exits 2
1870
1915
  dz brain list [--json] # the durable cross-project knowledge brain
@@ -1877,7 +1922,7 @@ dz brain primer <slug> [--json] # print a so
1877
1922
  dz brain export --source <slug> --out <file> # write a portable per-book KB slice (ships inside the pack, §8.1)
1878
1923
  dz brain update <slug> [--project <dir>] [--json] # non-destructive refresh: re-mirror a re-ingested source, evict stale corpus
1879
1924
  dz pretrain [--project <dir>]
1880
- dz recommend "<task description>"
1925
+ dz recommend "<task description>" [--json] (RU/EN lexical topics; explicit task/project-stack/none provenance)
1881
1926
  dz compose <preset1+preset2+...> [--target <name>]
1882
1927
  dz diff <skill-dir>
1883
1928
  dz upgrade [--target <name>] [--project <dir>]
@@ -1905,7 +1950,7 @@ dz feature-adr-record --kind ledger|training-pair --stage <s> [--slug <s>] [--r
1905
1950
  dz mutation-gate [--package <dir>] [--registry <file>] [--test-cmd "<cmd>"] [--only <id[,id]>] [--timeout <ms>] [--rebaseline per-entry|final] [--keep-scratch] [--json] # the mutation gate: for each NAMED protection in a declarative registry, copy the package to a scratch dir (shadow-repo layout, node_modules symlinked, git-initialized), verify the baseline is green, apply the entry's exact {find, replace} mutation, run the suite, REQUIRE red, restore — and require the red to be ATTRIBUTABLE to the protection: a mutated file that no longer parses is MUTATION_UNPARSEABLE, a failing count far above the entry's bound (maxFailing, default from observed) is OVER_FAILING, and a restored tree that does not reproduce green makes the entry INCONCLUSIVE (flaky suite). A mutation that does not apply, a green suite, or an inconclusive run is a FAILURE — never a skip. exit 0 all proven / 1 gate failed / 2 setup error
1906
1951
  dz delivery-check --slug <slug> [--context-only] [--findings <f.json>] [--strict] [--author <model>] [--json] # portable Step-10 Delivery Gate: the `manual` form that travels to every shell target — prints the 4-plane review brief (regressions ‖ security ‖ code-quality ‖ product-honesty) + artifact probes; --findings classifies a fed-back review into a fail-closed ready|blocked hand-off (only cross-validated BLOCKER/HIGH count) and writes features/<slug>/10_delivery_review.md; --strict exits 1 on blocked
1907
1952
  dz skills-verify [--dir <project>] [--expect a,b] [--static] [--strict] [--timeout <s>] [--json] # does .claude/skills/ actually REGISTER? --static = instant layout scan (CI-safe, no session): flags dirs that can never register; default also starts a real session and reads the authoritative system/init listing. exit 0 pass / 1 fail / 2 inconclusive — an unobservable registration is NEVER a pass
1908
- dz compounding [--project <dir>] [--json] # honest learning-loop payoff report: pool write-only ratio, guard repeat-violation trajectory (rate per audit-half), cold-vs-warm replay readiness over unique untruncated prompt events, apply-leg staleness, and EVENT-CHAIN health of the two evidence logs (verified / defects / uncovered pre-chain prefix) a gate without enough data says INSUFFICIENT_DATA, never a verdict
1953
+ dz compounding [--project <dir>] [--json] # honest learning-loop payoff report: pool/replay/guard instrumentation plus the monthly eligible→attempted→accepted→executions funnel. A missing source is NOT MEASURED; only a non-empty→empty named edge across three consecutive measured months is a funnel finding; text/JSON carry the same facts and no learning-health verdict
1909
1954
  dz deadwood [--weeks <n>] [--json] # advisory zero-usage report for commands and guard-rule firings; safety-net exclusions carry written reasons, skills without an invocation signal are never candidates, and shallow history says INSUFFICIENT_DATA. Human deprecation review only — never deletes or modifies harness surface
1910
1955
  dz epoch-replay --mock [--n <N>] [--effect <-1..1>] [--tie-rate <0..1>] [--seed <N>] [--slice <name>] [--margin <0..0.5>] [--json] # $0 synthetic run through the REAL verdict math; labelled SYNTHETIC, same seed = byte-identical
1911
1956
  dz epoch-replay --emit [--project <dir>] [--limit <N>] [--seed <N>] [--margin <0..0.5>] [--out <file>] [--json] # cold-vs-warm work order: replayable instances + PRE-REGISTERED blind A/B assignment + the PRE-REGISTERED non-superiority margin + a sha256 integrity digest + emittedAt/corpus fingerprint (raw prompts — defaults into the git-ignored .dz/epoch-replay/)
@@ -1927,7 +1972,7 @@ dz backlog <sub> add "<idea>" | list | show <id> | goals [--validate] | roul
1927
1972
  dz sign --init --out <path> | --pack <dir> --key <path> # --init: generate the Ed25519 keypair (private OUTSIDE the repo, prints the public key for keys/dz.pub); else sign a pack's manifest + CycloneDX SBOM
1928
1973
  dz sbom --pack <dir> [--out <file>] # emit the CycloneDX 1.5 SBOM for a pack standalone (file-level bill of materials); print to stdout or write to a file
1929
1974
  dz guard check --op <publish|teach|consolidate|reindex> [--text <s>] [--json] [--force <reason>] # declarative constraint layer before self-mutating ops: HARD violation → block (exit 1), SOFT → warn; zero-config defaults, .dz/guard.json to customise; dz guard --init | dz guard log (append-only audit). dz publish runs it automatically (--no-guard "<reason>" = logged escape hatch)
1930
- dz guard promote [--dry-run | --apply] [--window-days <N>] [--periods <N>] [--json] # lesson → guard-rule promotion: ranks lessons by firings × cost, SHADOW-replays each candidate over real commits, and proposes a rule only after TWO consecutive wins AND two window-lengths of REAL elapsed time since first observation (a window with zero firings resets the counter; a thin window is skipped, never a loss; commit dates are author-supplied, so elapsed time is measured by the local clock in .dz/promotion-state.json). Proposes by default (--dry-run writes nothing — and so never starts that clock; --apply installs it SOFT a promoted rule can never block, and a same-id/different-body clash is a CONFLICT that exits 1 rather than claiming success); promotions AND refusals are recorded in features/guard-promotion/promotions/
1975
+ dz guard promote [--dry-run | --apply] [--window-days <N>] [--periods <N>] [--json] # lesson → guard-rule promotion: ranks lessons by firings × cost, SHADOW-replays each candidate over real commits, and proposes a rule only after TWO consecutive wins AND two window-lengths of REAL elapsed time since first observation. Non-dry runs add bounded prospective funnel evidence to .dz/promotion-state.json without feeding the verdict; --dry-run remains write-free. --apply installs SOFT rules only; promotions/refusals remain under features/guard-promotion/promotions/
1931
1976
  dz feature-adr-setup --guards [--loc-cap <n>] [--apply] # P3: scaffold DETERMINISTIC guard tests into the project — guards.config.json + a zero-dependency check.mjs runner (LOC cap, secret scan, frozen-file sha256 pins, waivers-with-reasons); wire `node architecture/guards/check.mjs` into CI
1932
1977
  dz publish [--filter <name>] [--bump-only] [--claim-check <off|warn|error>] (dry-run by default; pass --yes/--confirm to go live; claim-check gate defaults to warn — surfaces README claim findings, never blocks)
1933
1978
  dz parity [--target <name>] [--json] # honest feature×target map COMPUTED from the capability model — full / manual (via which form) / absent, per target
@@ -1956,6 +2001,29 @@ dz import-ecc [--local-path <dir>] [--select id,id,...] [--limit N] [--out
1956
2001
  dz help
1957
2002
  ```
1958
2003
 
2004
+ ### Optional class form for a taught lesson
2005
+
2006
+ `dz teach` can store the observed lesson and an explicitly proposed class template in the same
2007
+ invocation. The class half is optional: omission, a blank value, or syntactic rejection leaves the
2008
+ specific write successful and unchanged.
2009
+
2010
+ ```bash
2011
+ dz teach "Use Jira labels for release gates" --class-form "Use :field labels for release gates"
2012
+ dz recall "Use GitHub labels for release gates"
2013
+ # ... specific: Use Jira labels for release gates · class: Use :field labels for release gates [match: class]
2014
+ ```
2015
+
2016
+ Use the class form when a future reader needs the *why* across structure, interfaces, or
2017
+ maintainability. Skip it when scope, risk, time, and cost are low, or standards, policy, or existing
2018
+ documentation already cover the choice. `dz` checks only that the `:slot` template syntactically
2019
+ covers the specific text; it does not certify that the broader rule is true.
2020
+
2021
+ The store keeps two linked, role-labelled rows (`lessonForm` + `lessonPairId`), while ranked recall
2022
+ returns one logical lesson with separate `pattern`/`classForm` fields and
2023
+ `matchedForm: specific|class|both`. The vector mirror remains specific-text-only in this tranche;
2024
+ class attribution comes from the durable lexical path, so a vector score is never mislabeled as a
2025
+ class match.
2026
+
1959
2027
  **Closeness, not a rank surrogate (feature `recall-true-closeness`).** Each hit now carries `sim=` —
1960
2028
  the semantic leg's real cosine — with `▲` above the measured relevance floor for the query's language
1961
2029
  and `▽` below it (ru 0.38 / en 0.31, calibrated 2026-07-09 on a 32-probe labeled set). A lexical-only
@@ -2092,10 +2160,20 @@ dz statusline --fa-record --slug my-loop --step build --kind loop
2092
2160
  ```
2093
2161
 
2094
2162
  ```
2095
- 📐 feature-adr Step 8 QE · 🎓 224 pool · ↑7 used · +2 new · ↻0 reinforced · 🎓 dz: 224 patterns · 🧠 3 sources
2163
+ 📐 feature-adr Step 7 Code · ⏱ ~25–47м (p25–p75 по n=5 ранам M; окно 2026-08-24–2026-08-29) · 🎓 224 pool · ↑7 used · +2 new · ↻0 reinforced · 🎓 dz: 224 patterns · 🧠 3 sources
2164
+ 📐 feature-adr Step 8 QE · ETA: недостаточно истории (n=2 L; окно 2026-08-28–2026-08-29) · 🎓 224 pool · ↑7 used · +2 new · ↻0 reinforced · 🎓 dz: 224 patterns · 🧠 3 sources
2096
2165
  🔁 loop build · 🎓 dz: 224 patterns · 🧠 3 sources
2097
2166
  ```
2098
2167
 
2168
+ For a live `/feature-adr` run, the panel derives remaining-stage timing from timestamped
2169
+ `features/*/.fa-state/checkpoints.jsonl` runs of the **same tier**. Every estimate prints its
2170
+ evidence basis: distinct-run `n`, tier, and date window. A Codex-shaped `code` leg always renders
2171
+ as p25–p75 rather than a false-precision point. The floor is three runs for **each** remaining
2172
+ `(tier, stage)` bucket; one thin bucket makes the whole result `ETA: недостаточно истории` instead
2173
+ of silently shortening the sum. Missing/unreadable checkpoints omit ETA, never `~0м`, and never
2174
+ take down the rest of the statusline. `dz statusline --json` includes the typed `eta` verdict for
2175
+ custom tooling whenever the live run has enough checkpoint identity to evaluate it.
2176
+
2099
2177
  `--kind <feature-adr|loop>` names the PRODUCER and defaults to `feature-adr`; an unrecognised value
2100
2178
  exits 1 rather than silently weakening panel arbitration. It is load-bearing in two places:
2101
2179
 
@@ -3411,7 +3489,9 @@ dz registry search <query> # search by keyword
3411
3489
  dz registry --category <cat> # browse one category
3412
3490
  dz init --target claude-code --select skill-advisor # interactive advisor skill
3413
3491
  ```
3414
- Verify: `dz registry` lists them. Gotcha: `recommend` is lexical/keyword ranking, not an LLM.
3492
+ Verify: `dz registry` lists them. Gotcha: `recommend` is lexical/keyword ranking, not an LLM;
3493
+ word forms are normalized, but paraphrases still belong to `/skill-advisor`. A fallback is labeled
3494
+ `PROJECT-STACK SUGGESTIONS` and never presented as a match to the question.
3415
3495
 
3416
3496
  **"Install just ONE skill, not a whole preset."**
3417
3497
  ```bash
@@ -3545,6 +3625,19 @@ operator field, and never blocks publication; composition drift warns with the e
3545
3625
  `dz plugin --version <published>`. A repository with no complete `.claude-plugin/` showcase is out of
3546
3626
  scope: the rule records an informational skip reason and emits no violation.
3547
3627
 
3628
+ Four publish-only `volume-shadow/v1` observations meter the always-loaded corpus without becoming a
3629
+ release gate: configured template context, largest-file share, feature-artifact/unified-diff-byte
3630
+ ratio, and the tier/lifecycle artifact set. Rules and commands are reported separately from
3631
+ conditional full-skill bodies, and their sum is labelled a configured/invokable envelope rather
3632
+ than measured per-session cost. Human output uses `[observe]` or `[note]`; JSON and the chained audit
3633
+ retain the same operands, units, dated reference starting points, and method identifiers.
3634
+
3635
+ All four rules are SOFT-only, including when `.dz/guard.json` requests HARD. An incomplete or capped
3636
+ scan, escaping/non-regular input, ambiguous attribution, or zero denominator is a visible typed
3637
+ `unknown`, never a clean zero and never a blocker. Source comments and comment density are not
3638
+ collected or classified. The observations therefore do not recommend shortening justification;
3639
+ they only report volume inside their closed artifact scope.
3640
+
3548
3641
  **`review-round` (HARD, publish)** — a package that bumps its version AND changes source must bring a
3549
3642
  GRADED `features/*/08_qe_report.md` in the same change. The gate had eleven rules and not one asked
3550
3643
  whether anyone but the author had read the code; the cost is on the record (health-advisor slice H:
@@ -3718,6 +3811,12 @@ and a `--dry-run`-only workflow never promotes, because the run that would start
3718
3811
  the one that writes nothing. (The `wait` reason spells both out.) This is a guard against accidental
3719
3812
  self-gaming, not a cryptographic one — the state file is local and editable.
3720
3813
 
3814
+ Every non-dry run also records a bounded, prospective observation in that same state file for
3815
+ `dz compounding`: candidate eligibility, an opaque digest of the exact effective template+params when one
3816
+ exists, and the route's authoritative candidate verdict. It stores no lesson/rule body, does not
3817
+ feed the promotion decision, and deduplicates an identical run. Legacy state remains readable, but
3818
+ months before this observation history existed are `NOT MEASURED`; they are never reconstructed.
3819
+
3721
3820
  **It refuses out loud.** Rule code is never synthesised from lesson text — a lesson that fits no
3722
3821
  template is listed as not-promotable *with the reason*, and the refusals are recorded in
3723
3822
  `features/guard-promotion/promotions/` alongside the promotions. A candidate already covered by an
@@ -4318,6 +4417,25 @@ refusal as the honest answer.
4318
4417
 
4319
4418
  ## Status
4320
4419
 
4420
+ `harness-core v0.8.10` · `harness-cli v0.8.10` — **staged, not published:** adds bounded
4421
+ `volume-shadow/v1` publish observations with structured human/JSON/audit parity. All four remain
4422
+ SOFT-only; incomplete evidence is unknown, and source-comment justification is out of scope.
4423
+
4424
+ `harness-core v0.8.10` · `skills-feature-adr v1.5.9` — **staged, not published:** the packaged
4425
+ feature-adr workflow performs advisory top-3 micro-recall at the live Step 3 ADR choice and Step 6
4426
+ plan-route choice. Every failure is fail-open; versioned `.fa-state/decision-recall.jsonl` rows make
4427
+ receipt coverage and repeat-related outcomes derivable offline. The hypothesis is external `[SRC],
4428
+ n=1`, books were silent on retrieval timing, and no runtime threshold gates a stage.
4429
+
4430
+ `v0.8.8` — **staged, not published.** `dz init` now reports exactly one MCP and one hook outcome,
4431
+ adds `integrations-verify`, content-bound authorization, explicit skills-only opt-out, and named
4432
+ partial-failure exits; only receipt-proven live registration may be called emitted.
4433
+
4434
+ `v0.8.7` — **honest ETA in the live 📐 feature-adr statusline.** The panel scans timestamped
4435
+ same-tier checkpoint history only while a fresh run is visible, prints p25–p75 for the code leg,
4436
+ and carries `n`, tier, and date window inline. Any remaining stage below n=3 says
4437
+ `ETA: недостаточно истории`; absent/unreadable checkpoints fail open without `~0м`.
4438
+
4321
4439
  `v0.8.5` — **`dz restart-advisor`, the 83rd inventory command (80 documented top-level
4322
4440
  help names).** It returns an explicit `restart-advisor/1` recommendation from confined QE-history
4323
4441
  reads, never restarts or mutates the live pipeline, and reports not-established evidence with exit 2.
@@ -1 +1 @@
1
- {"version":3,"file":"boolean-flags.d.ts","sourceRoot":"","sources":["../src/boolean-flags.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,iBAAiB,EAAE,WAAW,CAAC,MAAM,CAyFhD,CAAC;AAEH,gGAAgG;AAChG,eAAO,MAAM,qBAAqB,EAAE,SAAS,MAAM,EAAc,CAAC;AAElE,iGAAiG;AACjG,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAGpE"}
1
+ {"version":3,"file":"boolean-flags.d.ts","sourceRoot":"","sources":["../src/boolean-flags.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,iBAAiB,EAAE,WAAW,CAAC,MAAM,CA0FhD,CAAC;AAEH,gGAAgG;AAChG,eAAO,MAAM,qBAAqB,EAAE,SAAS,MAAM,EAAc,CAAC;AAElE,iGAAiG;AACjG,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAGpE"}
@@ -68,6 +68,7 @@ export const BOOLEAN_CLI_FLAGS = new Set([
68
68
  'no-dry-run',
69
69
  'no-evals',
70
70
  'no-hooks',
71
+ 'no-integrations',
71
72
  'no-issue',
72
73
  'no-memory',
73
74
  'no-mirror',
@@ -1 +1 @@
1
- {"version":3,"file":"boolean-flags.js","sourceRoot":"","sources":["../src/boolean-flags.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAwB,IAAI,GAAG,CAAC;IAC5D,UAAU;IACV,UAAU;IACV,KAAK;IACL,mBAAmB;IACnB,sBAAsB;IACtB,KAAK;IACL,OAAO;IACP,WAAW;IACX,MAAM;IACN,OAAO;IACP,KAAK;IACL,WAAW;IACX,UAAU;IACV,WAAW;IACX,OAAO;IACP,SAAS;IACT,cAAc;IACd,MAAM;IACN,MAAM;IACN,MAAM;IACN,SAAS;IACT,MAAM;IACN,QAAQ;IACR,WAAW;IACX,oBAAoB;IACpB,UAAU;IACV,OAAO;IACP,MAAM;IACN,OAAO;IACP,OAAO;IACP,QAAQ;IACR,WAAW;IACX,MAAM;IACN,eAAe;IACf,MAAM;IACN,SAAS;IACT,gBAAgB;IAChB,cAAc;IACd,MAAM;IACN,cAAc;IACd,QAAQ;IACR,SAAS;IACT,MAAM;IACN,cAAc;IACd,MAAM;IACN,OAAO;IACP,YAAY;IACZ,UAAU;IACV,UAAU;IACV,UAAU;IACV,WAAW;IACX,WAAW;IACX,eAAe;IACf,WAAW;IACX,aAAa;IACb,UAAU;IACV,WAAW;IACX,MAAM;IACN,UAAU;IACV,SAAS;IACT,YAAY;IACZ,aAAa;IACb,kBAAkB;IAClB,SAAS;IACT,WAAW;IACX,oBAAoB;IACpB,mBAAmB;IACnB,QAAQ;IACR,cAAc;IACd,iBAAiB;IACjB,QAAQ;IACR,QAAQ;IACR,aAAa;IACb,UAAU;IACV,MAAM;IACN,OAAO;IACP,aAAa;IACb,QAAQ;IACR,OAAO;IACP,QAAQ;IACR,KAAK;IACL,OAAO;IACP,OAAO;IACP,UAAU;IACV,MAAM;IACN,YAAY;IACZ,iBAAiB;IACjB,KAAK;CACN,CAAC,CAAC;AAEH,gGAAgG;AAChG,MAAM,CAAC,MAAM,qBAAqB,GAAsB,CAAC,OAAO,CAAC,CAAC;AAElE,iGAAiG;AACjG,MAAM,UAAU,aAAa,CAAC,IAAY,EAAE,OAAe;IACzD,IAAI,IAAI,KAAK,OAAO;QAAE,OAAO,CAAC,qBAAqB,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;IACtE,OAAO,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AACrC,CAAC"}
1
+ {"version":3,"file":"boolean-flags.js","sourceRoot":"","sources":["../src/boolean-flags.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAwB,IAAI,GAAG,CAAC;IAC5D,UAAU;IACV,UAAU;IACV,KAAK;IACL,mBAAmB;IACnB,sBAAsB;IACtB,KAAK;IACL,OAAO;IACP,WAAW;IACX,MAAM;IACN,OAAO;IACP,KAAK;IACL,WAAW;IACX,UAAU;IACV,WAAW;IACX,OAAO;IACP,SAAS;IACT,cAAc;IACd,MAAM;IACN,MAAM;IACN,MAAM;IACN,SAAS;IACT,MAAM;IACN,QAAQ;IACR,WAAW;IACX,oBAAoB;IACpB,UAAU;IACV,OAAO;IACP,MAAM;IACN,OAAO;IACP,OAAO;IACP,QAAQ;IACR,WAAW;IACX,MAAM;IACN,eAAe;IACf,MAAM;IACN,SAAS;IACT,gBAAgB;IAChB,cAAc;IACd,MAAM;IACN,cAAc;IACd,QAAQ;IACR,SAAS;IACT,MAAM;IACN,cAAc;IACd,MAAM;IACN,OAAO;IACP,YAAY;IACZ,UAAU;IACV,UAAU;IACV,iBAAiB;IACjB,UAAU;IACV,WAAW;IACX,WAAW;IACX,eAAe;IACf,WAAW;IACX,aAAa;IACb,UAAU;IACV,WAAW;IACX,MAAM;IACN,UAAU;IACV,SAAS;IACT,YAAY;IACZ,aAAa;IACb,kBAAkB;IAClB,SAAS;IACT,WAAW;IACX,oBAAoB;IACpB,mBAAmB;IACnB,QAAQ;IACR,cAAc;IACd,iBAAiB;IACjB,QAAQ;IACR,QAAQ;IACR,aAAa;IACb,UAAU;IACV,MAAM;IACN,OAAO;IACP,aAAa;IACb,QAAQ;IACR,OAAO;IACP,QAAQ;IACR,KAAK;IACL,OAAO;IACP,OAAO;IACP,UAAU;IACV,MAAM;IACN,YAAY;IACZ,iBAAiB;IACjB,KAAK;CACN,CAAC,CAAC;AAEH,gGAAgG;AAChG,MAAM,CAAC,MAAM,qBAAqB,GAAsB,CAAC,OAAO,CAAC,CAAC;AAElE,iGAAiG;AACjG,MAAM,UAAU,aAAa,CAAC,IAAY,EAAE,OAAe;IACzD,IAAI,IAAI,KAAK,OAAO;QAAE,OAAO,CAAC,qBAAqB,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;IACtE,OAAO,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AACrC,CAAC"}
package/dist/cli.d.ts CHANGED
@@ -5,8 +5,18 @@
5
5
  */
6
6
  import { spawn, type ChildProcess } from 'node:child_process';
7
7
  import { runSyncCodexHooks, type CodexHooksSyncReport, type BridgeFamily } from '@dzhechkov/harness-core';
8
+ import type { RecallPatternsOptions, TeachGuardResult, IntegrationOutcome } from '@dzhechkov/harness-core';
8
9
  /** Literal command inventory, pinned against the main dispatch switch by a layer-1 test. */
9
10
  export declare const DZ_COMMANDS: readonly string[];
11
+ export interface MutationGateRunnerObservation {
12
+ readonly exitCode: number | null;
13
+ readonly output: string;
14
+ readonly failureReason?: string;
15
+ }
16
+ export type MutationGateRunner = (command: string, options: {
17
+ readonly cwd: string;
18
+ readonly timeoutMs: number;
19
+ }) => MutationGateRunnerObservation;
10
20
  /** Output sink + working directory — injectable so the CLI is testable. */
11
21
  export interface CliIo {
12
22
  readonly cwd?: string;
@@ -29,6 +39,18 @@ export interface CliIo {
29
39
  * command that needs it (`brain ground`), and never when stdin is a TTY (nothing piped).
30
40
  */
31
41
  readonly stdin?: string;
42
+ /** Human-terminal rendering seam; production defaults to stdout TTY detection. */
43
+ readonly interactive?: boolean;
44
+ /** Fault seam proving that class-form recall degrades to specific recall with a stderr receipt. */
45
+ readonly classMatcher?: RecallPatternsOptions['classMatcher'];
46
+ /** Guard decision seam; production always uses the real vector-backed teach guard. */
47
+ readonly teachGuardRunner?: (projectRoot: string, text: string, opts: {
48
+ readonly reward?: number;
49
+ }) => Promise<TeachGuardResult>;
50
+ /** Reinforcement flush seam paired with `teachGuardRunner`; production uses the configured backend. */
51
+ readonly teachReinforceRunner?: (projectRoot: string, dzId: string, reward: number) => Promise<{
52
+ readonly flushed: number;
53
+ }>;
32
54
  /**
33
55
  * Test seam for `dz release`: overrides subprocess execution for gate steps and the
34
56
  * gh/git side channels (production leaves it unset → real `execSync`, stdio piped).
@@ -43,6 +65,8 @@ export interface CliIo {
43
65
  * offline, hermetically — mirrors the {@link CliIo.releaseRunner} idiom.
44
66
  */
45
67
  readonly installRunner?: (command: string, cwd: string) => void;
68
+ /** Fault seam for proving mutation-gate catches and retries thrown runner internals. */
69
+ readonly mutationGateRunner?: MutationGateRunner;
46
70
  }
47
71
  /** Injected subprocess runner used by `dz release` (see {@link CliIo.releaseRunner}). */
48
72
  export type ReleaseExecRunner = (cmd: string, opts: {
@@ -86,6 +110,10 @@ export interface CodexHooksSummary {
86
110
  readonly stdout: readonly string[];
87
111
  readonly stderr: readonly string[];
88
112
  }
113
+ /** Map the retained Codex hook writer's one live verdict into the common integration contract. */
114
+ export declare function normalizeCodexHookOutcome(base: IntegrationOutcome, delivery: CodexHooksSummary & {
115
+ readonly report: CodexHooksSyncReport;
116
+ }, noVerify?: boolean): IntegrationOutcome;
89
117
  /**
90
118
  * What the user is told about a sync report — the ONE place the success word can be printed.
91
119
  *
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;AASH,OAAO,EAAoC,KAAK,EAAa,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAM3G,OAAO,EA4CL,iBAAiB,EAmBjB,KAAK,oBAAoB,EAoWzB,KAAK,YAAY,EAwElB,MAAM,yBAAyB,CAAC;AAkBjC,4FAA4F;AAC5F,eAAO,MAAM,WAAW,EAAE,SAAS,MAAM,EAexC,CAAC;AA8IF,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,QAAQ,CAAC,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAC3C;;;;;OAKG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACjE;AAED,yFAAyF;AACzF,MAAM,MAAM,iBAAiB,GAAG,CAC9B,GAAG,EAAE,MAAM,EACX,IAAI,EAAE;IAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,SAAS,EA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