locus-consolidate-dd3e3c — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited locus-consolidate-dd3e3c (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Merges accumulated session logs into canonical room files, enforces size limits, and archives processed logs. Run per room — if multiple rooms need consolidation, run this skill once per room.
Arguments: $ARGUMENTS — room path relative to palace root (e.g. projects/my-project). If omitted, detect rooms needing consolidation automatically (Step 1b).
1a — Argument provided: Navigate to <palace-root>/$ARGUMENTS. Verify the directory exists and contains a room main file and a sessions/ subdirectory.
1b — No argument (auto-detect): Read INDEX.md to get all room paths. For each room, check:
sessions/ contain more than 5 files not in sessions/archived/?Process rooms that meet either condition, one at a time. Report which rooms were found and ask for confirmation before proceeding if running interactively.
Read in this order:
<room>/<room-name>.md or README.md)<room>/sessions/ that are notin <room>/sessions/archived/
Read session logs oldest-first (alphabetical by filename = chronological).
Do not read specialty files unless a Consolidation Note explicitly references them.
For each session log, collect entries from the ### Consolidation Notes section. Discard sessions with empty or blank Consolidation Notes.
Build a working list:
[ { source: "sessions/2026-02-01.md", note: "promote X to Overview section" },
{ source: "sessions/2026-02-15.md", note: "update Y in technical-gotchas.md" },
... ]Resolve conflicts: if two notes contradict each other, the newer one wins. Flag irreconcilable conflicts for user review rather than silently choosing.
For each consolidation candidate:
After all changes, verify each edited canonical file:
If a file exceeds its limit after merging:
→ Extract: identify the largest or most self-contained section, move it to a new specialty file (<room>/<descriptive-name>.md), and replace the section in the main file with a one-line reference:
- [`<filename>.md`](./<filename>.md) — <one-line description>Move processed session log files to <room>/sessions/archived/:
sessions/archived/ if it does not exist.Only move logs whose Consolidation Notes were fully processed. If a log had irreconcilable conflicts flagged in Step 3, leave it in place with a comment added at the top:
<!-- CONSOLIDATION PENDING: conflicts flagged, requires review -->Re-read the room main file. Check whether its description in INDEX.md still accurately reflects the room's current contents.
If the description has drifted:
INDEX.md.INDEX.md remains under 50 lines.Emit a consolidation summary:
Locus Consolidate: <room-path>
Session logs processed: <N>
Canonical files updated: <list>
Specialty files created: <list or none>
Logs archived: <N>
Conflicts flagged: <N or none>
Room main file: <final line count> lines
INDEX.md updated: yes/noIf multiple rooms were processed (auto-detect mode), emit one summary block per room.
cp -r skills/claude/locus-consolidate ~/.claude/skills/locus-consolidate~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.