clarion-setup: indexer freshness check + reindex-on-upgrade in SKILL.md#92
Merged
jingerzz merged 1 commit intoMay 29, 2026
Merged
Conversation
…pgrade Brings the registry copy in line with clarion-intelligence-system after zocomputer#55/zocomputer#57: - Step 6 verifies the sec-indexer is running CURRENT code via `clarion-sec-research doctor` (a RUNNING service can still be on stale code after a git pull). - Upgrade guidance: run `clarion-sec-research reindex` after updating so extraction fixes reach the already-indexed corpus (the indexer skips current filings). setup.py unchanged. Source: clarion-intelligence-system skills/clarion-setup/SKILL.md. Co-Authored-By: Claude Opus 4.7 <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.
Syncs the registry's
External/clarion-setup/SKILL.mdwith the upstream source (clarion-intelligence-system) after two reliability fixes. One file changed;setup.pyis unchanged.What changed in the setup flow
sec-indexerkeeps the Python it imported at startup, so after agit pull+ reinstall it can stay on stale code while logs look healthy — silently producing wrong indexed data. The step adds aclarion-sec-research doctorfreshness check (running commit vs installed commit) and instructs not to report setup complete while it reports STALE.clarion-sec-research reindexafter updating, so extraction/parsing fixes reach the user's already-indexed corpus (a code update only changes parsing; existing trees are skipped unless re-extracted).reindexonly rebuilds filings built by older code, so it's safe to run on every upgrade.Why
Caught while validating an extraction fix on a live deployment: the fix was installed but the running indexer kept executing pre-fix code, and a re-index silently skipped already-indexed filings — so the corpus stayed broken with no error. These SKILL.md steps make both failure modes visible and self-correcting during setup.
Source of truth:
skills/clarion-setup/SKILL.mdin clarion-intelligence-system (kept identical).🤖 Generated with Claude Code