Skip to content

chore: ignore per-clone runtime stubs under .insight/ - #120

Merged
ToyamaEiji merged 1 commit into
mainfrom
chore/gitignore-insight-runtime-state
Apr 21, 2026
Merged

chore: ignore per-clone runtime stubs under .insight/#120
ToyamaEiji merged 1 commit into
mainfrom
chore/gitignore-insight-runtime-state

Conversation

@ToyamaEiji

Copy link
Copy Markdown
Collaborator

Summary

  • .insight/ 配下で runtime 自動生成される stub 5 種を .gitignore に追加
  • 6 行追加 / 1 行修正(既存 comment の文言拡張)のみ

Rationale

.insight/ には curated tracked 資産per-clone runtime stub が混在している:

種別 扱い
Curated (tracked 継続) methodology_vocab.yaml, package_allowlist.yaml, config.example.yaml 変更なし
Runtime stub (今回 ignore) .sqlite/catalog_fts.db, config.yaml (init stub), rules/analysis_rules.yaml, rules/review_rules.yaml, rules/extracted_knowledge.yaml 追加

生成ロジック:

  • .sqlite/src/insight_blueprint/storage/project.py:58 が FTS5 DB 用 dir を作成、storage/sqlite_store.py が書き込む (binary)
  • config.yamlproject.py:50 が absent-only で schema_version: 1 を作成
  • rules/*.yaml — skills が runtime で空 rule set を生成

.insight/rules/ を丸ごと ignore すると curated 資産も漏れるため、ファイル単位で列挙

Test plan

  • git status で untracked が消えることを確認(ローカル実測済)
  • 既存 tracked 資産 (methodology_vocab.yaml 等) が引き続き tracked であることを確認
  • CI 通過

🤖 Generated with Claude Code

.insight/ hosts a mix of tracked config (methodology_vocab.yaml,
package_allowlist.yaml, config.example.yaml) and per-clone runtime
stubs generated by storage/project.py and various skills. The stubs
should not be committed because:

- .insight/.sqlite/ -- FTS5 binary DB, regenerated on demand
- .insight/config.yaml -- init stub ("schema_version: 1"), created
  only when absent by project.py
- .insight/rules/analysis_rules.yaml, review_rules.yaml,
  extracted_knowledge.yaml -- empty rule stubs created at runtime

Listing them individually (not .insight/rules/ wholesale) to preserve
tracking of the curated vocab/allowlist files under the same dir.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ToyamaEiji
ToyamaEiji requested a review from etoyama as a code owner April 21, 2026 06:58
@ToyamaEiji
ToyamaEiji merged commit 7808caf into main Apr 21, 2026
5 checks passed
@ToyamaEiji
ToyamaEiji deleted the chore/gitignore-insight-runtime-state branch April 21, 2026 07:16
@ToyamaEiji ToyamaEiji mentioned this pull request Apr 21, 2026
4 tasks
ToyamaEiji added a commit that referenced this pull request Apr 21, 2026
Release notes summary:

Added:
- New skill /premortem -- pre-flight risk evaluation with approval
  token issuance (#117)
- spec-workflow MCP server registered in .mcp.json (#118)

Changed:
- Batch analysis harness hardened for overnight stability (#117):
  flat manifest status contract, 2-stage hash verification,
  launcher-owned finalize_run, hash mismatch detection, user-facing
  risk-level docs and crash-recovery guide

Fixed:
- uv.lock self-reference out of sync with pyproject.toml (#119)

Chore:
- Ignore per-clone runtime stubs under .insight/ (#120)

Documentation:
- README: skill count 8 -> 9, added /premortem description, new
  Updating section with plugin update commands
- CHANGELOG: new [0.5.0] entry, stub covering [0.4.2]-[0.4.4] gap

Co-authored-by: etoyama <eijitoyama@gmail.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

2 participants