@cairnkeep/cli 2.15.4 → 2.17.0
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 +44 -0
- package/CONTRIBUTING.md +12 -0
- package/README.md +85 -590
- package/docs/README.md +87 -0
- package/docs/agents.md +193 -0
- package/docs/context-intelligence.md +143 -0
- package/docs/context-packs.md +33 -0
- package/docs/domain-knowledge.md +29 -0
- package/docs/ecosystem.md +23 -0
- package/docs/learning/CURRICULUM-MAP.md +3 -1
- package/docs/learning/FEATURE-GUIDE.md +23 -4
- package/docs/learning/README.md +4 -0
- package/docs/learning/lessons/L00-why-cairnkeep.md +3 -1
- package/docs/learning/lessons/L01-safe-trial.md +3 -3
- package/docs/learning/lessons/L02-installation.md +2 -2
- package/docs/learning/lessons/L03-first-project.md +9 -10
- package/docs/learning/lessons/L19-validated-skill-improvement.md +1 -1
- package/docs/learning/lessons/L20-mcp-tool-profiles.md +1 -1
- package/docs/learning/lessons/L21-context-packs.md +1 -1
- package/docs/learning/lessons/L22-native-windows.md +2 -2
- package/docs/learning/lessons/L23-guided-setup.md +18 -5
- package/docs/learning/lessons/L24-okf-exchange.md +1 -1
- package/docs/learning/lessons/L25-playbooks.md +1 -1
- package/docs/learning/lessons/L26-context-intelligence.md +180 -0
- package/docs/learning/tracks/evidence-and-evaluation.md +1 -0
- package/docs/learning/tracks/operator.md +1 -0
- package/docs/learning/tracks/practitioner.md +1 -0
- package/docs/learning/video-scripts/V26-context-intelligence.md +144 -0
- package/docs/native-windows.md +5 -0
- package/docs/operating.md +65 -3
- package/docs/privacy-and-data-flow.md +22 -0
- package/docs/quickstart.md +12 -4
- package/docs/releasing.md +27 -19
- package/docs/storage.md +21 -0
- package/docs/work-evidence.md +14 -0
- package/examples/eval/bundled-fake.json +1 -1
- package/mcp-memory-server/dist/context-pack-cli.js +3 -1
- package/mcp-memory-server/dist/context-pack-retrieval.js +413 -0
- package/mcp-memory-server/dist/context-pack.js +171 -3
- package/mcp-memory-server/dist/domain-retrieval-provider.js +257 -0
- package/mcp-memory-server/dist/index.js +73 -387
- package/mcp-memory-server/dist/mcp-tool-catalog.js +2 -0
- package/mcp-memory-server/dist/memory-extraction.js +87 -0
- package/mcp-memory-server/dist/memory-proposal-cli.js +110 -0
- package/mcp-memory-server/dist/memory-proposal-schema.js +78 -0
- package/mcp-memory-server/dist/memory-proposal-store.js +273 -0
- package/mcp-memory-server/dist/platform-security.js +32 -26
- package/mcp-memory-server/dist/retrieval-benchmark.js +199 -0
- package/mcp-memory-server/dist/reviewed-memory-store.js +281 -0
- package/mcp-memory-server/dist/work-evidence-schema.js +17 -0
- package/mcp-memory-server/dist/work-evidence-store.js +57 -1
- package/mcp-memory-server/package.json +8 -1
- package/package.json +1 -1
- package/schemas/context-usage-receipt.schema.json +41 -0
- package/schemas/memory-proposal.schema.json +65 -0
- package/schemas/retrieval-benchmark.schema.json +64 -0
- package/scripts/cairn-cli.mjs +3 -0
- package/scripts/completion.sh +17 -6
- package/scripts/doctor.sh +4 -2
- package/scripts/setup.mjs +92 -13
- package/scripts/terminal-prompts.mjs +172 -0
- package/scripts/test-completion.sh +8 -1
- package/scripts/test-docs-navigation.sh +63 -0
- package/scripts/test-doctor.sh +21 -0
- package/scripts/test-phase17-artifact-lifecycle.sh +1 -1
- package/scripts/test-release-sbom.sh +44 -16
- package/scripts/test-setup-preflight.mjs +130 -0
- package/scripts/test-windows-native.mjs +30 -0
- package/scripts/verify-docs-parity.sh +28 -28
- package/scripts/windows-platform.mjs +8 -5
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,50 @@ All notable user-facing changes are documented here. This project follows
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [2.17.0] - 2026-08-29
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Frozen, offline retrieval benchmark with substring and deterministic mock-
|
|
13
|
+
embedding goldens, quality/cost/latency metrics, mutation accounting, and
|
|
14
|
+
forbidden-result leakage checks.
|
|
15
|
+
- Progressive context-pack hierarchy and derived summary cache, the
|
|
16
|
+
`context_pack_tree` MCP tool, and opt-in hierarchical search detail and
|
|
17
|
+
sanitized explanation traces. Compatible flat content search remains the
|
|
18
|
+
default.
|
|
19
|
+
- Opt-in, privacy-preserving context-usage receipts linked to work evidence.
|
|
20
|
+
- Review-gated `cairn proposals create|list|show|apply|doctor` workflow for
|
|
21
|
+
promoting redacted trajectory candidates into reviewed durable memory.
|
|
22
|
+
- Provider-neutral domain retrieval with an explicitly gated, read-only
|
|
23
|
+
OpenViking adapter; AnythingLLM remains the default provider.
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- Context-pack search can return stable result and chunk digests when requested,
|
|
28
|
+
without changing the default response shape.
|
|
29
|
+
- `cairn doctor` validates progressive context-cache records while preserving
|
|
30
|
+
immutable pack objects, project pins, and skill-approval authority.
|
|
31
|
+
|
|
32
|
+
## [2.16.0] - 2026-08-27
|
|
33
|
+
|
|
34
|
+
### Added
|
|
35
|
+
|
|
36
|
+
- Add dependency-free terminal selectors to `cairn setup`: arrow-key choices
|
|
37
|
+
for Git and memory, Space-toggle checkboxes for harnesses, and a selectable
|
|
38
|
+
final confirmation. Escape and Ctrl-C cancel safely.
|
|
39
|
+
|
|
40
|
+
### Changed
|
|
41
|
+
|
|
42
|
+
- Keep the existing text-question fallback for limited terminals and preserve
|
|
43
|
+
every deterministic setup flag for scripts, CI, policies, and overlays.
|
|
44
|
+
- Treat redirected output as non-interactive even when standard input is still
|
|
45
|
+
a TTY, preventing hidden prompts in automation.
|
|
46
|
+
|
|
47
|
+
### Fixed
|
|
48
|
+
|
|
49
|
+
- Keep capability-logging smoke fixtures relative to the test date so the
|
|
50
|
+
retention contract cannot fail merely because a hard-coded date aged out.
|
|
51
|
+
|
|
8
52
|
## [2.15.4] - 2026-08-19
|
|
9
53
|
|
|
10
54
|
### Changed
|
package/CONTRIBUTING.md
CHANGED
|
@@ -37,6 +37,18 @@ npm run check:public
|
|
|
37
37
|
Some integration verifiers require optional sibling tools or configured API
|
|
38
38
|
endpoints. They are not part of the default offline test suite.
|
|
39
39
|
|
|
40
|
+
## Repository map
|
|
41
|
+
|
|
42
|
+
- `mcp-memory-server/` contains the MCP server, storage owners, schemas, and
|
|
43
|
+
Node-based CLI implementations.
|
|
44
|
+
- `bin/cairn` is the installed command entry point.
|
|
45
|
+
- `templates/` contains project scaffolding and managed instruction assets.
|
|
46
|
+
- `claude/`, `opencode/`, `pi/`, and `kimi/` contain harness-specific operating
|
|
47
|
+
assets.
|
|
48
|
+
- `scripts/` contains sync, lifecycle, packaging, and contract checks.
|
|
49
|
+
- `docs/` contains the versioned user and operator references indexed from
|
|
50
|
+
[the documentation hub](docs/README.md).
|
|
51
|
+
|
|
40
52
|
## Pull requests
|
|
41
53
|
|
|
42
54
|
- Create a focused branch from `main`.
|