Skip to content

Track .claude/platform.json and add a docs/decisions.md skeleton - #262

Open
YIWANG3 wants to merge 1 commit into
mainfrom
ticket-2-放行-claude-platform-json-并加

Hidden character warning

The head ref may contain hidden characters: "ticket-2-\u653e\u884c-claude-platform-json-\u5e76\u52a0"
Open

YIWANG3 wants to merge 1 commit into
mainfrom
ticket-2-放行-claude-platform-json-并加

Conversation

@YIWANG3

@YIWANG3 YIWANG3 commented Nov 4, 2026

Copy link
Copy Markdown
Owner

改了什么

  • .gitignore:.claude/ 改为 .claude/* 并加 !.claude/platform.json,其余 .claude/ 文件继续忽略(apps/desktop/.claude/ 不动)
  • 新增 .claude/platform.json(平台注册配置,按工单原样)
  • 新增 docs/decisions.md 骨架:定了的事 / 定了不做的事 / 永远需要人决定的事(删数据、发版、对外发消息、花钱、换密钥、改权限、改产品方向);前两节只有格式说明,没有编造决定

怎么验证

  • git check-ignore .claude/platform.json:无输出,退出码 1(不带 -v;带 -v 会打印放行规则那一行)
  • git check-ignore -v .claude/settings.local.json 和 .claude/launch.json:命中 .claude/*
  • 只改 gitignore 和文档,未跑 npm 检查(worktree 未装依赖)

🤖 Generated with Claude Code

.gitignore ignores .claude/* instead of .claude/ so platform.json can be
un-ignored; docs/decisions.md has the three sections the agent platform reads.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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