ctxr-cli 0.4.1 → 0.6.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/dist/adapter.d.ts +0 -1
- package/dist/adapter.d.ts.map +1 -1
- package/dist/adapter.js.map +1 -1
- package/dist/adapters/builtin/index.d.ts.map +1 -1
- package/dist/adapters/builtin/index.js +2 -2
- package/dist/adapters/builtin/index.js.map +1 -1
- package/dist/adapters/harness/claude-code.d.ts.map +1 -1
- package/dist/adapters/harness/claude-code.js +30 -14
- package/dist/adapters/harness/claude-code.js.map +1 -1
- package/dist/adapters/harness/hermes-agent.d.ts +9 -0
- package/dist/adapters/harness/hermes-agent.d.ts.map +1 -0
- package/dist/adapters/harness/hermes-agent.js +13 -0
- package/dist/adapters/harness/hermes-agent.js.map +1 -0
- package/dist/adapters/types.d.ts +39 -18
- package/dist/adapters/types.d.ts.map +1 -1
- package/dist/adapters/types.js +3 -3
- package/dist/adapters/types.js.map +1 -1
- package/dist/commands/adapters-generate.d.ts +4 -2
- package/dist/commands/adapters-generate.d.ts.map +1 -1
- package/dist/commands/adapters-generate.js +14 -6
- package/dist/commands/adapters-generate.js.map +1 -1
- package/dist/commands/archive.d.ts +4 -2
- package/dist/commands/archive.d.ts.map +1 -1
- package/dist/commands/archive.js +5 -3
- package/dist/commands/archive.js.map +1 -1
- package/dist/commands/check.d.ts.map +1 -1
- package/dist/commands/check.js +1 -6
- package/dist/commands/check.js.map +1 -1
- package/dist/commands/init.d.ts +2 -0
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +132 -18
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/publish-check.d.ts +23 -0
- package/dist/commands/publish-check.d.ts.map +1 -0
- package/dist/commands/publish-check.js +116 -0
- package/dist/commands/publish-check.js.map +1 -0
- package/dist/commands/publish-gather.d.ts +37 -0
- package/dist/commands/publish-gather.d.ts.map +1 -0
- package/dist/commands/publish-gather.js +92 -0
- package/dist/commands/publish-gather.js.map +1 -0
- package/dist/commands/publish-new.d.ts +18 -0
- package/dist/commands/publish-new.d.ts.map +1 -0
- package/dist/commands/publish-new.js +86 -0
- package/dist/commands/publish-new.js.map +1 -0
- package/dist/commands/rollup-write.d.ts.map +1 -1
- package/dist/commands/rollup-write.js +8 -0
- package/dist/commands/rollup-write.js.map +1 -1
- package/dist/commands/serve.d.ts +32 -0
- package/dist/commands/serve.d.ts.map +1 -0
- package/dist/commands/serve.js +170 -0
- package/dist/commands/serve.js.map +1 -0
- package/dist/commands/update.js +3 -3
- package/dist/commands/update.js.map +1 -1
- package/dist/commands/verify.d.ts +9 -2
- package/dist/commands/verify.d.ts.map +1 -1
- package/dist/commands/verify.js +46 -23
- package/dist/commands/verify.js.map +1 -1
- package/dist/config/defaults.d.ts +53 -15
- package/dist/config/defaults.d.ts.map +1 -1
- package/dist/config/defaults.js +54 -19
- package/dist/config/defaults.js.map +1 -1
- package/dist/config/schema.d.ts +49 -12
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/schema.js +115 -23
- package/dist/config/schema.js.map +1 -1
- package/dist/core/agents-doc.d.ts +63 -12
- package/dist/core/agents-doc.d.ts.map +1 -1
- package/dist/core/agents-doc.js +191 -41
- package/dist/core/agents-doc.js.map +1 -1
- package/dist/core/browse/link-resolver.d.ts +12 -0
- package/dist/core/browse/link-resolver.d.ts.map +1 -0
- package/dist/core/browse/link-resolver.js +12 -0
- package/dist/core/browse/link-resolver.js.map +1 -0
- package/dist/core/browse/render.d.ts +5 -0
- package/dist/core/browse/render.d.ts.map +1 -0
- package/dist/core/browse/render.js +66 -0
- package/dist/core/browse/render.js.map +1 -0
- package/dist/core/browse/routes.d.ts +31 -0
- package/dist/core/browse/routes.d.ts.map +1 -0
- package/dist/core/browse/routes.js +56 -0
- package/dist/core/browse/routes.js.map +1 -0
- package/dist/core/browse/templates.d.ts +4 -0
- package/dist/core/browse/templates.d.ts.map +1 -0
- package/dist/core/browse/templates.js +26 -0
- package/dist/core/browse/templates.js.map +1 -0
- package/dist/core/checks/harness-portability-checks.d.ts +12 -0
- package/dist/core/checks/harness-portability-checks.d.ts.map +1 -0
- package/dist/core/checks/harness-portability-checks.js +39 -0
- package/dist/core/checks/harness-portability-checks.js.map +1 -0
- package/dist/core/checks/integrity-checks.d.ts +43 -3
- package/dist/core/checks/integrity-checks.d.ts.map +1 -1
- package/dist/core/checks/integrity-checks.js +191 -13
- package/dist/core/checks/integrity-checks.js.map +1 -1
- package/dist/core/checks/manifest.d.ts.map +1 -1
- package/dist/core/checks/manifest.js +2 -0
- package/dist/core/checks/manifest.js.map +1 -1
- package/dist/core/checks/organize-checks.d.ts +21 -1
- package/dist/core/checks/organize-checks.d.ts.map +1 -1
- package/dist/core/checks/organize-checks.js +64 -4
- package/dist/core/checks/organize-checks.js.map +1 -1
- package/dist/core/convention-doc.d.ts +32 -0
- package/dist/core/convention-doc.d.ts.map +1 -0
- package/dist/core/convention-doc.js +137 -0
- package/dist/core/convention-doc.js.map +1 -0
- package/dist/core/conventions.d.ts +25 -5
- package/dist/core/conventions.d.ts.map +1 -1
- package/dist/core/conventions.js +65 -3
- package/dist/core/conventions.js.map +1 -1
- package/dist/core/disclosure/model.d.ts +11 -0
- package/dist/core/disclosure/model.d.ts.map +1 -1
- package/dist/core/disclosure/model.js +24 -0
- package/dist/core/disclosure/model.js.map +1 -1
- package/dist/core/errors.d.ts +27 -41
- package/dist/core/errors.d.ts.map +1 -1
- package/dist/core/errors.js +76 -119
- package/dist/core/errors.js.map +1 -1
- package/dist/core/fs/fenced-region.d.ts +38 -0
- package/dist/core/fs/fenced-region.d.ts.map +1 -1
- package/dist/core/fs/fenced-region.js +88 -2
- package/dist/core/fs/fenced-region.js.map +1 -1
- package/dist/core/git/repo.d.ts +0 -6
- package/dist/core/git/repo.d.ts.map +1 -1
- package/dist/core/git/repo.js +0 -13
- package/dist/core/git/repo.js.map +1 -1
- package/dist/core/git/worktree.d.ts +4 -7
- package/dist/core/git/worktree.d.ts.map +1 -1
- package/dist/core/git/worktree.js +4 -10
- package/dist/core/git/worktree.js.map +1 -1
- package/dist/core/graph/model.d.ts +14 -0
- package/dist/core/graph/model.d.ts.map +1 -1
- package/dist/core/graph/model.js +30 -14
- package/dist/core/graph/model.js.map +1 -1
- package/dist/core/harness/bridge.d.ts +30 -0
- package/dist/core/harness/bridge.d.ts.map +1 -0
- package/dist/core/harness/bridge.js +178 -0
- package/dist/core/harness/bridge.js.map +1 -0
- package/dist/core/json-config-merge.d.ts.map +1 -1
- package/dist/core/json-config-merge.js +30 -7
- package/dist/core/json-config-merge.js.map +1 -1
- package/dist/core/migrations/archive-destination-from-taxonomy.d.ts +35 -0
- package/dist/core/migrations/archive-destination-from-taxonomy.d.ts.map +1 -0
- package/dist/core/migrations/archive-destination-from-taxonomy.js +109 -0
- package/dist/core/migrations/archive-destination-from-taxonomy.js.map +1 -0
- package/dist/core/migrations/drop-forge-and-workspaces-external.d.ts +19 -0
- package/dist/core/migrations/drop-forge-and-workspaces-external.d.ts.map +1 -0
- package/dist/core/migrations/drop-forge-and-workspaces-external.js +49 -0
- package/dist/core/migrations/drop-forge-and-workspaces-external.js.map +1 -0
- package/dist/core/migrations/registry.d.ts.map +1 -1
- package/dist/core/migrations/registry.js +10 -1
- package/dist/core/migrations/registry.js.map +1 -1
- package/dist/core/migrations/rename-conventions-path.d.ts +26 -0
- package/dist/core/migrations/rename-conventions-path.d.ts.map +1 -0
- package/dist/core/migrations/rename-conventions-path.js +86 -0
- package/dist/core/migrations/rename-conventions-path.js.map +1 -0
- package/dist/core/notes/list.d.ts.map +1 -1
- package/dist/core/notes/list.js +7 -3
- package/dist/core/notes/list.js.map +1 -1
- package/dist/core/publish/script-check.d.ts +12 -0
- package/dist/core/publish/script-check.d.ts.map +1 -0
- package/dist/core/publish/script-check.js +39 -0
- package/dist/core/publish/script-check.js.map +1 -0
- package/dist/core/reconcile.d.ts +3 -0
- package/dist/core/reconcile.d.ts.map +1 -1
- package/dist/core/reconcile.js +43 -6
- package/dist/core/reconcile.js.map +1 -1
- package/dist/core/rollup.d.ts +2 -2
- package/dist/core/rollup.d.ts.map +1 -1
- package/dist/core/rollup.js +24 -3
- package/dist/core/rollup.js.map +1 -1
- package/dist/core/session.d.ts +9 -9
- package/dist/core/session.js +9 -9
- package/dist/core/skills.d.ts +36 -0
- package/dist/core/skills.d.ts.map +1 -1
- package/dist/core/skills.js +154 -29
- package/dist/core/skills.js.map +1 -1
- package/dist/core/write-lifecycle/path-gate.d.ts.map +1 -1
- package/dist/core/write-lifecycle/path-gate.js +5 -3
- package/dist/core/write-lifecycle/path-gate.js.map +1 -1
- package/dist/prompt/inquirer-prompter.d.ts.map +1 -1
- package/dist/prompt/inquirer-prompter.js +11 -1
- package/dist/prompt/inquirer-prompter.js.map +1 -1
- package/dist/prompt/prompter.d.ts +16 -0
- package/dist/prompt/prompter.d.ts.map +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +61 -55
- package/dist/run.js.map +1 -1
- package/dist/taxonomy/profiles.d.ts +11 -0
- package/dist/taxonomy/profiles.d.ts.map +1 -1
- package/dist/taxonomy/profiles.js +1 -0
- package/dist/taxonomy/profiles.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -1
- package/templates/agents/canonical.md +2 -8
- package/templates/agents/{store-conventions.md → conventions.md} +2 -4
- package/templates/agents/mission.md +5 -0
- package/templates/conventions/baseline-conventions.md +60 -0
- package/templates/conventions/house-conventions-seed.md +34 -0
- package/templates/hooks/pre-push.sh +1 -1
- package/templates/serve/shell.html +15 -0
- package/templates/serve/style.css +88 -0
- package/templates/skills/ctxr-land.md +32 -18
- package/templates/skills/ctxr-organize-audit.md +1 -1
- package/templates/skills/ctxr-publish.md +79 -0
- package/templates/skills/ctxr-session-capture.md +44 -1
- package/templates/skills/ctxr-session-lifecycle.md +20 -1
- package/templates/skills/ctxr-submit.md +15 -11
- package/templates/vendor/frontend-design/LICENSE.txt +177 -0
- package/templates/vendor/frontend-design/SKILL.md +55 -0
- package/templates/vendor/frontend-design/provenance.json +7 -0
- package/dist/adapters/forge/github.d.ts +0 -12
- package/dist/adapters/forge/github.d.ts.map +0 -1
- package/dist/adapters/forge/github.js +0 -76
- package/dist/adapters/forge/github.js.map +0 -1
- package/dist/adapters/forge/types.d.ts +0 -46
- package/dist/adapters/forge/types.d.ts.map +0 -1
- package/dist/adapters/forge/types.js +0 -2
- package/dist/adapters/forge/types.js.map +0 -1
- package/dist/commands/session-abandon.d.ts +0 -13
- package/dist/commands/session-abandon.d.ts.map +0 -1
- package/dist/commands/session-abandon.js +0 -22
- package/dist/commands/session-abandon.js.map +0 -1
- package/dist/commands/session-land.d.ts +0 -45
- package/dist/commands/session-land.d.ts.map +0 -1
- package/dist/commands/session-land.js +0 -171
- package/dist/commands/session-land.js.map +0 -1
- package/dist/commands/session-reap.d.ts +0 -22
- package/dist/commands/session-reap.d.ts.map +0 -1
- package/dist/commands/session-reap.js +0 -52
- package/dist/commands/session-reap.js.map +0 -1
- package/dist/commands/session-submit.d.ts +0 -29
- package/dist/commands/session-submit.d.ts.map +0 -1
- package/dist/commands/session-submit.js +0 -72
- package/dist/commands/session-submit.js.map +0 -1
- package/templates/agents/store-conventions-empty.md +0 -7
|
@@ -30,14 +30,46 @@ export declare const DEFAULT_VISIBILITY_CONTEXT = "private";
|
|
|
30
30
|
*/
|
|
31
31
|
export declare const DEFAULT_DERIVED_PATHS: readonly ['.contexture/cache/'];
|
|
32
32
|
/**
|
|
33
|
-
* harness-portability spec (
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
33
|
+
* harness-portability spec (vendored-craft-skills): the ecosystem's
|
|
34
|
+
* cross-harness canonical skills location — the directory the majority of
|
|
35
|
+
* agent runtimes read natively, with no bridge required. A harness that
|
|
36
|
+
* reads its own branded directory instead (e.g. Claude Code's
|
|
37
|
+
* `.claude/skills/`) gets that directory bridged to this one; see
|
|
38
|
+
* `core/harness/bridge.ts`. A store driven by no auto-discovering harness
|
|
39
|
+
* can still point this anywhere.
|
|
37
40
|
*/
|
|
38
|
-
export declare const DEFAULT_SKILLS_PATH = ".
|
|
39
|
-
/** harness-portability spec (
|
|
40
|
-
export declare const
|
|
41
|
+
export declare const DEFAULT_SKILLS_PATH = ".agents/skills/";
|
|
42
|
+
/** harness-portability spec (vendored-craft-skills): the shipped vendored skill set, installed by default and refreshed by update. */
|
|
43
|
+
export declare const DEFAULT_VENDORED_SKILLS: readonly ['frontend-design'];
|
|
44
|
+
/**
|
|
45
|
+
* harness-portability spec: the guidance directory holding contexture's
|
|
46
|
+
* shipped baseline convention file, the operator's own convention files
|
|
47
|
+
* (inlined into AGENTS.md's "Store conventions" section — see
|
|
48
|
+
* agents-doc.ts, from inline-conventions-and-mission), and (per
|
|
49
|
+
* context-organize) the mission document.
|
|
50
|
+
*/
|
|
51
|
+
export declare const DEFAULT_GUIDANCE_PATH = ".contexture/guidance/";
|
|
52
|
+
/** The shipped, contexture-owned baseline conventions — never hand-edited; refreshed by `ctxr update` like a skill copy. */
|
|
53
|
+
export declare const DEFAULT_BASELINE_CONVENTIONS_FILE_NAME = "baseline-conventions.md";
|
|
54
|
+
/**
|
|
55
|
+
* The baseline file's pre-rename name. `syncBaselineConventions` removes it
|
|
56
|
+
* when it still carries the managed-owner header, so the rename leaves no
|
|
57
|
+
* orphan — the guidance directory is scanned wholesale, so an orphan would
|
|
58
|
+
* be inlined into AGENTS.md a second time rather than merely sitting unused.
|
|
59
|
+
*/
|
|
60
|
+
export declare const LEGACY_BASELINE_CONVENTION_FILE_NAME = "baseline-convention.md";
|
|
61
|
+
/**
|
|
62
|
+
* The operator-authored conventions file seeded at init: this store's house
|
|
63
|
+
* rules, layered on the shipped baseline and winning where the two speak to
|
|
64
|
+
* the same thing.
|
|
65
|
+
*/
|
|
66
|
+
export declare const DEFAULT_HOUSE_CONVENTIONS_FILE_NAME = "house-conventions.md";
|
|
67
|
+
/** context-organize spec: the store's standing current-state document's filename, under the guidance directory. */
|
|
68
|
+
export declare const DEFAULT_MISSION_FILE_NAME = "mission.md";
|
|
69
|
+
/** context-organize spec: `organize.mission_path`'s shipped default — every store gets a mission document from `init` onward, seeded there. */
|
|
70
|
+
export declare const DEFAULT_MISSION_PATH = ".contexture/guidance/mission.md";
|
|
71
|
+
/** store-integrity spec: AGENTS.md's inlined "Store conventions" section's size ceiling when `harness.convention_max_bytes` is unset. */
|
|
72
|
+
export declare const DEFAULT_CONVENTION_MAX_BYTES: number;
|
|
41
73
|
/** Paths excluded from every retrieval leg by default. */
|
|
42
74
|
export declare const DEFAULT_EXCLUDE_PATHS: readonly ['.contexture/'];
|
|
43
75
|
/** graph-context-document spec: no relation vocabulary by default — no typed edges until a store declares names. */
|
|
@@ -53,14 +85,14 @@ export declare const DEFAULT_GRAPH_SETTINGS: {
|
|
|
53
85
|
export declare const DEFAULT_WORKTREES_PATH = ".worktrees/";
|
|
54
86
|
/** Branch names for session worktrees are prefixed so they're recognizable and sweep-safe. */
|
|
55
87
|
export declare const DEFAULT_SESSION_BRANCH_PREFIX = "session/";
|
|
56
|
-
/** write-lifecycle spec: worktrees are ctxr-owned (not externally provided) unless a store opts in. */
|
|
57
|
-
export declare const DEFAULT_WORKSPACES_EXTERNAL = false;
|
|
58
88
|
/** write-lifecycle spec: pre-commit's diff-size ceiling, in total changed lines. */
|
|
59
89
|
export declare const DEFAULT_DIFF_SIZE_CEILING_LINES = 2000;
|
|
60
90
|
/** context-catalog spec: where per-section catalog files live — tracked (never gitignored), since glosses are authored. */
|
|
61
91
|
export declare const DEFAULT_CATALOG_PATH = ".contexture/catalog/";
|
|
62
92
|
/** context-catalog spec: a section exceeding this triggers a failing doctor check, not a silent slowdown. */
|
|
63
93
|
export declare const DEFAULT_CATALOG_SECTION_MAX_BYTES: number;
|
|
94
|
+
/** publish spec: where published pages live — tracked, authored-but-tool-owned, excluded from retrieval like the catalog and skill pack. */
|
|
95
|
+
export declare const DEFAULT_PUBLISH_PATH = ".contexture/publish/";
|
|
64
96
|
/** disclosure-policy spec: v1 ships with no audiences pre-declared internal, and no hard walls — an explicit, empty starting point the operator opts into. */
|
|
65
97
|
export declare const DEFAULT_INTERNAL_AUDIENCES: readonly string[];
|
|
66
98
|
export declare const DEFAULT_HARD_WALLS: readonly HardWallConfig[];
|
|
@@ -68,15 +100,21 @@ export declare const DEFAULT_HARD_WALLS: readonly HardWallConfig[];
|
|
|
68
100
|
export declare const DEFAULT_INBOX_PATH = "inbox/";
|
|
69
101
|
/** store-primitives-from-migration-audit spec (D2): the shipped tracking-parameter list source check strips before comparing URL identities. */
|
|
70
102
|
export declare const DEFAULT_TRACKING_PARAMS: string[];
|
|
71
|
-
/**
|
|
72
|
-
|
|
103
|
+
/**
|
|
104
|
+
* context-organize spec: archive's destination, decoupled from any taxonomy
|
|
105
|
+
* layer name. This is the fallback for a taxonomy that declares none of its
|
|
106
|
+
* own — a shipped profile with a retirement layer (PARA's Archives) supplies
|
|
107
|
+
* its `archiveDestination` at init instead, so a PARA store is never born
|
|
108
|
+
* pointing at a directory its own taxonomy doesn't declare.
|
|
109
|
+
*/
|
|
110
|
+
export declare const DEFAULT_ARCHIVE_DESTINATION = "archive/";
|
|
73
111
|
/** store-primitives-from-migration-audit spec (D4): grace period, in days, before a stale rollup is reported. */
|
|
74
112
|
export declare const DEFAULT_ROLLUP_STALE_DAYS = 7;
|
|
75
113
|
/**
|
|
76
|
-
* adapters spec: init registers
|
|
77
|
-
* out-of-the-box UX (a
|
|
78
|
-
*
|
|
79
|
-
*
|
|
114
|
+
* adapters spec: init registers the shipped builtin by default, so
|
|
115
|
+
* out-of-the-box UX (a generated CLAUDE.md) keeps working without the
|
|
116
|
+
* operator hand-writing config — it is just as removable from this list as
|
|
117
|
+
* it was addable.
|
|
80
118
|
*/
|
|
81
119
|
export declare const DEFAULT_ADAPTERS: readonly AdapterDeclaration[];
|
|
82
120
|
//# sourceMappingURL=defaults.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../src/config/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEtE;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,4BAA4B,SAAS,CAAC;AAEnD;;;;;;GAMG;AACH,eAAO,MAAM,8BAA8B,UAAU,CAAC;AAEtD,gFAAgF;AAChF,eAAO,MAAM,0BAA0B,YAAY,CAAC;AAEpD;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,YAAI,oBAAoB,CAAU,CAAC;AAErE
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../src/config/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEtE;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,4BAA4B,SAAS,CAAC;AAEnD;;;;;;GAMG;AACH,eAAO,MAAM,8BAA8B,UAAU,CAAC;AAEtD,gFAAgF;AAChF,eAAO,MAAM,0BAA0B,YAAY,CAAC;AAEpD;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,YAAI,oBAAoB,CAAU,CAAC;AAErE;;;;;;;;GAQG;AACH,eAAO,MAAM,mBAAmB,oBAAoB,CAAC;AAErD,sIAAsI;AACtI,eAAO,MAAM,uBAAuB,YAAI,iBAAiB,CAAU,CAAC;AAEpE;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAE7D,4HAA4H;AAC5H,eAAO,MAAM,sCAAsC,4BAA4B,CAAC;AAEhF;;;;;GAKG;AACH,eAAO,MAAM,oCAAoC,2BAA2B,CAAC;AAE7E;;;;GAIG;AACH,eAAO,MAAM,mCAAmC,yBAAyB,CAAC;AAE1E,mHAAmH;AACnH,eAAO,MAAM,yBAAyB,eAAe,CAAC;AAEtD,+IAA+I;AAC/I,eAAO,MAAM,oBAAoB,oCAAyD,CAA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'];
|
|
31
31
|
/**
|
|
32
|
-
* harness-portability spec (
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
32
|
+
* harness-portability spec (vendored-craft-skills): the ecosystem's
|
|
33
|
+
* cross-harness canonical skills location — the directory the majority of
|
|
34
|
+
* agent runtimes read natively, with no bridge required. A harness that
|
|
35
|
+
* reads its own branded directory instead (e.g. Claude Code's
|
|
36
|
+
* `.claude/skills/`) gets that directory bridged to this one; see
|
|
37
|
+
* `core/harness/bridge.ts`. A store driven by no auto-discovering harness
|
|
38
|
+
* can still point this anywhere.
|
|
36
39
|
*/
|
|
37
|
-
export const DEFAULT_SKILLS_PATH = '.
|
|
38
|
-
/** harness-portability spec (
|
|
39
|
-
export const
|
|
40
|
+
export const DEFAULT_SKILLS_PATH = '.agents/skills/';
|
|
41
|
+
/** harness-portability spec (vendored-craft-skills): the shipped vendored skill set, installed by default and refreshed by update. */
|
|
42
|
+
export const DEFAULT_VENDORED_SKILLS = ['frontend-design'];
|
|
43
|
+
/**
|
|
44
|
+
* harness-portability spec: the guidance directory holding contexture's
|
|
45
|
+
* shipped baseline convention file, the operator's own convention files
|
|
46
|
+
* (inlined into AGENTS.md's "Store conventions" section — see
|
|
47
|
+
* agents-doc.ts, from inline-conventions-and-mission), and (per
|
|
48
|
+
* context-organize) the mission document.
|
|
49
|
+
*/
|
|
50
|
+
export const DEFAULT_GUIDANCE_PATH = '.contexture/guidance/';
|
|
51
|
+
/** The shipped, contexture-owned baseline conventions — never hand-edited; refreshed by `ctxr update` like a skill copy. */
|
|
52
|
+
export const DEFAULT_BASELINE_CONVENTIONS_FILE_NAME = 'baseline-conventions.md';
|
|
53
|
+
/**
|
|
54
|
+
* The baseline file's pre-rename name. `syncBaselineConventions` removes it
|
|
55
|
+
* when it still carries the managed-owner header, so the rename leaves no
|
|
56
|
+
* orphan — the guidance directory is scanned wholesale, so an orphan would
|
|
57
|
+
* be inlined into AGENTS.md a second time rather than merely sitting unused.
|
|
58
|
+
*/
|
|
59
|
+
export const LEGACY_BASELINE_CONVENTION_FILE_NAME = 'baseline-convention.md';
|
|
60
|
+
/**
|
|
61
|
+
* The operator-authored conventions file seeded at init: this store's house
|
|
62
|
+
* rules, layered on the shipped baseline and winning where the two speak to
|
|
63
|
+
* the same thing.
|
|
64
|
+
*/
|
|
65
|
+
export const DEFAULT_HOUSE_CONVENTIONS_FILE_NAME = 'house-conventions.md';
|
|
66
|
+
/** context-organize spec: the store's standing current-state document's filename, under the guidance directory. */
|
|
67
|
+
export const DEFAULT_MISSION_FILE_NAME = 'mission.md';
|
|
68
|
+
/** context-organize spec: `organize.mission_path`'s shipped default — every store gets a mission document from `init` onward, seeded there. */
|
|
69
|
+
export const DEFAULT_MISSION_PATH = `${DEFAULT_GUIDANCE_PATH}${DEFAULT_MISSION_FILE_NAME}`;
|
|
70
|
+
/** store-integrity spec: AGENTS.md's inlined "Store conventions" section's size ceiling when `harness.convention_max_bytes` is unset. */
|
|
71
|
+
export const DEFAULT_CONVENTION_MAX_BYTES = 32 * 1024;
|
|
40
72
|
/** Paths excluded from every retrieval leg by default. */
|
|
41
73
|
export const DEFAULT_EXCLUDE_PATHS = ['.contexture/'];
|
|
42
74
|
/** graph-context-document spec: no relation vocabulary by default — no typed edges until a store declares names. */
|
|
@@ -52,14 +84,14 @@ export const DEFAULT_GRAPH_SETTINGS = {
|
|
|
52
84
|
export const DEFAULT_WORKTREES_PATH = '.worktrees/';
|
|
53
85
|
/** Branch names for session worktrees are prefixed so they're recognizable and sweep-safe. */
|
|
54
86
|
export const DEFAULT_SESSION_BRANCH_PREFIX = 'session/';
|
|
55
|
-
/** write-lifecycle spec: worktrees are ctxr-owned (not externally provided) unless a store opts in. */
|
|
56
|
-
export const DEFAULT_WORKSPACES_EXTERNAL = false;
|
|
57
87
|
/** write-lifecycle spec: pre-commit's diff-size ceiling, in total changed lines. */
|
|
58
88
|
export const DEFAULT_DIFF_SIZE_CEILING_LINES = 2000;
|
|
59
89
|
/** context-catalog spec: where per-section catalog files live — tracked (never gitignored), since glosses are authored. */
|
|
60
90
|
export const DEFAULT_CATALOG_PATH = '.contexture/catalog/';
|
|
61
91
|
/** context-catalog spec: a section exceeding this triggers a failing doctor check, not a silent slowdown. */
|
|
62
92
|
export const DEFAULT_CATALOG_SECTION_MAX_BYTES = 32 * 1024;
|
|
93
|
+
/** publish spec: where published pages live — tracked, authored-but-tool-owned, excluded from retrieval like the catalog and skill pack. */
|
|
94
|
+
export const DEFAULT_PUBLISH_PATH = '.contexture/publish/';
|
|
63
95
|
/** disclosure-policy spec: v1 ships with no audiences pre-declared internal, and no hard walls — an explicit, empty starting point the operator opts into. */
|
|
64
96
|
export const DEFAULT_INTERNAL_AUDIENCES = [];
|
|
65
97
|
export const DEFAULT_HARD_WALLS = [];
|
|
@@ -67,18 +99,21 @@ export const DEFAULT_HARD_WALLS = [];
|
|
|
67
99
|
export const DEFAULT_INBOX_PATH = 'inbox/';
|
|
68
100
|
/** store-primitives-from-migration-audit spec (D2): the shipped tracking-parameter list source check strips before comparing URL identities. */
|
|
69
101
|
export const DEFAULT_TRACKING_PARAMS = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid'];
|
|
70
|
-
/**
|
|
71
|
-
|
|
102
|
+
/**
|
|
103
|
+
* context-organize spec: archive's destination, decoupled from any taxonomy
|
|
104
|
+
* layer name. This is the fallback for a taxonomy that declares none of its
|
|
105
|
+
* own — a shipped profile with a retirement layer (PARA's Archives) supplies
|
|
106
|
+
* its `archiveDestination` at init instead, so a PARA store is never born
|
|
107
|
+
* pointing at a directory its own taxonomy doesn't declare.
|
|
108
|
+
*/
|
|
109
|
+
export const DEFAULT_ARCHIVE_DESTINATION = 'archive/';
|
|
72
110
|
/** store-primitives-from-migration-audit spec (D4): grace period, in days, before a stale rollup is reported. */
|
|
73
111
|
export const DEFAULT_ROLLUP_STALE_DAYS = 7;
|
|
74
112
|
/**
|
|
75
|
-
* adapters spec: init registers
|
|
76
|
-
* out-of-the-box UX (a
|
|
77
|
-
*
|
|
78
|
-
*
|
|
113
|
+
* adapters spec: init registers the shipped builtin by default, so
|
|
114
|
+
* out-of-the-box UX (a generated CLAUDE.md) keeps working without the
|
|
115
|
+
* operator hand-writing config — it is just as removable from this list as
|
|
116
|
+
* it was addable.
|
|
79
117
|
*/
|
|
80
|
-
export const DEFAULT_ADAPTERS = [
|
|
81
|
-
{ id: 'github', kind: 'forge' },
|
|
82
|
-
{ id: 'claude-code', kind: 'harness-generation' },
|
|
83
|
-
];
|
|
118
|
+
export const DEFAULT_ADAPTERS = [{ id: 'claude-code', kind: 'harness-generation' }];
|
|
84
119
|
//# sourceMappingURL=defaults.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../src/config/defaults.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,MAAM,CAAC;AAEnD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,OAAO,CAAC;AAEtD,gFAAgF;AAChF,MAAM,CAAC,MAAM,0BAA0B,GAAG,SAAS,CAAC;AAEpD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,oBAAoB,CAAU,CAAC;AAErE
|
|
1
|
+
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../src/config/defaults.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,MAAM,CAAC;AAEnD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,OAAO,CAAC;AAEtD,gFAAgF;AAChF,MAAM,CAAC,MAAM,0BAA0B,GAAG,SAAS,CAAC;AAEpD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,oBAAoB,CAAU,CAAC;AAErE;;;;;;;;GAQG;AACH,MAAM,CAAC,MAA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MAAM,CAAC,MAAM,iCAAiC,GAAG,EAAE,GAAG,IAAI,CAAC;AAE3D,4IAA4I;AAC5I,MAAM,CAAC,MAAM,oBAAoB,GAAG,sBAAsB,CAAC;AAE3D,8JAA8J;AAC9J,MAAM,CAAC,MAAM,0BAA0B,GAAsB,EAAE,CAAC;AAChE,MAAM,CAAC,MAAM,kBAAkB,GAA8B,EAAE,CAAC;AAEhE,uGAAuG;AACvG,MAAM,CAAC,MAAM,kBAAkB,GAAG,QAAQ,CAAC;AAE3C,gJAAgJ;AAChJ,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,aAAa,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;AAElI;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,UAAU,CAAC;AAEtD,iHAAiH;AACjH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC;AAE3C;;;;;GAKG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAkC,CAAC,EAAE,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,oBAAoB,EAAE,CAAC,CAAC"}
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -16,8 +16,13 @@ import { z } from 'zod';
|
|
|
16
16
|
* `harness.procedures_path` -> `harness.skills_path`. HarnessSchema's
|
|
17
17
|
* transform accepts the old key through this version so an unmigrated
|
|
18
18
|
* store still loads (see schema.ts's HarnessSchema comment).
|
|
19
|
+
*
|
|
20
|
+
* Bumped to 4 by the conventions-to-guidance key rename migration
|
|
21
|
+
* (rename-conventions-path-to-guidance-path, 0004-rename-conventions-path-to-guidance-path):
|
|
22
|
+
* `harness.conventions_path` -> `harness.guidance_path`. HarnessSchema's
|
|
23
|
+
* transform accepts the old key through this version too, the same way.
|
|
19
24
|
*/
|
|
20
|
-
export declare const SUPPORTED_SCHEMA_VERSION =
|
|
25
|
+
export declare const SUPPORTED_SCHEMA_VERSION = 6;
|
|
21
26
|
export declare const TaxonomyLayerSchema: z.ZodObject<{
|
|
22
27
|
name: z.ZodString;
|
|
23
28
|
path: z.ZodString;
|
|
@@ -55,10 +60,10 @@ declare const HardWallSchema: z.ZodObject<{
|
|
|
55
60
|
declare const AdapterDeclarationSchema: z.ZodObject<{
|
|
56
61
|
id: z.ZodString;
|
|
57
62
|
kind: z.ZodEnum<{
|
|
58
|
-
forge: "forge";
|
|
59
63
|
"harness-generation": "harness-generation";
|
|
60
64
|
}>;
|
|
61
65
|
module: z.ZodOptional<z.ZodString>;
|
|
66
|
+
skills_dir: z.ZodOptional<z.ZodString>;
|
|
62
67
|
}, z.core.$strip>;
|
|
63
68
|
export declare const StoreConfigSchema: z.ZodObject<{
|
|
64
69
|
schema_version: z.ZodNumber;
|
|
@@ -97,7 +102,6 @@ export declare const StoreConfigSchema: z.ZodObject<{
|
|
|
97
102
|
session: z.ZodObject<{
|
|
98
103
|
branch_prefix: z.ZodString;
|
|
99
104
|
worktrees_path: z.ZodString;
|
|
100
|
-
workspaces_external: z.ZodDefault<z.ZodBoolean>;
|
|
101
105
|
}, z.core.$strip>;
|
|
102
106
|
write_lifecycle: z.ZodObject<{
|
|
103
107
|
diff_size_ceiling_lines: z.ZodNumber;
|
|
@@ -107,6 +111,12 @@ export declare const StoreConfigSchema: z.ZodObject<{
|
|
|
107
111
|
path: z.ZodString;
|
|
108
112
|
section_max_bytes: z.ZodNumber;
|
|
109
113
|
}, z.core.$strip>;
|
|
114
|
+
publish: z.ZodDefault<z.ZodObject<{
|
|
115
|
+
path: z.ZodDefault<z.ZodString>;
|
|
116
|
+
}, z.core.$strip>>;
|
|
117
|
+
skills: z.ZodDefault<z.ZodObject<{
|
|
118
|
+
vendored: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
119
|
+
}, z.core.$strip>>;
|
|
110
120
|
disclosure: z.ZodObject<{
|
|
111
121
|
internal_audiences: z.ZodArray<z.ZodString>;
|
|
112
122
|
hard_walls: z.ZodArray<z.ZodObject<{
|
|
@@ -125,31 +135,58 @@ export declare const StoreConfigSchema: z.ZodObject<{
|
|
|
125
135
|
inbox_path: z.ZodString;
|
|
126
136
|
tracking_params: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
127
137
|
}, z.core.$strip>;
|
|
128
|
-
organize: z.ZodObject<{
|
|
129
|
-
|
|
138
|
+
organize: z.ZodPipe<z.ZodObject<{
|
|
139
|
+
archive_destination: z.ZodOptional<z.ZodString>;
|
|
140
|
+
archive_path: z.ZodOptional<z.ZodString>;
|
|
130
141
|
rollup_stale_days: z.ZodDefault<z.ZodNumber>;
|
|
131
142
|
mission_path: z.ZodOptional<z.ZodString>;
|
|
132
|
-
}, z.core.$strip
|
|
143
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
144
|
+
archive_destination: string;
|
|
145
|
+
rollup_stale_days: number;
|
|
146
|
+
mission_path?: string | undefined;
|
|
147
|
+
}, {
|
|
148
|
+
archive_destination?: string | undefined;
|
|
149
|
+
archive_path?: string | undefined;
|
|
150
|
+
rollup_stale_days: number;
|
|
151
|
+
mission_path?: string | undefined;
|
|
152
|
+
}>>;
|
|
133
153
|
harness: z.ZodPipe<z.ZodObject<{
|
|
134
154
|
skills_path: z.ZodOptional<z.ZodString>;
|
|
135
155
|
procedures_path: z.ZodOptional<z.ZodString>;
|
|
136
|
-
|
|
156
|
+
guidance_path: z.ZodOptional<z.ZodString>;
|
|
157
|
+
conventions_path: z.ZodOptional<z.ZodString>;
|
|
158
|
+
convention_max_bytes: z.ZodOptional<z.ZodNumber>;
|
|
137
159
|
}, z.core.$strip>, z.ZodTransform<{
|
|
138
160
|
skills_path: string;
|
|
139
|
-
|
|
161
|
+
guidance_path: string;
|
|
162
|
+
convention_max_bytes?: number | undefined;
|
|
140
163
|
}, {
|
|
141
164
|
skills_path?: string | undefined;
|
|
142
165
|
procedures_path?: string | undefined;
|
|
143
|
-
|
|
166
|
+
guidance_path?: string | undefined;
|
|
167
|
+
conventions_path?: string | undefined;
|
|
168
|
+
convention_max_bytes?: number | undefined;
|
|
144
169
|
}>>;
|
|
145
|
-
adapters: z.ZodArray<z.ZodObject<{
|
|
170
|
+
adapters: z.ZodPipe<z.ZodPipe<z.ZodArray<z.ZodObject<{
|
|
171
|
+
id: z.ZodString;
|
|
172
|
+
kind: z.ZodString;
|
|
173
|
+
module: z.ZodOptional<z.ZodString>;
|
|
174
|
+
}, z.core.$strip>>, z.ZodTransform<{
|
|
175
|
+
id: string;
|
|
176
|
+
kind: string;
|
|
177
|
+
module?: string | undefined;
|
|
178
|
+
}[], {
|
|
179
|
+
id: string;
|
|
180
|
+
kind: string;
|
|
181
|
+
module?: string | undefined;
|
|
182
|
+
}[]>>, z.ZodArray<z.ZodObject<{
|
|
146
183
|
id: z.ZodString;
|
|
147
184
|
kind: z.ZodEnum<{
|
|
148
|
-
forge: "forge";
|
|
149
185
|
"harness-generation": "harness-generation";
|
|
150
186
|
}>;
|
|
151
187
|
module: z.ZodOptional<z.ZodString>;
|
|
152
|
-
|
|
188
|
+
skills_dir: z.ZodOptional<z.ZodString>;
|
|
189
|
+
}, z.core.$strip>>>;
|
|
153
190
|
}, z.core.$loose>;
|
|
154
191
|
export type StoreConfig = z.infer<typeof StoreConfigSchema>;
|
|
155
192
|
export type TaxonomyLayerConfig = z.infer<typeof TaxonomyLayerSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/config/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/config/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;GAIG;AACH;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,wBAAwB,IAAI,CAAC;AAE1C,eAAO,MAAM,mBAAmB;;;;iBAI9B,CAAC;AAqCH;;;;;;GAMG;AACH,QAAA,MAAM,mBAAmB;;;;;iBAKvB,CAAC;AAwDH;;;;;GAKG;AACH,QAAA,MAAM,cAAc;;;;;;;;;iBAQlB,CAAC;AAmIH,QAAA,MAAM,wBAAwB;;;;;;;iBAM5B,CAAC;AAiBH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAoBd,CAAC;AAEjB,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACtE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACtE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAC5D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
package/dist/config/schema.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { DEFAULT_ARCHIVE_DESTINATION, DEFAULT_PUBLISH_PATH, DEFAULT_VENDORED_SKILLS } from './defaults.js';
|
|
2
3
|
/**
|
|
3
4
|
* store-lifecycle spec: schema_version versions STORE STATE (config shape +
|
|
4
5
|
* note frontmatter conventions) — a monotonic integer independent of the npm
|
|
@@ -16,8 +17,13 @@ import { z } from 'zod';
|
|
|
16
17
|
* `harness.procedures_path` -> `harness.skills_path`. HarnessSchema's
|
|
17
18
|
* transform accepts the old key through this version so an unmigrated
|
|
18
19
|
* store still loads (see schema.ts's HarnessSchema comment).
|
|
20
|
+
*
|
|
21
|
+
* Bumped to 4 by the conventions-to-guidance key rename migration
|
|
22
|
+
* (rename-conventions-path-to-guidance-path, 0004-rename-conventions-path-to-guidance-path):
|
|
23
|
+
* `harness.conventions_path` -> `harness.guidance_path`. HarnessSchema's
|
|
24
|
+
* transform accepts the old key through this version too, the same way.
|
|
19
25
|
*/
|
|
20
|
-
export const SUPPORTED_SCHEMA_VERSION =
|
|
26
|
+
export const SUPPORTED_SCHEMA_VERSION = 6;
|
|
21
27
|
export const TaxonomyLayerSchema = z.object({
|
|
22
28
|
name: z.string().min(1),
|
|
23
29
|
path: z.string().min(1),
|
|
@@ -82,17 +88,9 @@ const RetrievalSchema = z.object({
|
|
|
82
88
|
const GitSchema = z.object({
|
|
83
89
|
default_branch: z.string().min(1),
|
|
84
90
|
});
|
|
85
|
-
/**
|
|
86
|
-
* write-lifecycle spec: `workspaces_external: true` marks a store whose
|
|
87
|
-
* session worktrees are created/removed by a process outside `ctxr` (e.g. an
|
|
88
|
-
* external agent-runtime WebUI) — `ctxr session reap` refuses to run rather
|
|
89
|
-
* than touch a worktree it does not own. Defaults to `false`, the prior
|
|
90
|
-
* behavior, for every store that does not set it.
|
|
91
|
-
*/
|
|
92
91
|
const SessionSchema = z.object({
|
|
93
92
|
branch_prefix: z.string().min(1),
|
|
94
93
|
worktrees_path: z.string().min(1),
|
|
95
|
-
workspaces_external: z.boolean().default(false),
|
|
96
94
|
});
|
|
97
95
|
/** session-capture-command spec (D5): declaring any path here turns the sanctioned-location gate on; empty (the default) leaves every in-store path accepted. */
|
|
98
96
|
const WriteLifecycleSchema = z.object({
|
|
@@ -103,6 +101,25 @@ const CatalogSchema = z.object({
|
|
|
103
101
|
path: z.string().min(1),
|
|
104
102
|
section_max_bytes: z.number().int().positive(),
|
|
105
103
|
});
|
|
104
|
+
/**
|
|
105
|
+
* publish spec (design.md): unlike every other tool-owned path field, this one is
|
|
106
|
+
* schema-optional with a default — a `contexture.yaml` written before this field
|
|
107
|
+
* existed has no `publish:` key at all, and `readConfig`'s strict `safeParse` has
|
|
108
|
+
* no default-merging, so a required field here would break every pre-existing
|
|
109
|
+
* store. `init` still writes it explicitly for a freshly generated config.
|
|
110
|
+
*/
|
|
111
|
+
const PublishSchema = z.object({
|
|
112
|
+
path: z.string().min(1).default(DEFAULT_PUBLISH_PATH),
|
|
113
|
+
});
|
|
114
|
+
/**
|
|
115
|
+
* harness-portability spec (vendored-craft-skills): which vendored
|
|
116
|
+
* third-party skills a store wants, defaulting to the shipped set so a
|
|
117
|
+
* `contexture.yaml` predating this key still parses. An empty list opts
|
|
118
|
+
* out entirely — same schema-optional-with-default shape as `publish`.
|
|
119
|
+
*/
|
|
120
|
+
const SkillsSchema = z.object({
|
|
121
|
+
vendored: z.array(z.string()).default([...DEFAULT_VENDORED_SKILLS]),
|
|
122
|
+
});
|
|
106
123
|
/**
|
|
107
124
|
* disclosure-policy spec: "v1 keeps the disclosure ladder's shape with a
|
|
108
125
|
* flat, user-defined value list" (design.md) — no registry syntax, just a
|
|
@@ -132,9 +149,26 @@ const IngestSchema = z.object({
|
|
|
132
149
|
.array(z.string())
|
|
133
150
|
.default(['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid']),
|
|
134
151
|
});
|
|
135
|
-
/**
|
|
136
|
-
|
|
137
|
-
|
|
152
|
+
/**
|
|
153
|
+
* context-organize spec: archive's destination — independent of taxonomy
|
|
154
|
+
* layers, so it works under any profile.
|
|
155
|
+
*
|
|
156
|
+
* archive-destination-from-taxonomy migration (0006): `archive_destination`
|
|
157
|
+
* is the current key; `archive_path` is its pre-migration name, accepted
|
|
158
|
+
* here so a store on schema 5 still loads. Like `harness.guidance_path` and
|
|
159
|
+
* unlike `harness.skills_path`, this key always had a workable default, so
|
|
160
|
+
* an unmigrated store loads silently onto that default rather than erroring
|
|
161
|
+
* — `ctxr migrate` rewrites the key (and, for a profile that declares a
|
|
162
|
+
* destination, the value) but nothing breaks before it runs.
|
|
163
|
+
*
|
|
164
|
+
* The transform below is the ONLY place the old spelling is read — every
|
|
165
|
+
* other consumer sees `config.organize.archive_destination` and nothing
|
|
166
|
+
* else, so `archive_path` never leaks past config loading.
|
|
167
|
+
*/
|
|
168
|
+
const OrganizeSchema = z
|
|
169
|
+
.object({
|
|
170
|
+
archive_destination: z.string().min(1).optional(),
|
|
171
|
+
archive_path: z.string().min(1).optional(),
|
|
138
172
|
/** store-primitives-from-migration-audit spec (D4): the grace period, in days, before a stale rollup is reported — bounds noise from a backlink edited moments ago. */
|
|
139
173
|
rollup_stale_days: z.number().int().nonnegative().default(7),
|
|
140
174
|
/**
|
|
@@ -146,25 +180,56 @@ const OrganizeSchema = z.object({
|
|
|
146
180
|
* time rather than backlinks (see `checkMissionStaleness`).
|
|
147
181
|
*/
|
|
148
182
|
mission_path: z.string().min(1).optional(),
|
|
149
|
-
})
|
|
183
|
+
})
|
|
184
|
+
.transform((value) => ({
|
|
185
|
+
archive_destination: value.archive_destination ?? value.archive_path ?? DEFAULT_ARCHIVE_DESTINATION,
|
|
186
|
+
rollup_stale_days: value.rollup_stale_days,
|
|
187
|
+
// Spread, not a plain key, so the output type keeps `mission_path`
|
|
188
|
+
// genuinely optional (`key?: string`) rather than always-present-but-
|
|
189
|
+
// possibly-undefined — the latter would force every `StoreConfig`
|
|
190
|
+
// object literal in the codebase to add the key just to compile.
|
|
191
|
+
...(value.mission_path !== undefined ? { mission_path: value.mission_path } : {}),
|
|
192
|
+
}));
|
|
150
193
|
/**
|
|
151
|
-
* harness-portability spec: the portable skill pack and
|
|
152
|
-
*
|
|
194
|
+
* harness-portability spec: the portable skill pack and the guidance
|
|
195
|
+
* documents (a shipped baseline convention file, the operator's own
|
|
196
|
+
* convention files, and the mission document) AGENTS.md's generated
|
|
197
|
+
* sections read from and inline.
|
|
153
198
|
*
|
|
154
199
|
* rename-procedures-to-skills migration (0003): `skills_path` is the
|
|
155
200
|
* current key; `procedures_path` is its pre-migration name, accepted here
|
|
156
201
|
* so a store on schema 2 still loads (with a message pointing at `ctxr
|
|
157
202
|
* migrate`, not a raw shape-validation error) rather than failing the
|
|
158
|
-
* moment this schema starts requiring the new key.
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
* key
|
|
203
|
+
* moment this schema starts requiring the new key.
|
|
204
|
+
*
|
|
205
|
+
* rename-conventions-path-to-guidance-path migration (0004): `guidance_path`
|
|
206
|
+
* is the current key; `conventions_path` is its pre-migration name. Unlike
|
|
207
|
+
* `skills_path`, this key always had a workable default, so an unmigrated
|
|
208
|
+
* store loads silently onto that default rather than erroring — `ctxr
|
|
209
|
+
* migrate` moves the directory and rewrites the key, but nothing breaks if
|
|
210
|
+
* it hasn't run yet.
|
|
211
|
+
*
|
|
212
|
+
* The transform below is the ONLY place any of these spellings is read —
|
|
213
|
+
* every other consumer in the codebase sees `config.harness.skills_path` /
|
|
214
|
+
* `config.harness.guidance_path` and nothing else, so no old key ever leaks
|
|
215
|
+
* past config loading.
|
|
162
216
|
*/
|
|
163
217
|
const HarnessSchema = z
|
|
164
218
|
.object({
|
|
165
219
|
skills_path: z.string().min(1).optional(),
|
|
166
220
|
procedures_path: z.string().min(1).optional(),
|
|
167
|
-
|
|
221
|
+
guidance_path: z.string().min(1).optional(),
|
|
222
|
+
conventions_path: z.string().min(1).optional(),
|
|
223
|
+
/**
|
|
224
|
+
* compose-store-guidance-documents design.md D6: a size ceiling on
|
|
225
|
+
* AGENTS.md's inlined "Store conventions" section, guarding against
|
|
226
|
+
* unbounded growth now that its content is inlined rather than indexed
|
|
227
|
+
* (inline-conventions-and-mission). Optional with no schema-level
|
|
228
|
+
* default (falls back to `DEFAULT_CONVENTION_MAX_BYTES` at the one
|
|
229
|
+
* doctor check that reads it) so this stays purely additive — no
|
|
230
|
+
* existing `StoreConfig` object literal needs updating to compile.
|
|
231
|
+
*/
|
|
232
|
+
convention_max_bytes: z.number().int().positive().optional(),
|
|
168
233
|
})
|
|
169
234
|
.transform((value, ctx) => {
|
|
170
235
|
const skillsPath = value.skills_path ?? value.procedures_path;
|
|
@@ -176,7 +241,16 @@ const HarnessSchema = z
|
|
|
176
241
|
});
|
|
177
242
|
return z.NEVER;
|
|
178
243
|
}
|
|
179
|
-
|
|
244
|
+
const guidancePath = value.guidance_path ?? value.conventions_path ?? '.contexture/guidance/';
|
|
245
|
+
// Spread, not a plain key, so the output type keeps `convention_max_bytes`
|
|
246
|
+
// genuinely optional (`key?: number`) rather than always-present-but-possibly-undefined
|
|
247
|
+
// (`key: number | undefined`) — the latter would require every existing
|
|
248
|
+
// `StoreConfig` object literal in the codebase to add the key just to compile.
|
|
249
|
+
return {
|
|
250
|
+
skills_path: skillsPath,
|
|
251
|
+
guidance_path: guidancePath,
|
|
252
|
+
...(value.convention_max_bytes !== undefined ? { convention_max_bytes: value.convention_max_bytes } : {}),
|
|
253
|
+
};
|
|
180
254
|
});
|
|
181
255
|
/**
|
|
182
256
|
* adapters spec: the one declared-registration mechanism shared by every
|
|
@@ -184,12 +258,28 @@ const HarnessSchema = z
|
|
|
184
258
|
* v1 resolves every entry against the built-in adapter registry by
|
|
185
259
|
* (kind, id).
|
|
186
260
|
*/
|
|
187
|
-
const AdapterKindSchema = z.enum(['harness-generation'
|
|
261
|
+
const AdapterKindSchema = z.enum(['harness-generation']);
|
|
188
262
|
const AdapterDeclarationSchema = z.object({
|
|
189
263
|
id: z.string().min(1),
|
|
190
264
|
kind: AdapterKindSchema,
|
|
191
265
|
module: z.string().min(1).optional(),
|
|
266
|
+
/** vendored-craft-skills spec: overrides a harness-generation adapter's declared skillsDir for this store; equal to the configured skills path means no bridge is created. */
|
|
267
|
+
skills_dir: z.string().min(1).optional(),
|
|
192
268
|
});
|
|
269
|
+
/**
|
|
270
|
+
* session-keeps-only-what-git-cannot-do (D2): removing the `forge` kind
|
|
271
|
+
* outright would make a store still declaring `{ kind: forge }` fail to
|
|
272
|
+
* load at all — a shape error, not a migration opportunity — since
|
|
273
|
+
* `readConfig` runs this schema before `ctxr migrate` can act. Mirrors
|
|
274
|
+
* `HarnessSchema`'s fallback-transform precedent: accept the legacy shape
|
|
275
|
+
* loosely, drop it here, and let the schema_version < 5 migration rewrite
|
|
276
|
+
* the YAML on disk. Any OTHER unrecognized kind is a genuine error and
|
|
277
|
+
* still fails loudly against `AdapterDeclarationSchema` below.
|
|
278
|
+
*/
|
|
279
|
+
const AdaptersFieldSchema = z
|
|
280
|
+
.array(z.object({ id: z.string().min(1), kind: z.string().min(1), module: z.string().min(1).optional() }))
|
|
281
|
+
.transform((declarations) => declarations.filter((d) => d.kind !== 'forge'))
|
|
282
|
+
.pipe(z.array(AdapterDeclarationSchema));
|
|
193
283
|
export const StoreConfigSchema = z
|
|
194
284
|
.object({
|
|
195
285
|
schema_version: z.number().int().positive(),
|
|
@@ -202,11 +292,13 @@ export const StoreConfigSchema = z
|
|
|
202
292
|
session: SessionSchema,
|
|
203
293
|
write_lifecycle: WriteLifecycleSchema,
|
|
204
294
|
catalog: CatalogSchema,
|
|
295
|
+
publish: PublishSchema.default({ path: DEFAULT_PUBLISH_PATH }),
|
|
296
|
+
skills: SkillsSchema.default({ vendored: [...DEFAULT_VENDORED_SKILLS] }),
|
|
205
297
|
disclosure: DisclosureSchema,
|
|
206
298
|
ingest: IngestSchema,
|
|
207
299
|
organize: OrganizeSchema,
|
|
208
300
|
harness: HarnessSchema,
|
|
209
|
-
adapters:
|
|
301
|
+
adapters: AdaptersFieldSchema,
|
|
210
302
|
})
|
|
211
303
|
.passthrough();
|
|
212
304
|
//# sourceMappingURL=schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/config/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/config/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,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