chore: ignore per-clone runtime stubs under .insight/ - #120
Merged
Conversation
.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>
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.insight/配下で runtime 自動生成される stub 5 種を.gitignoreに追加Rationale
.insight/には curated tracked 資産 と per-clone runtime stub が混在している:methodology_vocab.yaml,package_allowlist.yaml,config.example.yaml.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.yaml—project.py:50が absent-only でschema_version: 1を作成rules/*.yaml— skills が runtime で空 rule set を生成.insight/rules/を丸ごと ignore すると curated 資産も漏れるため、ファイル単位で列挙。Test plan
git statusで untracked が消えることを確認(ローカル実測済)methodology_vocab.yaml等) が引き続き tracked であることを確認🤖 Generated with Claude Code