T-ZLS5-dissolve-augmented-p5-json-canvas-promotion
Status: closed/done · Impact: low · Complexity: small
@augment/json-canvas-core and @augment/json-canvas-vue are
general-purpose JSON Canvas (Obsidian canvas format) implementations,
not learning-domain code — owner call 2026-08-02: they belong in the
repo-wide packages/ts/ tier alongside obsidian-astro and
obsidian-bases. Promote them (D-0001 tier-0→1: a directory move, name
unchanged, resolution unchanged).
| Location | Role today |
|---|---|
solutions/augmented/packages/ts/json-canvas-core/ | @augment/json-canvas-core — framework-agnostic JSON Canvas utilities |
solutions/augmented/packages/ts/json-canvas-vue/ | @augment/json-canvas-vue — Vue 3 renderer/editor; nested demo/ app rides inside |
package.json | Root workspaces: packages/ts/* glob covers the promoted dirs; the nested demo needs an explicit entry (precedent: packages/ts/obsidian-bases/demo); the old solutions/*/packages/ts/*/demo glob entry stays for other solutions |
.moon/workspace.yml | packages/ts/* glob registers the promoted projects; ids unchanged |
solutions/augmented/apps/augmented_web/ | Consumer of both packages (moves to sites/ in T-OO89; name-based resolution is unaffected by this move) |
Proposed
Section titled “Proposed”packages/ts/json-canvas-core/ and packages/ts/json-canvas-vue/
(demo inside) exist; old paths gone; root package.json gains the
explicit packages/ts/json-canvas-vue/demo workspaces entry;
bun.lock regenerates.
Approach
Section titled “Approach”git mv solutions/augmented/packages/ts/json-canvas-core packages/ts/json-canvas-coreand…/json-canvas-vue → packages/ts/json-canvas-vue.- Root
package.json: workspaces +=packages/ts/json-canvas-vue/demo. bun install; verify--frozen-lockfile.- Verify: both packages typecheck/test; the demo
bun run buildpasses;moon query projectslists both; augmented_web (still at its current path)bun run buildpasses. - Assert pure-rename diffs.
Files to touch
Section titled “Files to touch”| Location | Kind | Change |
|---|---|---|
solutions/augmented/packages/ts/json-canvas-core/ | delete | git mv → packages/ts/json-canvas-core/ |
solutions/augmented/packages/ts/json-canvas-vue/ | delete | git mv → packages/ts/json-canvas-vue/ (demo rides inside) |
package.json | modify | workspaces += packages/ts/json-canvas-vue/demo |
bun.lock | modify | Workspace path-key regen |
Acceptance criteria
Section titled “Acceptance criteria”- AC-1: Both packages live under
packages/ts/as pure renames; old paths gone. - AC-2: Both packages + the demo build/test green;
moon query projectslists them. - AC-3: augmented_web still builds (name-based resolution held).
- AC-4:
bun install --frozen-lockfilepasses at root.
Out of scope
Section titled “Out of scope”- Rescoping
@augment/*→@sksizer/*or the derived-libraries publishing channel — later decisions. - Moving augmented_web (
T-OO89).
Dependencies
Section titled “Dependencies”T-5VTL— sequenced to keep the dissolution moves conflict-free.
Discovery context
Section titled “Discovery context”- Owner 2026-08-02: “json-canvas-core, json-canvas-vue were obsidian canvas implementations and could move to a general package location.”
Depends on
Section titled “Depends on”T-5VTL