Skip to content

chunk 5/5: A-grade regrade movers (package identity, DTO, migration, scripts, cli exit)#6

Merged
cogeor merged 2 commits into
mainfrom
land/05-agrade
Jun 4, 2026
Merged

chunk 5/5: A-grade regrade movers (package identity, DTO, migration, scripts, cli exit)#6
cogeor merged 2 commits into
mainfrom
land/05-agrade

Conversation

@cogeor

@cogeor cogeor commented Jun 4, 2026

Copy link
Copy Markdown
Owner

Final chunk 5/5 (original chunk 13). The five regrade grade-movers:

  • fix(package): repair dual-publish identity (main -> extension entry, exports -> mcp; .vscodeignore keeps dist/mcp)
  • refactor(contracts): type the graph->webview DTO boundary
  • refactor(application): split workspace migration from context construction (initWorkspaceContext)
  • refactor(scripts): derive artifact root from context
  • refactor(cli): make main() the sole process.exit owner

After this, main == dg/work-sessions-1-5 tip (verified green: npm test 573/61/162 + smoke:pack).

🤖 Generated with Claude Code

cogeor and others added 2 commits June 4, 2026 04:11
…tion-split)

The POSIX-only readDoc symlink-containment test seeded .arch and relied on
createWorkspaceContext migrating it into the docs tree. After the migration
split (createWorkspaceContext is pure; migration moved to initWorkspaceContext),
.arch is no longer migrated, so readDoc never saw the symlink and the expected
PathEscapeError did not fire. Plant the symlink directly in ctx.archRoot
(.llmem/docs) — the dir readDoc actually reads — so the containment contract is
tested without depending on the migration side effect. Windows skips this test,
which is why local runs missed it; POSIX CI covers it.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cogeor cogeor merged commit 8fb0df0 into main Jun 4, 2026
6 checks passed
@cogeor cogeor deleted the land/05-agrade branch June 4, 2026 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant