Skip to content

T001: Write full native format for pretrust entries#22

Merged
grobomo merged 1 commit intomainfrom
003-T001-pretrust-full-format
Apr 16, 2026
Merged

T001: Write full native format for pretrust entries#22
grobomo merged 1 commit intomainfrom
003-T001-pretrust-full-format

Conversation

@grobomo
Copy link
Copy Markdown
Owner

@grobomo grobomo commented Apr 16, 2026

Summary

  • ensure_workspace_trusted() now writes all 10 fields matching Claude Code's native project entry format
  • Previously wrote 3 fields; now includes mcpServers, mcpContextUris, enabledMcpjsonServers, etc.
  • Improves forward-compatibility as Claude Code evolves

Test plan

  • 96 tests passing
  • New tests verify 10-field count, mcpServers, hasClaudeMdExternalIncludesApproved present
  • Idempotent — existing entries not overwritten

ensure_workspace_trusted() now writes all 10 fields matching Claude Code's
native project entry format, improving forward-compatibility. 96 tests passing.
@grobomo grobomo merged commit b374f26 into main Apr 16, 2026
1 check passed
@grobomo grobomo deleted the 003-T001-pretrust-full-format branch April 16, 2026 04:02
@grobomo grobomo mentioned this pull request Apr 16, 2026
1 task
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