oh-my-muse/.gitignore
lili e181669197 chore(agent-infra): 建立 agent 开发基建、清理历史 churn 并以 BC 违例整改验证
本会话三部分交付,均经 JDK21 真实构建验证(非退出码,读 BUILD SUCCESS + Tests run):

1) Agent 开发基建(机械门禁优先)
- 入口与中枢:AGENTS.md、.agents/{knowledge,rules,skills,workflows}、CLAUDE.md 订正
- 订正 .gitignore:移除对 .agent/.agents 的忽略——它们是版本化 agent 基建,须入库(此前被忽略致克隆即缺)
- 机械门禁:CI 真跑测试(maven.yml JDK21、去 -Dmaven.test.skip)、覆盖台账去硬编码、
  BC 边界 ArchUnit 门(BcBoundaryArchTest)、契约先行门(ContractFirstGateTest:Flyway 卫生 + OpenAPI 结构)
- 单一进度源 docs/mvp/进度总账.md + 7 个 BC per-module .agent + mise.toml(锁 JDK21)
- P1 增量:AiSuggestionMergeProjectionFacade(Gap A)、ContentSourceServiceImpl 事务化 outbox 回流(Gap B)

2) 过期历史文档清理(97 份 churn,git 可恢复)
- 删 docs/memorys(34)、agent-specs 审阅/执行版+迁移review(34)、superpowers/plans+specs(25)、
  design-docs/临时+memorys(4);保留 superpowers/reports/coverage(门禁依赖)
- 唯一干货蒸馏入 .agents/knowledge/external-deps-and-gotchas.md;订正大纲/映射表/基线悬空引用

3) P1 harness 验证:消除已登记 BC 违例 ContentMuseWorkOwnerFacade
- content-api 新增只读端口 MuseContentWorkOwnerApi + content-server 实现(读自有 DAL);
  AI 适配器改消费该端口、移除全部 content.dal 依赖,AI 业务规则与 4 消费者不变
- 删除 ArchUnit 豁免 → 门禁收紧(反向红 31 例 / 正向绿;适配器单测 13/0F、端口实现 7/0F)

注:muse-studio/src(SSE 相关 4 文件)与 muse-module-ai/pom.xml(移除孤儿 contract-server)
为本会话之前已存在的未提交改动,非本次工作,未纳入本提交。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-14 04:38:07 -07:00

160 lines
2.3 KiB
Plaintext

# ====================
# OS Files
# ====================
.DS_Store
Thumbs.db
ehthumbs.db
*.swp
*.swo
*~
# ====================
# Editor & IDE
# ====================
# VS Code
.vscode/
*.code-workspace
# JetBrains (IntelliJ, PyCharm, WebStorm, etc.)
.idea/
!muse-cloud/.idea/
!muse-cloud/.idea/.gitignore
!muse-cloud/.idea/codeStyles/
!muse-cloud/.idea/codeStyles/Project.xml
*.iml
# Vim
*.swp
*.swo
# Emacs
*~
# Sublime
*.sublime-*
# Atom
.atom/
# ====================
# Build & Dependencies
# ====================
node_modules/
.pnp
.pnp.js
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.yarn/
dist/
build/
out/
.next/
.nuxt/
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
.env
.venv
env/
venv/
ENV/
!muse-cloud/muse-framework/muse-spring-boot-starter-env/src/main/java/cn/iocoder/muse/framework/env/
!muse-cloud/muse-framework/muse-spring-boot-starter-env/src/main/java/cn/iocoder/muse/framework/env/**
.eggs/
*.egg-info/
*.egg
# ====================
# Logs & Temporal
# ====================
*.log
npm-debug.log*
yarn-debug.log*
lerna-debug.log*
# ====================
# Testing & Coverage
# ====================
coverage/
.nyc_output/
.coverage
.coverage.*
test-results/
playwright-report/
# ====================
# Temporary Files
# ====================
tmp/
temp/
.cache/
*.tmp
*.temp
# ====================
# Documentation Build
# ====================
_site/
.sass-cache/
*.pdf
*.zip
# ====================
# Environment & Secrets
# ====================
.env.local
.env.*.local
.envrc
secrets.yaml
credentials.json
*.pem
*.key
# ====================
# Git (internal use)
# ====================
.git/
# ====================
# Java & Maven (muse-cloud)
# ====================
target/
!.mvn/wrapper/maven-wrapper.jar
.flattened-pom.xml
*.class
*.iws
.apt_generated
.factorypath
.springBeans
.sts4-cache
muse-cloud/sql/*/ruoyi-vue-pro*.sql
muse-cloud/script/idea/http-client.env.json
# ====================
# Vue & Vite (muse-admin)
# ====================
.turbo
.temp
.vite/
dev-dist
.stylelintcache
*.tsbuildinfo
vite.config.mts.*
vite.config.mjs.*
vite.config.js.*
vite.config.ts.*
**/backend-mock/data
# ====================
# AI Agent
# ====================
# 注:.agent / .agents 是本项目版本化的 agent 开发基建(见 AGENTS.md),必须入库,故不在此忽略
.cursor
skills-lock.json
precommit-scan-*.md