sf-plugin-data 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/LICENSE +21 -0
- package/README.md +257 -2
- package/bin/run.js +4 -0
- package/docs/artifact-format.md +633 -0
- package/docs/capabilities.md +217 -0
- package/docs/git-workflow.md +37 -0
- package/docs/handover.md +2632 -0
- package/lib/artifacts/dmo-document.d.ts +181 -0
- package/lib/artifacts/dmo-document.js +848 -0
- package/lib/artifacts/dmo-update-delta.d.ts +28 -0
- package/lib/artifacts/dmo-update-delta.js +86 -0
- package/lib/artifacts/read-deploy-input.d.ts +23 -0
- package/lib/artifacts/read-deploy-input.js +199 -0
- package/lib/artifacts/write-other-dmo.d.ts +17 -0
- package/lib/artifacts/write-other-dmo.js +140 -0
- package/lib/commands/data360/deploy.d.ts +84 -0
- package/lib/commands/data360/deploy.js +208 -0
- package/lib/commands/data360/retrieve.d.ts +75 -0
- package/lib/commands/data360/retrieve.js +168 -0
- package/lib/plugin.d.ts +4 -0
- package/lib/plugin.js +3 -0
- package/lib/services/execute-dmo-create.d.ts +24 -0
- package/lib/services/execute-dmo-create.js +118 -0
- package/lib/services/execute-dmo-deploy.d.ts +33 -0
- package/lib/services/execute-dmo-deploy.js +197 -0
- package/lib/services/preflight-dmo-deploy.d.ts +69 -0
- package/lib/services/preflight-dmo-deploy.js +161 -0
- package/lib/services/retrieve-other-dmo.d.ts +46 -0
- package/lib/services/retrieve-other-dmo.js +140 -0
- package/lib/transport/connect-client.d.ts +67 -0
- package/lib/transport/connect-client.js +306 -0
- package/package.json +73 -4
package/docs/handover.md
ADDED
|
@@ -0,0 +1,2632 @@
|
|
|
1
|
+
# Current local identity and alias update — no release authorization
|
|
2
|
+
|
|
3
|
+
User selection on 2026-10-26: unscoped npm **`sf-plugin-data`** at `0.1.0`.
|
|
4
|
+
Repository/path remain `sf-plugin-data360`. Canonical `data360:retrieve` and
|
|
5
|
+
`data360:deploy` have full-ID `datacloud`, `d360` and `dc` aliases, eight IDs
|
|
6
|
+
resolving to exactly two classes. All four topics have explicit help descriptions.
|
|
7
|
+
No `data` IDs, wrappers, API expansion, artifact/schema changes or capability
|
|
8
|
+
expansion. Envelope producer/plugin names follow the new package; contract and
|
|
9
|
+
provenance command strings stay canonical. API 65.0/default remains unchanged.
|
|
10
|
+
|
|
11
|
+
The former unscoped `sf-plugin-data360` manual publish was rejected with `E403`
|
|
12
|
+
spam detection, following the scoped `E404Scope` failure recorded below. This
|
|
13
|
+
product-naming choice is not a restriction bypass or a publishability guarantee.
|
|
14
|
+
At 14:42 local time on 2026-10-26 the user explicitly authorized committing and
|
|
15
|
+
pushing these 13 reviewed package files to `main` with normal enabled hooks.
|
|
16
|
+
This supersedes the local-only commit/push restriction for this change only.
|
|
17
|
+
No new-name registry queries, publication, login, GitHub release or tag edits are
|
|
18
|
+
authorized. Root registrations/plans remain outside this package commit/push.
|
|
19
|
+
Resolve npm restrictions separately. The existing
|
|
20
|
+
`v0.1.0` at `a328066` still carries the old identity; previous tag-replacement
|
|
21
|
+
approval is historical and cannot be reused. All previous artifacts are invalid
|
|
22
|
+
for this new identity. Fresh local verification receipts follow this section;
|
|
23
|
+
historical live acceptance does not qualify the renamed package.
|
|
24
|
+
|
|
25
|
+
## Local verification and propagation
|
|
26
|
+
|
|
27
|
+
Build, scoped ESLint autofix and full lint passed with zero warnings. Full tests
|
|
28
|
+
passed 290/290 (18 above the 272-test baseline); final-tree smoke and retained
|
|
29
|
+
installed-package artifact receipts are reported by the coordinator. Checks cover
|
|
30
|
+
four bare topics, all eight full command help paths, alias listings/flag parity,
|
|
31
|
+
eight IDs backed by two identical class references, injected pre-auth validation,
|
|
32
|
+
canonical JSON contracts/provenance, new package metadata and offline workflow
|
|
33
|
+
E403 rejection. Tests strip inherited SF_/SFDX_ settings, isolate HOME/state in
|
|
34
|
+
verified F:/Temp run roots and perform no org work or recursive cleanup.
|
|
35
|
+
|
|
36
|
+
| Component | Needs update? | What to update | Status |
|
|
37
|
+
|---|---|---|---|
|
|
38
|
+
| sf-plugin-data360 | Yes | Package identity, aliases, help, regressions, current docs | done |
|
|
39
|
+
| ampscript-data / ssjs-data / csv-parser / ampscript-parser / sfmc-language-lsp | N/A | No dependency or language behavior change | not needed |
|
|
40
|
+
| vscode-sfmc-language / mcp-server-sfmc / mcp-server-mcdev | N/A | No consumer relationship | not needed |
|
|
41
|
+
| sf-plugin-mcnext / sf-plugin-cms | N/A | Independent plugins | not needed |
|
|
42
|
+
| eslint-plugin-sfmc / eslint-plugin-mcdev / prettier-plugin-sfmc | N/A | No consumer relationship | not needed |
|
|
43
|
+
| ssjs.guide / mso-conditional-parser / eslint-plugin-mso-email / vscode-mso-conditionals | N/A | No consumer relationship | not needed |
|
|
44
|
+
|
|
45
|
+
Root release/dependency registration and the existing plan record the new current
|
|
46
|
+
identity; unrelated root changes, CSV work and author-identity rules are preserved.
|
|
47
|
+
README and Git workflow are current. Artifact/capability docs, mcdev wiki, public
|
|
48
|
+
sites/tool listings and hover/doc-URL catalogs need no edits: this local-only
|
|
49
|
+
naming/alias change does not expand capability or change artifact schemas.
|
|
50
|
+
|
|
51
|
+
| Folder | Changed? | Current version | New version |
|
|
52
|
+
|---|---|---|---|
|
|
53
|
+
| ./sf-plugin-data360 | Yes | 0.1.0 | Unassigned; fresh release/tag approval required |
|
|
54
|
+
|
|
55
|
+
# Historical unscoped npm identity correction — approved tag replacement
|
|
56
|
+
|
|
57
|
+
On 2026-10-26 the user superseded the scoped-name correction and selected
|
|
58
|
+
`sf-plugin-data360` if absent from npm. One authorized read-only exact-name lookup
|
|
59
|
+
at 10:07 UTC returned structured `E404` from
|
|
60
|
+
`https://registry.npmjs.org/sf-plugin-data360`. No accessible package was found;
|
|
61
|
+
reserved-name/security restrictions and final publishability remain unverified.
|
|
62
|
+
The earlier manual scoped publication failed with `E404Scope`; no successful
|
|
63
|
+
publication is known. GitHub owner `JoernBerkefeld` is unchanged.
|
|
64
|
+
|
|
65
|
+
Current local package/lock metadata, workflow guard, package-smoke installation
|
|
66
|
+
path, command-envelope expectations, README and root registrations now use the
|
|
67
|
+
unscoped identity. Version stays `0.1.0`; API-version work remains deferred.
|
|
68
|
+
Historical scoped identities and hashes below describe old artifacts only, not
|
|
69
|
+
the corrected release candidate. Every prior scoped tarball is invalid for the
|
|
70
|
+
new npm identity; fresh packaging/integrity and release-tree binding are required.
|
|
71
|
+
|
|
72
|
+
At 11:53 local time on 2026-10-26 the user explicitly approved committing and
|
|
73
|
+
pushing the correction and replacing local/remote `v0.1.0` with the corrected
|
|
74
|
+
commit, retaining version `0.1.0`. The observed old annotated tag object is
|
|
75
|
+
`2865ef032290872f7e049c67c9f395df0edc39e9`, peeled to
|
|
76
|
+
`b2d18d45b44a302888c3abfbdb1236831f13051c` (old scoped identity). Replace only
|
|
77
|
+
that tag using its observed object ID as the remote force-with-lease condition;
|
|
78
|
+
push `main` without force. Require staged-tree/commit equality, successful normal
|
|
79
|
+
hooks, remote branch/tag equality and a clean package tree before handoff.
|
|
80
|
+
The external execution receipt records actual commit/tag results and fresh
|
|
81
|
+
artifact integrity; this paragraph records approval and requirements, not a
|
|
82
|
+
prediction of success. Root changes remain outside the package commit/push.
|
|
83
|
+
No GitHub release, login, global auth change, registry lookup or publication is
|
|
84
|
+
authorized by this step. First npm publication remains user-executed.
|
|
85
|
+
Verification runs offline with isolated HOME/state and stripped inherited
|
|
86
|
+
SF_/SFDX_ overrides; retained artifact evidence is reported separately.
|
|
87
|
+
|
|
88
|
+
# Approved commit-and-push execution checkpoint
|
|
89
|
+
|
|
90
|
+
On 2026-10-26 the user confirmed creation of
|
|
91
|
+
https://github.com/JoernBerkefeld/sf-plugin-data360 and authorized committing and
|
|
92
|
+
pushing this reviewed baseline. The empty hosted repository was verified through
|
|
93
|
+
GitHub CLI with owner administration access, then attached as `origin` using
|
|
94
|
+
`https://github.com/JoernBerkefeld/sf-plugin-data360.git`; fetch succeeded. This
|
|
95
|
+
supersedes historical no-remote statements below, not their qualification limits.
|
|
96
|
+
The package remains `0.1.0`; API-version discovery/latest-version work is deferred
|
|
97
|
+
to the next release. No tag, GitHub release, npm publication, registry lookup or
|
|
98
|
+
new live-org operation is part of this execution. Root changes remain untouched.
|
|
99
|
+
|
|
100
|
+
All 60 acceptance input hashes and the retained acceptance tarball SHA-256 matched
|
|
101
|
+
before commit splitting. Implementation, regression tests, package smoke and
|
|
102
|
+
primary docs were committed together as `6dc2406` after fresh isolated autofix,
|
|
103
|
+
build, zero-warning lint, full tests, smoke and package checks, then normal enabled
|
|
104
|
+
pre-commit verification. Workflow, its offline tests and release documentation
|
|
105
|
+
form the next coherent commit. Final commit IDs, fresh verification outcomes,
|
|
106
|
+
artifact integrity and push status are reported by the coordinator after the
|
|
107
|
+
commands complete rather than predicted in this document. Documentation changes
|
|
108
|
+
mean a freshly packed tarball differs from the historical acceptance archive;
|
|
109
|
+
compare runtime bytes before carrying its bounded acceptance forward.
|
|
110
|
+
|
|
111
|
+
# Local release-workflow preparation checkpoint
|
|
112
|
+
|
|
113
|
+
This slice preserves the prior reviewed bounded DMO code and its 263-test / nine-smoke
|
|
114
|
+
baseline at HEAD 5b0ed1b432417c364f3eae87532fe41c0125cd49. Root fetch/status showed
|
|
115
|
+
main ahead two, not behind; package fetch/status showed main with no configured
|
|
116
|
+
remote or local tags. Upstream package publication state is deliberately unqueried.
|
|
117
|
+
No remote, version baseline, published release or consumer chain is inferred.
|
|
118
|
+
|
|
119
|
+
Written simplicity-first plan and dedicated read-only senior plan review
|
|
120
|
+
8fd7ceab-1b1a-4bf4-83b8-99c6b29f36c7 returned zero must-fix before edits. One small
|
|
121
|
+
coupled workflow/test/docs slice, not a generic release framework. The workflow
|
|
122
|
+
pins npm 11.5.1, checks the exact scoped name/version using structured JSON, skips
|
|
123
|
+
only a matching returned version and treats only structured E404 as absent.
|
|
124
|
+
A second package-name lookup distinguishes first-ever package absence (user-only
|
|
125
|
+
manual bootstrap) from a later unpublished version (approved hosted publication).
|
|
126
|
+
Auth/network/malformed or mismatched responses fail closed. It never retries a
|
|
127
|
+
publication automatically. Tests execute the actual inline block in a VM with
|
|
128
|
+
synthetic npm responses; no registry or publication subprocess is reachable.
|
|
129
|
+
|
|
130
|
+
Git workflow documentation now describes bounded retrieval/preview/create/label
|
|
131
|
+
updates rather than unsupported-only entry points, and separates manual bootstrap,
|
|
132
|
+
verified trusted-publisher binding and post-acceptance availability/install checks.
|
|
133
|
+
Root release-tracking and cross-component sync rules register exactly
|
|
134
|
+
`@joernberkefeld/sf-plugin-data360` as independent Tier 4 with external Salesforce
|
|
135
|
+
CLI dependencies only, no workspace consumers, configured remote or release tags.
|
|
136
|
+
Prior CSV/parser/root rule edits were retained. No production DMO file was edited.
|
|
137
|
+
|
|
138
|
+
## Completed bounded packaged-CLI acceptance receipt
|
|
139
|
+
|
|
140
|
+
Installed packaged-CLI cross-org acceptance passed on 2026-10-26, as recorded in
|
|
141
|
+
`F:/Temp/data360-live-G6R8BE/accept-complete.json`. This final receipt supersedes
|
|
142
|
+
`accept-timeboxed-handover.json`, which stopped before PATCH. The accepted local
|
|
143
|
+
`@joernberkefeld/sf-plugin-data360` `0.1.0` tarball has SHA-256
|
|
144
|
+
`a923a30ab11f992fa569e863e52f89152f9541961cdfb9496f1ff01a35819f4a`;
|
|
145
|
+
all 60 recorded input hashes remained unchanged. This binds acceptance to that
|
|
146
|
+
packaged baseline, not a newly packed artifact after this documentation edit.
|
|
147
|
+
|
|
148
|
+
Source `00Daj000010xkZNEAY` retrieval completed. Complete target inventory (1,102
|
|
149
|
+
objects) proved absence before CREATE in target `00Dfj00000bRQabEAG`. CREATE was
|
|
150
|
+
confirmed, followed by independent authored readback equality and an unchanged
|
|
151
|
+
replay. Label-update preview and UPDATE were confirmed, followed by independent
|
|
152
|
+
complete authored equality/full raw runtime preservation and a final unchanged
|
|
153
|
+
replay. Fixture `Preservedfc5841d3a141b__dlm` remains undeleted in the target as
|
|
154
|
+
`0gjfj00000HQpt7AAD`. Reported mutations: source 0, target CREATE 1, target PATCH 1,
|
|
155
|
+
DELETE 0; both unchanged replays reported `not-attempted`. Underlying transport
|
|
156
|
+
and historical OAuth counts were not independently instrumented.
|
|
157
|
+
|
|
158
|
+
Qualified scope is API 65.0, `default` data space, `Other` category, object label
|
|
159
|
+
and existing nonprimary `FirstValue__c` label only. Field additions, description
|
|
160
|
+
changes, primary-label changes and other APIs/data spaces/categories remain
|
|
161
|
+
unproven and blocked. The optional unsupported-change preview was not exercised.
|
|
162
|
+
All launched acceptance processes completed; no retry, rollback or cleanup ran.
|
|
163
|
+
This is bounded local installed-tarball acceptance, not general DMO qualification
|
|
164
|
+
or registry publication verification.
|
|
165
|
+
|
|
166
|
+
Release remains blocked pending approved hosted repository setup, publisher
|
|
167
|
+
ownership and verified trusted binding, normal release qualification, user-only
|
|
168
|
+
first npm publication and post-publication registry artifact/integrity verification.
|
|
169
|
+
No remote or local tags are configured, and `package.json` has no `repository`
|
|
170
|
+
field or expected hosted URL; the user must choose the destination and authorize
|
|
171
|
+
creation/setup. The prepared workflow distinguishes user-manual first publication
|
|
172
|
+
from later trusted-publisher releases and skips only a returned exact version;
|
|
173
|
+
that skip is not registry/install/integrity verification. No login/bootstrap
|
|
174
|
+
executable commands are handed off before release qualification; broader DMO
|
|
175
|
+
support is not complete. The candidate remains `0.1.0`; next version is unassigned.
|
|
176
|
+
|
|
177
|
+
The factual receipt update changes only this existing handover. Source, runtime,
|
|
178
|
+
tests and workflows are unchanged by this documentation slice; the historical
|
|
179
|
+
verification below belongs to the prior package baseline.
|
|
180
|
+
No registry query, npm publish, GitHub command, remote creation, org call, commit,
|
|
181
|
+
push, tag, release or global setting change was performed by this slice. Scratch
|
|
182
|
+
roots are retained without recursive cleanup.
|
|
183
|
+
|
|
184
|
+
Final release-slice verification on 2026-10-26 completed exit 0 in 164.740s:
|
|
185
|
+
scoped ESLint autofix, explicit build, full zero-warning lint, full tests 272/272
|
|
186
|
+
(57.084s; nine new workflow guard tests), smoke 9/9 (53.905s), registry-only lock
|
|
187
|
+
check and package smoke (32 entries, three help and six installed injected-envelope
|
|
188
|
+
checks). HOME/USERPROFILE/XDG isolation: `F:/Temp/data360-release-hO8TK8`;
|
|
189
|
+
retained package installation: `F:/Temp/data360-package-dq3Xpo`. All shell/test
|
|
190
|
+
entries verified TEMP, actual Node os.tmpdir and nonempty TMP/TMPDIR against
|
|
191
|
+
absolute normalized F:/Temp; inherited SF_/SFDX_ overrides were stripped.
|
|
192
|
+
An initial autofix-generated incomplete JSDoc produced lint warnings and stopped
|
|
193
|
+
verification before tests; fixed documentation, then reran the full sequence green.
|
|
194
|
+
LF/no-BOM checks and package/root scoped git diff --check passed. Root changes are
|
|
195
|
+
only rule files, so no root tests/build were required. Package identity/version
|
|
196
|
+
remain `@joernberkefeld/sf-plugin-data360` / `0.1.0`, with no version assignment or
|
|
197
|
+
release inferred from the absent tags/remote.
|
|
198
|
+
|
|
199
|
+
Dedicated read-only release-slice code review
|
|
200
|
+
67c0e30b-24ed-4a3b-8f08-5d814b6ff4aa returned zero must-fix. Optional subprocess
|
|
201
|
+
error/signal/nonzero-publish-exit regression expansion was reported, not applied.
|
|
202
|
+
The coordinator's existing whole-feature review remains undisturbed.
|
|
203
|
+
|
|
204
|
+
## Release-slice propagation
|
|
205
|
+
|
|
206
|
+
| Component | Needs update? | What to update | Status |
|
|
207
|
+
| ------------------------- | ------------- | ----------------------------------------------------- | ---------- |
|
|
208
|
+
| `sf-plugin-data360` | Yes | Workflow, offline regressions and release status docs | done |
|
|
209
|
+
| `ampscript-data` | N/A | — | not needed |
|
|
210
|
+
| `ssjs-data` | N/A | — | not needed |
|
|
211
|
+
| `csv-parser` | No | Reference workflow read only | not needed |
|
|
212
|
+
| `ampscript-parser` | N/A | — | not needed |
|
|
213
|
+
| `sfmc-language-lsp` | N/A | — | not needed |
|
|
214
|
+
| `vscode-sfmc-language` | N/A | — | not needed |
|
|
215
|
+
| `mcp-server-sfmc` | N/A | — | not needed |
|
|
216
|
+
| `mcp-server-mcdev` | N/A | — | not needed |
|
|
217
|
+
| `sf-plugin-mcnext` | N/A | — | not needed |
|
|
218
|
+
| `sf-plugin-cms` | N/A | — | not needed |
|
|
219
|
+
| `eslint-plugin-sfmc` | N/A | — | not needed |
|
|
220
|
+
| `eslint-plugin-mcdev` | N/A | — | not needed |
|
|
221
|
+
| `prettier-plugin-sfmc` | N/A | — | not needed |
|
|
222
|
+
| `ssjs.guide` | N/A | — | not needed |
|
|
223
|
+
| `mso-conditional-parser` | N/A | — | not needed |
|
|
224
|
+
| `eslint-plugin-mso-email` | N/A | — | not needed |
|
|
225
|
+
| `vscode-mso-conditionals` | N/A | — | not needed |
|
|
226
|
+
|
|
227
|
+
README reviewed: already states unpublished bounded capability and hosted setup
|
|
228
|
+
limitations; no change needed for this release-only slice. No npm CHANGELOG.
|
|
229
|
+
Wiki, sfmc.guide, joernberkefeld.com, hover/doc-URL data: unrelated, no updates.
|
|
230
|
+
Both root registration/dependency-map surfaces updated; no pending propagation.
|
|
231
|
+
|
|
232
|
+
| Folder | Changed? | Current version | New version |
|
|
233
|
+
| --------------------- | -------- | --------------- | ------------------------------------------------------- |
|
|
234
|
+
| `./sf-plugin-data360` | Yes | `0.1.0` | Unassigned; no remote/local tags, publication unqueried |
|
|
235
|
+
|
|
236
|
+
All other tracked package folders were unchanged by this release-preparation slice.
|
|
237
|
+
Keep everything local as explicitly requested; push/GitHub release may be offered
|
|
238
|
+
only after the remaining acceptance/setup gates and fresh explicit approval.
|
|
239
|
+
|
|
240
|
+
# Public bounded DMO label-update CLI checkpoint
|
|
241
|
+
|
|
242
|
+
Started 2026-10-26 from HEAD 5b0ed1b432417c364f3eae87532fe41c0125cd49;
|
|
243
|
+
fetch/status succeeded (main, no configured upstream), preserving all eleven dirty
|
|
244
|
+
paths from the service checkpoint. Written simplicity-first plan and dedicated
|
|
245
|
+
read-only senior plan review 304c2ce8-cb2b-4cb2-9799-4029963291c1 completed before edits,
|
|
246
|
+
with zero must-fix. One small coupled CLI/test slice; no new architecture or flags.
|
|
247
|
+
The coordinator must still run the once-whole-feature code review after this checkpoint.
|
|
248
|
+
|
|
249
|
+
Public `deploy --preview` passes `allowLabelUpdates: true` (fifth positional argument)
|
|
250
|
+
to `preflightDmoDeploy`. Nonpreview delegates each admitted item to `executeDmoDeploy`
|
|
251
|
+
instead of `executeDmoCreate`; whole-selection admission, exact CMS-style selectors,
|
|
252
|
+
sequential fresh checks and stop-on-block/failure/unknown remain command-owned.
|
|
253
|
+
`ExecutionItem` uses `DmoDeployExecution`, preserving the version 1.0.0 envelope with
|
|
254
|
+
`updated` / `confirmed-updated`, honest unchanged/not-attempted/blocked/failed evidence,
|
|
255
|
+
and generic unknown-mutation diagnostics covering creation or update. No raw payloads.
|
|
256
|
+
Qualified Other/default/API65 object and existing non-primary field labels are public;
|
|
257
|
+
primary labels, additions, descriptions and other mixed unsupported deltas block
|
|
258
|
+
before writes. No arbitrary fixture-name restriction, new category architecture,
|
|
259
|
+
live call/mutation/third PATCH, root edit, commit, push, tag, version or release.
|
|
260
|
+
No field-addition preservation proof exists yet; it needs separate authorization.
|
|
261
|
+
|
|
262
|
+
Regressions cover injected command and installed envelopes for preview update,
|
|
263
|
+
confirmed update/noop, whole-selection zero execution on mixed blockers and honest
|
|
264
|
+
unknown-stop/redaction; a real command+guarded-service fixture additionally proves
|
|
265
|
+
label update/readback and mixed description refusal. Existing create tests remain.
|
|
266
|
+
README, capabilities and artifact contract now describe public narrow support and
|
|
267
|
+
limitations. Package stays 0.1.0. Final isolated verification completed
|
|
268
|
+
2026-10-26T00:52:11.856Z (155.915s): scoped ESLint autofix, explicit build, full
|
|
269
|
+
zero-warning lint, tests 263/263 (56.404s), smoke 9/9 (53.105s), registry-only
|
|
270
|
+
lock check, package smoke with 32 entries / three help / six installed injected
|
|
271
|
+
envelope checks, Markdown formatting and git diff --check all passed exit0.
|
|
272
|
+
Retained isolated HOME/USERPROFILE/XDG F:/Temp/data360-cli-ArCjNW and packaged
|
|
273
|
+
installation F:/Temp/data360-package-cdfXW4; inherited SF_/SFDX_ overrides stripped
|
|
274
|
+
before explicit offline settings. Every shell entry verified TEMP/actual Node
|
|
275
|
+
os.tmpdir/nonempty TMP/TMPDIR against F:/Temp. Scratch retained without cleanup.
|
|
276
|
+
Initial full run also passed 262/262 before adding the real-service regression;
|
|
277
|
+
final 263/263 run supersedes it. No hooks altered or commit attempted.
|
|
278
|
+
Propagation: independent CLI only; all language-data/parser/LSP/MCP/MSO/CMS/MCNext,
|
|
279
|
+
wiki/site/listing/hover surfaces are unrelated and need no update. No changelog.
|
|
280
|
+
|
|
281
|
+
# Internal bounded DMO label-update service checkpoint
|
|
282
|
+
|
|
283
|
+
Started 2026-10-26 from HEAD 5b0ed1b with the existing eight verified dirty files;
|
|
284
|
+
fetch/status succeeded (main, not behind). Preserved effective-label reconciliation
|
|
285
|
+
and guarded PATCH transport. Written plan, explicit simplicity check and dedicated
|
|
286
|
+
read-only senior plan review d1c090d8-7d90-4d2b-a0ea-174fefb72ed9 preceded edits.
|
|
287
|
+
One must-fix incorporated: primary-key label changes block because the current
|
|
288
|
+
generated qualifier recipe derives its label from the primary label. No generic
|
|
289
|
+
category architecture or synthetic-name execution gate was introduced. This is a
|
|
290
|
+
coherent service-only checkpoint; CLI integration and once-whole-feature Gate 4
|
|
291
|
+
remain coordinator-owned, not represented as complete here.
|
|
292
|
+
|
|
293
|
+
## Exact interfaces and bounded execution
|
|
294
|
+
|
|
295
|
+
`preflightDmoDeploy(document: unknown, connection: ReadConnection, apiVersion:
|
|
296
|
+
unknown, dataSpace: unknown, allowLabelUpdates = false): Promise<DmoDeployPreview>`
|
|
297
|
+
retains create-only defaults and adds opt-in `update` classification. Exported
|
|
298
|
+
`buildExecutableDmoDelta(desired: unknown, current: DmoDocument)` wraps the broader
|
|
299
|
+
offline candidate with the narrow execution gate. New service exports:
|
|
300
|
+
`executeDmoDeploy(document: unknown, connection: TargetConnection, apiVersion:
|
|
301
|
+
unknown, dataSpace: unknown): Promise<DmoDeployExecution>` and
|
|
302
|
+
`executeDmoDeploySelection(documents: unknown[], connection: TargetConnection,
|
|
303
|
+
apiVersion: unknown, dataSpace: unknown): Promise<DmoDeployExecution[]>`.
|
|
304
|
+
Connection requires instanceUrl/request/metadata/getApiVersion. Result outcome is
|
|
305
|
+
unchanged/blocked/created/failed/updated/not-attempted; mutation is
|
|
306
|
+
not-attempted/confirmed-created/confirmed-updated/unknown, with optional preflight
|
|
307
|
+
and static payload-free diagnostics. No candidate/PATCH/runtime payload escapes.
|
|
308
|
+
|
|
309
|
+
All inputs validate/detach synchronously, duplicate identities reject. Whole
|
|
310
|
+
selection admission precedes any write; sequential execution reacquires target
|
|
311
|
+
qualification and derives delta from fresh target immediately before its one
|
|
312
|
+
mutation. Create reuses the existing guarded-create executor and fresh absence
|
|
313
|
+
proof. Unsupported/fresh drift blocks before dispatch. Unknown mutation stops
|
|
314
|
+
with remaining selection items not attempted. PATCH return body is ignored;
|
|
315
|
+
independent retrieveDmo obtains detail, Metadata and full relationship inventory.
|
|
316
|
+
Confirmation requires expected authored overlay plus full raw runtime equality,
|
|
317
|
+
normalizing only Connect/Metadata field order by exact identity. Allowed raw
|
|
318
|
+
changes are changed object label at Connect label, Metadata label and object
|
|
319
|
+
labelOverride/masterLabel, and changed existing non-primary field Connect label
|
|
320
|
+
plus Metadata labelOverride. All other values/presence/generated qualifiers remain.
|
|
321
|
+
Attempt evidence is marked before dispatch; no retry/rollback.
|
|
322
|
+
|
|
323
|
+
Only qualified supported custom Other/default/API 65 with nondynamic Text primary
|
|
324
|
+
key executes. Object and existing non-primary field labels are enabled internally.
|
|
325
|
+
New fields, object/field descriptions, primary labels and all other unproven changes
|
|
326
|
+
(including mixed label edits) remain atomically blocked. Omitted target-only fields
|
|
327
|
+
and descriptions preserve; field reordering is noop. This policy is grounded in
|
|
328
|
+
retained Other preservation evidence F:/Temp/data360-preserve-mO2XMa and effective
|
|
329
|
+
label offline replay F:/Temp/data360-label-MdL05T/replay-receipt.json. It does not
|
|
330
|
+
prove other categories or new-field semantics. No live call, mutation, third PATCH,
|
|
331
|
+
commit/push/version/release/publication was performed by this slice.
|
|
332
|
+
|
|
333
|
+
## Verification and remaining work
|
|
334
|
+
|
|
335
|
+
Focused document/service suite 131/131 passed after scoped autofix/build. Full
|
|
336
|
+
isolated verification completed 2026-10-26T00:41:49.853Z, pipeline 162.544s:
|
|
337
|
+
explicit build exit0, full zero-warning lint exit0, full tests 260/260 (57.840s),
|
|
338
|
+
smoke 9/9 (54.781s), registry-only lock check exit0, package smoke exit0 with
|
|
339
|
+
32 artifact entries, three installed help checks and two installed injected envelope
|
|
340
|
+
checks. Normal hook command sequence was executed standalone, hooks unchanged;
|
|
341
|
+
no commit/hook invocation. Retained isolated HOME/USERPROFILE/XDG root
|
|
342
|
+
F:/Temp/data360-executor-hVeEx6, inherited SF_/SFDX_ overrides stripped. Every
|
|
343
|
+
shell entry checked TEMP/actual Node os.tmpdir/nonempty TMP/TMPDIR against F:/Temp;
|
|
344
|
+
scratch retained without cleanup. Changed Markdown format and git diff --check pass. Added regressions cover
|
|
345
|
+
mixed unsupported changes/no writes, omissions/noop, fresh target drift, stale PATCH
|
|
346
|
+
body versus independently confirmed update, raw runtime/generated/read failures,
|
|
347
|
+
selection validation/admission and stop-on-ambiguity. Existing create tests retained.
|
|
348
|
+
|
|
349
|
+
Remaining: a separately planned CLI slice can opt into service selection execution,
|
|
350
|
+
update command/envelope/human diagnostics and preview contract deliberately, then
|
|
351
|
+
run its verification. Current CLI remains create-only and cannot misreport an update
|
|
352
|
+
as created. Run coordinator-owned whole-feature review only once all planned slices
|
|
353
|
+
land. No new live experiment is authorized.
|
|
354
|
+
|
|
355
|
+
Propagation: README/artifact-format/capabilities and this handover updated. No
|
|
356
|
+
changelog/version change; package stays 0.1.0. No language data, parser, LSP, MCP,
|
|
357
|
+
MSO, CMS/MCNext, wiki/site/listing/hover dependency or changed surface; no downstream
|
|
358
|
+
propagation needed. Scope remains local and unreleased.
|
|
359
|
+
|
|
360
|
+
# DMO API 65 effective field-label reconciliation
|
|
361
|
+
|
|
362
|
+
Started 2026-10-26 from clean 5b0ed1b; fetch/status succeeded. Written plan,
|
|
363
|
+
explicit simplicity check and dedicated read-only senior plan review preceded
|
|
364
|
+
edits (zero must-fix). One small coupled field-join/test slice; no transport,
|
|
365
|
+
public update enablement, live calls, writes, new org fixture, third PATCH,
|
|
366
|
+
commits, pushes, versions or releases.
|
|
367
|
+
|
|
368
|
+
Local documentation search found no effective-label contract. With prior approval
|
|
369
|
+
for official online documentation, fetched the official
|
|
370
|
+
[CustomField reference](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/customfield.htm),
|
|
371
|
+
MktDataModelFieldAttributes section: API 65 `labelOverride` replaces the default
|
|
372
|
+
field display label when specified, otherwise the default applies; maximum 255
|
|
373
|
+
characters. `masterLabel` is separately documented. The schema MCP returned no
|
|
374
|
+
nested-type content and supplied no additional evidence. Search summaries omitted
|
|
375
|
+
these newer attributes; the fetched English reference explicitly contains them.
|
|
376
|
+
|
|
377
|
+
The common join now validates a present override as nonblank text <=255 characters
|
|
378
|
+
and compares Connect label to that override, falling back only on absence.
|
|
379
|
+
Metadata base label validation and optional masterLabel===base qualification are
|
|
380
|
+
retained independently. The latter remains this projector's narrow acceptance
|
|
381
|
+
constraint, not a universal Salesforce identity claim. Raw observations remain
|
|
382
|
+
unchanged and detached in expectations. Narrow compatibility helpers and generated
|
|
383
|
+
recipe gates are unchanged. Tests cover observed split, absence fallback, present
|
|
384
|
+
malformed values and Connect/effective/base/master disagreements.
|
|
385
|
+
|
|
386
|
+
Offline replay of retained diagnosis snapshots for the existing owned synthetic
|
|
387
|
+
Preservedfc5841d3a141b__dlm returns projected with zero blockers, exactly matches the
|
|
388
|
+
entire patch-2-intent authored expected overlay, retains the entire raw runtime
|
|
389
|
+
expectations and leaves inputs unchanged. Receipt retained under
|
|
390
|
+
F:/Temp/data360-label-MdL05T/replay-receipt.json; this is offline qualification of
|
|
391
|
+
the recorded checkpoint, not a new live observation or proof of new-field behavior.
|
|
392
|
+
Third PATCH remains unattempted. Next smallest integration step is separately
|
|
393
|
+
reviewed guarded PATCH transport plus independent GET/common qualification; any
|
|
394
|
+
new-field preservation experiment still needs explicit separate authorization.
|
|
395
|
+
|
|
396
|
+
Verification complete: focused 113/113; full 235/235 (57.004s); smoke 9/9
|
|
397
|
+
(54.984s); explicit build, lint autofix and full zero-warning lint exit0;
|
|
398
|
+
registry-only lock check exit0; packaged 30-entry artifact with three installed
|
|
399
|
+
help checks and two installed injected envelope checks exit0. Full verification
|
|
400
|
+
pipeline 153.953s. Normal pre-commit command sequence was run standalone with
|
|
401
|
+
hooks unchanged; no commit/hook invocation was authorized. Changed Markdown
|
|
402
|
+
Prettier check and git diff --check pass. Verification used marked isolated
|
|
403
|
+
F:/Temp/data360-label-MdL05T USERPROFILE/HOME/XDG with inherited SF_/SFDX_ variables
|
|
404
|
+
stripped; package harness retained F:/Temp/data360-package-aXz4QJ. No cleanup.
|
|
405
|
+
Final read-only senior code review ae6f91e1-c22b-47ad-aee2-3fa91f933a1f returned
|
|
406
|
+
zero must-fix. Optional exact-255 acceptance regression was reported, not auto-added.
|
|
407
|
+
An earlier review invocation aborted without a result; a fresh review completed.
|
|
408
|
+
Documentation propagation: README, artifact-format, capabilities and this handover
|
|
409
|
+
explain bounded checkpoint qualification without claiming public update support. No changelog/version change. All language packages, wiki/sites/listings,
|
|
410
|
+
hover data, CMS/MCNext and other packages have no dependency or changed surface.
|
|
411
|
+
|
|
412
|
+
# DMO pure offline update-delta slice
|
|
413
|
+
|
|
414
|
+
Started 2026-10-26 00:44+01:00 from clean
|
|
415
|
+
dc5ae81b275c6f28a34a3cedd5eb4409139d72b5; fetch/status completed, main clean.
|
|
416
|
+
Existing common/recovery reviews apply; written slice plan and explicit simplicity
|
|
417
|
+
check preceded edits. One coupled helper/test slice fits a single worker; no
|
|
418
|
+
additional reviewer dispatched. Whole finished DMO Gate 4 stays coordinator-owned.
|
|
419
|
+
|
|
420
|
+
`src/artifacts/dmo-update-delta.ts` exports
|
|
421
|
+
`buildDmoUpdateDelta(desired: unknown, current: unknown, targetDataSpace: unknown): DmoUpdateDelta`.
|
|
422
|
+
Both authored documents validate independently; current qualification is a caller
|
|
423
|
+
precondition, not proven by fabricated JSON. Exact default/default/default scope
|
|
424
|
+
and qualified object identity required. Invalid shapes throw DmoDocumentError;
|
|
425
|
+
blocked returns only status/blockers. Unchanged returns detached expected target;
|
|
426
|
+
candidate returns minimal patch plus detached expected overlay. No partial
|
|
427
|
+
payload escapes on any unsupported overlap. Public preflight/executor unchanged,
|
|
428
|
+
existing differences still blocked; no PATCH transport or update-enabled outcome.
|
|
429
|
+
|
|
430
|
+
Object label and changed explicit nonblank description map; omitted descriptions
|
|
431
|
+
preserve. Existing labels map exact name/unchanged dataType provisionally. New
|
|
432
|
+
nonprimary/nondynamic fields map only name/label/dataType and explicit nonblank
|
|
433
|
+
description/category. Overlay retains target-only fields, order and omitted
|
|
434
|
+
values, appending sorted additions. Missing desired fields never imply deletion;
|
|
435
|
+
a different name adds while old identity survives, case-only collisions block.
|
|
436
|
+
Unsupported type/primary/dynamic/field-description/category/date differences
|
|
437
|
+
block atomically. Unknown status/relationships/generated/tombstone keys reject.
|
|
438
|
+
No input/output aliasing or mutation; candidate entries are exact-name sorted.
|
|
439
|
+
|
|
440
|
+
Supplied authoritative PATCH checkpoint establishes API65 qualified __dlm route,
|
|
441
|
+
forbids name/type changes, and warns HTTP200 can contain old state. Existing field
|
|
442
|
+
label encoding and server omission preservation remain UNPROVEN. The expected
|
|
443
|
+
overlay describes local nondestructive policy only, not server evidence. Next
|
|
444
|
+
minimal slice: separately authorized synthetic preservation/label experiment,
|
|
445
|
+
then narrowly guarded transport plus independent GET/common qualification only
|
|
446
|
+
if evidence supports it. Do not wire candidate status into public execution.
|
|
447
|
+
No live org calls/writes, Windows harness detour, root edits, release/tag/push or
|
|
448
|
+
publication. Package remains 0.1.0; first release waits for completed DMO milestone.
|
|
449
|
+
|
|
450
|
+
Propagation checked: README, artifact-format, capabilities and this existing
|
|
451
|
+
handover updated; package inventory includes the helper JS/declarations. No npm
|
|
452
|
+
changelog or version change. Language catalogs/parsers/LSP/extensions/MCP/MSO,
|
|
453
|
+
CMS/MCNext, wiki and public sites/listings/hover have no dependency or changed
|
|
454
|
+
surface; no downstream update is needed. Full verification/normal enabled-hook,
|
|
455
|
+
exact tree and clean commit receipts are returned to coordinator below task output.
|
|
456
|
+
All verification uses fresh marked OS-temp homes, stripped inherited SF_/SFDX_
|
|
457
|
+
overrides and isolated USERPROFILE/HOME/XDG. TEMP/actual os.tmpdir/nonempty TMP/
|
|
458
|
+
TMPDIR check F:/Temp at every shell entry; scratch retained, no recursive cleanup.
|
|
459
|
+
|
|
460
|
+
Verification checkpoint 2026-10-26 00:52+01:00: scoped ESLint autofix, explicit
|
|
461
|
+
build and full zero-warning lint exit0; final focused update tests 25/25. Initial
|
|
462
|
+
isolated full suite 217/217 (57.296s), smoke 9/9 (53.202s), packaged artifact
|
|
463
|
+
30 entries with helper JS/declarations, three installed help and two injected
|
|
464
|
+
installed envelope checks exit0 (157.036s pipeline). Three additional focused
|
|
465
|
+
regressions landed during that first run; the normal enabled commit hook reruns
|
|
466
|
+
the final full suite and smoke. Verification roots retained:
|
|
467
|
+
F:/Temp/data360-delta-W1oNTG and F:/Temp/data360-package-8M3qhO. Final hook counts,
|
|
468
|
+
commit hash and staged-tree/HEAD equality are reported in the coordinator handover.
|
|
469
|
+
|
|
470
|
+
# DMO retrieve selector/discovery slice
|
|
471
|
+
|
|
472
|
+
Started 2026-10-26 00:08+01:00 from clean
|
|
473
|
+
ce85828a6f6d59237a88e640d9a526c01a50e105; fetch/status completed (main, no remote
|
|
474
|
+
configured). Existing common/recovery reviews 2873b976 and 1922fc5a had no
|
|
475
|
+
must-fix; written bounded slice plan/simplicity check preceded edits. One coupled
|
|
476
|
+
service/command slice, no subworker/reviewer; whole-DMO Gate 4 stays coordinator-owned.
|
|
477
|
+
No Windows containment investigation or intentional live org operation was authorized.
|
|
478
|
+
The earlier verification isolation incident below supersedes the initial no-live claim.
|
|
479
|
+
|
|
480
|
+
`validateDmoSelection(selectors: string[], apiVersion: string, dataSpace: string): void`
|
|
481
|
+
checks syntax and unchanged API65/default before authentication.
|
|
482
|
+
`selectDmos(connection, selectors, apiVersion, dataSpace): Promise<string[]>`
|
|
483
|
+
reuses complete offset-paginated Connect inventory only for `-m dmo` or omitted
|
|
484
|
+
selectors. Exact-only repeated `-m dmo:ApiName__dlm` avoids inventory. Mixed selectors
|
|
485
|
+
coalesce and sort exact identities. No-selector means all implemented families,
|
|
486
|
+
currently DMO only, not seven-family support; no `--all` flag. Nondefault-space
|
|
487
|
+
inventory entries are excluded by explicit scope; unsupported identities within
|
|
488
|
+
scope are retained for precise `UNSUPPORTED_DMO_IDENTITY` object diagnostics,
|
|
489
|
+
not silently skipped. Unprovable inventory fails before any object writes.
|
|
490
|
+
|
|
491
|
+
CLI `-o` is parsed as a string and then resolved with core `Org.create` only after
|
|
492
|
+
selection/scope validation; core still owns aliases/configured target-org/auth.
|
|
493
|
+
The existing per-object `retrieveDmo` projector and `writeDmoDocument` remain the
|
|
494
|
+
only acquisition/publication path. `-d` project root, `-x` differing-byte permission,
|
|
495
|
+
canonical authored-only files, plugin-owned version provenance and standard outer
|
|
496
|
+
CLI envelope are unchanged. Envelope selection is expanded exact names; diagnostics
|
|
497
|
+
add optional per-object identity, static safe code/message. All selected objects
|
|
498
|
+
are attempted sequentially. Successful item receipts survive later failures.
|
|
499
|
+
Unsupported-only is blocked/exit1, transport/unexpected/output failures failed/exit1;
|
|
500
|
+
empty inventory is success/no files. Human output includes object/code diagnostics.
|
|
501
|
+
No deploy bare-type or deployment behavior changes.
|
|
502
|
+
|
|
503
|
+
Synthetic regressions cover exact/type/none/mixed/duplicates, complete multipage
|
|
504
|
+
inventory, explicit scope, empty/malformed/incomplete inventory, validation before
|
|
505
|
+
auth, default-org absence, partial receipts and precise unsupported failures,
|
|
506
|
+
human diagnostics, existing actual projector/writer integration and installed
|
|
507
|
+
plugin provenance. Offline CLI subprocesses now await completion without wrapper
|
|
508
|
+
forced timeout. Test/package CLI environments isolate USERPROFILE/HOME and use an
|
|
509
|
+
unconfigured synthetic default alias, because installed core derives its auth state
|
|
510
|
+
from os.homedir rather than SF_STATE_FOLDER alone. Existing README/capabilities/artifact notes updated.
|
|
511
|
+
|
|
512
|
+
Next safe bounded slice: establish the documented existing-DMO PATCH contract from
|
|
513
|
+
local authoritative evidence, separately qualify request/response/update/no-op
|
|
514
|
+
semantics with synthetic fixtures, and leave unproven category/relationship/event
|
|
515
|
+
variants explicitly blocked. Do not infer update support from CREATE mapping.
|
|
516
|
+
First release waits for complete DMO milestone and coordinator Gate 4; user performs
|
|
517
|
+
manual npm login/publish bootstrap and npm GUI configuration before GitHub release;
|
|
518
|
+
existing-version hosted workflow skip remains a later separate task. No root-rule
|
|
519
|
+
edits, push/tag/release/publication, package remains 0.1.0.
|
|
520
|
+
|
|
521
|
+
Verification checkpoint 2026-10-26 00:28:21+01:00: explicit build, scoped autofix,
|
|
522
|
+
full lint zero warnings, focused selectors 17/17, isolated CLI 8/8, current full
|
|
523
|
+
suite 194/194 (54.589s) and smoke 8/8 (54.439s), package smoke 28 entries,
|
|
524
|
+
3 installed help checks and 2 injected installed envelope checks all exit0.
|
|
525
|
+
Current-tree full pipeline completed in 152.620s. An earlier full-suite invocation started before auth-home isolation was
|
|
526
|
+
corrected finished 2026-10-26 00:29:14+01:00 (733.484s, exit1). Its no-org CLI
|
|
527
|
+
tests unexpectedly reached the configured org: observed diagnostic
|
|
528
|
+
ENGAGEMENT_EVENT_DESIGNATION_UNAVAILABLE instead of TARGET_ORG_REQUIRED and one
|
|
529
|
+
untracked output path data360/default/dmo/SchemaOther59062c54c9d6__dlm.json.
|
|
530
|
+
The earlier invocation is NOT a green receipt. It ran from 00:17:00.709 to
|
|
531
|
+
00:29:14.193+01:00; the failure output proves unintended real-org acquisition.
|
|
532
|
+
Reconcile started 00:30:44.815+01:00; no relevant node/sf/npm/cmd test process was
|
|
533
|
+
still running. No workload was killed. Core 8.31.3 Global.SF_DIR/SFDX_DIR are
|
|
534
|
+
os.homedir()/.sf and /.sfdx; SF_STATE_FOLDER alone did not isolate authentication.
|
|
535
|
+
All offline subprocess environments now also drop inherited SF_/SFDX_ overrides
|
|
536
|
+
before setting a synthetic nonexistent target, fresh USERPROFILE/HOME and XDG paths.
|
|
537
|
+
A real subprocess regression asserts os.homedir and core SF/SFDX directories plus
|
|
538
|
+
the exact allowed override keys. Full verification and normal enabled hooks run
|
|
539
|
+
inside a separate marked mkdtemp home; no user/global environment is modified.
|
|
540
|
+
|
|
541
|
+
Only the literal untracked incident artifact was inspected locally for file/link
|
|
542
|
+
status, timestamps and top-level authored-document shape, without dumping payload.
|
|
543
|
+
It was a 675-byte regular non-link schemaVersion 1/kind dmo document whose identity
|
|
544
|
+
matched the filename/default scope, created 00:22:16.023+01:00 during the failed
|
|
545
|
+
run. This corroborates prior-run ownership; it was removed using the specialized
|
|
546
|
+
single-file Delete operation, never staged. Existing user files, directory parents
|
|
547
|
+
and all F:/Temp evidence were preserved; no recursive deletion occurred.
|
|
548
|
+
The implicated path is retrieve-only: Connect inventory/detail/relationship GETs,
|
|
549
|
+
core Metadata CustomObject read and local document writer, not the deploy/create
|
|
550
|
+
executor. Auth refresh remains core-owned. This is source-path evidence, not a
|
|
551
|
+
remote audit or a claim that zero remote state mutations occurred.
|
|
552
|
+
|
|
553
|
+
Reconcile verification completed 00:36:06.657+01:00 (209.878s pipeline): scoped
|
|
554
|
+
ESLint autofix, explicit build and full zero-warning lint exit0; focused selection,
|
|
555
|
+
command and CLI tests 26/26 (53.806s); full tests 195/195 (55.381s); smoke 9/9
|
|
556
|
+
(52.282s); installed package 28 entries, three help checks, two injected envelope
|
|
557
|
+
checks exit0. Verification home F:/Temp/data360-reconcile-vOyW26; package evidence
|
|
558
|
+
F:/Temp/data360-package-hp5zGJ. No relevant workloads remained at 00:36:19+01:00.
|
|
559
|
+
The final documentation receipt is repacked, then all eleven literal changed
|
|
560
|
+
source/test/script/docs paths are staged and bound to a recorded Git tree.
|
|
561
|
+
Normal enabled pre-commit independently reruns temporary/lockfile guards, lint,
|
|
562
|
+
full build/tests and smoke in a fresh isolated home. Commit hash, hook counts,
|
|
563
|
+
exact tree equality and final clean status are returned to the coordinator, not
|
|
564
|
+
self-referentially embedded here. No hooks are changed or bypassed.
|
|
565
|
+
|
|
566
|
+
Propagation: primary sf-plugin-data360 source/tests/README/existing capability,
|
|
567
|
+
artifact and handover docs updated. Other language catalogs/parsers/LSP/extensions,
|
|
568
|
+
MCP/MSO, independent CMS/MCNext repos, wiki and public guides/tool listings are N/A;
|
|
569
|
+
no dependency propagation. Verification/commit receipts are returned to coordinator.
|
|
570
|
+
All shell/test entries preflight actual os.tmpdir plus TEMP/nonempty TMP/TMPDIR at
|
|
571
|
+
absolute normalized F:/Temp, process-only repair/recheck; scratch retained, no
|
|
572
|
+
recursive deletion. No independent live-acceptance or full-DMO completion claim.
|
|
573
|
+
|
|
574
|
+
# Recovery slice 2: plugin-owned version provenance
|
|
575
|
+
|
|
576
|
+
Started 2026-10-25 23:31:28+01:00 from clean b58d8e6205418cdf771acd9aa060ce467e98859d.
|
|
577
|
+
Bounded recovery plan review 1922fc5a completed with no planning must-fix;
|
|
578
|
+
this worker does not dispatch a self-review. Whole-feature Gate 4 remains with
|
|
579
|
+
coordinator after recovery chunks.
|
|
580
|
+
|
|
581
|
+
`src/plugin.ts` reads `../package.json` relative to `import.meta.url`; both source
|
|
582
|
+
`src/` and built/installed `lib/` are direct package-root children. Both commands
|
|
583
|
+
copy its name/version into metadata and provenance. No host-config fallback,
|
|
584
|
+
hardcoded runtime version, upward search or dependency change. Envelope contracts,
|
|
585
|
+
statuses, diagnostics and exit behavior are unchanged.
|
|
586
|
+
|
|
587
|
+
Command regressions inject host pjson version 2.151.7 and assert plugin 0.1.0 in
|
|
588
|
+
both envelope fields. Package smoke retains the actual npm tarball and isolated
|
|
589
|
+
npm installation, checks the two additional compiled metadata-module entries,
|
|
590
|
+
and imports BOTH installed command implementations for injected offline blocked
|
|
591
|
+
selection envelopes. Parsing and service calls are replaced; unexpected service
|
|
592
|
+
entry fails. This proves installed package metadata attribution, not actual host
|
|
593
|
+
CLI dispatch or live org acceptance. Three installed help checks remain separate.
|
|
594
|
+
Package smoke child processes have no wrapper timeouts and are awaited to
|
|
595
|
+
completion; retained scratch is never recursively removed.
|
|
596
|
+
|
|
597
|
+
Live dispatch remains blocked: Windows descendant termination is unproven. This
|
|
598
|
+
slice does not solve that harness, run live commands, access credentials, or claim
|
|
599
|
+
help-only checks establish provenance or remote safety.
|
|
600
|
+
|
|
601
|
+
Propagation: sf-plugin-data360 source/tests/package smoke and README/handover
|
|
602
|
+
updated; catalogs, parsers, language service, extensions, MCPs, MSO, other CLI
|
|
603
|
+
plugins, wiki and public guide/tool listings are unrelated (N/A). No root-rule
|
|
604
|
+
edits or downstream dependency changes. Working package version stays 0.1.0;
|
|
605
|
+
release/version assignment deferred, no push, tag, release or publication.
|
|
606
|
+
Verification receipt follows in coordinator handoff (build, scoped autofix, full
|
|
607
|
+
zero-warning lint, full tests, smoke, installed package checks, enabled-hook commit).
|
|
608
|
+
|
|
609
|
+
# Gate 4 remediation slice 2: operation-local SOAP redirect refusal
|
|
610
|
+
|
|
611
|
+
Started 2026-10-25 19:28+01:00 from clean admission commit ec15e2d.
|
|
612
|
+
Installed stack inspection: jsforce MetadataApi._invoke constructs SOAP with its
|
|
613
|
+
_conn; SOAP/HttpApi selects conn._transport instead of Connection.request.
|
|
614
|
+
Transport defaults followRedirect true, request-helper retains request headers in
|
|
615
|
+
its follow-up path. A Connect request-option guard alone therefore cannot protect
|
|
616
|
+
Metadata reads.
|
|
617
|
+
|
|
618
|
+
`readDmoMetadata(connection: ReadConnection, objectApiName: string): Promise<unknown>`
|
|
619
|
+
in retrieve-other-dmo.ts shadows a per-operation receiver and Metadata _conn,
|
|
620
|
+
wrapping the existing transport with a throwing followRedirect callback and zero
|
|
621
|
+
transport retries. No caller/global defaults are changed; no token extraction,
|
|
622
|
+
manual SOAP serialization, parser replacement or dependency addition. Missing
|
|
623
|
+
transport fails closed. Existing retrieveDmo now calls this helper; raw failures
|
|
624
|
+
are static ACQUISITION_FAILED, redirect refusal METADATA_REDIRECT_REFUSED.
|
|
625
|
+
|
|
626
|
+
Actual core Connection construction + installed Metadata/SOAP/HTTP/request against
|
|
627
|
+
loopback servers proves all 301/302/303/307/308 same/cross-origin redirects issue
|
|
628
|
+
exactly one request and zero requests to redirect destination, with payload-free
|
|
629
|
+
errors and unchanged caller transport/Metadata receiver/refresh delegate. SOAP
|
|
630
|
+
session header and readMetadata body are verified; separate 200 XML fixture proves
|
|
631
|
+
core cardinality/fullName/label parsing survives. Focused tests 100/100 passed.
|
|
632
|
+
All fixture traffic is loopback only, no live org calls or writes.
|
|
633
|
+
|
|
634
|
+
README, artifact contract, capabilities and this handover updated, no optional
|
|
635
|
+
findings or stale-doc cleanup. Normal full verification and enabled-hook commit
|
|
636
|
+
receipt are recorded in coordinator handoff. Gate 4 round 2 belongs to original
|
|
637
|
+
read-only reviewer; this worker does not launch another review. Propagation:
|
|
638
|
+
primary sf-plugin-data360 done; catalogs/parsers/LSP/extensions/MCP/MSO and other
|
|
639
|
+
independent CLI repos N/A. Package 0.1.0 unchanged; no root edits/push/tag/release.
|
|
640
|
+
Full verification completed 2026-10-25 19:31:55+01:00: explicit build, scoped
|
|
641
|
+
autofix, full lint zero warnings, full tests 183/183 (27.718s), smoke 7/7 (25.411s),
|
|
642
|
+
package smoke 26 entries / 3 installed isolated help checks, all exit 0 (96.624s).
|
|
643
|
+
Temp checks at each shell/test entry use actual os.tmpdir and absolute normalized
|
|
644
|
+
TEMP/nonempty TMP/TMPDIR F:/Temp, process repair/recheck only; scratch retained,
|
|
645
|
+
no recursive cleanup.
|
|
646
|
+
|
|
647
|
+
# Gate 4 remediation slice 1: execution admission
|
|
648
|
+
|
|
649
|
+
Started 2026-10-25 19:19+01:00 from clean 6bb18fe; fetch/status confirmed.
|
|
650
|
+
Only round-1 must-fix admission addressed. Shared `preflightDmoDeploy` now blocks
|
|
651
|
+
non-Other category and non-Text/dynamic primary keys with payload-free
|
|
652
|
+
SOURCE_EXECUTION_UNSUPPORTED before target reads. Offline mapper remains unchanged;
|
|
653
|
+
no field-count or unrelated authored-type restriction. Executor and public batch
|
|
654
|
+
already reuse this preflight, so a later unsupported selection prevents earlier POSTs.
|
|
655
|
+
|
|
656
|
+
Verification 2026-10-25 19:26+01:00: explicit build, scoped autofix, full lint zero
|
|
657
|
+
warnings, full tests 181/181 (26.530s), smoke 7/7 (24.796s), package smoke 26 entries /
|
|
658
|
+
3 isolated installed help checks all exit 0. Normal enabled-hook commit follows.
|
|
659
|
+
README/capabilities updated; independent package 0.1.0 unchanged, no releases.
|
|
660
|
+
Propagation: sf-plugin-data360 done; all language catalogs/parsers/LSP/extensions/
|
|
661
|
+
MCP/MSO and independent CLI repos N/A. No root edits or live org calls. Scratch
|
|
662
|
+
retained under verified OS temp, no recursive deletion. Original reviewer remains
|
|
663
|
+
coordinator-owned; no separate review claimed. Next slice: operation-local Metadata
|
|
664
|
+
SOAP redirect refusal with actual installed stack regression and unchanged caller.
|
|
665
|
+
|
|
666
|
+
# Public bounded execution integration slice
|
|
667
|
+
|
|
668
|
+
Started 2026-10-25 19:05+01:00 from clean requested
|
|
669
|
+
`c83e39c7757ef8d1f1d8221a8fd32b5f5b2f292e`. Fetch/status clean main, no
|
|
670
|
+
remote configured. Inline temp-check quoting failed closed, corrected before Git.
|
|
671
|
+
Written slice plan and simplicity check preceded edits; inherited common-plan
|
|
672
|
+
review has zero must-fix (Gates 1/2 complete). Gate 3 one small coupled command/test
|
|
673
|
+
slice, no model/resolver/executor refactor or extra worker. Whole-milestone Gate 4
|
|
674
|
+
remains coordinator-owned, not claimed here.
|
|
675
|
+
|
|
676
|
+
## Exact public execution and aggregate semantics
|
|
677
|
+
|
|
678
|
+
`sf data360 deploy` now invokes existing `executeDmoCreate` unless `--preview`.
|
|
679
|
+
Explicit repeatable file/directory OR exact project member mode, no bare type or
|
|
680
|
+
implicit all, API65/default and core org flags are unchanged. ALL local documents
|
|
681
|
+
resolve/validate before command-owned target inspection. ALL selected items get
|
|
682
|
+
read-only preflight before any executor call; any blocked-changes/blocked/error
|
|
683
|
+
prevents the entire selection from execution. This prevents known avoidable
|
|
684
|
+
partial deployment, not concurrent races or transactional partial writes.
|
|
685
|
+
|
|
686
|
+
After admission executor calls are sequential, each still independently runs fresh
|
|
687
|
+
preflight. Unchanged is mutation not-attempted, no POST. First blocked/failed/unknown
|
|
688
|
+
mutation stops calls. Earlier completed receipts remain; later selection members
|
|
689
|
+
are outcome not-attempted and mutation not-attempted, with admission preflight.
|
|
690
|
+
Unexpected executor throws conservatively become failed/unknown with static
|
|
691
|
+
EXECUTION_UNCONFIRMED; no raw exception, remote payload or token enters output.
|
|
692
|
+
Known earlier creation evidence is never replaced by a batch failure receipt.
|
|
693
|
+
|
|
694
|
+
Core JSON wraps sf-data360-deploy version 1.0.0. Existing preview item shape is
|
|
695
|
+
unchanged and executor is never called. New discriminant operation execute adds
|
|
696
|
+
outcome created/unchanged/blocked/failed/not-attempted, mutation confirmed-created/
|
|
697
|
+
not-attempted/unknown, optional preflight and diagnostics to identity/path. Aggregate
|
|
698
|
+
success/exit 0 only after all executions created/unchanged. Blocked => blocked/exit 1;
|
|
699
|
+
failed/unknown => failed/exit 1, even after prior creation. Whole-selection errors
|
|
700
|
+
carry DEPLOY_EXECUTION_FAILED, blockers DEPLOY_EXECUTION_BLOCKED. Human output
|
|
701
|
+
reports each mutation and warns creation may have occurred for unknown; manual
|
|
702
|
+
inspection before another attempt, no retry/rollback/PATCH/update/saved plan.
|
|
703
|
+
No local artifact or report is written.
|
|
704
|
+
|
|
705
|
+
## Verification and next bounded acceptance
|
|
706
|
+
|
|
707
|
+
Command tests cover preview never executor, created envelope, all-selection
|
|
708
|
+
preflight ordering, unchanged no-op, later blocked/error prevents all execution,
|
|
709
|
+
partial blocked/failure/unknown/throw retains earlier creation, remaining unattempted,
|
|
710
|
+
redaction, exit and human guidance, plus both-mode local admission before inspection.
|
|
711
|
+
CLI invalid no-selection execution now reports INVALID_SELECTION, not unimplemented.
|
|
712
|
+
Final explicit build, scoped autofix, full zero-warning lint, full 179/179 tests
|
|
713
|
+
(25655.9307 ms), CLI smoke 7/7 (23438.1903 ms) and package smoke (26 entries,
|
|
714
|
+
3 installed help checks) passed 2026-10-25 about 19:13+01:00, command exit 0.
|
|
715
|
+
Normal enabled-hook commit receipt is recorded in coordinator response. Existing README, artifact
|
|
716
|
+
contract, capabilities and handover updated; package remains 0.1.0, no version bump,
|
|
717
|
+
tag/push/release. Initial autofix invocation did not pass npm's fix flag; corrected
|
|
718
|
+
by direct local eslint CLI before final verification. No live org calls/writes.
|
|
719
|
+
|
|
720
|
+
Gate 5 slice propagation: primary sf-plugin-data360 done; catalogs/parsers/LSP/
|
|
721
|
+
extensions/MCP/MSO and independent CLI projects N/A, no downstream code, wiki/site
|
|
722
|
+
listing/hover changes. No root edits. All shell/test entry temp checks validate
|
|
723
|
+
absolute normalized TEMP/actual Node os.tmpdir/nonempty TMP/TMPDIR F:/Temp with
|
|
724
|
+
process-only repair/recheck. Existing OS-temp run-owned scratch is retained, no
|
|
725
|
+
recursive cleanup. Whole-milestone review remains coordinator-owned.
|
|
726
|
+
|
|
727
|
+
NEXT recommend LIVE bounded acceptance only after coordinator authorization and
|
|
728
|
+
whole-milestone review: isolated CLI profile/unsigned allowlist, explicit API65/
|
|
729
|
+
default source-target and one approved qualified authored DMO. First read-only
|
|
730
|
+
preview, then separately authorized single create, independent target inspection,
|
|
731
|
+
unchanged replay/no writes, and one deliberate authored difference blocked/no writes.
|
|
732
|
+
Capture versioned envelopes and target evidence without payloads/tokens. Stop on
|
|
733
|
+
any unknown mutation and inspect manually; never retry or rollback automatically.
|
|
734
|
+
Do not start live acceptance, installations or org actions from this slice.
|
|
735
|
+
|
|
736
|
+
# Internal guarded-create executor slice
|
|
737
|
+
|
|
738
|
+
Started 2026-10-25 18:54+01:00 from clean requested
|
|
739
|
+
`89079fd06204097c0250d7bce1ee1111218139e7`. Fetch/status clean main; no remote
|
|
740
|
+
configured. Initial inline temp check quoting failed closed, corrected before
|
|
741
|
+
workload. Written slice plan and explicit simplicity check preceded edits;
|
|
742
|
+
inherited reviewed shared-DMO plan applies (Gates 1/2 complete). Gate 3 one small
|
|
743
|
+
coupled transport/executor/test slice; no additional worker or root edit.
|
|
744
|
+
Whole-feature Gate 4 remains coordinator-owned, not claimed complete here.
|
|
745
|
+
|
|
746
|
+
## Exact executor and mutation interface
|
|
747
|
+
|
|
748
|
+
New `src/services/execute-dmo-create.ts` exports
|
|
749
|
+
`executeDmoCreate(document: unknown, connection: TargetConnection, apiVersion: unknown,
|
|
750
|
+
dataSpace: unknown): Promise<DmoCreateExecution>`. TargetConnection is actual core
|
|
751
|
+
Connection instanceUrl/request/metadata/getApiVersion subset, explicit API65/default.
|
|
752
|
+
Result `{outcome:'unchanged'|'blocked'|'created'|'failed',
|
|
753
|
+
mutation:'not-attempted'|'confirmed-created'|'unknown',
|
|
754
|
+
preflight?:DmoDeployPreview,diagnostics:Array<{code:string,message:string}>}`.
|
|
755
|
+
No public command execution wiring, saved preview input, file discovery or reports.
|
|
756
|
+
|
|
757
|
+
Independently authored-maps and reconstructs a private detached snapshot/request
|
|
758
|
+
synchronously before first await. No caller document references survive into
|
|
759
|
+
execution. Fresh `preflightDmoDeploy` runs, never trusts prior preview. Unchanged
|
|
760
|
+
is not-attempted no-op; differences/unqualified existing/inventory/scope/input
|
|
761
|
+
failures block without POST. Only complete-inventory exact scoped absence permits
|
|
762
|
+
one create. Existing `compareDmoMeaning` is exported/reused (exact name-keyed fields,
|
|
763
|
+
reorder ignored; optional absence distinct, all authored fixed fields compared).
|
|
764
|
+
|
|
765
|
+
`ConnectClient.createDataModelObject(document:unknown):Promise<unknown>` independently
|
|
766
|
+
maps input to JSON and fixed API65 SSOT data-model-objects POST only. Existing
|
|
767
|
+
same-origin/path/redirect/error-redaction protections reused, retry.maxRetries=0.
|
|
768
|
+
Actual core JSforce automatically replays on 401 unless its refresh delegate is
|
|
769
|
+
masked: per-call receiver inherits original connection, shadows _refreshDelegate
|
|
770
|
+
only, original connection unchanged. Synthetic actual Connection.prototype request
|
|
771
|
+
stack regression proves one POST/401 and no refresh; no credential extraction or
|
|
772
|
+
runtime dependency addition. No generic arbitrary writes/PATCH/delete/rollback.
|
|
773
|
+
|
|
774
|
+
POST body is untrusted and not completion evidence; malformed/empty success still
|
|
775
|
+
needs independent exact authored identity `retrieveDmo` Connect detail + core
|
|
776
|
+
Metadata + complete relationships. Common projector must establish actual generated
|
|
777
|
+
recipe and qualifier integrity, then common mapped authored meaning must match.
|
|
778
|
+
Only this yields created/confirmed-created. POST errors -> failed/unknown with
|
|
779
|
+
CREATE_UNCONFIRMED; failed/unqualified readback -> READBACK_UNQUALIFIED; qualified
|
|
780
|
+
meaning mismatch -> READBACK_MISMATCH. All explicitly retain creation-may-have-
|
|
781
|
+
occurred evidence and manual inspect-before-retry guidance; no automatic retry.
|
|
782
|
+
Inventory absence is not a concurrency transaction; a racing creator cannot be
|
|
783
|
+
ruled out. Common mapper admits wider semantics than demonstrated projector;
|
|
784
|
+
unsupported recipes cannot report verified. No broader/live deployment acceptance.
|
|
785
|
+
|
|
786
|
+
## Verification, propagation and next slice
|
|
787
|
+
|
|
788
|
+
Ten executor regressions use actual existing independent common schema fixtures:
|
|
789
|
+
fresh preflight/equality/differences, invalid source/scope/preview, mutation during
|
|
790
|
+
await, successful independently verified empty POST body, status/network errors,
|
|
791
|
+
readback missing/malformed/mismatched/generated/qualifier errors, no retries.
|
|
792
|
+
Two transport cases cover invalid admission and actual core-stack 401 replay guard.
|
|
793
|
+
Focused 97 document + 8 transport tests passed. Explicit build, scoped ESLint
|
|
794
|
+
--fix, full zero-warning lint, full 175/175 tests (25524.0349 ms), 7/7 CLI smoke
|
|
795
|
+
(23770.1966 ms), package smoke (26 entries, 3 installed help checks) all passed
|
|
796
|
+
2026-10-25 at approximately 19:03+01:00 (complete verification command exit 0,
|
|
797
|
+
90869 ms). Normal enabled-hook commit receipt follows in coordinator response. Package
|
|
798
|
+
inventory updated to 26 entries, including executor JS/declarations. Existing
|
|
799
|
+
README/artifact-format/capabilities/handover updated; no npm changelog.
|
|
800
|
+
|
|
801
|
+
Every shell/test checks absolute normalized TEMP/actual Node os.tmpdir/nonempty
|
|
802
|
+
TMP/TMPDIR F:/Temp, process-only repair/recheck. Package/test scratch uses existing
|
|
803
|
+
verified OS-temp mkdtemp scripts and is retained; no recursive cleanup. No live org
|
|
804
|
+
calls, reference names, push/tag/release/version bump. Current package remains 0.1.0,
|
|
805
|
+
new version unassigned. Gate 5 slice propagation: sf-plugin-data360 done; language
|
|
806
|
+
catalog/parser/LSP/extensions/MCP/MSO and independent CMS/MCNext N/A, no downstream
|
|
807
|
+
updates, wiki/site/listing/hover changes. Whole-feature review still parent-owned.
|
|
808
|
+
|
|
809
|
+
NEXT bounded CLI executor slice: begin from this committed clean tree, read this
|
|
810
|
+
interface and existing deploy command. Keep explicit source-dir/metadata selection
|
|
811
|
+
and preview behavior. Only wire actual execution under fresh authorized scope;
|
|
812
|
+
resolve and validate all selected authored inputs first, then call executor per
|
|
813
|
+
selection with actual core API65/default target connection. Extend versioned public
|
|
814
|
+
envelope to carry truthful mutation evidence, failed/unknown exit status, human
|
|
815
|
+
no-retry/manual-inspection guidance, and never present HTTP success as deployment
|
|
816
|
+
success. Preserve preview-only no-mutation tests and add actual-execution seam tests.
|
|
817
|
+
Do not invent all-or-nothing transaction, whole-selection atomicity or rollback;
|
|
818
|
+
preflight per item is not a batch concurrency guarantee. Reassess whole-selection
|
|
819
|
+
fresh preflight acceptance with coordinator before CLI semantics if needed. Normal
|
|
820
|
+
build/scoped-autofix/lint0/full-tests/smoke/package/enabled-hook own-path commit only
|
|
821
|
+
under current approval. No public execution is enabled by this internal slice.
|
|
822
|
+
|
|
823
|
+
# Command-only read-only deploy preview slice
|
|
824
|
+
|
|
825
|
+
Started 2026-10-25 approximately 18:46+01:00 from clean requested
|
|
826
|
+
`767f773b092568a0366ea019083ebf105a3899f5`. Fetch/status passed, no remote
|
|
827
|
+
configured. Written plan/simplicity check preceded edits; existing shared-plan
|
|
828
|
+
review remains applicable (Gates 1/2 complete). Gate 3 one small coupled command /
|
|
829
|
+
test slice; no resolver/model changes, extra workers, root edits or live org calls.
|
|
830
|
+
Whole-feature Gate 4 remains coordinator-owned. Normal focused commit follows
|
|
831
|
+
verification under the parent's per-finished-slice approval.
|
|
832
|
+
|
|
833
|
+
## Public CLI and exact result shape
|
|
834
|
+
|
|
835
|
+
`sf data360 deploy --preview` now requires exactly one repeatable/non-greedy source
|
|
836
|
+
mode: `-d/--source-dir` explicit authored JSON file OR directory, repeated as needed;
|
|
837
|
+
OR `-m/--metadata dmo:ExactName__dlm`, repeated, resolving project artifacts from
|
|
838
|
+
captured cwd. Existing resolver owns all strict authored-only JSON, no-link bounded
|
|
839
|
+
path, duplicate/missing/malformed selection semantics. No bare type, implicit all,
|
|
840
|
+
mixed modes or no-selection deploy. No model/resolver refactor in this slice.
|
|
841
|
+
Without --preview, DEPLOY_EXECUTION_NOT_IMPLEMENTED blocks before local/target work.
|
|
842
|
+
|
|
843
|
+
Core optionalOrg exposes -o/--target-org override/configured default. Core API flag
|
|
844
|
+
default 65.0, data-space default default; passed unchanged to service capability
|
|
845
|
+
checks. Command resolves/validates ALL sources before calling getOrgId/getConnection.
|
|
846
|
+
Core parser/auth flag errors may occur earlier and retain core formatting.
|
|
847
|
+
Protected injectable command seams: resolveInputs = readDeployInputs;
|
|
848
|
+
preflight = preflightDmoDeploy. No mutation, filesystem writer or report dependency.
|
|
849
|
+
|
|
850
|
+
Normal core JSON result wraps DeployEnvelope contract sf-data360-deploy, version
|
|
851
|
+
1.0.0; status success/blocked/failed; metadata {operation:'deploy',preview,plugin,
|
|
852
|
+
apiVersion}; diagnostics {warnings,errors:[{code,message,retryable:false}]};
|
|
853
|
+
provenance {producer,targetOrgId:null|string,pluginVersion,command,generatedAt};
|
|
854
|
+
result {scope:{dataSpace},selection:{sourceDir:string[],metadata:string[]},items}.
|
|
855
|
+
Each item {identity:{dataSpace,apiName},operation:'preview',path,outcome,target,
|
|
856
|
+
absenceProof,diagnostics} retains service classification/proof unchanged. create
|
|
857
|
+
means advisory absence by complete inventory only, never an executed operation.
|
|
858
|
+
unchanged means qualified equality. Any blocked-changes/blocked => aggregate
|
|
859
|
+
blocked/exit 1. Unexpected per-item error => static PREFLIGHT_FAILED item diagnostic,
|
|
860
|
+
aggregate failed/exit 1, retaining subsequent item results. Other unexpected local /
|
|
861
|
+
auth failures => static DEPLOY_PREVIEW_FAILED, no raw exception text. Human summary
|
|
862
|
+
always states no deployment executed. No local artifact/report/scratch writes.
|
|
863
|
+
|
|
864
|
+
## Verification / documentation / safety
|
|
865
|
+
|
|
866
|
+
Ten command seam regressions cover source modes/overrides/order, every outcome,
|
|
867
|
+
aggregation, malformed local admission, missing org, redaction, real resolver
|
|
868
|
+
no-write integration and explicit human wording. CLI smoke adds real parser
|
|
869
|
+
repeated flags/non-greedy/mixed/no-selector/bare-type/missing sources and defaults;
|
|
870
|
+
help assertions cover all deploy flags. Existing README/artifact/capabilities and
|
|
871
|
+
handover updated. Full verification and normal enabled-hook receipts follow in
|
|
872
|
+
coordinator response. Package inventory remains 24 entries, no new runtime module.
|
|
873
|
+
|
|
874
|
+
Every shell/test checks TEMP, actual Node os.tmpdir and nonempty TMP/TMPDIR absolute
|
|
875
|
+
normalized F:/Temp; process-only repair/recheck when necessary. New test fixture
|
|
876
|
+
uses mkdtemp under verified OS temp and is retained; no recursive cleanup. No live
|
|
877
|
+
calls, reference names, root edits, push/tag/release or version bump (0.1.0).
|
|
878
|
+
Gate 5 slice documentation propagation checked: sf-plugin-data360 done; language
|
|
879
|
+
catalog/parser/LSP/extensions/MCP/MSO and independent CMS/MCNext are N/A, no downstream
|
|
880
|
+
updates, wiki/site/listing/hover surface or npm changelog. Changed folder only
|
|
881
|
+
sf-plugin-data360, current 0.1.0, new version unassigned (no release prepared).
|
|
882
|
+
|
|
883
|
+
## Next bounded slice: guarded-create executor (not implemented)
|
|
884
|
+
|
|
885
|
+
Begin only with fresh authorized execution scope. Reuse authored resolver/preflight,
|
|
886
|
+
API65/default and complete-inventory absence proof. Build a small guarded-create
|
|
887
|
+
service/executor, never add broad update/PATCH/delete/recreate fallbacks. Actual
|
|
888
|
+
execution must not be enabled just by preview success: re-preflight selected authored
|
|
889
|
+
input at execution time, gate creation to proven supported semantics, handle
|
|
890
|
+
ambiguous mutation failures without blind retry and qualify readback before claiming
|
|
891
|
+
completion. Existing unchanged targets remain no-op; blocked-changes/blocked never
|
|
892
|
+
mutate. Establish the precise mutation/readback acceptance contract before edits;
|
|
893
|
+
no live calls are authorized by this handover. Add injected-transport regressions,
|
|
894
|
+
normal build/lint0/tests/smoke/package and own-path hook commit under current approval.
|
|
895
|
+
Whole-feature Gate 4 coordinator runs once after final feature integration.
|
|
896
|
+
|
|
897
|
+
# Bounded deploy authored-input resolver slice
|
|
898
|
+
|
|
899
|
+
Started 2026-10-25 approximately 18:37+01:00 from requested clean
|
|
900
|
+
`66c71fd7ddae51982b53f671be9c83a24cb2ba67`. Fetch/status clean main, no remote
|
|
901
|
+
configured. Inline temp preflight quoting initially failed closed before Git;
|
|
902
|
+
corrected invocation passed actual Node tmpdir and all nonempty environment checks.
|
|
903
|
+
Written slice plan/simplicity check preceded edits. Inherited reviewed shared plan
|
|
904
|
+
remains complete (Gates 1/2); one small coupled resolver/test slice applies Gate 3.
|
|
905
|
+
Whole-feature Gate 4 remains coordinator-owned. Master plan link named in the
|
|
906
|
+
existing deferred-plan handover is missing locally; its retained explicit-selection
|
|
907
|
+
contract, current user instructions and actual CMS source selector were inspected.
|
|
908
|
+
|
|
909
|
+
## Done and exact supported internal input semantics
|
|
910
|
+
|
|
911
|
+
New `src/artifacts/read-deploy-input.ts` exports:
|
|
912
|
+
`readDeployInputs(flags: {cwd: string; sourceDir?: readonly string[];
|
|
913
|
+
metadata?: readonly string[]}): Promise<Array<{path: string; document: DmoDocument}>>`
|
|
914
|
+
and payload-free `DeployInputError` with INVALID_SELECTION, UNSAFE_SOURCE,
|
|
915
|
+
INVALID_SOURCE or DUPLICATE_IDENTITY. Captured cwd must be absolute.
|
|
916
|
+
Exactly one nonempty mode: explicit file/directory paths (absolute or cwd-relative),
|
|
917
|
+
or repeated exact `dmo:ApiName__dlm` selectors resolving only
|
|
918
|
+
`<cwd>/data360/default/dmo/<ApiName>.json`. Identical paths/repeated selectors and
|
|
919
|
+
overlapping directory/file selections coalesce. Distinct files claiming the same
|
|
920
|
+
case-insensitive identity block; metadata basename and authored identity must match
|
|
921
|
+
exactly. Bare types, absent selection, mixed modes, parent traversal, wildcard and
|
|
922
|
+
drive-relative paths block. No implicit deploy-all or future contract redefinition.
|
|
923
|
+
|
|
924
|
+
Explicit directory traversal selects all descendants: unrelated non-JSON files
|
|
925
|
+
block rather than silently disappearing. Limits 256 files, 1024 visited entries,
|
|
926
|
+
16 levels, 1 MiB/file. Every ancestor checked by lstat/canonical path; links,
|
|
927
|
+
junctions, aliased ancestors and hardlinked files rejected. Bounded handle reads
|
|
928
|
+
check regular-file identity, size and timestamps; not a sandbox against malicious
|
|
929
|
+
concurrent local replacement. Strict UTF-8/BOM-free JSON, duplicate decoded key
|
|
930
|
+
rejection, authored validator and independent default mapper before returning.
|
|
931
|
+
No filesystem writes, reports, scratch roots, connection imports or org operations.
|
|
932
|
+
No recursive cleanup. Test roots retained under verified OS temp.
|
|
933
|
+
|
|
934
|
+
## Verification and propagation
|
|
935
|
+
|
|
936
|
+
Eight focused resolver cases added (directory budgets, repeated/multi selection,
|
|
937
|
+
exact conventional lookup, selector refusal, strict JSON, duplicate identities,
|
|
938
|
+
no writes, link/size safety). Full build and zero-warning lint passed; full tests
|
|
939
|
+
152/152 passed (13316.1318 ms). Smoke/package and enabled-hook receipts are recorded
|
|
940
|
+
in coordinator response after completion. Package smoke checks 24 entries including
|
|
941
|
+
resolver JS and declaration. Existing README, artifact-format, capabilities and
|
|
942
|
+
handover updated. Version remains 0.1.0, no release/tag/push or root changes.
|
|
943
|
+
|
|
944
|
+
Propagation: sf-plugin-data360 implementation/tests/package/docs done; language
|
|
945
|
+
catalogs/parsers/LSP/extensions/MCP/MSO, CMS and MCNext are independent (N/A, no
|
|
946
|
+
updates). Wiki/site/listing/hover have no changed surface. No npm changelog.
|
|
947
|
+
Changed folder: sf-plugin-data360 yes, current 0.1.0, new version not assigned
|
|
948
|
+
(no release prepared). All other tracked folders unchanged.
|
|
949
|
+
|
|
950
|
+
## Next execution slice: wire preview CLI (not implemented here)
|
|
951
|
+
|
|
952
|
+
`deploy` is still the existing NotImplemented stub. This is intentionally the
|
|
953
|
+
input-resolver-only fallback authorized by the parent to avoid oversized command +
|
|
954
|
+
filesystem + envelope work. Next worker starts in src/commands/data360/deploy.ts,
|
|
955
|
+
reads retrieve.ts envelope/core flags and preflight-dmo-deploy.ts. Add repeatable,
|
|
956
|
+
non-greedy `-d/--source-dir` string (file OR directory, NOT Flags.directory) OR
|
|
957
|
+
`-m/--metadata`; call resolver with captured cwd. No implicit selection/bare types.
|
|
958
|
+
Add --preview, core optionalOrg/API 65.0/default scope; preflight every validated
|
|
959
|
+
item with preflightDmoDeploy(document, connection, apiVersion, dataSpace). Read-only
|
|
960
|
+
versioned sf-data360-deploy envelope inside core JSON; create/unchanged are advisory
|
|
961
|
+
preview outcomes, blocked-changes/blocked/failures exit nonzero. Never mutation
|
|
962
|
+
transport, report/artifact writes, saved public plan or actual-deploy success claim.
|
|
963
|
+
Test public flags/default/overrides, all outcomes/redaction and no mutations/writes;
|
|
964
|
+
then normal full verification/smoke/package checks and approved own-path commit.
|
|
965
|
+
Preview selection cannot be claimed publicly until that slice lands. Repeat
|
|
966
|
+
TEMP/os.tmpdir/all nonempty TMP/TMPDIR absolute normalized F:/Temp preflight at every
|
|
967
|
+
shell/test entry, process-only repair and recheck; no recursive cleanup except fully
|
|
968
|
+
guarded run-owned registered strict descendants. No live calls/reference IDs.
|
|
969
|
+
|
|
970
|
+
# Internal read-only deploy preflight slice
|
|
971
|
+
|
|
972
|
+
Started 2026-10-25 approximately 18:26+01:00 from requested clean
|
|
973
|
+
`d190c6a2ad351e1bd394a73b0bf58c20b6691b48`. Fetch/status completed (no remote
|
|
974
|
+
configured). Written slice plan and explicit simplicity check preceded edits;
|
|
975
|
+
inherited common plan review 2873b976 complete, Gates 1/2 applied. Gate 3 one small
|
|
976
|
+
coupled service/test slice; whole-feature Gate 4 remains coordinator-owned.
|
|
977
|
+
|
|
978
|
+
## Interface, proof and comparison
|
|
979
|
+
|
|
980
|
+
`preflightDmoDeploy(document: unknown, connection: ReadConnection,
|
|
981
|
+
apiVersion: unknown, dataSpace: unknown): Promise<DmoDeployPreview>` in
|
|
982
|
+
src/services/preflight-dmo-deploy.ts. ReadConnection is core Connection's
|
|
983
|
+
instanceUrl/request/metadata/getApiVersion subset. Explicit API 65.0/default only.
|
|
984
|
+
Source independently common-mapped before reads, detached across awaits. No
|
|
985
|
+
CLI/filesystem discovery, org calls during development, mutation transport or
|
|
986
|
+
execution, saved public plan or generic framework.
|
|
987
|
+
|
|
988
|
+
Returns `{outcome:'create'|'unchanged'|'blocked-changes'|'blocked',
|
|
989
|
+
target:'absent'|'present'|'unknown', absenceProof:'complete-inventory'|'none',
|
|
990
|
+
diagnostics:Array<{code:string,message:string}>}`. Static messages contain no raw
|
|
991
|
+
IDs, names, token bodies, requests or exception payloads. Complete successful
|
|
992
|
+
Connect inventory exhaustion plus exact default/name filtering is the only absence
|
|
993
|
+
proof; no HTTP 404/auth/network/malformed/incomplete failure means missing. Existing
|
|
994
|
+
entries require actual common retrieveDmo detail/Metadata/complete relationships,
|
|
995
|
+
strict projection and independent target mapping. Unknown generated semantics
|
|
996
|
+
block, never false no-op. Inventory isn't a transactional concurrency guarantee.
|
|
997
|
+
|
|
998
|
+
Fixed authored properties compare exactly (including optional absence vs empty).
|
|
999
|
+
Fields join by exact name, never array index; reorder alone is unchanged. Object,
|
|
1000
|
+
category, field-set, field configuration and immutable type/primary differences
|
|
1001
|
+
have deterministic reason codes; every difference appends UPDATE_UNSUPPORTED.
|
|
1002
|
+
No PATCH or delete/recreate fallback. Authored-only artifact contract preserved.
|
|
1003
|
+
|
|
1004
|
+
## Verification and safety
|
|
1005
|
+
|
|
1006
|
+
Scoped autofix, explicit build, full zero-warning lint passed; focused preflight
|
|
1007
|
+
15/15 and full suite 144/144 passed (12654.5176 ms test phase). Initial npx argument
|
|
1008
|
+
routing did not apply autofix; direct local ESLint fixed line endings/style, with
|
|
1009
|
+
four await-member lint issues repaired without suppression. Package smoke now
|
|
1010
|
+
checks 22 packed entries including preflight JS/declarations. Smoke passed 6/6;
|
|
1011
|
+
package installed outside repo and passed three help checks, retained at
|
|
1012
|
+
F:/Temp/data360-package-zLdCd5. Verification sequence ended
|
|
1013
|
+
2026-10-25T18:34:10.3731123+01:00. Enabled-hook commit receipt follows in coordinator
|
|
1014
|
+
response; self-hash cannot be embedded here.
|
|
1015
|
+
|
|
1016
|
+
Every shell/test entry checks absolute normalized TEMP, actual os.tmpdir and
|
|
1017
|
+
nonempty TMP/TMPDIR at F:/Temp, process-only repair/recheck. First inline Node
|
|
1018
|
+
quoting failed closed before Git; corrected quoting passed. Scratch only existing
|
|
1019
|
+
verified OS-temp mkdtemp package tooling; no recursive cleanup, global edits,
|
|
1020
|
+
root edits, push/tag/release or reference names. Version unchanged 0.1.0.
|
|
1021
|
+
|
|
1022
|
+
Gate 5 slice documentation checked: existing README/artifact/capabilities/handover
|
|
1023
|
+
updated; no npm changelog. No wiki/site/tool listing/hover or downstream surface.
|
|
1024
|
+
|
|
1025
|
+
| Component | Needs update? | What to update | Status |
|
|
1026
|
+
| ------------------------------------------------------------------------------------ | ------------- | ------------------------------------------------------- | ---------- |
|
|
1027
|
+
| sf-plugin-data360 | Yes | preflight, regressions, package check and existing docs | done |
|
|
1028
|
+
| ampscript-data, ssjs-data, csv-parser, ampscript-parser | N/A | No coupling | not needed |
|
|
1029
|
+
| sfmc-language-lsp, vscode-sfmc-language | N/A | No language change | not needed |
|
|
1030
|
+
| mcp-server-sfmc, mcp-server-mcdev | N/A | No consumers | not needed |
|
|
1031
|
+
| sf-plugin-mcnext, sf-plugin-cms | N/A | Independent packages | not needed |
|
|
1032
|
+
| eslint-plugin-sfmc, eslint-plugin-mcdev, prettier-plugin-sfmc | N/A | No coupling | not needed |
|
|
1033
|
+
| ssjs.guide, mso-conditional-parser, eslint-plugin-mso-email, vscode-mso-conditionals | N/A | No coupling | not needed |
|
|
1034
|
+
|
|
1035
|
+
| Folder | Changed? | Current version | New version |
|
|
1036
|
+
| ----------------- | -------- | --------------- | ---------------------------- |
|
|
1037
|
+
| sf-plugin-data360 | Yes | 0.1.0 | No bump; no release prepared |
|
|
1038
|
+
|
|
1039
|
+
## Next bounded deploy preview command slice
|
|
1040
|
+
|
|
1041
|
+
Wire internal preflight to read-only deploy --preview for explicitly selected
|
|
1042
|
+
one authored file/DMO, preserving approved CMS-style deploy explicit selection
|
|
1043
|
+
rules (no no-selector/type-only discovery or implicit org/file search). Re-read
|
|
1044
|
+
approved command/envelope contract, validate authored-only file safely, obtain an
|
|
1045
|
+
explicit target core connection and pass API/default unchanged to preflight.
|
|
1046
|
+
Payload-free preview envelope/nonzero blocked outcomes, no writes/mutations or
|
|
1047
|
+
saved-plan infrastructure. Re-read selection details before implementation, not
|
|
1048
|
+
inferred from this service. Whole-feature Gate 4 once after final integration.
|
|
1049
|
+
|
|
1050
|
+
# Common retrieval integration slice
|
|
1051
|
+
|
|
1052
|
+
Start: 2026-10-25T18:16:32.6761590+01:00, clean requested baseline
|
|
1053
|
+
`54c9ddfce9c83a8893b0b907307af5492b378465`. Fetch/status completed; no remote
|
|
1054
|
+
configured, so upstream cannot be verified. Written slice plan/simplicity preceded
|
|
1055
|
+
edits; inherited reviewed shared-DMO plan complete (Gates 1/2). Gate 3 one small
|
|
1056
|
+
coupled service/writer/command slice, no extra workers/root edits. Whole-feature
|
|
1057
|
+
Gate 4 remains coordinator-owned, not claimed here.
|
|
1058
|
+
|
|
1059
|
+
## Exact interfaces and completed scope
|
|
1060
|
+
|
|
1061
|
+
`retrieveDmo(connection: ReadConnection, objectApiName: unknown, apiVersion: unknown,
|
|
1062
|
+
dataSpace: unknown): Promise<DmoCommonProjection & { candidate: DmoDocument }>`
|
|
1063
|
+
in src/services/retrieve-other-dmo.ts replaces the unpublished narrow export.
|
|
1064
|
+
ReadConnection still uses actual core instanceUrl/request/metadata/getApiVersion.
|
|
1065
|
+
Explicit API 65.0/matching connection, default scope and exact object binding
|
|
1066
|
+
remain. Real `metadata.read('CustomObject', [objectApiName])` cardinality/fullName
|
|
1067
|
+
checks and complete relationship acquisition are unchanged. Common projector
|
|
1068
|
+
status must be projected, blockers empty and candidate present; common authored
|
|
1069
|
+
mapper validates candidate before success. DmoRetrieveError carries a payload-free
|
|
1070
|
+
code, preferring ENGAGEMENT_EVENT_DESIGNATION_UNAVAILABLE when present, otherwise
|
|
1071
|
+
the first specific blocker. Unknown malformed semantics remain DmoDocumentError.
|
|
1072
|
+
|
|
1073
|
+
`writeDmoDocument(value: unknown, projectRoot: string, overwrite: boolean)` in
|
|
1074
|
+
src/artifacts/write-other-dmo.ts keeps Promise<{path:string,outcome:'retrieved'|
|
|
1075
|
+
'unchanged'}>. It independently calls buildDmoCreateRequestFromDocument, not the
|
|
1076
|
+
narrow two-field mapper. No new file/alias is needed for unpublished internals.
|
|
1077
|
+
Command imports common names and refuses incomplete/nonempty-blocker/absent
|
|
1078
|
+
candidate results before writer invocation; selection is syntax-only unchanged.
|
|
1079
|
+
Authored-only canonical JSON path, overwrite/no-op, links/ancestor checks and atomic
|
|
1080
|
+
publication remain intact. No new family, discovery, deployment or live acceptance.
|
|
1081
|
+
|
|
1082
|
+
Recognized generated recipe now passes actual acquisition -> command -> writer
|
|
1083
|
+
for one and twelve authored fields (all twelve types across primary plus variants),
|
|
1084
|
+
including dynamic/category/description values and unchanged replay. Profile and
|
|
1085
|
+
Engagement generated semantics remain unqualified in this one common path; missing
|
|
1086
|
+
event designation is explicit, never inferred. No sample/category implementation
|
|
1087
|
+
tracks or fixed field count. Existing narrow offline compatibility helpers/tests
|
|
1088
|
+
remain but are not used for retrieval.
|
|
1089
|
+
|
|
1090
|
+
## Verification and safety
|
|
1091
|
+
|
|
1092
|
+
Scoped autofix, explicit build and full zero-warning lint passed. Full tests:
|
|
1093
|
+
129 passed, 0 failed/skipped, 14052.5083 ms excluding compile; standalone sequence
|
|
1094
|
+
ended 2026-10-25T18:22:00.533+01:00. New regressions cover common service->writer/
|
|
1095
|
+
command success, specific incomplete/absent candidate diagnostics with no output,
|
|
1096
|
+
and existing acquisition failure/CLI envelope/path-safety regressions. Initial
|
|
1097
|
+
lint caught an await-member style error, fixed without suppression. Smoke/package
|
|
1098
|
+
and normal enabled hook commit receipts follow in coordinator response, including
|
|
1099
|
+
exact hash/end/clean status; self-hash cannot live in this tracked document.
|
|
1100
|
+
|
|
1101
|
+
Every shell/test entry preflights TEMP, actual Node os.tmpdir and nonempty TMP/TMPDIR
|
|
1102
|
+
as absolute normalized F:/Temp, with process-only repair/recheck. Scratch uses
|
|
1103
|
+
verified OS-temp mkdtemp and is retained; no recursive cleanup/global edits/live
|
|
1104
|
+
org calls or mutations/push/tag/release. Package remains 0.1.0.
|
|
1105
|
+
|
|
1106
|
+
Gate 5 slice propagation: README/artifact/capability/handover updated after green
|
|
1107
|
+
checks. Wiki/sites/tool listings/hover have no affected surface for unpublished
|
|
1108
|
+
internal integration. Root release/dependency registration remains coordinator-only.
|
|
1109
|
+
|
|
1110
|
+
| Component | Needs update? | What to update | Status |
|
|
1111
|
+
| ------------------------------------------------------------------------------------ | ------------- | ----------------------------------------------------- | ---------- |
|
|
1112
|
+
| sf-plugin-data360 | Yes | common service/writer/command/tests and existing docs | done |
|
|
1113
|
+
| ampscript-data, ssjs-data, csv-parser, ampscript-parser | N/A | No coupling | not needed |
|
|
1114
|
+
| sfmc-language-lsp, vscode-sfmc-language | N/A | No language change | not needed |
|
|
1115
|
+
| mcp-server-sfmc, mcp-server-mcdev | N/A | No consumers | not needed |
|
|
1116
|
+
| sf-plugin-mcnext, sf-plugin-cms | N/A | Independent packages | not needed |
|
|
1117
|
+
| eslint-plugin-sfmc, eslint-plugin-mcdev, prettier-plugin-sfmc | N/A | No coupling | not needed |
|
|
1118
|
+
| ssjs.guide, mso-conditional-parser, eslint-plugin-mso-email, vscode-mso-conditionals | N/A | No coupling | not needed |
|
|
1119
|
+
|
|
1120
|
+
| Folder | Changed? | Current version | New version |
|
|
1121
|
+
| ----------------- | -------- | --------------- | ---------------------------- |
|
|
1122
|
+
| sf-plugin-data360 | Yes | 0.1.0 | No bump; no release prepared |
|
|
1123
|
+
|
|
1124
|
+
## Next bounded deploy-preview slice
|
|
1125
|
+
|
|
1126
|
+
Read actual approved deploy/preview scope before edits. Independently acquire one
|
|
1127
|
+
explicit target DMO through the common read-only service, validate an explicit
|
|
1128
|
+
authored input through the common mapper, and compare canonical authored semantics
|
|
1129
|
+
in memory with deterministic diagnostics. Establish absence versus acquisition
|
|
1130
|
+
failure and generated/relationship qualification before classifying target changes.
|
|
1131
|
+
No mutation transport, create/update execution, selector discovery, new family,
|
|
1132
|
+
saved-plan framework or live org calls implicit. Stop on unqualified target state;
|
|
1133
|
+
whole-feature Gate 4 still belongs to the coordinator after final slice.
|
|
1134
|
+
|
|
1135
|
+
# Common offline object projection slice
|
|
1136
|
+
|
|
1137
|
+
Start: 2026-10-25T18:06+01:00, clean requested baseline
|
|
1138
|
+
`69a9eb41f2a51c46683f51032aaffe6130a005df`. Fetch/status completed; no remote
|
|
1139
|
+
configured. Written slice plan/simplicity preceded edits; inherited reviewed
|
|
1140
|
+
shared-DMO plan 2873b976 zero must-fix (Gates 1/2 complete). Gate 3 applied as
|
|
1141
|
+
one coupled object/test slice; no additional workers/root edits. Whole-feature
|
|
1142
|
+
Gate 4 remains coordinator-owned. Evidence read offline: original source-before
|
|
1143
|
+
and comparison at F:/Temp/data360-other-replay-S4bRkD (full equality, no source
|
|
1144
|
+
drift). No new online research or live org calls/writes.
|
|
1145
|
+
|
|
1146
|
+
## Exact interface and support boundary
|
|
1147
|
+
|
|
1148
|
+
`projectCommonDmoConnectMetadata(connect: unknown, metadata: unknown,
|
|
1149
|
+
relationships: unknown): DmoCommonProjection` in src/artifacts/dmo-document.ts.
|
|
1150
|
+
Returns `{status:'projected'|'incomplete', blockers:string[], candidate?:DmoDocument,
|
|
1151
|
+
createIdentity:{status:'verified',name,sourceApiName}, qualifierBindings,
|
|
1152
|
+
expectations:{connect,metadata,relationships}}`. Candidate absent only when
|
|
1153
|
+
Engagement event designation is unavailable, rather than returning invalid authored
|
|
1154
|
+
JSON. Any incomplete candidate is diagnostic, never an export/deploy artifact.
|
|
1155
|
+
|
|
1156
|
+
Composes existing exact field join; binds object identity/labels/descriptions and
|
|
1157
|
+
explicit default scope, classifies taxonomy/category/execution/metrics/mapping
|
|
1158
|
+
semantics, validates explicit Connect date references against exact authored
|
|
1159
|
+
DateTime fields. Does not invent Metadata date properties or infer a lone date.
|
|
1160
|
+
Unknown meaningful keys/source conflicts reject payload-free; empty auxiliary
|
|
1161
|
+
Metadata collections checked. Caller must independently acquire complete inputs.
|
|
1162
|
+
All admitted inputs, including unsupported nonempty relationships, survive as
|
|
1163
|
+
fresh independent expectations. Foreign/malformed/unknown relationship shapes
|
|
1164
|
+
reject. Nonempty valid relationships: RELATIONSHIP_REPLAY_UNSUPPORTED.
|
|
1165
|
+
|
|
1166
|
+
Recognized Other generated pattern uses the three observed system field identities
|
|
1167
|
+
and explicit primary Text qualifier, observed labels/defaults/length-60 semantics.
|
|
1168
|
+
Does not require two authored or six total fields. Positive synthetic counts
|
|
1169
|
+
1/3/12/19 exercise all twelve types and dynamic/optional authored values. Original
|
|
1170
|
+
live-fixture-shaped two-plus-four regression is projected without blanket generated
|
|
1171
|
+
or length blockers. Recipe recognition removes only resolved generated/qualifier/
|
|
1172
|
+
length blockers. Non-60 Text storage, required/distinct and unknown generated
|
|
1173
|
+
semantics remain blocked; missing/unknown recipes never become successful by
|
|
1174
|
+
absence of diagnostics. Profile/Engagement taxonomy/generated replay remain
|
|
1175
|
+
unproven; Engagement missing event has ENGAGEMENT_EVENT_DESIGNATION_UNAVAILABLE.
|
|
1176
|
+
Exact authored event/modified references are handled, but don't clear unrelated
|
|
1177
|
+
category/taxonomy blockers. Synthetic qualification is not broader live proof.
|
|
1178
|
+
|
|
1179
|
+
## Next retrieval integration slice
|
|
1180
|
+
|
|
1181
|
+
Common helper coexists with unchanged narrow projector/mappers/service/writer/
|
|
1182
|
+
command. Integrate the common runtime projection into read-only retrieval next,
|
|
1183
|
+
requiring status projected, no blockers and validated candidate before writing.
|
|
1184
|
+
Retain exact API/default binding and complete relationship acquisition. Independently
|
|
1185
|
+
validate candidate through common authored mapper at writer boundary (not narrow
|
|
1186
|
+
2-field mapper). Plan any writer interface changes as a separate coherent slice.
|
|
1187
|
+
No deployment/general category acceptance implicit. Whole-feature Gate 4 runs once
|
|
1188
|
+
at coordinator after integration; root release/dependency registration also stays
|
|
1189
|
+
coordinator-owned.
|
|
1190
|
+
|
|
1191
|
+
## Verification and propagation
|
|
1192
|
+
|
|
1193
|
+
Scoped autofix, explicit build and full zero-warning lint passed. Full tests 126
|
|
1194
|
+
passed, zero failed/skipped, 14160.2897 ms excluding compile. Packaged help passed
|
|
1195
|
+
20 entries and 3 outside-repo help checks. Smoke/normal hook final receipts follow
|
|
1196
|
+
in coordinator response; commit self-hash cannot live
|
|
1197
|
+
inside this document. Every shell/test entry preflights TEMP, actual Node os.tmpdir
|
|
1198
|
+
and nonempty TMP/TMPDIR as absolute normalized F:/Temp, repairing only process env
|
|
1199
|
+
and rechecking. Initial inline quoting failed closed before Git and was corrected
|
|
1200
|
+
by piped Node preflight. No recursive cleanup; existing package smoke retains
|
|
1201
|
+
newly allocated verified OS-temp roots. No global edits, push/tag/release.
|
|
1202
|
+
|
|
1203
|
+
Gate 5 slice doc propagation checked: README/artifact/capabilities/handover updated;
|
|
1204
|
+
no npm changelog/version bump. Wiki/sites/tool listings/hover have no affected
|
|
1205
|
+
surface for this unpublished internal helper. No downstream consumers or language
|
|
1206
|
+
coupling. Whole-feature Gate 4 remains pending coordinator, not claimed here.
|
|
1207
|
+
|
|
1208
|
+
| Component | Needs update? | What to update | Status |
|
|
1209
|
+
| ------------------------------------------------------------------------------------ | ------------- | ----------------------------------------------- | ---------- |
|
|
1210
|
+
| sf-plugin-data360 | Yes | common object projector/tests and existing docs | done |
|
|
1211
|
+
| ampscript-data, ssjs-data, csv-parser, ampscript-parser | N/A | No coupling | not needed |
|
|
1212
|
+
| sfmc-language-lsp, vscode-sfmc-language | N/A | No language change | not needed |
|
|
1213
|
+
| mcp-server-sfmc, mcp-server-mcdev | N/A | No consumers | not needed |
|
|
1214
|
+
| sf-plugin-mcnext, sf-plugin-cms | N/A | Independent packages | not needed |
|
|
1215
|
+
| eslint-plugin-sfmc, eslint-plugin-mcdev, prettier-plugin-sfmc | N/A | No coupling | not needed |
|
|
1216
|
+
| ssjs.guide, mso-conditional-parser, eslint-plugin-mso-email, vscode-mso-conditionals | N/A | No coupling | not needed |
|
|
1217
|
+
|
|
1218
|
+
| Folder | Changed? | Current version | New version |
|
|
1219
|
+
| ----------------- | -------- | --------------- | ---------------------------- |
|
|
1220
|
+
| sf-plugin-data360 | Yes | 0.1.0 | No bump; no release prepared |
|
|
1221
|
+
|
|
1222
|
+
# Common offline field join slice
|
|
1223
|
+
|
|
1224
|
+
Start: 2026-10-25T17:58+01:00; clean requested baseline
|
|
1225
|
+
`5ef6cea3deab3fb50f1d4aa69ff437d847a08c69`. Fetch/status completed; no remote
|
|
1226
|
+
configured, so upstream cannot be verified. Written slice plan/simplicity check
|
|
1227
|
+
preceded edits; inherited revised review 2873b976 zero must-fix, Gate 1/2 complete.
|
|
1228
|
+
Gate 3 applied: full object projection was split at the shared field-join boundary
|
|
1229
|
+
rather than attempting taxonomy/designation integration in the same worker.
|
|
1230
|
+
Whole-feature Gate 4 stays coordinator-owned. No extra workers or root edits.
|
|
1231
|
+
|
|
1232
|
+
## Exact interface and completed range
|
|
1233
|
+
|
|
1234
|
+
`joinDmoConnectMetadataFields(connectFields: unknown, metadataFields: unknown):
|
|
1235
|
+
DmoJoinedFields` in src/artifacts/dmo-document.ts returns
|
|
1236
|
+
`{ fields: DmoField[], qualifierBindings: {fieldName,qualifierFieldName}[],
|
|
1237
|
+
blockers: string[], expectations: {connect: Record<string,unknown>[],
|
|
1238
|
+
metadata: Record<string,unknown>[]} }`.
|
|
1239
|
+
|
|
1240
|
+
Exact case-sensitive qualified one-to-one collection joins, all 12 authored types,
|
|
1241
|
+
any nonempty count, original authored order and optional description/category
|
|
1242
|
+
presence. Creation type/label/type agree across sources. Metadata primaryIndexOrder
|
|
1243
|
+
'1' designates exactly one authored primary; supplied Connect primary must agree.
|
|
1244
|
+
Metadata string dynamic boolean or supplied Connect boolean supplies dynamic;
|
|
1245
|
+
conflict or missing-both rejects. Missing primaryIndexOrder is nonprimary under
|
|
1246
|
+
complete Metadata collection semantics, not Connect-only primary inference.
|
|
1247
|
+
Explicit unique qualifier reference collection resolves each supplied authored
|
|
1248
|
+
keyQualifierName to exact System fullName; all references consumed, no suffix
|
|
1249
|
+
inference, zero/multiple qualifiers allowed. Generated fields never authored.
|
|
1250
|
+
|
|
1251
|
+
Unknown properties, unsupported creation/usage values, nonempty summary semantics,
|
|
1252
|
+
invalid/dangling/duplicate references and source conflicts throw payload-free
|
|
1253
|
+
DmoDocumentError. Known meaningful semantics classify into blockers instead of
|
|
1254
|
+
being silently deleted: FIELD_REQUIRED_REPLAY_UNVERIFIED, FIELD_LENGTH_REPLAY_UNVERIFIED
|
|
1255
|
+
(any positive integer Text storage length, no fixed 60 requirement),
|
|
1256
|
+
FIELD_DISTINCT_REPLAY_UNVERIFIED, GENERATED_FIELD_REPLAY_UNVERIFIED,
|
|
1257
|
+
GENERATED_QUALIFIER_REPLAY_UNVERIFIED and GENERATED_FIELD_SEMANTICS_REPLAY_UNVERIFIED.
|
|
1258
|
+
Independent complete admitted collections remain expectations. Empty blockers
|
|
1259
|
+
qualify only field joins, NEVER complete object projection/deploy acceptance.
|
|
1260
|
+
|
|
1261
|
+
Compatibility projector, service, command, writer and both mappers unchanged.
|
|
1262
|
+
No new live calls, org writes, reference-plugin identifiers, frameworks or API
|
|
1263
|
+
acceptance claims. No generated recipe is guessed from arbitrary System fields.
|
|
1264
|
+
|
|
1265
|
+
## Next coherent object integration slice
|
|
1266
|
+
|
|
1267
|
+
Compose this field join beside the narrow compatibility projector. Reconcile
|
|
1268
|
+
exact object identity/default scope/category/taxonomy using approved official
|
|
1269
|
+
contracts and retained evidence; preserve meaningful unknown object config as
|
|
1270
|
+
specific blockers/rejections. Object eventDateTimeFieldName and
|
|
1271
|
+
recordModifiedFieldName must come from a valid authoritative source and resolve
|
|
1272
|
+
exactly to authored DateTime fields, with conflicts rejected. Missing required
|
|
1273
|
+
Engagement event must return a specific blocker, not infer from a lone DateTime
|
|
1274
|
+
or ban unrelated categories. Acquire complete relationships; unsupported nonempty
|
|
1275
|
+
relationships remain diagnostic. No service/writer/command generalization until
|
|
1276
|
+
common object projection and generated replay qualification are separately green.
|
|
1277
|
+
|
|
1278
|
+
## Verification and propagation
|
|
1279
|
+
|
|
1280
|
+
Synthetic regressions cover 1/3/12/19 authored counts, every type, reordered joins,
|
|
1281
|
+
optional values, fresh independent output, dynamic source/absence/conflicts,
|
|
1282
|
+
complete single/multiple qualifiers, arbitrary length/required/distinct blockers,
|
|
1283
|
+
unknown extra generated properties and unsupported semantics. Scoped autofix,
|
|
1284
|
+
explicit build and full zero-warning lint passed. Full tests: 120 passed, zero
|
|
1285
|
+
failed/skipped, 13941.2236 ms excluding compile. Smoke: 6 passed, zero failed/skipped,
|
|
1286
|
+
13313.8161 ms. Standalone sequence ended 2026-10-25T18:03:44.6231511+01:00.
|
|
1287
|
+
Package-check and normal-hook commit receipt follow in the coordinator response
|
|
1288
|
+
(no self-referential hash in tracked docs).
|
|
1289
|
+
|
|
1290
|
+
Every shell/test entry checks TEMP, actual Node os.tmpdir and nonempty TMP/TMPDIR
|
|
1291
|
+
against absolute normalized F:/Temp; process-only repair/recheck. Initial inline
|
|
1292
|
+
PowerShell quoting failed closed before Git workload; piped Node source fixed it.
|
|
1293
|
+
No recursive cleanup. Existing package-smoke retains owned OS-temp roots.
|
|
1294
|
+
|
|
1295
|
+
| Component | Needs update? | What to update | Status |
|
|
1296
|
+
| ------------------------------------------------------------------------------------ | ------------- | ----------------------------------------------------- | ---------- |
|
|
1297
|
+
| sf-plugin-data360 | Yes | field join/tests, README/artifact/capability/handover | done |
|
|
1298
|
+
| ampscript-data, ssjs-data, csv-parser, ampscript-parser | N/A | No coupling | not needed |
|
|
1299
|
+
| sfmc-language-lsp, vscode-sfmc-language | N/A | No language change | not needed |
|
|
1300
|
+
| mcp-server-sfmc, mcp-server-mcdev | N/A | No consumers | not needed |
|
|
1301
|
+
| sf-plugin-mcnext, sf-plugin-cms | N/A | Independent packages | not needed |
|
|
1302
|
+
| eslint-plugin-sfmc, eslint-plugin-mcdev, prettier-plugin-sfmc | N/A | No coupling | not needed |
|
|
1303
|
+
| ssjs.guide, mso-conditional-parser, eslint-plugin-mso-email, vscode-mso-conditionals | N/A | No coupling | not needed |
|
|
1304
|
+
|
|
1305
|
+
Slice docs reviewed; whole-feature Gate 4/root release registration stay coordinator
|
|
1306
|
+
responsibilities. Wiki/sites/tool listings/hover unchanged for unpublished internal
|
|
1307
|
+
slice. No npm changelog/version bump/push/tag/release/global edits.
|
|
1308
|
+
|
|
1309
|
+
| Folder | Changed? | Current version | New version |
|
|
1310
|
+
| ----------------- | -------- | --------------- | ---------------------------- |
|
|
1311
|
+
| sf-plugin-data360 | Yes | 0.1.0 | No bump; no release prepared |
|
|
1312
|
+
|
|
1313
|
+
# Common authored DMO mapper slice
|
|
1314
|
+
|
|
1315
|
+
Start: 2026-10-25T17:52+01:00; clean requested HEAD
|
|
1316
|
+
`cb65e6e29af4450f44c725674d664a5c78e05ff3`. Fetch/status completed; no remote
|
|
1317
|
+
configured. Written slice plan/simplicity check before edits; inherited revised
|
|
1318
|
+
plan review 2873b976 zero must-fix. Gate 1/2 complete; Gate 3 one small coupled
|
|
1319
|
+
mapper/test slice, no new workers. Whole-milestone Gate 4 remains coordinator-owned.
|
|
1320
|
+
|
|
1321
|
+
## Done and exact interface
|
|
1322
|
+
|
|
1323
|
+
`buildDmoCreateRequestFromDocument(value: unknown, targetDataSpace: unknown):
|
|
1324
|
+
DmoCreateRequest` lives beside the old narrow helpers, which remain unchanged.
|
|
1325
|
+
Request: name/label/description?, dataSpaceName:'default', category:
|
|
1326
|
+
Profile|Other|Engagement, eventDateTimeFieldName?, recordModifiedFieldName?, fields:
|
|
1327
|
+
{name,label,dataType,description?,category?,isPrimaryKey,isDynamicLookup}[].
|
|
1328
|
+
Validate authored-only JSON first; map every property individually to a fresh
|
|
1329
|
+
allowlisted object and fresh fields. Remove only validated terminal object __dlm;
|
|
1330
|
+
preserve exact authored __c names, order, strings and optional presence. Source
|
|
1331
|
+
and explicit target both remain default; scope errors precisely identify the
|
|
1332
|
+
property without echoing values. No runtime projection keys or spec spread.
|
|
1333
|
+
|
|
1334
|
+
All 12 documented types, three categories, any nonempty authored field count,
|
|
1335
|
+
optional field category/description and true/false dynamic lookup map. Existing
|
|
1336
|
+
exact name/one-primary/exact DateTime-reference invariants remain; Engagement
|
|
1337
|
+
requires its authored explicit event reference. Missing export designation is a
|
|
1338
|
+
projector concern, not a reason to reject a documented authored reference.
|
|
1339
|
+
|
|
1340
|
+
## Evidence and boundaries
|
|
1341
|
+
|
|
1342
|
+
Local mirror search found no input contract. Approved official nested fetches
|
|
1343
|
+
timed out; indexed full endpoint reference explicitly supplies category/fields/
|
|
1344
|
+
event/recordModified input, with three title-case categories (do not copy its
|
|
1345
|
+
uppercase example as enum). Official Data360 payload_examples metadata confirms
|
|
1346
|
+
seven nested properties and all 12 types, optional string field category/description
|
|
1347
|
+
and boolean flags without a false-only rule. No org dispatch occurred. That tool
|
|
1348
|
+
schema omits object event/modified properties; endpoint text is authority for
|
|
1349
|
+
those. Nested per-property versions are not supplied. No new API 65 runtime
|
|
1350
|
+
acceptance, cross-space support or generalized generated-field replay is claimed.
|
|
1351
|
+
The earlier exact qualified field-name evidence is retained, not expanded into a
|
|
1352
|
+
claim of live acceptance for every combination. No service/projector/command or
|
|
1353
|
+
writer was changed; they still use the narrow compatibility helpers.
|
|
1354
|
+
|
|
1355
|
+
## Verification
|
|
1356
|
+
|
|
1357
|
+
Scoped ESLint autofix, explicit build, full zero-warning lint all passed.
|
|
1358
|
+
Full tests 115 passed, 0 failed/skipped, 14238.7415 ms excluding compile;
|
|
1359
|
+
16 new common mapper tests cover all types/categories, 1/3/4/12/17 field counts,
|
|
1360
|
+
optional absence/empty/nonempty, independent references, frozen input/fresh output,
|
|
1361
|
+
19 invalid mutations, malformed/runtime inputs and exact source/target binding.
|
|
1362
|
+
Smoke 6 passed, 0 failed/skipped, 12162.2436 ms. Sequence ended
|
|
1363
|
+
2026-10-25T17:55:44.2826693+01:00. Packaged help and normal enabled hook/commit
|
|
1364
|
+
receipts follow in coordinator output; no self-referential hash is embedded here.
|
|
1365
|
+
Every shell/test entry checks actual Node tmpdir, TEMP and nonempty TMP/TMPDIR
|
|
1366
|
+
against absolute normalized F:/Temp, repairing only process environment/rechecking.
|
|
1367
|
+
No recursive cleanup; existing package smoke retains its owned OS-temp roots.
|
|
1368
|
+
|
|
1369
|
+
## Next bounded generalized projection slice
|
|
1370
|
+
|
|
1371
|
+
Generalize only the offline Connect/Metadata projector next: read the actual
|
|
1372
|
+
Connect and Metadata contracts for arbitrary authored types/counts/categories;
|
|
1373
|
+
join exact qualified object/field identities; retain unknown configuration as a
|
|
1374
|
+
blocker rather than drop it. Bind primary/dynamic flags and generated qualifier
|
|
1375
|
+
references from authoritative metadata, not naming patterns. Acquire complete
|
|
1376
|
+
relationships as today. Stop the affected variant if generated replay, optional
|
|
1377
|
+
field classification or designation cannot be proven. In particular Engagement
|
|
1378
|
+
detail lacks its event designation: find an authoritative metadata designation
|
|
1379
|
+
and map exact DateTime reference, never infer from a lone DateTime field. Do not
|
|
1380
|
+
broaden service/writer/command before generalized projection is qualified. No
|
|
1381
|
+
provenance/schema framework, deployment or live calls/writes implicit.
|
|
1382
|
+
|
|
1383
|
+
## Propagation Table
|
|
1384
|
+
|
|
1385
|
+
| Component | Needs update? | What to update | Status |
|
|
1386
|
+
| ------------------------------------------------------------------------------------ | ------------- | ------------------------------------------------------- | ---------- |
|
|
1387
|
+
| sf-plugin-data360 | Yes | mapper/regressions, README/artifact/capability/handover | done |
|
|
1388
|
+
| ampscript-data, ssjs-data, csv-parser, ampscript-parser | N/A | No coupling | not needed |
|
|
1389
|
+
| sfmc-language-lsp, vscode-sfmc-language | N/A | No language change | not needed |
|
|
1390
|
+
| mcp-server-sfmc, mcp-server-mcdev | N/A | No consumers | not needed |
|
|
1391
|
+
| sf-plugin-mcnext, sf-plugin-cms | N/A | Independent packages | not needed |
|
|
1392
|
+
| eslint-plugin-sfmc, eslint-plugin-mcdev, prettier-plugin-sfmc | N/A | No coupling | not needed |
|
|
1393
|
+
| ssjs.guide, mso-conditional-parser, eslint-plugin-mso-email, vscode-mso-conditionals | N/A | No coupling | not needed |
|
|
1394
|
+
|
|
1395
|
+
Gate 5 slice docs checked after green verification; whole-feature Gate 4/root
|
|
1396
|
+
release registration stay coordinator-only. No wiki/site/tool listing/hover
|
|
1397
|
+
change needed for unpublished internal slice. No npm changelog, bump, push, tag,
|
|
1398
|
+
release, global/root edit, reference identifier copying or org calls/writes.
|
|
1399
|
+
|
|
1400
|
+
| Folder | Changed? | Current version | New version |
|
|
1401
|
+
| ----------------- | -------- | --------------- | ---------------------------- |
|
|
1402
|
+
| sf-plugin-data360 | Yes | 0.1.0 | No bump; no release prepared |
|
|
1403
|
+
|
|
1404
|
+
# Explicit retrieve command wiring
|
|
1405
|
+
|
|
1406
|
+
Start: 2026-10-25T17:45:08+01:00, clean requested baseline
|
|
1407
|
+
`f0c7e6b12ac5dbeaa8a5614f6cdaf3da9fb95d06`. Fetch/status completed; no remote is
|
|
1408
|
+
configured. Actual CMS flags/base finalization and installed core org/API flags
|
|
1409
|
+
read before edits. Written bounded plan and simplicity check preceded edits;
|
|
1410
|
+
reviewed narrow Gate 1/2 inherited complete, Gate 3 one coupled command/test slice.
|
|
1411
|
+
Whole-milestone Gate 4 remains coordinator-owned. Independent shared-DMO planning
|
|
1412
|
+
worker owns model expansion; no artifact/service/writer model changes in this slice.
|
|
1413
|
+
|
|
1414
|
+
## Command and boundaries
|
|
1415
|
+
|
|
1416
|
+
`sf data360 retrieve [-o source] [--api-version 65.0] [--data-space default]
|
|
1417
|
+
-m dmo:Name__dlm [-d project-root] [-x] [--json]`.
|
|
1418
|
+
|
|
1419
|
+
Actual CMS metadata/output/overwrite semantics mirrored: metadata repeatable and
|
|
1420
|
+
multipleNonGreedy, currently exactly one explicit dmo member; output-dir directory
|
|
1421
|
+
exists:false and default cwd; overwrite boolean default false. Core optionalOrg
|
|
1422
|
+
supports -o override/configured default; missing org gets blocked envelope. Core
|
|
1423
|
+
orgApiVersion defaults to explicit 65.0 and passes through unchanged, as does data
|
|
1424
|
+
space. Command validates selector syntax only, not names/categories/field counts/
|
|
1425
|
+
profile/version/data-space capability. Existing service owns those decisions.
|
|
1426
|
+
Current fixture-specific service capability is temporary, not permanent design.
|
|
1427
|
+
Type-only, no-selector and discovery retrieval remain pending future semantics.
|
|
1428
|
+
Deploy unchanged/unimplemented; no new deploy path or artifact contract.
|
|
1429
|
+
|
|
1430
|
+
Protected acquire/writeDocument seams default to retrieveOtherDmo and
|
|
1431
|
+
writeOtherDmoDocument. Actual authenticated core connection -> full strict runtime
|
|
1432
|
+
projection -> candidate only -> independent writer mapper/serializer. Output stays
|
|
1433
|
+
`<project-root>/data360/default/dmo/Name__dlm.json`; runtime expectations and org IDs
|
|
1434
|
+
never enter that JSON. Source org identity belongs only to result provenance.
|
|
1435
|
+
|
|
1436
|
+
Versioned `sf-data360-retrieve` / 1.0.0 envelope: status success/blocked/failed,
|
|
1437
|
+
metadata operation/plugin/version/API, diagnostics warnings/errors, provenance
|
|
1438
|
+
producer/sourceOrgId/pluginVersion/command/time, result scope/selection/items.
|
|
1439
|
+
Normal SfCommand --json outer wrapper contains this envelope in result; no custom
|
|
1440
|
+
JSON emitter/framework. Blocked/failed exits 1, success normal exit 0. Parser/auth
|
|
1441
|
+
flag failures retain core CLI errors. Service/document refusals are blocked;
|
|
1442
|
+
writer OUTPUT_FAILED or unexpected exceptions are failed. No remote cause/body
|
|
1443
|
+
is exposed, no silent partial success; publication ambiguity stays failure.
|
|
1444
|
+
|
|
1445
|
+
## Tests and verification
|
|
1446
|
+
|
|
1447
|
+
Six injected command tests cover full boundary invocation/candidate-only writing,
|
|
1448
|
+
forward-compatible version/space pass-through without command schema checks,
|
|
1449
|
+
explicit temporary selector refusal before acquisition/writes, missing org,
|
|
1450
|
+
redacted acquisition/service failure and all writer failures. Existing CLI tests
|
|
1451
|
+
now assert retrieve blocked envelope and help flags; deploy refusal unchanged.
|
|
1452
|
+
Capability test now honestly distinguishes general unsupported families from
|
|
1453
|
+
bounded implemented DMO retrieval. Scoped autofix, explicit build and full lint
|
|
1454
|
+
passed with zero warnings. Full suite: 99 passed, 0 failed/skipped (12,514.017 ms
|
|
1455
|
+
excluding compile). Smoke: 6 passed, 0 failed/skipped (12,380.0983 ms). Sequence
|
|
1456
|
+
ended 2026-10-25T17:49:10.9918441+01:00. Packaged help and normal enabled hook
|
|
1457
|
+
receipts are supplied in coordinator output after commit; no self hash embedded here.
|
|
1458
|
+
|
|
1459
|
+
## Next slice
|
|
1460
|
+
|
|
1461
|
+
Consume independent shared-common-DMO plan and approved scope before changing
|
|
1462
|
+
models; do not make this command's current service shape permanent. Tests use
|
|
1463
|
+
injected synthetic seams; no live org calls/writes occurred. Discovery/type-only/
|
|
1464
|
+
no-selector future behavior stays pending. Preserve writer path/publication safety
|
|
1465
|
+
and independently validated authored artifact. No deployment expansion implicit.
|
|
1466
|
+
|
|
1467
|
+
## Propagation Table
|
|
1468
|
+
|
|
1469
|
+
| Component | Needs update? | What to update | Status |
|
|
1470
|
+
| ------------------------------------------------------------------------------------ | ------------- | ------------------------------------------------------------- | ---------- |
|
|
1471
|
+
| sf-plugin-data360 | Yes | command/tests/topic/help, README/artifact/capability/handover | done |
|
|
1472
|
+
| ampscript-data, ssjs-data, csv-parser, ampscript-parser | N/A | No coupling | not needed |
|
|
1473
|
+
| sfmc-language-lsp, vscode-sfmc-language | N/A | No language change | not needed |
|
|
1474
|
+
| mcp-server-sfmc, mcp-server-mcdev | N/A | No consumers | not needed |
|
|
1475
|
+
| sf-plugin-mcnext, sf-plugin-cms | N/A | Independent packages | not needed |
|
|
1476
|
+
| eslint-plugin-sfmc, eslint-plugin-mcdev, prettier-plugin-sfmc | N/A | No coupling | not needed |
|
|
1477
|
+
| ssjs.guide, mso-conditional-parser, eslint-plugin-mso-email, vscode-mso-conditionals | N/A | No coupling | not needed |
|
|
1478
|
+
|
|
1479
|
+
Gate 5 slice docs checked; whole-feature Gate 4 remains coordinator-owned. Root
|
|
1480
|
+
release/dependency registration remains coordinator-only. No wiki/site/tool listing/
|
|
1481
|
+
hover update needed for unpublished slice; no npm changelog/version/release prepared.
|
|
1482
|
+
Every shell/test entry checks TEMP, actual Node os.tmpdir and nonempty TMP/TMPDIR
|
|
1483
|
+
as absolute normalized F:/Temp with process-only repair/recheck. Existing smoke
|
|
1484
|
+
owns OS-temp fixtures; command tests require no scratch. No recursive cleanup,
|
|
1485
|
+
root/global edits, org calls/writes, push/tag/release or additional workers.
|
|
1486
|
+
|
|
1487
|
+
| Folder | Changed? | Current version | New version |
|
|
1488
|
+
| ----------------- | -------- | --------------- | ---------------------------- |
|
|
1489
|
+
| sf-plugin-data360 | Yes | 0.1.0 | No bump; no release prepared |
|
|
1490
|
+
|
|
1491
|
+
# Bounded authored Other file writer
|
|
1492
|
+
|
|
1493
|
+
Start: 2026-10-25T17:35:58+01:00, clean requested baseline
|
|
1494
|
+
`b03857ee0191620650f2e9eb426284d2e111a3f9`. Read master plan, actual CMS retrieve
|
|
1495
|
+
flags, service, serializer and mapper before edits. Written slice plan and
|
|
1496
|
+
simplicity check preceded edits. Reviewed narrow Gate 1/2 inherited complete;
|
|
1497
|
+
Gate 3 applied by splitting writer/test from dependent command wiring. Whole
|
|
1498
|
+
milestone Gate 4 remains coordinator-owned; no new workers or root edits.
|
|
1499
|
+
|
|
1500
|
+
## Done and exact interface
|
|
1501
|
+
|
|
1502
|
+
`writeOtherDmoDocument(value: unknown, projectRoot: string, overwrite: boolean)`
|
|
1503
|
+
returns `Promise<{ path: string; outcome: 'retrieved' | 'unchanged' }>` from
|
|
1504
|
+
src/artifacts/write-other-dmo.ts. Independently map authored candidate through
|
|
1505
|
+
buildOtherDmoCreateRequestFromDocument(value, 'default'), validate and serialize
|
|
1506
|
+
only schemaVersion/kind/identity/spec with existing canonical serializer. Exact
|
|
1507
|
+
output: `<project-root>/data360/default/dmo/<api-name>.json`. Family is `dmo` per
|
|
1508
|
+
master plan; no new artifact contract or request transport exists.
|
|
1509
|
+
|
|
1510
|
+
Identical bytes preserve file/mtime without overwrite; differing regular-file
|
|
1511
|
+
bytes require overwrite. Directory destinations, file ancestors, links/junctions
|
|
1512
|
+
at root/ancestors/destination reject. Ancestors and prior bytes rechecked before
|
|
1513
|
+
publication. Stage flushed bytes in new verified OS-temp mkdtemp root, keep random
|
|
1514
|
+
ownership marker; atomic rename for replacements, exclusive hard-link for new
|
|
1515
|
+
files, then unlink only own staging file entry to remove alias. Cross-volume
|
|
1516
|
+
publication deliberately fails closed, no non-atomic copy fallback. OUTPUT_FAILED
|
|
1517
|
+
must never be reported as partial success: inspect destination before retrying
|
|
1518
|
+
because a post-publication operation can fail. No hostile concurrent filesystem
|
|
1519
|
+
sandbox guarantee; check-to-use races remain. No recursive cleanup; roots retained.
|
|
1520
|
+
|
|
1521
|
+
Six independent synthetic tests cover canonical exact path/authored-only bytes,
|
|
1522
|
+
link count, identical true no-op, overwrite refusal/replacement, independent mapper
|
|
1523
|
+
rejection before side effects, directory/file collisions, root/all ancestor
|
|
1524
|
+
junctions and linked destination. Package allowlist inventory updated 18 -> 20
|
|
1525
|
+
for writer JS/declaration pair. Initial Windows mkdir-on-existing-drive-root
|
|
1526
|
+
failure fixed by lstat before creation; initial await-member lint issues fixed.
|
|
1527
|
+
Scoped autofix, explicit build and full zero-warning lint passed. Focused writer
|
|
1528
|
+
suite: 6/6 (174.2806 ms). Full suite: 93 passed, 0 failed/skipped
|
|
1529
|
+
(12,839.9695 ms excluding compile); smoke: 6 passed, 0 failed/skipped
|
|
1530
|
+
(11,024.286 ms). Sequence ended 2026-10-25T17:41:19.0242703+01:00.
|
|
1531
|
+
Final package-help and normal enabled-hook receipts are supplied by coordinator
|
|
1532
|
+
output after completion; no self-referential commit hash is embedded here.
|
|
1533
|
+
|
|
1534
|
+
## Next command slice (not implemented here)
|
|
1535
|
+
|
|
1536
|
+
Wire `sf data360 retrieve -m dmo:Name__dlm` only, with actual CMS definitions:
|
|
1537
|
+
repeatable/non-greedy `-m, --metadata`; `-d, --output-dir` directory exists:false,
|
|
1538
|
+
project-root default cwd; `-x, --overwrite` boolean default false. Add core default
|
|
1539
|
+
org/`-o` override, explicit API 65.0 and default data space. Read actual CMS base
|
|
1540
|
+
flag/envelope behavior first. Authenticate only after bounded selector validation;
|
|
1541
|
+
acquire retrieveOtherDmo full strict runtime projection, then pass only candidate
|
|
1542
|
+
to this writer (which independently maps it). Emit versioned contract/status/
|
|
1543
|
+
metadata/diagnostics/provenance/result; failed/blocked nonzero exit and payload-free
|
|
1544
|
+
errors. Inject acquisition/auth seam for tests; no live org calls required.
|
|
1545
|
+
Discovery/type-only/no-selector retrieval remain temporarily unimplemented, NOT
|
|
1546
|
+
removed from approved future semantics. Deploy remains unimplemented. Add CLI
|
|
1547
|
+
regressions, full verification/smoke/package-help, normal enabled literal-path
|
|
1548
|
+
commit under current approval. No new artifact contract, org write, push/tag/release.
|
|
1549
|
+
|
|
1550
|
+
## Propagation Table
|
|
1551
|
+
|
|
1552
|
+
| Component | Needs update? | What to update | Status |
|
|
1553
|
+
| ------------------------------------------------------------------------------------ | ------------- | --------------------------------------------------------------------- | ---------- |
|
|
1554
|
+
| sf-plugin-data360 | Yes | writer/tests/package inventory, README/artifact/capabilities/handover | done |
|
|
1555
|
+
| ampscript-data, ssjs-data, csv-parser, ampscript-parser | N/A | No coupling | not needed |
|
|
1556
|
+
| sfmc-language-lsp, vscode-sfmc-language | N/A | No language change | not needed |
|
|
1557
|
+
| mcp-server-sfmc, mcp-server-mcdev | N/A | No consumers | not needed |
|
|
1558
|
+
| sf-plugin-mcnext, sf-plugin-cms | N/A | Independent packages | not needed |
|
|
1559
|
+
| eslint-plugin-sfmc, eslint-plugin-mcdev, prettier-plugin-sfmc | N/A | No coupling | not needed |
|
|
1560
|
+
| ssjs.guide, mso-conditional-parser, eslint-plugin-mso-email, vscode-mso-conditionals | N/A | No coupling | not needed |
|
|
1561
|
+
|
|
1562
|
+
Gate 5 slice docs audited; whole-feature Gate 4 remains coordinator-owned. No
|
|
1563
|
+
wiki/site/tool listing/hover or Git workflow change needed. Root release/dependency
|
|
1564
|
+
registration remains coordinator-only. Fetch/status passed; no remote configured.
|
|
1565
|
+
Every shell/test entry preflights actual Node tmpdir/TEMP/nonempty TMP/TMPDIR for
|
|
1566
|
+
absolute normalized F:/Temp, process-only repair/recheck. Initial inline quoting
|
|
1567
|
+
failed closed before workload, corrected by piped Node source then existing script.
|
|
1568
|
+
No live calls/writes, global settings, push/tag/release or recursive deletion.
|
|
1569
|
+
|
|
1570
|
+
| Folder | Changed? | Current version | New version |
|
|
1571
|
+
| ----------------- | -------- | --------------- | ---------------------------- |
|
|
1572
|
+
| sf-plugin-data360 | Yes | 0.1.0 | No bump; no release prepared |
|
|
1573
|
+
|
|
1574
|
+
# Authored-only Other document mapper
|
|
1575
|
+
|
|
1576
|
+
Start: 2026-10-25T17:30:09+01:00, clean baseline
|
|
1577
|
+
`d02eed6cad10c2f1c8fedb148ec22a546d938043`. Written slice plan and
|
|
1578
|
+
simplicity check preceded edits. Final plan review d198e9ac had zero must-fix;
|
|
1579
|
+
Gate 1/2 complete, Gate 3 one small coupled sequential mapper/test slice. No
|
|
1580
|
+
additional review or worker; whole-feature Gate 4 remains coordinator-owned.
|
|
1581
|
+
|
|
1582
|
+
## Exact interface and approved artifact
|
|
1583
|
+
|
|
1584
|
+
`buildOtherDmoCreateRequestFromDocument(value: unknown, targetDataSpace: unknown):
|
|
1585
|
+
OtherDmoCreateRequest` is a separate export in src/artifacts/dmo-document.ts.
|
|
1586
|
+
It calls validateDmoDocument, then accepts only source/explicit target default,
|
|
1587
|
+
category Other, exactly one Text primary and one DateTime nonprimary field,
|
|
1588
|
+
both dynamicLookup false. Field description/category and event/record-modified
|
|
1589
|
+
references reject. Unknown/relationship/runtime keys reject through validation.
|
|
1590
|
+
The validated terminal __dlm rule derives the object base; exact authored __c
|
|
1591
|
+
names, labels, order and optional object description presence survive. Outputs
|
|
1592
|
+
are fresh and input is immutable. No framework, fabricated expectations or calls.
|
|
1593
|
+
|
|
1594
|
+
Approved Git JSON contains only schemaVersion/kind/identity/spec. Internal source
|
|
1595
|
+
expectations remain in the runtime projection, not the Git file. Existing
|
|
1596
|
+
buildOtherDmoCreateRequest strict projection revalidation and forged-projection
|
|
1597
|
+
tests are intact. Deploy must independently validate the authored file, acquire
|
|
1598
|
+
any necessary runtime expectations and later verify actual target readback.
|
|
1599
|
+
This section supersedes earlier handover instructions to persist projections.
|
|
1600
|
+
No deploy/CLI/transport/org behavior was added.
|
|
1601
|
+
|
|
1602
|
+
## Verification receipt
|
|
1603
|
+
|
|
1604
|
+
Scoped ESLint autofix, explicit build and full zero-warning lint passed. Full
|
|
1605
|
+
suite: 87 passed, 0 failed/skipped (11,654.072 ms excluding compile). There are
|
|
1606
|
+
35 new tests: exact standalone JSON request, optional description presence,
|
|
1607
|
+
frozen input/fresh independent output, 32 individual unsupported mutations,
|
|
1608
|
+
and explicit target/malformed/projection/accessor refusals. Initial lint clone
|
|
1609
|
+
heuristic was fixed by naming serialized bytes, keeping actual JSON parse tests.
|
|
1610
|
+
Smoke: 6 passed, 0 failed/skipped (11,793.1526 ms); standalone sequence ended
|
|
1611
|
+
2026-10-25T17:33:00.7611133+01:00. Normal enabled hook/commit final receipts follow
|
|
1612
|
+
in coordinator output; self-referential commit hash is not embedded here.
|
|
1613
|
+
|
|
1614
|
+
Every shell/test entry verifies TEMP, actual Node os.tmpdir and nonempty TMP/TMPDIR
|
|
1615
|
+
as absolute normalized F:/Temp. Initial inline quoting failed closed; piped
|
|
1616
|
+
preflight passed after process-only repair/recheck. No recursive cleanup or
|
|
1617
|
+
scratch allocation by this slice. Existing smoke retains owned OS-temp fixtures.
|
|
1618
|
+
Fetch/status done; no remote, so upstream unavailable. Personal Git identity
|
|
1619
|
+
verified. Only literal own paths staged; no push/tag/release/root/global edits.
|
|
1620
|
+
|
|
1621
|
+
## Next CLI output slice
|
|
1622
|
+
|
|
1623
|
+
Wire one explicit Other/default retrieve command to retrieveOtherDmo using core
|
|
1624
|
+
authentication and explicit API 65.0. Qualify full internal source projection,
|
|
1625
|
+
then serialize only its authored candidate with serializeDmoDocument and validate
|
|
1626
|
+
with the new authored mapper; never persist expectations or synthesize them.
|
|
1627
|
+
Define deterministic safe output path and overwrite refusal before edits. Add
|
|
1628
|
+
isolated verified OS-temp filesystem/CLI tests and payload-free refusals. Keep
|
|
1629
|
+
deploy/write transport, discovery, broader categories/spaces and frameworks out.
|
|
1630
|
+
Gate 4 and root release/dependency registration remain coordinator follow-ups.
|
|
1631
|
+
|
|
1632
|
+
## Propagation Table
|
|
1633
|
+
|
|
1634
|
+
| Component | Needs update? | What to update | Status |
|
|
1635
|
+
| ------------------------------------------------------------------------------------ | ------------- | --------------------------------------------------------------- | ---------- |
|
|
1636
|
+
| sf-plugin-data360 | Yes | mapper/tests, README, artifact contract, capabilities, handover | done |
|
|
1637
|
+
| ampscript-data, ssjs-data, csv-parser, ampscript-parser | N/A | No coupling | not needed |
|
|
1638
|
+
| sfmc-language-lsp, vscode-sfmc-language | N/A | No language change | not needed |
|
|
1639
|
+
| mcp-server-sfmc, mcp-server-mcdev | N/A | No consumers | not needed |
|
|
1640
|
+
| sf-plugin-mcnext, sf-plugin-cms | N/A | Independent packages | not needed |
|
|
1641
|
+
| eslint-plugin-sfmc, eslint-plugin-mcdev, prettier-plugin-sfmc | N/A | No coupling | not needed |
|
|
1642
|
+
| ssjs.guide, mso-conditional-parser, eslint-plugin-mso-email, vscode-mso-conditionals | N/A | No coupling | not needed |
|
|
1643
|
+
|
|
1644
|
+
Gate 5 slice documentation checked after green checks; whole-feature Gate 4 is
|
|
1645
|
+
coordinator-owned. Wiki/sites/tool listings/hover and Git workflow need no update.
|
|
1646
|
+
No npm changelog. No release/version bump prepared; keep all commits local.
|
|
1647
|
+
|
|
1648
|
+
| Folder | Changed? | Current version | New version |
|
|
1649
|
+
| ----------------- | -------- | --------------- | ---------------------------- |
|
|
1650
|
+
| sf-plugin-data360 | Yes | 0.1.0 | No bump; no release prepared |
|
|
1651
|
+
|
|
1652
|
+
# Internal read-only Other retrieval service
|
|
1653
|
+
|
|
1654
|
+
Start: 2026-10-25T17:15:49+01:00. Clean baseline
|
|
1655
|
+
`df1dbbf20303bde36c2585e849db92c39fbc5cb5`. Written slice plan and simplicity
|
|
1656
|
+
check preceded edits. Inherited reviewed narrow Gate 1/2 remains applicable;
|
|
1657
|
+
Gate 3 is one small coupled sequential service/test slice. No extra reviewer or
|
|
1658
|
+
whole-milestone Gate 4; that remains coordinator-owned.
|
|
1659
|
+
|
|
1660
|
+
## Exact interface and real acquisition seam
|
|
1661
|
+
|
|
1662
|
+
`retrieveOtherDmo(connection: ReadConnection, objectApiName: unknown,
|
|
1663
|
+
apiVersion: unknown, dataSpace: unknown): Promise<DmoConnectMetadataProjection>`
|
|
1664
|
+
uses Pick<Connection, instanceUrl | request | metadata | getApiVersion>.
|
|
1665
|
+
Require explicit API 65.0 and matching connection version, exact supported local
|
|
1666
|
+
custom __dlm identity and case-sensitive default. No version mutation/fallback.
|
|
1667
|
+
Use ConnectClient detail GET, core connection.metadata.read('CustomObject',
|
|
1668
|
+
[objectApiName]), then complete incoming/outgoing relationship acquisition.
|
|
1669
|
+
Array read must return exactly one record with exact fullName. Missing, foreign,
|
|
1670
|
+
ambiguous or wrapped results block; all Metadata content reaches the strict join.
|
|
1671
|
+
Installed JSforce source establishes decoded records array and SOAP version from
|
|
1672
|
+
connection; retained successful Other experiment establishes the actual core
|
|
1673
|
+
metadata.read seam. Evidence inspected offline only, no new org calls.
|
|
1674
|
+
|
|
1675
|
+
Strict projectDmoConnectMetadata and buildOtherDmoCreateRequest both run before
|
|
1676
|
+
success. Return full independent projection/expectations, identity and qualifier
|
|
1677
|
+
bindings, never a detached candidate. Existing ConnectError/DmoDocumentError
|
|
1678
|
+
remain payload-free; OtherDmoRetrieveError has INVALID_SCOPE, INVALID_METADATA
|
|
1679
|
+
or ACQUISITION_FAILED, with no remote cause/payload. No partial success, writable
|
|
1680
|
+
transport, CLI/file wiring, Profile/Engagement or general DMO claim. Bounded
|
|
1681
|
+
profile stays two authored fields plus four expected generated fields.
|
|
1682
|
+
|
|
1683
|
+
## Verification
|
|
1684
|
+
|
|
1685
|
+
Scoped ESLint autofix, explicit build and full zero-warning lint passed.
|
|
1686
|
+
Focused artifact/service suite: 24 passed, 0 failed (934.5759 ms).
|
|
1687
|
+
Full tests: 52 passed, 0 failed/skipped (12,801.9002 ms excluding compile).
|
|
1688
|
+
Smoke: 6 passed, 0 failed/skipped (12,992.8261 ms). Sequence completed
|
|
1689
|
+
2026-10-25T17:20:10.2558445+01:00. Five added synthetic tests cover real adapter
|
|
1690
|
+
calls, scope/version refusal before acquisition, missing/ambiguous envelopes,
|
|
1691
|
+
exact joins/category/default checks, incomplete/nonempty relationships and
|
|
1692
|
+
payload-free failures at every acquisition phase. Initial helper-scope lint and
|
|
1693
|
+
fixture name-binding assertion failures were fixed, not suppressed.
|
|
1694
|
+
Package smoke expected inventory updated to 18 for the new JS/declaration pair;
|
|
1695
|
+
final checks and normal hook/commit receipt follow outside this self-referential
|
|
1696
|
+
commit. Hook remains unmodified and enabled.
|
|
1697
|
+
|
|
1698
|
+
Every shell entry verifies TEMP, actual Node os.tmpdir and nonempty TMP/TMPDIR
|
|
1699
|
+
against absolute normalized F:/Temp; process-only repair/recheck. No recursive
|
|
1700
|
+
cleanup. Existing smoke owns retained OS-temp roots. Fetch/status done; no remote
|
|
1701
|
+
exists, so upstream state cannot be verified. Personal Git identity checked before
|
|
1702
|
+
commit; only literal own paths staged. No push/tag/release, root edits, global
|
|
1703
|
+
settings, live org call/mutation or reference-plugin identifiers.
|
|
1704
|
+
|
|
1705
|
+
## Next coherent CLI/file slice
|
|
1706
|
+
|
|
1707
|
+
Wire only an explicit single-object Other/default retrieve command to this service
|
|
1708
|
+
using existing core authentication and explicit API 65.0. First define the full
|
|
1709
|
+
projection envelope's deterministic file serialization/revalidation and safe output
|
|
1710
|
+
path/overwrite contract; never persist only candidate or accept projection without
|
|
1711
|
+
expectations. Add isolated OS-temp filesystem/CLI tests and payload-free refusal
|
|
1712
|
+
checks. Keep deploy, writes, discovery, broader categories/spaces and general
|
|
1713
|
+
artifact framework out. Root registration and whole-milestone Gate 4 remain
|
|
1714
|
+
coordinator follow-ups, not completed here.
|
|
1715
|
+
|
|
1716
|
+
## Propagation Table
|
|
1717
|
+
|
|
1718
|
+
| Component | Needs update? | What to update | Status |
|
|
1719
|
+
| ------------------------------------------------------------------------------------ | ------------- | ----------------------------------------------------------------------------------- | ---------- |
|
|
1720
|
+
| sf-plugin-data360 | Yes | service/tests, README, capabilities, artifact contract, handover, package inventory | done |
|
|
1721
|
+
| ampscript-data, ssjs-data, csv-parser, ampscript-parser | N/A | No coupling | not needed |
|
|
1722
|
+
| sfmc-language-lsp, vscode-sfmc-language | N/A | No language change | not needed |
|
|
1723
|
+
| mcp-server-sfmc, mcp-server-mcdev | N/A | No consumers | not needed |
|
|
1724
|
+
| sf-plugin-mcnext, sf-plugin-cms | N/A | Independent packages | not needed |
|
|
1725
|
+
| eslint-plugin-sfmc, eslint-plugin-mcdev, prettier-plugin-sfmc | N/A | No coupling | not needed |
|
|
1726
|
+
| ssjs.guide, mso-conditional-parser, eslint-plugin-mso-email, vscode-mso-conditionals | N/A | No coupling | not needed |
|
|
1727
|
+
|
|
1728
|
+
Gate 5 slice docs checked after green checks; Gate 4 deliberately remains with
|
|
1729
|
+
coordinator. Wiki/sites/tool listings/hover and Git workflow need no update.
|
|
1730
|
+
No npm changelog. Root release/dependency registration stays coordinator-only.
|
|
1731
|
+
|
|
1732
|
+
| Folder | Changed? | Current version | New version |
|
|
1733
|
+
| ----------------- | -------- | --------------- | ---------------------------- |
|
|
1734
|
+
| sf-plugin-data360 | Yes | 0.1.0 | No bump; no release prepared |
|
|
1735
|
+
|
|
1736
|
+
# Bounded offline Other create-request mapper
|
|
1737
|
+
|
|
1738
|
+
Start: 2026-10-25T17:08:55+01:00. Clean baseline
|
|
1739
|
+
`0f22dd522495e97d81ac06a4f9a0581651ce4602`. Written slice plan and simplicity
|
|
1740
|
+
check preceded edits. Inherited reviewed narrowed Gate 1/2 applies; Gate 3 is one
|
|
1741
|
+
small coupled sequential module/test slice. No new subagent or whole Gate 4;
|
|
1742
|
+
whole-feature review remains coordinator-owned.
|
|
1743
|
+
|
|
1744
|
+
## Contract and exact interface
|
|
1745
|
+
|
|
1746
|
+
`buildOtherDmoCreateRequest(value: unknown, targetDataSpace: unknown):
|
|
1747
|
+
OtherDmoCreateRequest` rechecks complete joined expectations through
|
|
1748
|
+
projectDmoConnectMetadata and checks candidate, verified identity, qualifier binding
|
|
1749
|
+
and empty blockers against the recomputed result. Detached documents and forged
|
|
1750
|
+
unsupported profiles reject with payload-free DmoDocumentError. This validates
|
|
1751
|
+
shape/semantics, not authenticity of JSON or proof of an org snapshot; acquisition
|
|
1752
|
+
and complete relationship inventory remain the caller's prerequisite.
|
|
1753
|
+
|
|
1754
|
+
Source and explicit target both must equal case-sensitive default. No inferred
|
|
1755
|
+
fallback, arbitrary space or cross-space acceptance. The fresh minimal request
|
|
1756
|
+
contains name (verified object base), label, optional description, dataSpaceName,
|
|
1757
|
+
category Other, and two authored fields containing exact name, label, dataType,
|
|
1758
|
+
isPrimaryKey, isDynamicLookup. System fields, qualifiers, org IDs and read-only
|
|
1759
|
+
metadata remain expectations only. No transport, org call/write, Profile,
|
|
1760
|
+
Engagement, relationship, update/no-op or CLI generalization.
|
|
1761
|
+
|
|
1762
|
+
Local text mirrors had no nested contract. Approved official nested URL fetch
|
|
1763
|
+
timed out, then indexed full official reference text was inspected. Its example
|
|
1764
|
+
uses unsuffixed field inputs but does not prohibit qualified names. Existing
|
|
1765
|
+
API 65 cross-org replay at F:/Temp/data360-other-replay-S4bRkD submitted authored
|
|
1766
|
+
ContractKey__c and ObservedAt__c unchanged, matched all six exact readback field
|
|
1767
|
+
identities and passed with no source drift (completed 2026-10-25T15:52:30.908Z).
|
|
1768
|
+
Thus preserve proven authored __c names; no inversion or new blocker is needed.
|
|
1769
|
+
Artifact-format documents source URL and evidence boundaries. No unrelated
|
|
1770
|
+
mapping/stream search synthesis was treated as nested field contract.
|
|
1771
|
+
|
|
1772
|
+
## Verification receipt
|
|
1773
|
+
|
|
1774
|
+
Scoped ESLint autofix, explicit build and full zero-warning lint passed. One
|
|
1775
|
+
initial unicorn/no-null fixture issue was fixed before verification. Full tests:
|
|
1776
|
+
47 passed, 0 failed/skipped, 11,441.5985 ms excluding compile. Smoke: 6 passed,
|
|
1777
|
+
0 failed/skipped, 10,733.2266 ms. Standalone sequence ended
|
|
1778
|
+
2026-10-25T17:12:53.8143479+01:00. Four new synthetic tests cover exact minimal
|
|
1779
|
+
body/no generated replay, independent output, explicit source/target binding,
|
|
1780
|
+
16 forged-profile mutations, detached candidate refusal, exact authored names
|
|
1781
|
+
and omitted optional description. Normal enabled hooks repeat lint/build/full
|
|
1782
|
+
tests/smoke; final hook counts, commit hash/time/clean receipt follow outside
|
|
1783
|
+
this self-referential commit.
|
|
1784
|
+
|
|
1785
|
+
Every shell entry checks TEMP, actual Node os.tmpdir and nonempty TMP/TMPDIR for
|
|
1786
|
+
absolute normalized F:/Temp; process-only repair/recheck. Initial inline quoting
|
|
1787
|
+
failed closed before Git/workload; piped Node source then passed. No scratch
|
|
1788
|
+
allocation or recursive cleanup by this slice. Existing smoke retains owned OS
|
|
1789
|
+
temp fixtures. Fetch/status completed; no remote exists, so upstream is unverifiable.
|
|
1790
|
+
Personal Git identity verified. Only literal own paths staged. No push/tag/release,
|
|
1791
|
+
root edits, global settings or live calls/writes.
|
|
1792
|
+
|
|
1793
|
+
## Next coherent retrieve-service slice
|
|
1794
|
+
|
|
1795
|
+
Implement one internal read-only Other/default retrieve service with an injected
|
|
1796
|
+
Connect/Metadata acquisition seam. Require explicit object identity, API version
|
|
1797
|
+
and data space; acquire detail, exact matching Metadata and complete relationships,
|
|
1798
|
+
then run the strict projector and bounded mapper as offline validation. Return the
|
|
1799
|
+
complete projection (including expectations), never a detached candidate as a
|
|
1800
|
+
portable deploy artifact. Synthetic tests should cover scope/identity joins,
|
|
1801
|
+
missing metadata, incomplete/failed relationships and propagated payload-free
|
|
1802
|
+
errors. No filesystem/CLI/deploy/update changes or new live acceptance implicit.
|
|
1803
|
+
Establish the Metadata read seam from actual source before editing; do not invent
|
|
1804
|
+
unsupported SDK methods or discard unknown properties.
|
|
1805
|
+
|
|
1806
|
+
## Propagation Table
|
|
1807
|
+
|
|
1808
|
+
| Component | Needs update? | What to update | Status |
|
|
1809
|
+
| ------------------------------------------------------------------------------------ | ------------- | ------------------------------------------------- | ---------- |
|
|
1810
|
+
| sf-plugin-data360 | Yes | README, capabilities, artifact contract, handover | done |
|
|
1811
|
+
| ampscript-data, ssjs-data, csv-parser, ampscript-parser | N/A | No coupling | not needed |
|
|
1812
|
+
| sfmc-language-lsp, vscode-sfmc-language | N/A | No language change | not needed |
|
|
1813
|
+
| mcp-server-sfmc, mcp-server-mcdev | N/A | No consumers | not needed |
|
|
1814
|
+
| sf-plugin-mcnext, sf-plugin-cms | N/A | Independent packages | not needed |
|
|
1815
|
+
| eslint-plugin-sfmc, eslint-plugin-mcdev, prettier-plugin-sfmc | N/A | No coupling | not needed |
|
|
1816
|
+
| ssjs.guide, mso-conditional-parser, eslint-plugin-mso-email, vscode-mso-conditionals | N/A | No coupling | not needed |
|
|
1817
|
+
|
|
1818
|
+
Gate 5 slice docs updated after green verification; Gate 4 deliberately deferred
|
|
1819
|
+
to coordinator as instructed. README/artifact/capabilities/handover cover this
|
|
1820
|
+
internal helper. Git workflow, wiki/sites/tool listings/hover and other packages
|
|
1821
|
+
need no change. No npm changelog. Root release/dependency registration remains
|
|
1822
|
+
coordinator-only; no whole-feature propagation completion claimed.
|
|
1823
|
+
|
|
1824
|
+
| Folder | Changed? | Current version | New version |
|
|
1825
|
+
| ----------------- | -------- | --------------- | ---------------------------- |
|
|
1826
|
+
| sf-plugin-data360 | Yes | 0.1.0 | No bump; no release prepared |
|
|
1827
|
+
|
|
1828
|
+
# Autonomous offline Other create identity
|
|
1829
|
+
|
|
1830
|
+
Start: 2026-10-25T17:04:30+01:00. Clean baseline
|
|
1831
|
+
`2b7766331238abe69e3dc19d6f46a36b65fb8103`. Written narrow slice plan and
|
|
1832
|
+
simplicity check preceded edits. Inherited approved Gate 2 applies; one small
|
|
1833
|
+
coupled sequential module/test slice satisfies Gate 3. Whole-milestone Gate 4
|
|
1834
|
+
remains coordinator-owned, not claimed here.
|
|
1835
|
+
|
|
1836
|
+
## Exact interface and semantics
|
|
1837
|
+
|
|
1838
|
+
`projectDmoConnectMetadata(connect: unknown, metadata: unknown, relationships:
|
|
1839
|
+
unknown): DmoConnectMetadataProjection` keeps every prior strict Other profile,
|
|
1840
|
+
exact object/field join and explicit qualifier binding check. Its result now has
|
|
1841
|
+
`status: 'projected'`, `blockers: []`, and
|
|
1842
|
+
`createIdentity: { status: 'verified'; name: string; sourceApiName: string }`.
|
|
1843
|
+
After all profile checks and candidate validation, `name` removes exactly one
|
|
1844
|
+
terminal case-sensitive __dlm. The existing validated base grammar requires a
|
|
1845
|
+
leading ASCII letter, ASCII alphanumerics/internal single underscores, no trailing
|
|
1846
|
+
or double underscores and no case-insensitive SSOT prefix. Case is preserved;
|
|
1847
|
+
no sanitization, namespaces, internal replacement or retained-request subsystem.
|
|
1848
|
+
Candidate identity, Connect name and Metadata fullName remain qualified and exact.
|
|
1849
|
+
No developerName is invented. Generated fields/readback expectations and qualifier
|
|
1850
|
+
joins are unchanged. projectDmoRawFields remains explicitly incomplete unchanged.
|
|
1851
|
+
|
|
1852
|
+
Official naming research supplied by the coordinator resolves the paired custom
|
|
1853
|
+
create/read name and documented name restrictions; artifact-format records the
|
|
1854
|
+
exact official input URL. No new online lookup or live org call occurred.
|
|
1855
|
+
No request builder: nested field create-name suffix evidence is still unresolved.
|
|
1856
|
+
Projected means this offline shape/identity only, not deployment, writable Metadata,
|
|
1857
|
+
CLI, Profile/Engagement, update/no-op or general schema support.
|
|
1858
|
+
|
|
1859
|
+
## Verification and commit receipt
|
|
1860
|
+
|
|
1861
|
+
Scoped ESLint autofix, explicit build and full zero-warning lint passed.
|
|
1862
|
+
Full tests: 43 passed, 0 failed/skipped, 10,952.087 ms excluding compile.
|
|
1863
|
+
Smoke: 6 passed, 0 failed/skipped, 11,498.0891 ms. Standalone sequence ended
|
|
1864
|
+
2026-10-25T17:06:05.7988945+01:00. Two new naming tests cover ordinary/mixed-case/
|
|
1865
|
+
internal-single-underscore names and 18 malformed/unsupported names; existing
|
|
1866
|
+
strict joins, malformed profile and qualifier tests remain unchanged except the
|
|
1867
|
+
expected identity/status. Normal enabled hooks repeat lint/build/full tests/smoke;
|
|
1868
|
+
exact hook counts, commit hash/end time/clean state are supplied in the receipt
|
|
1869
|
+
outside this commit (a commit cannot embed its own hash).
|
|
1870
|
+
|
|
1871
|
+
Every shell/test entry verifies TEMP, actual Node tmpdir and nonempty TMP/TMPDIR
|
|
1872
|
+
against absolute normalized F:/Temp, with process-only repair/recheck. The initial
|
|
1873
|
+
inline Node quoting failed closed before Git/workload; piped code corrected it.
|
|
1874
|
+
No recursive cleanup or scratch allocation by this slice, root edits, remote/global
|
|
1875
|
+
settings, push, tags, release or org mutation. No remote exists, so fetch cannot
|
|
1876
|
+
verify upstream. Only literal own paths are staged under focused-slice approval.
|
|
1877
|
+
|
|
1878
|
+
## Next smallest implementation slice
|
|
1879
|
+
|
|
1880
|
+
Resolve only the nested custom field request-name contract from authoritative
|
|
1881
|
+
input/readback evidence, then construct a tiny bounded offline Other create
|
|
1882
|
+
request from this exact validated projection and verified base object identity.
|
|
1883
|
+
Keep target data-space binding explicit. Stop if field identity inversion cannot
|
|
1884
|
+
be proved; do not expand to deployment orchestration, Profile/Engagement, update,
|
|
1885
|
+
CLI or org calls. No retained create-request/provenance framework is needed.
|
|
1886
|
+
|
|
1887
|
+
## Propagation Table
|
|
1888
|
+
|
|
1889
|
+
| Component | Needs update? | What to update | Status |
|
|
1890
|
+
| ------------------------------------------------------------------------------------ | ------------- | ------------------------------------------------- | ---------- |
|
|
1891
|
+
| sf-plugin-data360 | Yes | README, capabilities, artifact contract, handover | done |
|
|
1892
|
+
| ampscript-data, ssjs-data, csv-parser, ampscript-parser | N/A | No coupling | not needed |
|
|
1893
|
+
| sfmc-language-lsp, vscode-sfmc-language | N/A | No language change | not needed |
|
|
1894
|
+
| mcp-server-sfmc, mcp-server-mcdev | N/A | No consumers | not needed |
|
|
1895
|
+
| sf-plugin-mcnext, sf-plugin-cms | N/A | Independent packages | not needed |
|
|
1896
|
+
| eslint-plugin-sfmc, eslint-plugin-mcdev, prettier-plugin-sfmc | N/A | No coupling | not needed |
|
|
1897
|
+
| ssjs.guide, mso-conditional-parser, eslint-plugin-mso-email, vscode-mso-conditionals | N/A | No coupling | not needed |
|
|
1898
|
+
|
|
1899
|
+
README/capability/artifact surfaces updated. Wiki/sites/tool listings/hover and
|
|
1900
|
+
Git workflow need no change. No npm changelog. Gate 5 slice propagation done;
|
|
1901
|
+
root registration/release dependency map remain coordinator-only follow-ups.
|
|
1902
|
+
|
|
1903
|
+
| Folder | Changed? | Current version | New version |
|
|
1904
|
+
| ----------------- | -------- | --------------- | ---------------------------- |
|
|
1905
|
+
| sf-plugin-data360 | Yes | 0.1.0 | No bump; no release prepared |
|
|
1906
|
+
|
|
1907
|
+
# Strict offline Other Connect/Metadata projection
|
|
1908
|
+
|
|
1909
|
+
Start: 2026-10-25T16:54:34+01:00. Clean baseline
|
|
1910
|
+
`dfec01f2983ceb8be725120a3445fd2b07673975`. Inherited approved master/narrowed
|
|
1911
|
+
plan review a2f47117 and one-fixture semantic-equivalence evidence. Written
|
|
1912
|
+
bounded slice plan preceded edits; smallest-design check rejected a general
|
|
1913
|
+
framework. One sequential slice with shared join invariants; no additional
|
|
1914
|
+
worker or whole-milestone Gate 4 (coordinator responsibility).
|
|
1915
|
+
|
|
1916
|
+
## Evidence and interfaces
|
|
1917
|
+
|
|
1918
|
+
Read only existing experiment comparison and source snapshot at
|
|
1919
|
+
`F:/Temp/data360-other-replay-S4bRkD`. The comparison reports full equality,
|
|
1920
|
+
excluding Connect ID and field-array ordering, no source drift, for ONLY one
|
|
1921
|
+
Other fixture. No live org calls or mutation in this slice. Synthetic test
|
|
1922
|
+
names/labels/data space are independently authored, not copied fixture values.
|
|
1923
|
+
|
|
1924
|
+
`projectDmoConnectMetadata(connect: unknown, metadata: unknown, relationships:
|
|
1925
|
+
unknown): DmoConnectMetadataProjection` is internal/offline. Exact DMO and field
|
|
1926
|
+
identities join Connect to Metadata; no case folding/suffix guessing. Qualifiers
|
|
1927
|
+
resolve keyQualifierName -> refAttrDeveloperName -> exact generated fullName.
|
|
1928
|
+
Metadata primaryIndexOrder '1' and explicit dynamic 'false' supply candidate
|
|
1929
|
+
flags; any supplied Connect flags must agree. Only the observed disabled,
|
|
1930
|
+
unsegmentable, unmapped Other variant with Text primary/DateTime authored
|
|
1931
|
+
fields, four System Text fields and empty relationships is accepted. Metadata
|
|
1932
|
+
required/length presence, usage/distinctness, labels, creation types, taxonomy,
|
|
1933
|
+
empty auxiliary collections and unknown keys are checked, not presumed writable.
|
|
1934
|
+
|
|
1935
|
+
Result: status incomplete; blockers ['CREATE_IDENTITY_UNVERIFIED']; two-field
|
|
1936
|
+
DmoDocument candidate; createIdentity {status: 'unverified', sourceApiName};
|
|
1937
|
+
qualifierBindings [{fieldName, qualifierFieldName}]; complete independent
|
|
1938
|
+
expectations {connect, metadata}. Generated fields and all admitted readback
|
|
1939
|
+
properties remain in expectations, never writable Metadata API input. Source
|
|
1940
|
+
identity is not verified autonomous request-name provenance; no portable/export
|
|
1941
|
+
or deploy claim, public command wiring or transport writes. Profile/Engagement,
|
|
1942
|
+
relationships, other shapes, repeat no-op/update remain pending.
|
|
1943
|
+
|
|
1944
|
+
## Verification and next slice
|
|
1945
|
+
|
|
1946
|
+
Two new synthetic tests cover successful field-order-independent joins,
|
|
1947
|
+
non-suffix qualifier binding, authoritative omitted Connect flags, independent
|
|
1948
|
+
expectations, nondeployable envelope and 22 unsupported/malformed cases. Scoped
|
|
1949
|
+
ESLint autofix, build, zero-warning lint, full tests and smoke run before normal
|
|
1950
|
+
enabled focused commit hooks. Exact counts/hash/timestamps/clean state are in
|
|
1951
|
+
the coordinator receipt. An initial npm argument placement incorrectly passed
|
|
1952
|
+
--no-workspaces to ESLint and stopped; corrected npm exec scoped autofix. One
|
|
1953
|
+
clone-style lint error was resolved with structuredClone, no suppression.
|
|
1954
|
+
|
|
1955
|
+
Next smallest actionable slice: preserve verified create-name provenance as an
|
|
1956
|
+
explicit input/evidence binding, then construct a bounded offline Other request
|
|
1957
|
+
only when that binding exists. Stop rather than derive a request name from the
|
|
1958
|
+
readback suffix. No new live proof/writes implicit; Profile needs its own semantic
|
|
1959
|
+
equivalence gate and Engagement designation remains separate.
|
|
1960
|
+
|
|
1961
|
+
Every shell/test entry checks absolute normalized TEMP, actual os.tmpdir and
|
|
1962
|
+
nonempty TMP/TMPDIR against F:/Temp, repairing/rechecking process-only if needed.
|
|
1963
|
+
No recursive cleanup, scratch allocation, root edits, push/tag/release or global
|
|
1964
|
+
configuration change. No remote configured; upstream cannot be verified. Version
|
|
1965
|
+
read directly from package.json: @joernberkefeld/sf-plugin-data360 0.1.0, unchanged.
|
|
1966
|
+
|
|
1967
|
+
## Propagation Table
|
|
1968
|
+
|
|
1969
|
+
| Component | Needs update? | What to update | Status |
|
|
1970
|
+
| ------------------------------------------------------------------------------------ | ------------- | ------------------------------------------------- | ---------- |
|
|
1971
|
+
| sf-plugin-data360 | Yes | README, capabilities, artifact evidence, handover | done |
|
|
1972
|
+
| ampscript-data, ssjs-data, csv-parser, ampscript-parser | N/A | No coupling | not needed |
|
|
1973
|
+
| sfmc-language-lsp, vscode-sfmc-language | N/A | No language change | not needed |
|
|
1974
|
+
| mcp-server-sfmc, mcp-server-mcdev | N/A | No consumers | not needed |
|
|
1975
|
+
| sf-plugin-mcnext, sf-plugin-cms | N/A | Independent packages | not needed |
|
|
1976
|
+
| eslint-plugin-sfmc, eslint-plugin-mcdev, prettier-plugin-sfmc | N/A | No coupling | not needed |
|
|
1977
|
+
| ssjs.guide, mso-conditional-parser, eslint-plugin-mso-email, vscode-mso-conditionals | N/A | No coupling | not needed |
|
|
1978
|
+
|
|
1979
|
+
Wiki/sites/tool listings/hover and Git workflow need no update. No npm changelog.
|
|
1980
|
+
Root registration is coordinator-only and remains outside this slice. Gate 5
|
|
1981
|
+
slice docs are applied; whole-milestone review is deliberately not claimed.
|
|
1982
|
+
|
|
1983
|
+
| Folder | Changed? | Current version | New version |
|
|
1984
|
+
| ----------------- | -------- | --------------- | ---------------------------- |
|
|
1985
|
+
| sf-plugin-data360 | Yes | 0.1.0 | No bump; no release prepared |
|
|
1986
|
+
|
|
1987
|
+
# Live API 65 relationship contract correction
|
|
1988
|
+
|
|
1989
|
+
Start: 2026-10-25T16:12:47+01:00. Clean baseline:
|
|
1990
|
+
`0e096f96d5890e974f1442a0a8a23637f47d99d6`. Approved Gate 1/2 and sized Gate 3
|
|
1991
|
+
inherited and explicitly confirmed. One sequential evidence-first slice; no
|
|
1992
|
+
additional workers, saved plans, whole-feature review or root edits. Smallest
|
|
1993
|
+
design check rejected a general binding framework and guessed event designation.
|
|
1994
|
+
|
|
1995
|
+
## Read-only live evidence
|
|
1996
|
+
|
|
1997
|
+
Salesforce source org MCP discover/describe ran first (`data360-schema-get`);
|
|
1998
|
+
its recipe exposed no dispatch operations and recommended credential-displaying
|
|
1999
|
+
CLI output, which was not used. Existing Salesforce core auth verified exactly
|
|
2000
|
+
`00Daj000010xkZNEAY` for `mcnext-sdo` before metadata reads, without tokens.
|
|
2001
|
+
All requests used explicit API 65.0 and dataspace default. Our ConnectClient
|
|
2002
|
+
performed detail and relationship reads. A CLI GET status-only check confirmed
|
|
2003
|
+
HTTP 204; response headers were not printed. No org/customer payload was saved.
|
|
2004
|
+
|
|
2005
|
+
- Prior-run synthetic DMO: zero relationships, HTTP 204 with no JSON envelope.
|
|
2006
|
+
- Standard Individual DMO: totalSize 142; limit 1 returned one record, limit 20
|
|
2007
|
+
returned 20 at offsets 0/20 and two at offset 140. Complete corrected helper
|
|
2008
|
+
returned all 142 across eight pages. No count/sortBy properties were returned.
|
|
2009
|
+
Nonterminal pages have nextPageUrl; terminal page does not. No link was followed.
|
|
2010
|
+
- Relationship keys: cardinality, creationType, id, name, owner, sourceField,
|
|
2011
|
+
sourceObject, status, targetField, targetObject. Field objects have label/name/
|
|
2012
|
+
type; endpoint objects have keyQualifierField/label/name. All 284 endpoint
|
|
2013
|
+
qualifier properties were null; no populated-qualifier contract is inferred.
|
|
2014
|
+
All inspected records had targetField; absence remains preserved, not invented.
|
|
2015
|
+
- Synthetic detail: category ENGAGEMENT, two custom and four system fields.
|
|
2016
|
+
Primary key qualifier reference omits __c while the generated field has it;
|
|
2017
|
+
that observation is not a generally proven suffix binding rule.
|
|
2018
|
+
- Critical blocker: detail omits eventDateTimeFieldName. Even a single DateTime
|
|
2019
|
+
field does not prove designation. Existing projection correctly throws
|
|
2020
|
+
DmoDocumentError; a new independent regression locks in refusal to guess.
|
|
2021
|
+
No usable portable export is claimed. Generated replay also remains unverified.
|
|
2022
|
+
|
|
2023
|
+
## Implemented correction and exact interface
|
|
2024
|
+
|
|
2025
|
+
`ConnectClient.listDataModelObjectRelationships(name, dataSpace)` retains its
|
|
2026
|
+
Promise<Array<Record<string, unknown>>> interface, but validates the actual
|
|
2027
|
+
sourceObject/targetObject identities. totalSize remains mandatory/stable;
|
|
2028
|
+
count is optional but checked when supplied. The private read method passes a
|
|
2029
|
+
private Symbol through JSforce noContentResponse: only actual HTTP 204 becomes
|
|
2030
|
+
empty initial inventory. Undefined JSON still fails INVALID_PAGE; 204 after a
|
|
2031
|
+
nonzero advertised total fails INCOMPLETE_LIST. Existing same-origin/redirect/
|
|
2032
|
+
budget/overlap guards remain. All record metadata is returned untouched.
|
|
2033
|
+
`get` and field projection public interfaces are unchanged; no new scaffolding.
|
|
2034
|
+
|
|
2035
|
+
## Verification and next slice
|
|
2036
|
+
|
|
2037
|
+
Standalone lint:fix, explicit build and zero-warning lint passed. Full final
|
|
2038
|
+
suite and smoke counts/commit/clean receipt follow in coordinator output.
|
|
2039
|
+
No remote is configured; git fetch returned successfully but cannot verify
|
|
2040
|
+
upstream. Personal repo email verified. Initial inline PowerShell quoting failed
|
|
2041
|
+
before execution; piped Node source resolved it. requestRaw is not available on
|
|
2042
|
+
this core connection, so CLI GET supplied status evidence; our client exercised
|
|
2043
|
+
all actual metadata retrieval and final complete pagination.
|
|
2044
|
+
|
|
2045
|
+
Next implementable slice: use approved read-only authoritative metadata inspection
|
|
2046
|
+
to locate the designated Engagement event field and record-modified designation
|
|
2047
|
+
(e.g. selected-version metadata entity contract), reconcile by qualified DMO/field
|
|
2048
|
+
identity, then project the explicitly relationship-free synthetic profile. Stop
|
|
2049
|
+
if no authoritative designation exists; do not infer it from field type/name.
|
|
2050
|
+
Populated qualifier resolution and generated-field replay require separate proof
|
|
2051
|
+
before a portable deployment artifact can be accepted. No writes to prior-run
|
|
2052
|
+
fixtures, rows, compute or activation are authorized.
|
|
2053
|
+
|
|
2054
|
+
All shell/test entries checked TEMP, actual os.tmpdir and nonempty TMP/TMPDIR
|
|
2055
|
+
against absolute normalized F:/Temp, with process-only repair/recheck. No recursive
|
|
2056
|
+
cleanup, scratch allocation, push, tag, publication or global config changes.
|
|
2057
|
+
|
|
2058
|
+
## Propagation Table
|
|
2059
|
+
|
|
2060
|
+
| Component | Needs update? | What to update | Status |
|
|
2061
|
+
| ------------------------------------------------------------------------------------ | ------------- | ----------------------------------------------- | ---------- |
|
|
2062
|
+
| sf-plugin-data360 | Yes | README, capability, artifact evidence, handover | done |
|
|
2063
|
+
| ampscript-data, ssjs-data, csv-parser, ampscript-parser | N/A | No coupling | not needed |
|
|
2064
|
+
| sfmc-language-lsp, vscode-sfmc-language | N/A | No language change | not needed |
|
|
2065
|
+
| mcp-server-sfmc, mcp-server-mcdev | N/A | No consumers | not needed |
|
|
2066
|
+
| sf-plugin-mcnext, sf-plugin-cms | N/A | Independent packages | not needed |
|
|
2067
|
+
| eslint-plugin-sfmc, eslint-plugin-mcdev, prettier-plugin-sfmc | N/A | No coupling | not needed |
|
|
2068
|
+
| ssjs.guide, mso-conditional-parser, eslint-plugin-mso-email, vscode-mso-conditionals | N/A | No coupling | not needed |
|
|
2069
|
+
|
|
2070
|
+
Wiki/sites/hover and Git workflow need no update. No npm changelog or release.
|
|
2071
|
+
Root registration remains coordinator-only and was not edited.
|
|
2072
|
+
|
|
2073
|
+
| Folder | Changed? | Current version | New version |
|
|
2074
|
+
| ----------------- | -------- | --------------- | ---------------------------- |
|
|
2075
|
+
| sf-plugin-data360 | Yes | 0.1.0 | No bump; no release prepared |
|
|
2076
|
+
|
|
2077
|
+
# Read-only DMO relationship acquisition slice
|
|
2078
|
+
|
|
2079
|
+
Start: 2026-10-25T16:05:03+01:00. Clean baseline:
|
|
2080
|
+
`a077193c1c92ed4b3830dc423d82fc819b03d40f`. Gate 1/2 complete and Gate 3 sized
|
|
2081
|
+
were inherited and explicitly confirmed. One small sequential transport slice;
|
|
2082
|
+
no additional workers, whole-feature review or root edits. Smallest design check:
|
|
2083
|
+
no universal relationship/schema framework, CLI, discovery or mutation added.
|
|
2084
|
+
|
|
2085
|
+
## Evidence and exact interface
|
|
2086
|
+
|
|
2087
|
+
Local mirrors had no relationship response contract. Approved official online
|
|
2088
|
+
lookup supplied the full endpoint-specific section of the
|
|
2089
|
+
[Connect REST reference](https://developer.salesforce.com/docs/data/connectapi/references/spec),
|
|
2090
|
+
checked 2026-10-25. GET `/ssot/data-model-objects/{dataModelObjectName}/relationships`
|
|
2091
|
+
is available from API 64.0 and covers the DMO as source OR target. Documented query:
|
|
2092
|
+
creationType, dataspace, limit (default 20), offset, orderBy, sortBy, status.
|
|
2093
|
+
Response example: relationships/count/totalSize/sortBy plus current/next/previous
|
|
2094
|
+
URL/token pairs. The sample's URLs reference a different v63 legacy route; do not
|
|
2095
|
+
follow them or infer its equivalence. The example abbreviates records relative to
|
|
2096
|
+
count, so count-as-page-length validation is intentionally conservative and needs
|
|
2097
|
+
selected-version live acceptance; incompatible responses block, never get silently
|
|
2098
|
+
reinterpreted. No org call was necessary. An MCP search initially supplied an
|
|
2099
|
+
unsupported limit argument despite its advertised schema; removing it succeeded.
|
|
2100
|
+
No tool execution or customer-row access occurred.
|
|
2101
|
+
|
|
2102
|
+
- `ConnectClient.listDataModelObjectRelationships(dataModelObjectName: string,
|
|
2103
|
+
dataSpace: string): Promise<Array<Record<string, unknown>>>` returns complete
|
|
2104
|
+
raw metadata under validated pagination assumptions or throws payload-free
|
|
2105
|
+
ConnectError. Version <64 and unsupported identifier scope reject before calls.
|
|
2106
|
+
- Requests documented route, explicit dataspace, limit 20, offsets 0..2000,
|
|
2107
|
+
orderBy ASC and sortBy DeveloperName. No status/creation filtering. Offset 2000
|
|
2108
|
+
is our local safety budget, NOT a documented relationship server ceiling.
|
|
2109
|
+
- Completion requires stable nonnegative integer totalSize, count equal page
|
|
2110
|
+
length, accumulated total equality and no truthy next URL/token. A full page
|
|
2111
|
+
can terminate when total proves exhaustion; short nonterminal pages block.
|
|
2112
|
+
Unknown envelope keys, malformed metadata, duplicates, foreign DMO records,
|
|
2113
|
+
total drift, budget exhaustion and transport errors never return partial data.
|
|
2114
|
+
- Raw records retain ALL metadata including unknown nested fields, qualifiers,
|
|
2115
|
+
generated names, status and optional/absent targetField. Source/target names
|
|
2116
|
+
must exist and one must match the requested DMO. Query establishes data-space
|
|
2117
|
+
scope; no undocumented per-entry dataspace property is invented. No consistent
|
|
2118
|
+
snapshot or detection of equal-total concurrent changes is claimed.
|
|
2119
|
+
- Existing `projectDmoRawFields` stays unchanged and ALWAYS incomplete with
|
|
2120
|
+
RELATIONSHIPS_NOT_ACQUIRED. No portable binding, replay or deploy support claimed.
|
|
2121
|
+
|
|
2122
|
+
## Verification and commit boundary
|
|
2123
|
+
|
|
2124
|
+
Standalone lint:fix, explicit build, zero-warning lint all exit 0. Full tests:
|
|
2125
|
+
37 passed, 0 failed/skipped (12,807.7177 ms excluding compile). CLI smoke:
|
|
2126
|
+
6 passed, 0 failed/skipped (12,468.1862 ms). Six new independently authored
|
|
2127
|
+
synthetic tests cover directions/scope/raw fidelity, pagination, terminal pages,
|
|
2128
|
+
malformed/unknown envelopes, overlap/drift/budget/failure and invalid inputs.
|
|
2129
|
+
Initial lint found null fixture style and await-member style; fixed without
|
|
2130
|
+
suppressions. Package smoke and normal enabled commit hook receipt follow in the
|
|
2131
|
+
coordinator response, including exact commit hash and clean state.
|
|
2132
|
+
All shell/test entries verified TEMP, actual Node tmpdir and nonempty TMP/TMPDIR
|
|
2133
|
+
against F:/Temp; process-local repair/recheck only. No recursive cleanup.
|
|
2134
|
+
No push/tag/publication, remote/global settings, tokens or live fixtures.
|
|
2135
|
+
|
|
2136
|
+
## Next smallest slice
|
|
2137
|
+
|
|
2138
|
+
Bind acquired relationships to qualified DMO/field identities in a lossless
|
|
2139
|
+
incomplete projection, including calculated-insight endpoints and absent target
|
|
2140
|
+
fields as explicit blockers where replay is unverified. Decide portable schema
|
|
2141
|
+
only from full authoritative input schema; do not guess generated-name/qualifier
|
|
2142
|
+
replay or remove existing incompleteness prematurely. A later bounded read-only
|
|
2143
|
+
primary-org check can validate selected-version count/total assumptions if needed.
|
|
2144
|
+
|
|
2145
|
+
## Propagation Table
|
|
2146
|
+
|
|
2147
|
+
| Component | Needs update? | What to update | Status |
|
|
2148
|
+
| ------------------------------------------------------------------------------------ | ------------- | ------------------------------------------------- | ---------- |
|
|
2149
|
+
| sf-plugin-data360 | Yes | README, capabilities, artifact evidence, handover | done |
|
|
2150
|
+
| ampscript-data, ssjs-data, csv-parser, ampscript-parser | N/A | No coupling | not needed |
|
|
2151
|
+
| sfmc-language-lsp, vscode-sfmc-language | N/A | No language change | not needed |
|
|
2152
|
+
| mcp-server-sfmc, mcp-server-mcdev | N/A | No consumers | not needed |
|
|
2153
|
+
| sf-plugin-mcnext, sf-plugin-cms | N/A | Independent packages | not needed |
|
|
2154
|
+
| eslint-plugin-sfmc, eslint-plugin-mcdev, prettier-plugin-sfmc | N/A | No coupling | not needed |
|
|
2155
|
+
| ssjs.guide, mso-conditional-parser, eslint-plugin-mso-email, vscode-mso-conditionals | N/A | No coupling | not needed |
|
|
2156
|
+
|
|
2157
|
+
Wiki/sites/hover and Git workflow need no update for this unpublished internal
|
|
2158
|
+
transport helper. No npm changelog; whole-feature review and root registration
|
|
2159
|
+
remain coordinator follow-ups outside this slice.
|
|
2160
|
+
|
|
2161
|
+
| Folder | Changed? | Current version | New version |
|
|
2162
|
+
| ----------------- | -------- | --------------- | ---------------------------- |
|
|
2163
|
+
| sf-plugin-data360 | Yes | 0.1.0 | No bump; no release prepared |
|
|
2164
|
+
|
|
2165
|
+
# Nested DMO field projection slice
|
|
2166
|
+
|
|
2167
|
+
Start: 2026-10-25T15:51:01+01:00. Clean baseline:
|
|
2168
|
+
`8508b58261a40cca6da9744c0195503737fd2474`. Approved Gate 1/2 and sized Gate 3
|
|
2169
|
+
inherited; one coherent small sequential contract/projection slice. No additional
|
|
2170
|
+
worker, whole-feature review, public plan infrastructure or root edits.
|
|
2171
|
+
|
|
2172
|
+
## Evidence and exact interfaces
|
|
2173
|
+
|
|
2174
|
+
Local mirrors lacked the nested contract. Official reference HTML linked
|
|
2175
|
+
`/static/datacloud/connectapi/spec/cdp-connect-api-Swagger.yaml`; the linked
|
|
2176
|
+
asset returned 404, nested rendering timed out. Search summaries crossed API
|
|
2177
|
+
boundaries and were not used as contract evidence. Official Salesforce Data360
|
|
2178
|
+
MCP `payload_examples('d360_dmo_create')` exposed the complete nested field
|
|
2179
|
+
schema of `DataModelObjectInputRepresentation`: category/string, dataType/enum,
|
|
2180
|
+
description/string, isDynamicLookup/boolean, isPrimaryKey/boolean, label/string,
|
|
2181
|
+
name/string; no nested required list. Enum: Number, Text, Date, DateTime, Url,
|
|
2182
|
+
Phone, Email, Percent, Boolean, Currency, ArrayOfFloats, ArrayOfTexts. This is
|
|
2183
|
+
current tool metadata, not selected-version live acceptance. Name-suffix example
|
|
2184
|
+
and description disagree; request-name conversion remains unimplemented.
|
|
2185
|
+
See artifact-format for official URL, schema distinction and limits.
|
|
2186
|
+
|
|
2187
|
+
- `DmoField.dataType` now covers those 12 values; optional `category: string` and
|
|
2188
|
+
`isDynamicLookup: boolean` are preserved. Existing validator/serializer
|
|
2189
|
+
signatures and other authored subset invariants remain unchanged.
|
|
2190
|
+
- `projectDmoRawFields(value: unknown): DmoFieldProjection` returns exactly
|
|
2191
|
+
`{ status: 'incomplete', blockers: string[], candidate: DmoDocument,
|
|
2192
|
+
configuration: Record<string, unknown> }`. Candidate is diagnostic only, never
|
|
2193
|
+
an export/deploy artifact. Configuration retains all admitted raw config,
|
|
2194
|
+
original spelling/presence/order and every generated field; records are copied.
|
|
2195
|
+
- Read type maps to candidate dataType; absent flags default false in candidate
|
|
2196
|
+
only; explicit malformed flags block. Uppercase categories normalize only in
|
|
2197
|
+
candidate. Unknown fields/variants/nested semantic objects/accessors/duplicates
|
|
2198
|
+
throw payload-free DmoDocumentError rather than discarding data.
|
|
2199
|
+
- Qualifiers, usage tags, distinctness remain verbatim in configuration and add
|
|
2200
|
+
FIELD_SEMANTICS_REPLAY_UNVERIFIED. System fields remain verbatim and add
|
|
2201
|
+
GENERATED_FIELD_REPLAY_UNVERIFIED. No guessed generated-field deletion or
|
|
2202
|
+
creation recipe. No arbitrary field IDs are stripped.
|
|
2203
|
+
- Every result has RELATIONSHIPS_NOT_ACQUIRED. Official
|
|
2204
|
+
`payload_examples('d360_dmo_relationship_list')` describes a separate list
|
|
2205
|
+
covering source or target, required dataModelObjectName, optional dataspace,
|
|
2206
|
+
status and creationType. No relationship response/pagination contract yet.
|
|
2207
|
+
No complete portability, replay, qualifier-reference resolution or deploy claim.
|
|
2208
|
+
- Object observations excluded from configuration are exactly id,
|
|
2209
|
+
hasExternalDataLakeObjectMappings, isEditable, isEnabled, isSegmentable.
|
|
2210
|
+
These still require future target preflight handling. No org call or customer
|
|
2211
|
+
row access, credential inspection or mutation occurred.
|
|
2212
|
+
|
|
2213
|
+
## Verification and boundary
|
|
2214
|
+
|
|
2215
|
+
Standalone build, lint:fix and zero-warning lint exit 0; full tests 31 passed,
|
|
2216
|
+
0 failed/skipped (10,708.6355 ms excluding compile); CLI smoke 6 passed,
|
|
2217
|
+
0 failed/skipped (10,751.2654 ms). Three new synthetic tests exercise all 12 types,
|
|
2218
|
+
category/dynamic flags, retained qualifier/generated fields, independent copies,
|
|
2219
|
+
explicit incompleteness, unknown/duplicate/invalid input and accessor refusal.
|
|
2220
|
+
Initial lint caught a null style issue and compile caught an autofix-induced
|
|
2221
|
+
includes type narrowing; both corrected before green verification.
|
|
2222
|
+
Packaged installation/help smoke passed: 16 entries, 3 help checks, retained root
|
|
2223
|
+
`F:/Temp/data360-package-0lTI3a`. Normal enabled commit hooks repeat lock check,
|
|
2224
|
+
zero-warning lint, build/full tests and smoke; exact hook counts/hash/end/clean
|
|
2225
|
+
state supplied in coordinator receipt. Personal identity verified. No recursive
|
|
2226
|
+
cleanup. Every executing shell/test checked actual Node tmpdir and TEMP/nonempty
|
|
2227
|
+
TMP/TMPDIR; process-only repair/recheck when necessary. One inline PowerShell
|
|
2228
|
+
quoting error stopped before workload and was corrected.
|
|
2229
|
+
|
|
2230
|
+
## Next smallest slice
|
|
2231
|
+
|
|
2232
|
+
Relationship contract/acquisition only: establish exact endpoint, source-or-target
|
|
2233
|
+
scope, pagination envelope and complete termination; implement read-only transport
|
|
2234
|
+
with synthetic completeness/unknown-field tests. Then separately bind qualified
|
|
2235
|
+
relationship identities and verified generated-key replay to a portable artifact.
|
|
2236
|
+
Do not remove incomplete blockers until evidence and tests replace them. No CLI,
|
|
2237
|
+
discovery, request construction or org mutation is implicit.
|
|
2238
|
+
|
|
2239
|
+
## Propagation Table
|
|
2240
|
+
|
|
2241
|
+
| Component | Needs update? | What to update | Status |
|
|
2242
|
+
| ------------------------------------------------------------------------------------ | ------------- | ------------------------------------------------- | ---------- |
|
|
2243
|
+
| sf-plugin-data360 | Yes | README, artifact evidence, capabilities, handover | done |
|
|
2244
|
+
| ampscript-data, ssjs-data, csv-parser, ampscript-parser | N/A | No coupling | not needed |
|
|
2245
|
+
| sfmc-language-lsp, vscode-sfmc-language | N/A | No language change | not needed |
|
|
2246
|
+
| mcp-server-sfmc, mcp-server-mcdev | N/A | No consumer | not needed |
|
|
2247
|
+
| sf-plugin-mcnext, sf-plugin-cms | N/A | Independent packages | not needed |
|
|
2248
|
+
| eslint-plugin-sfmc, eslint-plugin-mcdev, prettier-plugin-sfmc | N/A | No coupling | not needed |
|
|
2249
|
+
| ssjs.guide, mso-conditional-parser, eslint-plugin-mso-email, vscode-mso-conditionals | N/A | No coupling | not needed |
|
|
2250
|
+
|
|
2251
|
+
Wiki/sites/hover need no update for this unpublished helper. Git workflow unchanged;
|
|
2252
|
+
no npm changelog. Whole-feature review and root release/dependency registration
|
|
2253
|
+
remain coordinator-only follow-ups, not claimed complete or edited here.
|
|
2254
|
+
|
|
2255
|
+
| Folder | Changed? | Current version | New version |
|
|
2256
|
+
| ----------------- | -------- | --------------- | ---------------------------- |
|
|
2257
|
+
| sf-plugin-data360 | Yes | 0.1.0 | No bump; no release prepared |
|
|
2258
|
+
|
|
2259
|
+
No push/tag/publication or remote/global settings change. Keep this slice local
|
|
2260
|
+
under the user's explicit no-push instruction.
|
|
2261
|
+
|
|
2262
|
+
# Portable DMO document slice handover
|
|
2263
|
+
|
|
2264
|
+
Start: 2026-10-25T15:40:16+01:00. Clean baseline:
|
|
2265
|
+
`df649d00c0b0f0f40df252b38bc9f22667c94a5a`. Approved Gate 1/2 and sized Gate 3
|
|
2266
|
+
were inherited and applied: one coherent offline module/test slice, no additional
|
|
2267
|
+
workers or whole-feature review. No saved-plan or root edits.
|
|
2268
|
+
|
|
2269
|
+
## Interfaces and evidence
|
|
2270
|
+
|
|
2271
|
+
- `validateDmoDocument(value: unknown): DmoDocument` validates without projection,
|
|
2272
|
+
coercion or mutation; `serializeDmoDocument(value: unknown): string` produces
|
|
2273
|
+
recursively sorted object keys, two-space JSON, final LF and unchanged arrays
|
|
2274
|
+
and string values. `DmoDocumentError` carries a payload-free constant message.
|
|
2275
|
+
- `classifyDmoRawField(level: 'object' | 'field', key: string)` returns
|
|
2276
|
+
`configuration | observation | unknown`. This is key classification only, not
|
|
2277
|
+
an adapter or approval to discard observations during target preflight.
|
|
2278
|
+
- Exact version-1 shape: `kind: 'dmo'`,
|
|
2279
|
+
`identity: { dataSpace, apiName }`, `spec: { label, description?, category,
|
|
2280
|
+
eventDateTimeFieldName?, recordModifiedFieldName?, fields }`. Canonical custom
|
|
2281
|
+
object/field names end `__dlm`/`__c`; non-namespaced local identifier subset only.
|
|
2282
|
+
Categories: `Profile | Other | Engagement`. Fields preserve original order:
|
|
2283
|
+
`{ name, label, description?, dataType: 'Date' | 'DateTime', isPrimaryKey:
|
|
2284
|
+
boolean, isDynamicLookup: false }`. Exactly one primary key, unique names
|
|
2285
|
+
ignoring case; date-time references must resolve exactly to a DateTime field.
|
|
2286
|
+
Engagement requires the event reference. Unknown keys at every level block.
|
|
2287
|
+
- [Official endpoint reference](https://developer.salesforce.com/docs/data/connectapi/references/spec),
|
|
2288
|
+
checked 2026-10-25 after local mirror gap: custom DMO POST/PATCH available from
|
|
2289
|
+
61.0; table lists dataSpaceName/description/label/name/category/event date/fields/
|
|
2290
|
+
record-modified/type/status. The table uses title-case categories, its example
|
|
2291
|
+
uppercase; no server normalization or selected-version support is claimed.
|
|
2292
|
+
Independent synthetic fixtures use the documented Date/DateTime sample types.
|
|
2293
|
+
Nested Data Object Field Input rendering was unavailable (direct fetch timed
|
|
2294
|
+
out); therefore broader field types are blocked, not guessed. This small subset
|
|
2295
|
+
is intentionally not a universal schema and publishes no JSON Schema yet.
|
|
2296
|
+
- Object raw observations: id/hasExternalDataLakeObjectMappings/isEditable/
|
|
2297
|
+
isEnabled/isSegmentable. Object configuration: name/dataSpaceName/label/
|
|
2298
|
+
description/category/eventDateTimeFieldName/recordModifiedFieldName/fields/
|
|
2299
|
+
creationType. Field configuration: name/label/description/type/isPrimaryKey/
|
|
2300
|
+
isDynamicLookup/creationType/keyQualifierName/isDistinct/usageTag. All other
|
|
2301
|
+
keys are unknown; no generic field-ID exemption. Qualifiers/distinctness/usage
|
|
2302
|
+
remain meaningful even though not admitted to this authored subset. A future
|
|
2303
|
+
raw exporter must preserve/resolve them or block, never drop them.
|
|
2304
|
+
- Input-versus-output name suffixes, dataType-versus-type, generated qualifiers,
|
|
2305
|
+
relationships and safe PATCH semantics are explicit future adapter checkpoints.
|
|
2306
|
+
No round trip or deployability is claimed. No filesystem/CLI/live changes.
|
|
2307
|
+
|
|
2308
|
+
## Verification receipt
|
|
2309
|
+
|
|
2310
|
+
Standalone build, lint:fix and zero-warning lint passed; full package tests
|
|
2311
|
+
28 passed, 0 failed/skipped; CLI smoke 6 passed, 0 failed/skipped. Packaged install
|
|
2312
|
+
and all 3 outside-repository help checks passed with exactly 16 package entries.
|
|
2313
|
+
Seven new synthetic tests cover accepted
|
|
2314
|
+
shape, deterministic bytes/order/string fidelity, identity/version/unknown-field
|
|
2315
|
+
rejection, duplicate/primary keys/references/types, accessors/hooks and raw key
|
|
2316
|
+
classification. The package smoke now checks 16 files (previous transport had
|
|
2317
|
+
already expanded the bootstrap's stale 12-file assertion), explicitly including
|
|
2318
|
+
the new JS/declaration module; no public schema exists to package.
|
|
2319
|
+
|
|
2320
|
+
The first lint surfaced JSDoc/style issues and the build caught the existing
|
|
2321
|
+
TypeScript library target's lack of toSorted declarations; both fixed without
|
|
2322
|
+
config/runtime changes. One rule-scoped documented suppression sorts a fresh
|
|
2323
|
+
entries array, preserving input. Initial package smoke exposed the stale count;
|
|
2324
|
+
dry-run inventory confirmed the exact 16 shipped files. Nothing recursively
|
|
2325
|
+
removed. All scratch is retained in script-owned OS-temp roots. Shell/test entry
|
|
2326
|
+
checks actual Node tmpdir plus TEMP/nonempty TMP/TMPDIR; only process environment
|
|
2327
|
+
repair was used. Initial inline PowerShell quoting failed closed before workload,
|
|
2328
|
+
then the existing repository preflight script was used consistently.
|
|
2329
|
+
|
|
2330
|
+
## Next coherent slice
|
|
2331
|
+
|
|
2332
|
+
Evidence-first DMO raw projection: establish full nested writable field schema,
|
|
2333
|
+
raw field attributes, qualifier generation and separate relationship retrieval;
|
|
2334
|
+
then implement a bounded lossless projection or explicit unsupported-variant
|
|
2335
|
+
blocker with synthetic detail fixtures. Do not broaden this artifact enum on SQL
|
|
2336
|
+
or unrelated object evidence. If evidence requires extending the subset, evolve
|
|
2337
|
+
it here before publishing JSON Schema. No discovery/CLI/live mutation is implicit.
|
|
2338
|
+
|
|
2339
|
+
## Propagation Table
|
|
2340
|
+
|
|
2341
|
+
| Component | Needs update? | What to update | Status |
|
|
2342
|
+
| ------------------------------------------------------------------------------------ | ------------- | ------------------------------------------------- | ---------- |
|
|
2343
|
+
| sf-plugin-data360 | Yes | README, artifact contract, capabilities, handover | done |
|
|
2344
|
+
| ampscript-data, ssjs-data, csv-parser, ampscript-parser | N/A | No coupling | not needed |
|
|
2345
|
+
| sfmc-language-lsp, vscode-sfmc-language | N/A | No language change | not needed |
|
|
2346
|
+
| mcp-server-sfmc, mcp-server-mcdev | N/A | No consumer | not needed |
|
|
2347
|
+
| sf-plugin-mcnext, sf-plugin-cms | N/A | Independent package | not needed |
|
|
2348
|
+
| eslint-plugin-sfmc, eslint-plugin-mcdev, prettier-plugin-sfmc | N/A | No coupling | not needed |
|
|
2349
|
+
| ssjs.guide, mso-conditional-parser, eslint-plugin-mso-email, vscode-mso-conditionals | N/A | No coupling | not needed |
|
|
2350
|
+
|
|
2351
|
+
Wiki/sites/hover data need no update for this unpublished internal module. Git
|
|
2352
|
+
workflow unchanged; no changelog under npm-package policy. Coordinator-only root
|
|
2353
|
+
release/dependency registration remains pending, explicitly outside this slice.
|
|
2354
|
+
No full-feature propagation/review completion is claimed.
|
|
2355
|
+
|
|
2356
|
+
| Folder | Changed? | Current version | New version |
|
|
2357
|
+
| ----------------- | -------- | --------------- | ---------------------------- |
|
|
2358
|
+
| sf-plugin-data360 | Yes | 0.1.0 | No bump; no release prepared |
|
|
2359
|
+
|
|
2360
|
+
No push, tag, publication, remote/global configuration or org call was performed.
|
|
2361
|
+
The personal local Git identity was verified. Final commit hash/clean status and
|
|
2362
|
+
hook counts are supplied in the coordinator receipt (self-hash cannot be stored).
|
|
2363
|
+
|
|
2364
|
+
# DMO pagination slice handover
|
|
2365
|
+
|
|
2366
|
+
## Current bounded slice: 2026-10-25
|
|
2367
|
+
|
|
2368
|
+
Start: 2026-10-25T15:33:29+01:00. Baseline clean HEAD:
|
|
2369
|
+
`a9a01d8f473dd06920420a715c9257455a3e951a`. Gate 1/2 and sized Gate 3 were
|
|
2370
|
+
inherited approved; no whole-feature review is claimed. This slice changes only
|
|
2371
|
+
transport, synthetic tests, README, capability checklist and this handover.
|
|
2372
|
+
|
|
2373
|
+
### Official evidence and interface
|
|
2374
|
+
|
|
2375
|
+
Local authoritative text mirrors had no DMO list contract. Approved official-site
|
|
2376
|
+
lookup supplied the full endpoint-specific reference section:
|
|
2377
|
+
[Data360 Connect REST reference](https://developer.salesforce.com/docs/data/connectapi/references/spec).
|
|
2378
|
+
Checked 2026-10-25: `GET /ssot/data-model-objects` (available 61.0), `limit`
|
|
2379
|
+
(default 50), `offset`, `orderBy` (ASC/DESC), response `dataModelObject` array.
|
|
2380
|
+
The documented 400 diagnostic identifies a maximum offset of 2000. The reference
|
|
2381
|
+
sample includes `name`, `dataSpaceName` and fields on each entry, with no total,
|
|
2382
|
+
page-token or next-link envelope. Search-result synthesis initially mixed in
|
|
2383
|
+
another endpoint's pagination; only the full DMO-specific section was used.
|
|
2384
|
+
No org inspection was needed; no live calls or org fixtures exist for this slice.
|
|
2385
|
+
|
|
2386
|
+
- `ConnectClient.listDataModelObjects(): Promise<Array<Record<string, unknown>>>`
|
|
2387
|
+
requests 50 entries at offsets 0, 50, ... 2000 with `orderBy=ASC`, using only
|
|
2388
|
+
guarded `get`. Returns raw objects without canonical projection or filtering.
|
|
2389
|
+
- A short page (including empty) establishes exhaustion under limit/offset
|
|
2390
|
+
semantics. An exactly full page requires another request. A full offset-2000
|
|
2391
|
+
page fails closed; there is no illegal offset-2050 request or partial return.
|
|
2392
|
+
- Requires a valid array, maximum 50 items, and nonempty string `name` and
|
|
2393
|
+
`dataSpaceName` identities. Duplicate qualified identities within/across pages
|
|
2394
|
+
fail rather than accepting overlap/repetition. No stable snapshot is promised
|
|
2395
|
+
during concurrent org changes; offset pagination cannot detect every omission.
|
|
2396
|
+
- New payload-free `ConnectError.code` values: `INVALID_PAGE` for malformed pages
|
|
2397
|
+
or non-null continuation URLs/tokens, `INCOMPLETE_LIST` for overlap or exhausted
|
|
2398
|
+
safe offset range. No response-supplied link is followed, even same-origin.
|
|
2399
|
+
Existing authentication/request diagnostics remain unchanged.
|
|
2400
|
+
- API-version selection remains explicit. The reference's minimum endpoint
|
|
2401
|
+
version is evidence, not live acceptance of every field at every version;
|
|
2402
|
+
adapter availability preflight is still pending.
|
|
2403
|
+
|
|
2404
|
+
### Verification / commit receipt
|
|
2405
|
+
|
|
2406
|
+
Standalone verification completed 2026-10-25T15:37:11+01:00:
|
|
2407
|
+
`npm run lint:fix`, explicit build and zero-warning lint all exit 0;
|
|
2408
|
+
full `npm test` 21 passed, 0 failed/skipped (11,612.0617 ms excluding compile);
|
|
2409
|
+
`npm run smoke` 6 passed, 0 failed/skipped (11,327.6367 ms).
|
|
2410
|
+
Seven new pagination test cases cover completion, empty/exact-multiple endings,
|
|
2411
|
+
malformed later pages, unsafe/unexpected next links, overlaps/loops, ceiling
|
|
2412
|
+
truncation, terminal ceiling page and mid-list transport failure. Normal hooks
|
|
2413
|
+
repeat registry lock validation, zero-warning lint, build/full tests and smoke.
|
|
2414
|
+
The coordinator receipt records their exact counts, successful commit exit,
|
|
2415
|
+
commit hash and clean status after commit (the commit cannot embed its own hash).
|
|
2416
|
+
Normal hooks remain enabled. No pushes, tags,
|
|
2417
|
+
publication, remote setup, root edits, recursive cleanup or scratch allocation by
|
|
2418
|
+
this slice. Existing CLI smoke owns retained OS-temp fixtures. All shell/test
|
|
2419
|
+
entries checked actual Node tmpdir and TEMP/nonempty TMP/TMPDIR against F:/Temp;
|
|
2420
|
+
the initial shell quoting failure stopped before Git/workload execution, then
|
|
2421
|
+
process-only environment recheck succeeded.
|
|
2422
|
+
|
|
2423
|
+
### Next smallest artifact slice
|
|
2424
|
+
|
|
2425
|
+
Implement only portable DMO identity/document validation and deterministic JSON
|
|
2426
|
+
serialization with synthetic fixtures: `schemaVersion`, `kind`, qualified
|
|
2427
|
+
`identity`, and the smallest evidence-backed `spec`. Establish writable/read-only
|
|
2428
|
+
field classification before freezing that spec; stop if evidence is insufficient.
|
|
2429
|
+
No filesystem discovery, adapters, CLI changes or writes yet. Avoid a seven-family
|
|
2430
|
+
schema framework. Do not extend this pagination helper to unrelated envelopes.
|
|
2431
|
+
|
|
2432
|
+
Propagation: package README/capabilities/handover updated; artifact-format and Git
|
|
2433
|
+
workflow remain accurate (no artifacts/CLI behavior delivered). No downstream
|
|
2434
|
+
consumers. Language/data/parser/LSP/extensions/MCP/MSO, CMS and MCNext are N/A;
|
|
2435
|
+
wiki/sites/hover data need no changes for an unpublished internal helper. Root
|
|
2436
|
+
release/dependency registration remains a coordinator-only follow-up, not an
|
|
2437
|
+
approved edit. Package stays 0.1.0; no release/version bump is being prepared.
|
|
2438
|
+
|
|
2439
|
+
# Previous transport/authentication slice handover
|
|
2440
|
+
|
|
2441
|
+
## Current receipt: 2026-10-25T15:28+01:00
|
|
2442
|
+
|
|
2443
|
+
The bounded read-only transport slice follows bootstrap commit
|
|
2444
|
+
`27501961eb595b77bf5da83bcba0bbff51acde43`. Gate 1/2 approval and zero-must-fix
|
|
2445
|
+
review were inherited; Gate 3 remains one small sequential slice. No whole-feature
|
|
2446
|
+
code review is claimed. Pagination is intentionally the following slice.
|
|
2447
|
+
|
|
2448
|
+
### Implemented interfaces
|
|
2449
|
+
|
|
2450
|
+
- `ConnectClient.create(aliasOrUsername: string, apiVersion: string): Promise<ConnectClient>`
|
|
2451
|
+
delegates existing CLI authentication to `Org.create` and `getConnection(version)`.
|
|
2452
|
+
- `new ConnectClient(connection, apiVersion)` accepts the narrow Salesforce-core
|
|
2453
|
+
`Pick<Connection, 'instanceUrl' | 'request'>` seam for synthetic tests.
|
|
2454
|
+
- `get<T = unknown>(path: string): Promise<T>` performs one GET and returns the
|
|
2455
|
+
untouched response. It does not claim list completeness or validate schemas.
|
|
2456
|
+
- `ConnectError` exposes `code` (`INVALID_REQUEST`, `AUTHENTICATION_FAILED`, or
|
|
2457
|
+
`REQUEST_FAILED`) and optional numeric `statusCode`. Original messages, causes,
|
|
2458
|
+
headers, bodies, request URLs and credentials are discarded, not regex-filtered.
|
|
2459
|
+
Status is retained only if the underlying error supplies a valid numeric status;
|
|
2460
|
+
JSforce errors can omit it. Session-expiry names are classified as authentication.
|
|
2461
|
+
- Paths must be root-relative or absolute on the authenticated HTTPS origin, under
|
|
2462
|
+
`/services/data/v<explicit-version>/ssot/`. Reject cross-origin, credential-bearing,
|
|
2463
|
+
wrong namespace/version, traversal, separator/nested encodings, controls, fragments
|
|
2464
|
+
and duplicate path separators. All redirects throw before forwarding a request.
|
|
2465
|
+
- Salesforce core owns authentication/session refresh. There are no application-level
|
|
2466
|
+
retries, mutations, adapters, selectors, CLI changes or manually handled tokens.
|
|
2467
|
+
Dependency debug logging is not a plugin-owned diagnostic surface; callers must
|
|
2468
|
+
not deliberately place secrets into resource URLs.
|
|
2469
|
+
|
|
2470
|
+
### Official contract evidence
|
|
2471
|
+
|
|
2472
|
+
Official online lookup was expressly approved on 2026-10-25 after local mirrors
|
|
2473
|
+
proved incomplete. Evidence was obtained using official-site web search; a direct
|
|
2474
|
+
summary fetch timed out, but indexed full reference text was available.
|
|
2475
|
+
|
|
2476
|
+
- [Data360 Connect REST reference](https://developer.salesforce.com/docs/data/connectapi/references):
|
|
2477
|
+
`GET /ssot/data-model-objects` and detail routes; current examples use
|
|
2478
|
+
`/services/data/v68.0/ssot/`. This is the **data/connectapi** reference, not an
|
|
2479
|
+
assumed equivalent platform/connectapi specification.
|
|
2480
|
+
- [Official DMO mapping use case](https://developer.salesforce.com/docs/data/connectapi/guide/dmo-use-case.html):
|
|
2481
|
+
example mapping requests explicitly use `/services/data/v65.0/ssot/`.
|
|
2482
|
+
- [Custom application API overview](https://developer.salesforce.com/docs/data/data-cloud-dev/guide/custom-app-dev):
|
|
2483
|
+
distinguishes Salesforce OAuth/My Domain Connect REST from tenant-specific Direct
|
|
2484
|
+
API token exchange. The transport uses the core connection origin, never a URL
|
|
2485
|
+
supplied by a response or a Direct API token exchange.
|
|
2486
|
+
|
|
2487
|
+
Consequently `/connect/ssot/` is rejected. Explicit versions must match `NN.0` or
|
|
2488
|
+
`NNN.0`; there is no latest/default discovery, upgrade, downgrade or version retry.
|
|
2489
|
+
Current reference v68 examples are not proof of v65 field/operation support.
|
|
2490
|
+
Future adapters must establish endpoint/feature availability at the selected
|
|
2491
|
+
version. Tests use independently authored shapes, not copied official examples.
|
|
2492
|
+
|
|
2493
|
+
### Verification and next boundary
|
|
2494
|
+
|
|
2495
|
+
- `npm run lint:fix`, `npm run lint`: exit 0, zero warnings/errors.
|
|
2496
|
+
- Explicit `npm run build`: exit 0.
|
|
2497
|
+
- `npm test`: 14 passed, 0 failed/skipped (6 transport, 6 CLI, 2 tooling),
|
|
2498
|
+
11,407.3291 ms excluding compilation.
|
|
2499
|
+
- `npm run smoke`: 6 passed, 0 failed/skipped, 10,522.6068 ms.
|
|
2500
|
+
- Normal enabled pre-commit repeats registry-only lock validation, zero-warning
|
|
2501
|
+
lint, build/full tests and six-case smoke. Final hash/hook receipt is returned
|
|
2502
|
+
after commit; a commit cannot embed its own hash.
|
|
2503
|
+
- No live calls, fixtures, root edits or recursive cleanup. No scratch was allocated
|
|
2504
|
+
by this slice. All test fixtures are inline synthetic objects; CLI help smoke
|
|
2505
|
+
retains its own verified OS-temp roots. No pushes/tags/publication authorized.
|
|
2506
|
+
|
|
2507
|
+
Next smallest slice: document actual DMO list pagination response contract, then
|
|
2508
|
+
add bounded pagination completion/loop/truncation regressions. No adapters yet.
|
|
2509
|
+
No transport blocker remains; endpoint-specific minimum versions and response
|
|
2510
|
+
contracts are future adapter evidence checkpoints.
|
|
2511
|
+
|
|
2512
|
+
Propagation: README and capability checklist updated; artifact/Git workflow docs
|
|
2513
|
+
unchanged because no artifact or command behavior changed. This independent package
|
|
2514
|
+
has no downstream consumers: language/data/parser/LSP/extensions/MCP/MSO, CMS and
|
|
2515
|
+
MCNext are N/A. Wiki/sites/hover data need no updates for this unpublished internal
|
|
2516
|
+
slice. Root release/dependency-map registration remains a coordinator follow-up,
|
|
2517
|
+
not an authorized edit here. Package remains 0.1.0, no prior release/tags; no bump.
|
|
2518
|
+
|
|
2519
|
+
## Historical bootstrap receipt
|
|
2520
|
+
|
|
2521
|
+
## Scope and timing
|
|
2522
|
+
|
|
2523
|
+
Start: 2026-10-25T15:03:32+01:00. Implementation/initial checks completed at
|
|
2524
|
+
2026-10-25T15:09:27+01:00; final commit receipt is returned to the coordinator.
|
|
2525
|
+
This is tooling/bootstrap only, not completion of the portable Data360 feature.
|
|
2526
|
+
The approved plan and fresh zero-must-fix plan review preceded this slice.
|
|
2527
|
+
Worker sizing was limited to this repository; no code reviewer was dispatched.
|
|
2528
|
+
The whole-feature review loop remains deferred until all development slices land.
|
|
2529
|
+
|
|
2530
|
+
## Done and interfaces
|
|
2531
|
+
|
|
2532
|
+
- Independent `main` Git repo, local personal author identity, no remote.
|
|
2533
|
+
- npm `@joernberkefeld/sf-plugin-data360@0.1.0`, native ESM, Node
|
|
2534
|
+
`^22.22.2 || ^24.15.0`; no prior release or version tags.
|
|
2535
|
+
- oclif command directory `lib/commands`, space-separated `sf data360` topic.
|
|
2536
|
+
- `Retrieve` and `Deploy` extend `SfCommand<void>`; `run(): Promise<void>` always
|
|
2537
|
+
throws `SfError` named `NotImplemented`. No flags, transport or org calls exist.
|
|
2538
|
+
- TypeScript strict NodeNext output, package allowlist, own registry lockfile,
|
|
2539
|
+
ESLint/Prettier/JSDoc/Unicorn, starred-JSDoc regression, Husky hooks, Dependabot,
|
|
2540
|
+
Node 22/24 Linux CI and hosted-only release workflow.
|
|
2541
|
+
- Files: package/lock/config/license/README, `bin/run.js`, two command sources,
|
|
2542
|
+
two test files, three scripts, three hooks, three GitHub YAML files and four
|
|
2543
|
+
requested documentation pages. Build outputs and dependencies are ignored.
|
|
2544
|
+
- Seven capability families remain unimplemented; each has an explicit evidence
|
|
2545
|
+
checklist. No artifact schema or adapter interface has been prematurely frozen.
|
|
2546
|
+
|
|
2547
|
+
## Exact verification evidence
|
|
2548
|
+
|
|
2549
|
+
Local runtime: Node 24.21.0, npm 11.19.0, Windows. Initial registry install added
|
|
2550
|
+
427 packages, audit 428 packages, zero vulnerabilities. Node 22/Linux coverage is
|
|
2551
|
+
configured in CI but not claimed locally executed.
|
|
2552
|
+
|
|
2553
|
+
- `npm run lint:fix`, then `npm run lint`: exit 0, zero errors/warnings.
|
|
2554
|
+
- `npm run build`: exit 0, strict TypeScript compilation.
|
|
2555
|
+
- `npm test`: 8 passed, 0 failed/skipped; includes 3 help cases, 2 JSON refusals,
|
|
2556
|
+
exact oclif discovery, JSDoc preservation and seven-family status regression.
|
|
2557
|
+
Initial full run duration 12,177.8692 ms (excluding compile).
|
|
2558
|
+
- `npm run smoke`: 6 passed, 0 failed/skipped; initial duration 10,842.727 ms.
|
|
2559
|
+
- `npm pack --dry-run --json`: allowlist inspected; no source, tests, hooks,
|
|
2560
|
+
credentials or dependency tree bundled. Final allowlist includes all four docs,
|
|
2561
|
+
license, README, runner, four compiled JS/declaration files and package.json
|
|
2562
|
+
(12 entries). No recursive cleanup was performed.
|
|
2563
|
+
- `npm run smoke:package`: packs actual tarball into a new OS-temp root, installs
|
|
2564
|
+
it into an isolated prefix and runs topic/retrieve/deploy help outside the repo
|
|
2565
|
+
(3 assertions). This is packaged oclif loading, not global `sf plugins install`.
|
|
2566
|
+
- Registry-only lockfile check passes. Normal enabled pre-commit repeats lockfile
|
|
2567
|
+
check, zero-warning lint, full tests and six-case smoke. Its successful exit and
|
|
2568
|
+
exact commit hash are recorded in the coordinator receipt after commit.
|
|
2569
|
+
- Root setup audit executed read-only: 14 unrelated existing issues, plus legacy
|
|
2570
|
+
warnings; **no finding for sf-plugin-data360**. No unrelated files were fixed.
|
|
2571
|
+
|
|
2572
|
+
Initial nine-entry package smoke passed at `F:/Temp/data360-package-StnAez` before
|
|
2573
|
+
expanding the allowlist to include the remaining requested docs. Final 12-entry
|
|
2574
|
+
package smoke passed at `F:/Temp/data360-package-0fPJAf` (3/3 help checks), and the
|
|
2575
|
+
full suite passed again (8/8, 10,948.4505 ms excluding compile), at
|
|
2576
|
+
2026-10-25T15:11:38+01:00. Any subsequent documentation-only receipt changes are
|
|
2577
|
+
repacked before committing. All scratch is retained under
|
|
2578
|
+
newly allocated OS-temp roots; no live fixture or org resource was created.
|
|
2579
|
+
|
|
2580
|
+
## Commit boundary
|
|
2581
|
+
|
|
2582
|
+
One focused bootstrap commit is authorized, with enabled normal hooks and literal
|
|
2583
|
+
path staging: `feat: bootstrap portable Data360 CLI tooling`.
|
|
2584
|
+
The hash cannot be embedded inside the same commit's own tracked content without
|
|
2585
|
+
a self-reference. Resolve this receipt using `git log -1 --format=fuller`; the
|
|
2586
|
+
coordinator also receives the exact hash, completion timestamp and clean status.
|
|
2587
|
+
No push, tag, remote creation, publication or global CLI changes are authorized.
|
|
2588
|
+
|
|
2589
|
+
## Setup decisions and limitations
|
|
2590
|
+
|
|
2591
|
+
No npm-package CHANGELOG was created: the workspace release rule places release
|
|
2592
|
+
notes exclusively in GitHub Releases. No message files are needed for these two
|
|
2593
|
+
static bootstrap summaries. Registry dependency metadata is pinned to the actual
|
|
2594
|
+
installed lockfile. ESLint 9 emits an upstream deprecation notice at install;
|
|
2595
|
+
it remains the compatible pinned tooling baseline, not a lint warning.
|
|
2596
|
+
|
|
2597
|
+
Transport, API/version evidence, pagination fixtures, schemas, adapters, selectors,
|
|
2598
|
+
preview/deploy semantics, CLI installed-profile acceptance and live acceptance are
|
|
2599
|
+
not implemented. A future approved release must verify npm scope ownership,
|
|
2600
|
+
configure hosted trusted publishing and establish its remote; none is assumed.
|
|
2601
|
+
|
|
2602
|
+
## Next bounded slice: transport/authentication
|
|
2603
|
+
|
|
2604
|
+
1. Read official local contracts; establish explicit API-version policy and exact
|
|
2605
|
+
safe endpoints before authoring network requests. Ask before external lookup.
|
|
2606
|
+
2. Implement one small Salesforce-core authenticated Connect REST client with
|
|
2607
|
+
redacted structured errors and complete bounded pagination.
|
|
2608
|
+
3. Add independently authored synthetic fixtures for authentication failure,
|
|
2609
|
+
token redaction, API errors, pagination completion/loops/truncation. No live
|
|
2610
|
+
calls, adapters or org writes unless separately authorized for that slice.
|
|
2611
|
+
4. Run build, zero-warning lint and full tests; update this handover and commit
|
|
2612
|
+
only if that slice has current explicit approval.
|
|
2613
|
+
|
|
2614
|
+
Do not invent public plan commands, saved-plan persistence or broad frameworks.
|
|
2615
|
+
Freeze adapter interfaces only after DMO evidence. Preserve all safety and
|
|
2616
|
+
independent-authoring requirements. Windows shell/test entries verify actual
|
|
2617
|
+
Node tmpdir and TEMP/nonempty TMP/TMPDIR against absolute normalized `F:/Temp`.
|
|
2618
|
+
|
|
2619
|
+
## Propagation audit
|
|
2620
|
+
|
|
2621
|
+
Primary component `sf-plugin-data360`: done for bootstrap only. It has no workspace
|
|
2622
|
+
consumers or language-data coupling. All language/data/parser/LSP/extension/MCP/MSO
|
|
2623
|
+
components are N/A; CMS and MCNext need no implementation change. Wiki, guide/site
|
|
2624
|
+
tool listings and hover/doc-URL data need no change for an unpublished bootstrap.
|
|
2625
|
+
README, capability status, artifact-format status and Git workflow are documented.
|
|
2626
|
+
|
|
2627
|
+
Coordinator follow-ups (root edits deliberately out of scope): register the new
|
|
2628
|
+
Tier 4 package in release-tracking and the dependency map, add its propagation row,
|
|
2629
|
+
and determine whether workspace/audit registration needs updating. The audit
|
|
2630
|
+
already discovers this directory automatically. Do not run root npm install.
|
|
2631
|
+
Strongly recommend completing those bookkeeping updates in the coordinating task
|
|
2632
|
+
before reporting whole-project propagation complete.
|