Skip to content

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).

LocationRole 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.jsonRoot 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.ymlpackages/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)

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.

  1. git mv solutions/augmented/packages/ts/json-canvas-core packages/ts/json-canvas-core and …/json-canvas-vue → packages/ts/json-canvas-vue.
  2. Root package.json: workspaces += packages/ts/json-canvas-vue/demo.
  3. bun install; verify --frozen-lockfile.
  4. Verify: both packages typecheck/test; the demo bun run build passes; moon query projects lists both; augmented_web (still at its current path) bun run build passes.
  5. Assert pure-rename diffs.
LocationKindChange
solutions/augmented/packages/ts/json-canvas-core/deletegit mvpackages/ts/json-canvas-core/
solutions/augmented/packages/ts/json-canvas-vue/deletegit mvpackages/ts/json-canvas-vue/ (demo rides inside)
package.jsonmodifyworkspaces += packages/ts/json-canvas-vue/demo
bun.lockmodifyWorkspace path-key regen
  • 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 projects lists them.
  • AC-3: augmented_web still builds (name-based resolution held).
  • AC-4: bun install --frozen-lockfile passes at root.
  • Rescoping @augment/*@sksizer/* or the derived-libraries publishing channel — later decisions.
  • Moving augmented_web (T-OO89).
  • T-5VTL — sequenced to keep the dissolution moves conflict-free.
  • Owner 2026-08-02: “json-canvas-core, json-canvas-vue were obsidian canvas implementations and could move to a general package location.”

T-5VTL


← Back to Tasks