brain-audit

Solid

Post-synthesis audit for any skill that produces a synthesized answer over a source set. Returns a stable three-section footer reporting newest-source dates per cited file, comms/intel modalities not found for a named entity, and disagreements between cited sources. Composed by /meeting-prep, /odin (consult), /deal-strategy; future synthesis skills adopt it with one line. No daemon, no persistence, no workspace scan.

AI & Automation 11 stars 1 forks Updated 2 days ago Apache-2.0

Install

View on GitHub

Quality Score: 82/100

Stars 20%
36
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# /brain-audit - post-synthesis audit primitive A small composable skill. Takes a list of source file paths and an optional entity name. Runs three checks against the sources. Returns a stable markdown footer that the composing skill pastes beneath its synthesis. The skill does not synthesize, does not query a workspace-wide index, does not write state. It reads the files passed in and scans canonical workspace locations for the named entity. It then runs one LLM call to detect source disagreements, and emits a three-section footer. CEO may also invoke directly for ad-hoc audits. ## Phase 1: Argument parsing and sanity checks ### 1.1 Parse arguments Read `$ARGUMENTS`: - `--sources <paths>` (required): comma-separated. Each path is workspace-relative (paths starting with `/`, `c:\`, or containing `..` traversal are rejected as invalid sources in Phase 1.2). Workspace paths in this repo do not contain commas; if a future path does, the composer must quote it. If `--sources` is absent or empty, return the no-sources footer (Phase 3.5) and exit. - `--entity <name>` (optional): scopes the modality scan. If absent, modality check is skipped and the footer notes "no entity specified." - `--modalities <list>` (optional): comma-separated subset of the canonical list. Default is "all from `references/modalities.md`." ### 1.2 Validate source paths For each path: - File exists -> keep in source set. - File missing -> drop from source set, list under "sources not found" in the f...

Details

Author
mishahanin
Repository
mishahanin/heading-os
Created
2 months ago
Last Updated
2 days ago
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category