rcf-lite 0.32.4 → 0.32.5
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/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.32.5] - 2026-10-07
|
|
10
|
+
|
|
11
|
+
0.32.5 ships two chain-shape fixes surfaced by Dex on branch `dex/discovery-viewer-command-page` (reporter), closing issues 321 and 322. The dogfood walker in `test/rcf-tree.test.js` now mirrors the sidecar-ledger carve-out from `src/define/ledgers.js` and ignores `rcf/define/`, so the first `pnpm rcf define ledger brief add` on a fresh tree no longer blows up three dogfood assertions. A new `packages/rcf-lite/guidance/discovery/` (and companion `packages/rcf-lite/docs/discovery/`) subdir gives project discovery artefacts a predictable home outside the locked methodology inventories. The three locked slug lists in `test/guidance/inventory.test.js`, `test/mcp/resources.test.js` and `test/docs/links.test.js` are untouched and `guidance/manifest.json` is untouched, so an in-package methodology addition still requires a coordinated test-code change. breaking: false; the 0.32.1 through 0.32.4 fixes carry forward unchanged. minAgentAction: null.
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- **Dogfood walker ignores `rcf/define/` ledgers (issue 321, reporter Dex, w-2026-10-07-dave-006).** `src/define/ledgers.js` exports the new `DEFINE_RELATIVE_DIR` constant; `test/rcf-tree.test.js:walk()` imports it and skips the directory the exact same way the ledger module writes to it, so the four sidecar ledgers (`brief-ledger.json`, `decisions-ledger.json`, `concern-ledger.json`, `probe-ledger.json`) plus the freeze record never surface to `classify()` or `loadAll()`. `loadAll()` additionally takes an optional project-root override so the carve-out works regardless of where the caller rooted the walk. Regression fixture seeds the four ledgers plus a bug-bait REQ-shaped file under `rcf/define/` and proves none of them surface, while a real chain document outside the carve-out does.
|
|
16
|
+
- **Project discovery home carved out of the locked inventories (issue 322, reporter Dex, w-2026-10-07-dave-006).** `packages/rcf-lite/guidance/discovery/` and `packages/rcf-lite/docs/discovery/` are the new home for DISCOVERY-stage artefacts: discovery briefs, prototype notes, exploratory write-ups, infographic sketches. The subdirs sit outside the top-level non-recursive readdir enumerations the methodology locks use, so a first-time contributor can land a discovery brief without touching the methodology lock or the pack manifest. The guidance posture (no em-dash, no non-canonical external URLs, filename stem is a well-formed slug) still runs over the subdir via a new `test/guidance/discovery-home.test.js`. CONTRIBUTING.md documents the home under chain-first discipline.
|
|
17
|
+
|
|
9
18
|
## [0.32.4] - 2026-10-07
|
|
10
19
|
|
|
11
20
|
0.32.4 is the stop-word follow-up to 0.32.3 after Dex's second-consumer check of PR 318 on WESPA main 34ebceba (2026-10-07T10:38Z, issue 319). 0.32.3 moved the English stop-word skip onto the pattern 4 (dot-notation) branch but left patterns 2 and 3 (prose `<name> field` and `fields: <name>`) with no stop-word filter at all; the AC-130-1 then-clause `declares NO join-shaped fields: the earlier jurisdiction ...` fed the word `the` to the extractor and false-failed D6 on WESPA (Ready-to-build no on 0.32.3 against yes on 0.31.0). breaking: false; the 0.32.1, 0.32.2 and 0.32.3 fixes carry forward unchanged. minAgentAction: null.
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"registerCanary": [
|
|
3
3
|
{
|
|
4
4
|
"id": "rc-2026-10-07-001",
|
|
5
|
-
"createdAt": "2026-10-
|
|
6
|
-
"buildVersion": "0.32.
|
|
5
|
+
"createdAt": "2026-10-07T13:01:30.849Z",
|
|
6
|
+
"buildVersion": "0.32.5-mockdriver",
|
|
7
7
|
"fixturePromptId": "canary-prompt-01",
|
|
8
8
|
"responseWordCount": 55,
|
|
9
9
|
"grades": {
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
"id": "rc-2026-10-07-002",
|
|
38
|
-
"createdAt": "2026-10-
|
|
39
|
-
"buildVersion": "0.32.
|
|
38
|
+
"createdAt": "2026-10-07T13:01:30.850Z",
|
|
39
|
+
"buildVersion": "0.32.5-mockdriver",
|
|
40
40
|
"fixturePromptId": "canary-prompt-02",
|
|
41
41
|
"responseWordCount": 55,
|
|
42
42
|
"grades": {
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
"id": "rc-2026-10-07-003",
|
|
71
|
-
"createdAt": "2026-10-
|
|
72
|
-
"buildVersion": "0.32.
|
|
71
|
+
"createdAt": "2026-10-07T13:01:30.850Z",
|
|
72
|
+
"buildVersion": "0.32.5-mockdriver",
|
|
73
73
|
"fixturePromptId": "canary-prompt-03",
|
|
74
74
|
"responseWordCount": 55,
|
|
75
75
|
"grades": {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# guidance/discovery/
|
|
2
|
+
|
|
3
|
+
Home for project discovery artefacts: discovery briefs, prototype
|
|
4
|
+
notes, exploratory write-ups, and anything else that belongs to a
|
|
5
|
+
specific DISCOVERY-stage effort rather than the methodology pack
|
|
6
|
+
itself.
|
|
7
|
+
|
|
8
|
+
Files directly under `guidance/` are the methodology inventory,
|
|
9
|
+
locked by `test/guidance/inventory.test.js` and `test/mcp/resources.test.js`
|
|
10
|
+
and reachable through `rcf://docs/<slug>`. New additions there require a
|
|
11
|
+
coordinated test-code change and a manifest update.
|
|
12
|
+
|
|
13
|
+
Files here, under `guidance/discovery/<slug>.md`, do NOT need a manifest
|
|
14
|
+
update and are not served through the methodology-doc URIs. They still
|
|
15
|
+
carry the guidance posture (no em-dash, no non-canonical external URLs,
|
|
16
|
+
filename stem is a well-formed slug of lowercase letters, digits and
|
|
17
|
+
hyphens); `test/guidance/discovery-home.test.js` enforces that.
|
|
18
|
+
|
|
19
|
+
Companion home for engineer-facing docs: `docs/discovery/`.
|
|
20
|
+
|
|
21
|
+
Issue 322 carved out this subdir so a first-time contributor can land a
|
|
22
|
+
discovery brief without touching the methodology lock.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rcf-lite",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "One-install tooling for the Requirements Confidence Framework (RCF): the unified `rcf` CLI grouped into the five RCF tool groups (discover, define, build, verify, audit) plus a small core set (init, doctor, guidance, mcp), an MCP server, the live tree viewer and the fresh-context adversarial ship-gate verifier. Consumes @stravica-ai/rcf-schemas.",
|
|
6
6
|
"license": "Apache-2.0",
|
package/releases/releases.yaml
CHANGED
|
@@ -40,8 +40,16 @@
|
|
|
40
40
|
# `npm install rcf-lite`.
|
|
41
41
|
|
|
42
42
|
feedVersion: 1
|
|
43
|
-
latest: "0.32.
|
|
43
|
+
latest: "0.32.5"
|
|
44
44
|
releases:
|
|
45
|
+
- version: "0.32.5"
|
|
46
|
+
date: "2026-10-07"
|
|
47
|
+
breaking: false
|
|
48
|
+
headlines:
|
|
49
|
+
- "rcf-lite 0.32.5 ships two chain-shape fixes surfaced by Dex on the discovery-viewer-command-page branch (reporter). The dogfood walker in test/rcf-tree.test.js now mirrors the sidecar-ledger carve-out from src/define/ledgers.js by importing the new DEFINE_RELATIVE_DIR constant and ignoring rcf/define/, so the first `pnpm rcf define ledger brief add` on a fresh tree no longer blows up three dogfood assertions (issue 321). A new guidance/discovery/ (and companion docs/discovery/) subdir gives project discovery artefacts a predictable home outside the three locked methodology inventories; a first-time contributor can now land a discovery brief without touching the methodology lock or the pack manifest (issue 322). The 0.32.1 through 0.32.4 fixes carry forward unchanged."
|
|
50
|
+
minAgentAction: null
|
|
51
|
+
notesUrl: "https://stravica.ai/docs/rcf/changelog/"
|
|
52
|
+
|
|
45
53
|
- version: "0.32.4"
|
|
46
54
|
date: "2026-10-07"
|
|
47
55
|
breaking: false
|
package/src/define/ledgers.js
CHANGED
|
@@ -55,7 +55,15 @@ export const LEDGER_NAMES = /** @type {const} */ (['brief', 'decisions', 'concer
|
|
|
55
55
|
|
|
56
56
|
/** @typedef {(typeof LEDGER_NAMES)[number]} LedgerName */
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
/**
|
|
59
|
+
* Project-root-relative directory the ledgers (and the freeze record) live in.
|
|
60
|
+
* Exported so any walker that enumerates `rcf/` can mirror the carve-out
|
|
61
|
+
* without a second hard-coded copy (issue 321).
|
|
62
|
+
*/
|
|
63
|
+
export const DEFINE_RELATIVE_DIR = 'rcf/define';
|
|
64
|
+
|
|
65
|
+
// Legacy alias kept until all internal references migrate.
|
|
66
|
+
const RELATIVE_DIR = DEFINE_RELATIVE_DIR;
|
|
59
67
|
|
|
60
68
|
/** Per-ledger config: filename, array key on the body, entry schema. */
|
|
61
69
|
const LEDGER_CONFIG = /** @type {const} */ ({
|