accrete-kit 0.0.0-stage → 0.1.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 +43 -0
- package/LICENSE +21 -0
- package/README.md +148 -2
- package/bin/accrete-kit.mjs +4 -0
- package/dist/kernel/darwin-arm64/LICENSE +21 -0
- package/dist/kernel/darwin-arm64/THIRD-PARTY-NOTICES +5780 -0
- package/dist/kernel/darwin-arm64/accrete +0 -0
- package/dist/kernel/darwin-arm64/licenses/RUST-COPYRIGHT-library.html +7038 -0
- package/dist/kernel/darwin-arm64/licenses/musl-COPYRIGHT +193 -0
- package/dist/kernel/darwin-arm64/licenses/rust/Apache-2.0.txt +73 -0
- package/dist/kernel/darwin-arm64/licenses/rust/BSD-2-Clause.txt +9 -0
- package/dist/kernel/darwin-arm64/licenses/rust/CC-BY-SA-4.0.txt +427 -0
- package/dist/kernel/darwin-arm64/licenses/rust/GCC-exception-3.1.txt +30 -0
- package/dist/kernel/darwin-arm64/licenses/rust/GPL-2.0-only.txt +133 -0
- package/dist/kernel/darwin-arm64/licenses/rust/GPL-3.0-or-later.txt +202 -0
- package/dist/kernel/darwin-arm64/licenses/rust/ISC.txt +7 -0
- package/dist/kernel/darwin-arm64/licenses/rust/LLVM-exception.txt +15 -0
- package/dist/kernel/darwin-arm64/licenses/rust/MIT.txt +9 -0
- package/dist/kernel/darwin-arm64/licenses/rust/NCSA.txt +29 -0
- package/dist/kernel/darwin-arm64/licenses/rust/OFL-1.1.txt +43 -0
- package/dist/kernel/darwin-arm64/licenses/rust/Unicode-3.0.txt +39 -0
- package/dist/kernel/darwin-x64/LICENSE +21 -0
- package/dist/kernel/darwin-x64/THIRD-PARTY-NOTICES +5780 -0
- package/dist/kernel/darwin-x64/accrete +0 -0
- package/dist/kernel/darwin-x64/licenses/RUST-COPYRIGHT-library.html +7038 -0
- package/dist/kernel/darwin-x64/licenses/musl-COPYRIGHT +193 -0
- package/dist/kernel/darwin-x64/licenses/rust/Apache-2.0.txt +73 -0
- package/dist/kernel/darwin-x64/licenses/rust/BSD-2-Clause.txt +9 -0
- package/dist/kernel/darwin-x64/licenses/rust/CC-BY-SA-4.0.txt +427 -0
- package/dist/kernel/darwin-x64/licenses/rust/GCC-exception-3.1.txt +30 -0
- package/dist/kernel/darwin-x64/licenses/rust/GPL-2.0-only.txt +133 -0
- package/dist/kernel/darwin-x64/licenses/rust/GPL-3.0-or-later.txt +202 -0
- package/dist/kernel/darwin-x64/licenses/rust/ISC.txt +7 -0
- package/dist/kernel/darwin-x64/licenses/rust/LLVM-exception.txt +15 -0
- package/dist/kernel/darwin-x64/licenses/rust/MIT.txt +9 -0
- package/dist/kernel/darwin-x64/licenses/rust/NCSA.txt +29 -0
- package/dist/kernel/darwin-x64/licenses/rust/OFL-1.1.txt +43 -0
- package/dist/kernel/darwin-x64/licenses/rust/Unicode-3.0.txt +39 -0
- package/dist/kernel/kernel.json +17 -0
- package/dist/kernel/linux-arm64/LICENSE +21 -0
- package/dist/kernel/linux-arm64/THIRD-PARTY-NOTICES +5780 -0
- package/dist/kernel/linux-arm64/accrete +0 -0
- package/dist/kernel/linux-arm64/licenses/RUST-COPYRIGHT-library.html +7038 -0
- package/dist/kernel/linux-arm64/licenses/musl-COPYRIGHT +193 -0
- package/dist/kernel/linux-arm64/licenses/rust/Apache-2.0.txt +73 -0
- package/dist/kernel/linux-arm64/licenses/rust/BSD-2-Clause.txt +9 -0
- package/dist/kernel/linux-arm64/licenses/rust/CC-BY-SA-4.0.txt +427 -0
- package/dist/kernel/linux-arm64/licenses/rust/GCC-exception-3.1.txt +30 -0
- package/dist/kernel/linux-arm64/licenses/rust/GPL-2.0-only.txt +133 -0
- package/dist/kernel/linux-arm64/licenses/rust/GPL-3.0-or-later.txt +202 -0
- package/dist/kernel/linux-arm64/licenses/rust/ISC.txt +7 -0
- package/dist/kernel/linux-arm64/licenses/rust/LLVM-exception.txt +15 -0
- package/dist/kernel/linux-arm64/licenses/rust/MIT.txt +9 -0
- package/dist/kernel/linux-arm64/licenses/rust/NCSA.txt +29 -0
- package/dist/kernel/linux-arm64/licenses/rust/OFL-1.1.txt +43 -0
- package/dist/kernel/linux-arm64/licenses/rust/Unicode-3.0.txt +39 -0
- package/dist/kernel/linux-x64/LICENSE +21 -0
- package/dist/kernel/linux-x64/THIRD-PARTY-NOTICES +5780 -0
- package/dist/kernel/linux-x64/accrete +0 -0
- package/dist/kernel/linux-x64/licenses/RUST-COPYRIGHT-library.html +7038 -0
- package/dist/kernel/linux-x64/licenses/musl-COPYRIGHT +193 -0
- package/dist/kernel/linux-x64/licenses/rust/Apache-2.0.txt +73 -0
- package/dist/kernel/linux-x64/licenses/rust/BSD-2-Clause.txt +9 -0
- package/dist/kernel/linux-x64/licenses/rust/CC-BY-SA-4.0.txt +427 -0
- package/dist/kernel/linux-x64/licenses/rust/GCC-exception-3.1.txt +30 -0
- package/dist/kernel/linux-x64/licenses/rust/GPL-2.0-only.txt +133 -0
- package/dist/kernel/linux-x64/licenses/rust/GPL-3.0-or-later.txt +202 -0
- package/dist/kernel/linux-x64/licenses/rust/ISC.txt +7 -0
- package/dist/kernel/linux-x64/licenses/rust/LLVM-exception.txt +15 -0
- package/dist/kernel/linux-x64/licenses/rust/MIT.txt +9 -0
- package/dist/kernel/linux-x64/licenses/rust/NCSA.txt +29 -0
- package/dist/kernel/linux-x64/licenses/rust/OFL-1.1.txt +43 -0
- package/dist/kernel/linux-x64/licenses/rust/Unicode-3.0.txt +39 -0
- package/dist/scaffold/assets/contract/cli-v1.json +296 -0
- package/dist/scaffold/assets/contract/example-inputs.json +38 -0
- package/dist/scaffold/assets/contract/input-drafts.schema.json +654 -0
- package/dist/scaffold/assets/generated/cli-commands.md +288 -0
- package/dist/scaffold/assets/generated/release.json +11 -0
- package/dist/scaffold/assets/skills/accrete-data/SKILL.md +73 -0
- package/dist/scaffold/assets/skills/accrete-data/references/commands.md +193 -0
- package/dist/scaffold/assets/skills/accrete-data/references/objects-and-native-work.md +123 -0
- package/dist/scaffold/assets/skills/accrete-data/references/remote-and-retention.md +98 -0
- package/dist/scaffold/assets/skills/accrete-memory/SKILL.md +61 -0
- package/dist/scaffold/assets/skills/accrete-memory/references/commands.md +124 -0
- package/dist/scaffold/assets/skills/accrete-memory/references/handovers-and-remote-work.md +78 -0
- package/dist/scaffold/assets/skills/accrete-memory/references/writing-and-continuity.md +101 -0
- package/dist/scaffold/assets/skills/accrete-models/SKILL.md +46 -0
- package/dist/scaffold/assets/skills/accrete-models/references/cli.md +117 -0
- package/dist/scaffold/assets/skills/accrete-models/references/objects.md +67 -0
- package/dist/scaffold/assets/skills/accrete-models/references/working-practice.md +48 -0
- package/dist/scaffold/assets/skills/accrete-results/SKILL.md +69 -0
- package/dist/scaffold/assets/skills/accrete-results/references/activities-and-relations.md +116 -0
- package/dist/scaffold/assets/skills/accrete-results/references/commands.md +191 -0
- package/dist/scaffold/assets/skills/accrete-results/references/scientific-practice.md +89 -0
- package/dist/scaffold/assets/skills/accrete-tools/SKILL.md +51 -0
- package/dist/scaffold/assets/skills/accrete-tools/references/cli.md +87 -0
- package/dist/scaffold/assets/skills/accrete-tools/references/objects.md +66 -0
- package/dist/scaffold/assets/skills/accrete-tools/references/working-practice.md +51 -0
- package/dist/scaffold/assets/template/.accrete/PROJECT.md +31 -0
- package/dist/scaffold/assets/template/.accrete/config-examples/local-compute.toml.example +27 -0
- package/dist/scaffold/assets/template/.accrete/config-examples/local-workstation.toml.example +21 -0
- package/dist/scaffold/assets/template/.accrete/config-examples/project.toml.example +27 -0
- package/dist/scaffold/assets/template/.accrete/docs/cli-contract.md +393 -0
- package/dist/scaffold/assets/template/.accrete/docs/configuration.md +117 -0
- package/dist/scaffold/assets/template/.accrete/docs/coordinator.md +102 -0
- package/dist/scaffold/assets/template/.accrete/docs/long-term-work.md +108 -0
- package/dist/scaffold/assets/template/.accrete/docs/overview.md +118 -0
- package/dist/scaffold/assets/template/.accrete/docs/remote-work.md +125 -0
- package/dist/scaffold/assets/template/.accrete/docs/subagents.md +78 -0
- package/dist/scaffold/assets/template/.accrete/examples/README.md +78 -0
- package/dist/scaffold/assets/template/.accrete/examples/data-register.json +19 -0
- package/dist/scaffold/assets/template/.accrete/examples/iteration-close.json +5 -0
- package/dist/scaffold/assets/template/.accrete/examples/iteration-open.json +8 -0
- package/dist/scaffold/assets/template/.accrete/examples/memory-entry.md +10 -0
- package/dist/scaffold/assets/template/.accrete/examples/model-register.json +7 -0
- package/dist/scaffold/assets/template/.accrete/examples/observation.md +9 -0
- package/dist/scaffold/assets/template/.accrete/examples/result-amend.json +5 -0
- package/dist/scaffold/assets/template/.accrete/examples/result-record.json +11 -0
- package/dist/scaffold/assets/template/.accrete/examples/tool-admit.json +8 -0
- package/dist/scaffold/assets/template/.accrete/examples/tool-retire.json +3 -0
- package/dist/scaffold/assets/template/.accrete/examples/tool-update.json +3 -0
- package/dist/scaffold/assets/template/.gitattributes +17 -0
- package/dist/scaffold/assets/template/AGENTS.md +23 -0
- package/dist/scaffold/assets/template/CLAUDE.md +5 -0
- package/dist/scaffold/assets/template/_gitignore +12 -0
- package/dist/scaffold/config/defaults.toml +20 -0
- package/dist/scaffold/manifest.json +622 -0
- package/lib/cli.mjs +188 -0
- package/lib/fsutil.mjs +135 -0
- package/lib/install.mjs +439 -0
- package/lib/kernel.mjs +76 -0
- package/lib/scaffold.mjs +129 -0
- package/lib/workspace.mjs +278 -0
- package/package.json +18 -4
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contract_id": "accrete-template-cli/v1",
|
|
3
|
+
"status": "Command catalog of the accrete Kernel this package carries, the version in accrete.cli of its package.json. Every entry and long flag is checked against that binary's --help by scripts/check-cli-contract.mjs.",
|
|
4
|
+
"architecture_edition": "2026-11-03",
|
|
5
|
+
"globals": [
|
|
6
|
+
"--project DIRECTORY",
|
|
7
|
+
"--state-dir DIRECTORY",
|
|
8
|
+
"--host LABEL",
|
|
9
|
+
"--json",
|
|
10
|
+
"--help",
|
|
11
|
+
"--version"
|
|
12
|
+
],
|
|
13
|
+
"project_environment_variable": "ACCRETE_PROJECT",
|
|
14
|
+
"input": {
|
|
15
|
+
"from": "UTF-8 JSON, or Markdown for memory append",
|
|
16
|
+
"stdin": "--from - for object creation, amendments, Data locations and Memory; import and migrate need real paths",
|
|
17
|
+
"amendment": "JSON Merge Patch of editable fields",
|
|
18
|
+
"selector": "Object arguments accept a stable ID, a name or an alias; IDs take priority and an ambiguous alias is a conflict",
|
|
19
|
+
"id": "1-180 ASCII letters, digits, dots, underscores or hyphens, and not . or ..; generated as a UUID when not supplied"
|
|
20
|
+
},
|
|
21
|
+
"commands": [
|
|
22
|
+
{
|
|
23
|
+
"id": "project.migrate.legacy",
|
|
24
|
+
"command": "migrate",
|
|
25
|
+
"usage": "accrete migrate --from LEGACY [--dry-run]",
|
|
26
|
+
"effect": "Convert the old scaffold's metadata, retaining original backups and an identity map.",
|
|
27
|
+
"basis": "04 §6; 09"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"id": "project.migrate.format",
|
|
31
|
+
"command": "migrate",
|
|
32
|
+
"usage": "accrete migrate [--dry-run]",
|
|
33
|
+
"effect": "Handle persisted format changes, keeping identities and relationships. With only format 1 in existence it reports the project is current and changes nothing.",
|
|
34
|
+
"basis": "04 §6; 07 §6; 09"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"id": "config.resolve",
|
|
38
|
+
"command": "config resolve",
|
|
39
|
+
"usage": "accrete config resolve --json",
|
|
40
|
+
"effect": "Report resolved project roots, host, metadata view, state directory and index path without disclosing credentials or writing objects.",
|
|
41
|
+
"basis": "04 §7; 06 §2"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": "interface",
|
|
45
|
+
"command": "interface",
|
|
46
|
+
"usage": "accrete interface --json",
|
|
47
|
+
"effect": "Report CLI, interface and format versions and exit codes; needs no Workspace.",
|
|
48
|
+
"basis": "04 §8; 07 §10"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "model.register",
|
|
52
|
+
"command": "model register",
|
|
53
|
+
"usage": "accrete model register [--from FILE] [--checkout PATH] [--id ID] [--name NAME] [--description TEXT] [--source-scope PATH]",
|
|
54
|
+
"effect": "Allocate a Model identity for an existing Git checkout or a repository locator supplied in JSON. Does not clone or fetch. A checkout becomes a host-local binding.",
|
|
55
|
+
"basis": "03 Model identity; 04 §7"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "model.bind",
|
|
59
|
+
"command": "model bind",
|
|
60
|
+
"usage": "accrete model bind MODEL_ID --checkout PATH",
|
|
61
|
+
"effect": "Set this host's checkout binding for a known Model.",
|
|
62
|
+
"basis": "04 §7; 06 §2"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"id": "model.update",
|
|
66
|
+
"command": "model update",
|
|
67
|
+
"usage": "accrete model update MODEL_ID --from FILE --expect REVISION",
|
|
68
|
+
"effect": "Amend the Model descriptor; source history stays in Git.",
|
|
69
|
+
"basis": "04 §7"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"id": "model.retire",
|
|
73
|
+
"command": "model retire",
|
|
74
|
+
"usage": "accrete model retire MODEL_ID --expect REVISION [--from FILE]",
|
|
75
|
+
"effect": "End current use while preserving identity, repository and earlier associations. The optional JSON may carry reason.",
|
|
76
|
+
"basis": "03; 04 §7"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"id": "model.iteration.open",
|
|
80
|
+
"command": "model iteration open",
|
|
81
|
+
"usage": "accrete model iteration open MODEL_ID [--from FILE] [--id ID] [--name NAME] [--purpose TEXT] [--branch BRANCH] [--worktree PATH] [--start REVISION] [--existing]",
|
|
82
|
+
"effect": "Describe an iteration. --worktree creates a worktree of the Model's repository unless --existing attaches one; without --worktree no storage is allocated. Flags override --from fields of the same name.",
|
|
83
|
+
"basis": "03 Model identity; 04 §§5,7"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": "model.iteration.close",
|
|
87
|
+
"command": "model iteration close",
|
|
88
|
+
"usage": "accrete model iteration close ITERATION_ID --expect REVISION [--from FILE] [--outcome TEXT] [--commit COMMIT]",
|
|
89
|
+
"effect": "Retain the outcome, summary and every selected commit. Outcome is required from the file or --outcome; --commit repeats. Merging and worktree removal stay separate.",
|
|
90
|
+
"basis": "03 Model identity; 04 §§5,7"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "model.iteration.remove-worktree",
|
|
94
|
+
"command": "model iteration remove-worktree",
|
|
95
|
+
"usage": "accrete model iteration remove-worktree ITERATION_ID [--force]",
|
|
96
|
+
"effect": "Remove the iteration's bound worktree through Git, keeping Git's refusal for changed work unless --force is given.",
|
|
97
|
+
"basis": "04 §§5,7"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"id": "tool.admit",
|
|
101
|
+
"command": "tool admit",
|
|
102
|
+
"usage": "accrete tool admit [--from FILE] [--id ID] [--name NAME] [--description TEXT] [--source PATH] [--source-mode live|retained] [--revision COMMIT]",
|
|
103
|
+
"effect": "Give an existing capability a Tool identity and explicit live or retained source selection.",
|
|
104
|
+
"basis": "04 §7; 08 §§7-8"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"id": "tool.bind",
|
|
108
|
+
"command": "tool bind",
|
|
109
|
+
"usage": "accrete tool bind TOOL_ID --source PATH",
|
|
110
|
+
"effect": "Set this host's source binding for a known Tool.",
|
|
111
|
+
"basis": "04 §7; 06 §2"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"id": "tool.update",
|
|
115
|
+
"command": "tool update",
|
|
116
|
+
"usage": "accrete tool update TOOL_ID --from FILE --expect REVISION",
|
|
117
|
+
"effect": "Amend metadata or source selection without changing the user's active implementation checkout.",
|
|
118
|
+
"basis": "04 §7; 08 §7"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"id": "tool.expose",
|
|
122
|
+
"command": "tool expose",
|
|
123
|
+
"usage": "accrete tool expose TOOL_ID --agent codex|claude [--mode wrapper|symlink] [--name NAME] [--destination DIRECTORY]",
|
|
124
|
+
"effect": "Create a project-local discovery binding to actual source material; default to a portable source-reading wrapper.",
|
|
125
|
+
"basis": "04 §7; 08 §§7-9"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"id": "tool.refresh",
|
|
129
|
+
"command": "tool refresh",
|
|
130
|
+
"usage": "accrete tool refresh TOOL_ID [--agent codex|claude]",
|
|
131
|
+
"effect": "Refresh existing managed exposures, reporting unavailable or pending source material; a retired Tool's local exposures are removed where possible.",
|
|
132
|
+
"basis": "04 §7; 08 §§7-9"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"id": "tool.retire",
|
|
136
|
+
"command": "tool retire",
|
|
137
|
+
"usage": "accrete tool retire TOOL_ID --expect REVISION [--from FILE]",
|
|
138
|
+
"effect": "Retain identity and associations while ending normal discovery; preserve source material and running work. The optional JSON may carry reason.",
|
|
139
|
+
"basis": "04 §7; 08 §7"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"id": "tool.export",
|
|
143
|
+
"command": "tool export",
|
|
144
|
+
"usage": "accrete tool export TOOL_ID --to PATH",
|
|
145
|
+
"effect": "Create a new local directory with tool.json and source/; external publication remains a separate action.",
|
|
146
|
+
"basis": "04 §7; 08 §7"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"id": "data.register",
|
|
150
|
+
"command": "data register",
|
|
151
|
+
"usage": "accrete data register --from FILE [--id ID] [--name NAME] [--description TEXT] [--result RESULT_ID] [--live]",
|
|
152
|
+
"effect": "Describe Data and usable locations without mandatory payload copying, packing or hashing.",
|
|
153
|
+
"basis": "04 §7; 06 §§3-5"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"id": "data.register.path",
|
|
157
|
+
"command": "data register",
|
|
158
|
+
"usage": "accrete data register --path PATH [--id ID] [--name NAME] [--description TEXT] [--kind file|directory|collection|external] [--hash] [--result RESULT_ID] [--live]",
|
|
159
|
+
"effect": "Register a local borrowed path in place. --hash computes SHA-256 for one regular file.",
|
|
160
|
+
"basis": "06 §4"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"id": "data.amend",
|
|
164
|
+
"command": "data amend",
|
|
165
|
+
"usage": "accrete data amend DATA_ID --from FILE --expect REVISION",
|
|
166
|
+
"effect": "Change descriptive metadata. Closed content and the locations array cannot change this way.",
|
|
167
|
+
"basis": "03; 06 §3"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"id": "data.location.add",
|
|
171
|
+
"command": "data location add",
|
|
172
|
+
"usage": "accrete data location add DATA_ID [--from FILE] [--location NAME] [--path PATH] [--kind filesystem|rclone|external] [--expect REVISION]",
|
|
173
|
+
"effect": "Add a borrowed locator for the same described content; do not redefine earlier Result inputs. A repeated matching location is a no-op.",
|
|
174
|
+
"basis": "04 §7; 06 §4"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"id": "data.materialize",
|
|
178
|
+
"command": "data materialize",
|
|
179
|
+
"usage": "accrete data materialize DATA_ID [--to LOCATION] [--source SOURCE_LOCATION] [--expect REVISION]",
|
|
180
|
+
"effect": "Produce and publish a managed replica at a configured filesystem location (default working) using local transfer or the configured rclone adapter.",
|
|
181
|
+
"basis": "04 §7; 06 §6"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"id": "data.evict",
|
|
185
|
+
"command": "data evict",
|
|
186
|
+
"usage": "accrete data evict DATA_ID --location LOCATION [--expect REVISION]",
|
|
187
|
+
"effect": "Remove precisely one Kernel-managed replica named by location ID or name, preserving the Data identity and other locations. An ambiguous name is a conflict.",
|
|
188
|
+
"basis": "04 §7; 06 §7"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"id": "data.retire",
|
|
192
|
+
"command": "data retire",
|
|
193
|
+
"usage": "accrete data retire DATA_ID --expect REVISION [--from FILE]",
|
|
194
|
+
"effect": "End current use while preserving identity, locations and earlier associations; no bytes are removed. The optional JSON may carry reason.",
|
|
195
|
+
"basis": "03; 06 §7"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"id": "result.record",
|
|
199
|
+
"command": "result record",
|
|
200
|
+
"usage": "accrete result record [--from FILE] [--id ID] [--name NAME] [--description TEXT] [--observe-checkout PATH]",
|
|
201
|
+
"effect": "Persist a useful activity description and its supplied Model, Tool and Data associations. --observe-checkout adds a separately labelled recording-time observation.",
|
|
202
|
+
"basis": "04 §4"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"id": "result.amend",
|
|
206
|
+
"command": "result amend",
|
|
207
|
+
"usage": "accrete result amend RESULT_ID --from FILE --expect REVISION",
|
|
208
|
+
"effect": "Apply an explicit correction or enrichment against the actual current document bytes.",
|
|
209
|
+
"basis": "04 §4; 05 §2"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"id": "result.observe",
|
|
213
|
+
"command": "result observe",
|
|
214
|
+
"usage": "accrete result observe RESULT_ID --text-file FILE [--operation-id ID]",
|
|
215
|
+
"effect": "Append an independent observation to the observations array; an operation ID makes retries unambiguous.",
|
|
216
|
+
"basis": "04 §4; 05 §2"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"id": "result.capture",
|
|
220
|
+
"command": "result capture",
|
|
221
|
+
"usage": "accrete result capture --checkout PATH --path SOURCE_PATH --to DIRECTORY",
|
|
222
|
+
"effect": "Write a selected binary Git diff and selected nonignored untracked files to a new directory with a manifest of the captured scope. --path repeats. It is not a complete executable environment.",
|
|
223
|
+
"basis": "04 §§4-5"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"id": "memory.append",
|
|
227
|
+
"command": "memory append",
|
|
228
|
+
"usage": "accrete memory append --from FILE [--id ID] [--title TITLE] [--authored-at RFC3339] [--result ID] [--model ID] [--tool ID] [--data ID] [--supersedes ID] [--links-from FILE]",
|
|
229
|
+
"effect": "Publish complete authored Markdown with a stable ID, timezone-based path and repeatable object links. Retry a lost acknowledgement with the same --id.",
|
|
230
|
+
"basis": "04 §4; 05 §5"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"id": "index.refresh",
|
|
234
|
+
"command": "index refresh",
|
|
235
|
+
"usage": "accrete index refresh",
|
|
236
|
+
"effect": "Refresh the host-local disposable SQLite projection from the selected metadata view.",
|
|
237
|
+
"basis": "04 §4; 05 §3"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"id": "export",
|
|
241
|
+
"command": "export",
|
|
242
|
+
"usage": "accrete export --to PATH [--id ID]",
|
|
243
|
+
"effect": "Write a metadata bundle of selected or all managed documents. Payloads, Git objects, Tool source and machine bindings stay out. --id repeats.",
|
|
244
|
+
"basis": "05; 06 §9"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"id": "import",
|
|
248
|
+
"command": "import",
|
|
249
|
+
"usage": "accrete import --from PATH [--allow-foreign]",
|
|
250
|
+
"effect": "Import a metadata bundle object by object, reporting each outcome. A batch is not atomic; repeating it completes missing entries.",
|
|
251
|
+
"basis": "05; 06 §9"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"id": "recover",
|
|
255
|
+
"command": "recover",
|
|
256
|
+
"usage": "accrete recover [--operation OPERATION_ID]",
|
|
257
|
+
"effect": "Reconcile interrupted transfers, evictions, worktree creation and uncertain publications from their receipts. Never relaunches scientific computation. --operation limits Data reconciliation to one operation.",
|
|
258
|
+
"basis": "04 §§5,8; 06 §6"
|
|
259
|
+
}
|
|
260
|
+
],
|
|
261
|
+
"receipt": {
|
|
262
|
+
"success_required": [
|
|
263
|
+
"object_id",
|
|
264
|
+
"path",
|
|
265
|
+
"revision",
|
|
266
|
+
"committed",
|
|
267
|
+
"index_pending"
|
|
268
|
+
],
|
|
269
|
+
"success_optional": [
|
|
270
|
+
"published",
|
|
271
|
+
"durability",
|
|
272
|
+
"unchanged"
|
|
273
|
+
],
|
|
274
|
+
"multi_effects": "enumerate actual written paths and any pending projections/exposures",
|
|
275
|
+
"index_pending": "primary publication succeeded; exit 0; repair with index refresh",
|
|
276
|
+
"published_uncertain": "published=true, durability=uncertain, object ID/path and recovery details; exit 8; continue with recover",
|
|
277
|
+
"error": "stable category plus committed/published state and surviving paths",
|
|
278
|
+
"exit_codes": {
|
|
279
|
+
"0": "success, including a committed document whose index refresh is pending",
|
|
280
|
+
"2": "invalid invocation, input or unsupported format",
|
|
281
|
+
"3": "unresolved configuration or project, or absent object",
|
|
282
|
+
"4": "revision, identity, ownership or destination conflict",
|
|
283
|
+
"5": "native dependency unavailable",
|
|
284
|
+
"6": "storage failure before the requested publication completes",
|
|
285
|
+
"7": "incomplete external operation or partially failed import",
|
|
286
|
+
"8": "publication is visible but durability is uncertain"
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
"excluded": [
|
|
290
|
+
"general query/list/show wrappers",
|
|
291
|
+
"mandatory run wrapper",
|
|
292
|
+
"agent scheduler",
|
|
293
|
+
"automatic public Tool publication",
|
|
294
|
+
"persistent-operation Skill scripts"
|
|
295
|
+
]
|
|
296
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"file": ".accrete/examples/model-register.json",
|
|
4
|
+
"definition": "modelRegister"
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
"file": ".accrete/examples/iteration-open.json",
|
|
8
|
+
"definition": "iterationOpen"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"file": ".accrete/examples/iteration-close.json",
|
|
12
|
+
"definition": "iterationClose"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"file": ".accrete/examples/tool-admit.json",
|
|
16
|
+
"definition": "toolAdmit"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"file": ".accrete/examples/tool-update.json",
|
|
20
|
+
"definition": "toolUpdate"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"file": ".accrete/examples/tool-retire.json",
|
|
24
|
+
"definition": "retire"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"file": ".accrete/examples/data-register.json",
|
|
28
|
+
"definition": "dataRegister"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"file": ".accrete/examples/result-record.json",
|
|
32
|
+
"definition": "resultRecord"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"file": ".accrete/examples/result-amend.json",
|
|
36
|
+
"definition": "resultAmend"
|
|
37
|
+
}
|
|
38
|
+
]
|