@dzhechkov/skills-feature-adr 1.3.45 → 1.3.46

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.
Files changed (3) hide show
  1. package/README.md +18 -5
  2. package/bin/cli.js +0 -0
  3. package/package.json +5 -6
package/README.md CHANGED
@@ -195,8 +195,9 @@ Workflow({ scriptPath: '.claude/workflows/feature-adr.js',
195
195
 
196
196
  The `codex-fallback` knobs above are **reactive** — they catch a stage *after* it dies on a limit. At
197
197
  true exhaustion even the fallback dispatch can die, so the pipeline also switches **pre-emptively**:
198
- when model routing is opted into, it probes Claude **SESSION** (active 5h-block) and **WEEKLY** (rolling
199
- 7d) usage at each phase boundary via `dz usage --json` (from `@dzhechkov/harness-cli`), and moves the
198
+ when model routing is opted into, it probes Claude **SESSION** (fixed-length transcript block) and
199
+ **WEEKLY** (fixed reset anchor such as `Wed 08:59`) usage at each phase boundary via `dz usage --json`
200
+ (from `@dzhechkov/harness-cli`), and moves the
200
201
  remaining stages to Codex **before** hitting the wall.
201
202
 
202
203
  | Knob (`args.*`) | Default | Effect |
@@ -218,11 +219,23 @@ remaining stages to Codex **before** hitting the wall.
218
219
  `usageEvents` (`[{phase, sessionPct, weeklyPct, action}]`, action ∈
219
220
  `switch|restore|keep|fail-safe-switch|reactive-switch|none`) and `usageThreshold`.
220
221
 
221
- **Config (optional):** percentages are local-transcript **estimates** (no official usage API); they stay
222
- `null` — and never trigger a switch — until you set your plan's limits in `.dz/config.json`:
222
+ **Config (optional):** percentages are local-transcript **estimates**; claude.ai/settings/usage is
223
+ authoritative. They stay `null` — and never trigger a switch — until you set your plan's limits in
224
+ `.dz/config.json`. When `weeklyTokenLimitByModel` is configured, `weeklyPct` is the binding per-model
225
+ weekly estimate; otherwise it is the all-model weekly estimate.
223
226
 
224
227
  ```json
225
- { "memory": { "usage": { "sessionTokenLimit": 200000000, "weeklyTokenLimit": 1000000000 } } }
228
+ {
229
+ "memory": {
230
+ "usage": {
231
+ "sessionTokenLimit": 200000000,
232
+ "weeklyTokenLimit": 1000000000,
233
+ "weeklyResetAnchor": "Wed 08:59",
234
+ "sessionBlockHours": 5,
235
+ "weeklyTokenLimitByModel": { "fable": 500000000 }
236
+ }
237
+ }
238
+ }
226
239
  ```
227
240
 
228
241
  ```js
package/bin/cli.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dzhechkov/skills-feature-adr",
3
- "version": "1.3.45",
3
+ "version": "1.3.46",
4
4
  "description": "Adaptive Feature Development skill pack for Claude Code — 11-step pipeline with Complexity Router (S/M/L/XL), ADR-driven architecture, 15 agentic-qe skills, multi-agent fleet QE. Supports --full-qe, --full-qe-extended, --with-learning, and --knowledge-extractor modes.",
5
5
  "bin": {
6
6
  "skills-feature-adr": "./bin/cli.js"
@@ -13,10 +13,6 @@
13
13
  "CHANGELOG.md",
14
14
  "docs/"
15
15
  ],
16
- "scripts": {
17
- "test": "node --test \"test/**/*.test.js\"",
18
- "prepack": "node -e \"const fs=require('fs');const bad=['.claude','.skills-feature-adr.json'].filter(p=>fs.existsSync(p));if(bad.length){console.error('prepack guard: stray init artifacts in package dir: '+bad.join(', ')+' — remove before packing');process.exit(1)}\""
19
- },
20
16
  "keywords": [
21
17
  "claude",
22
18
  "claude-code",
@@ -61,5 +57,8 @@
61
57
  },
62
58
  "publishConfig": {
63
59
  "access": "public"
60
+ },
61
+ "scripts": {
62
+ "test": "node --test \"test/**/*.test.js\""
64
63
  }
65
- }
64
+ }