hoa-practice-mine
Skill2 starsChanged 11 days agoMITView on GitHub
Mine local Claude Code, OMP, and Codex session history and project memory stores for reusable operational guardrails and unknown unknowns using two-level pruning, multi-head `/v1/decisions` probes, residual active learning, and raw-line verification. Explicit invocation only. Use hoa-practice-retro for periodic cross-repo retros and rubric-tune for iterative rubric refinement.
In this repository48 other files it gives its agents.
- AGENTS.mdAGENTS.md
- delegated-work-acceptanceSkill
- dotnet-repo-workflowSkill
- gdd-route-ccSkill
- gdd-route-codexSkill
- gdd-route-copilotSkill
- gdd-route-dshSkill
- gdd-route-omoSkill
- gdd-route-ompSkill
- gdd-route-opencodeSkill
- gdd-route-piSkill
- gddSkill
- git-auto-sync-pipelinesSkill
- harness-engineeringSkill
- measurement-campaign-evidenceSkill
- package-release-verificationSkill
- privileged-host-handoffSkill
- tmux-agent-controlSkill
- hermes-context-file-loadingSkill
- hermes-kanbanSkill
- hermes-models-cutoverSkill
- hermes-modelsSkill
- hermes-ops-claim-verificationSkill
- hermes-runtime-repairsSkill
- hermes-updatesSkill
- agent-harness-settings-paritySkill
- agent-operating-contract-evolutionSkill
- contract-bound-deliverablesSkill
- define-goalSkill
- review-revision-candidatesSkill
- rubric-judgeSkill
- rubric-tuneSkill
- spec-convergenceSkill
- spin-breakerSkill
- evidence-backed-analytical-writingSkill
- evidence-boundary-disciplineSkill
- ghc-searchSkill
- official-document-verificationSkill
- report-claim-auditSkill
- research-stream-consolidationSkill
- writingSkill
- hoa-practice-retroSkill
- hoa-repo-reckoningSkill
- hoa-skill-createSkill
- hoa-skill-curateSkill
- hoa-skill-portSkill
- hoa-skill-reviewSkill
- hoa-skill-set-auditSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 36
Read-only stores and gitignored scratch: Never mutate source stores, WAL files, or repositories during mining.
- Very specific: line 43
Gold-anchor monotonicity: Never adopt a revised rubric (v2+) unless anchor-check passes for the endpoint: zero false negatives, zero false …
- Very specific: line 58
Use bundled l1-v2 directly once its anchor check has passed for the endpoint.
- Very specific: line 61
When a second authorized /v1/decisions backend is available for high-recall auditing, keep the smoother calibrated model as the primary …
- Very specific: line 71
Read the runbook for the stage you are about to execute.
- Very specific: line 91
Use physical source lines, SQLite history rollout_ordinal values, or SQLite memory row identifiers, as applicable.
- Distinctive: line 93
Keep unverified model suggestions out of the verified findings.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
hoa-practice-mine
Extract reusable operational guardrails, hidden failure modes, and workflow rules from local Claude Code, OMP, and Codex session history without linear full-text rereads, closed-set Softmax blind spots, or prompt calibration drift.
Gates
- Domain and secret isolation before model calls. Classify project directories
before reading transcripts. Physically skip out-of-scope or corporate checkouts
and mixed scratch directories. Use
--allow-regex/--deny-regexin mixed stores; omit them only when all checkouts under the supplied roots are in scope. Deny matches take precedence. - Redact locally. Strip credentials, bearer tokens, private endpoints, and
agent-workflow prompt-injection boilerplate frames before sending any state to a
decision endpoint. Apply this to extracted spans, memories, and the rules
baseline. Never forward the unredacted evidence from
hoa history show. - Read-only stores and gitignored scratch. Never mutate source stores, WAL
files, or repositories during mining. Put intermediates, ledgers, and any cursor
in an outside-worktree state directory or one confirmed by
git check-ignore. - Advisory probabilities, primary-agent proof. Probabilities rank and route; they never prove a root cause or authorize an edit. Verify every surviving candidate against raw session lines or read-only SQLite ordinals and live repository files before proposing changes.
- Gold-anchor monotonicity. Never adopt a revised rubric (
v2+) unlessanchor-checkpasses for the endpoint: zero false negatives, zero false positives, zero refusals/failures, and a worst-case positive-vs-negative margin at least as wide as the baseline on the locked anchor set (>= 8positives +>= 8negatives).
Workflow
- Extract redacted L0 session skeletons and L1 causal spans from only the
selected roots. Account for coverage in
extract-manifest.json; add memories only when they are in scope. - Prune at L0. Score whole-session skeletons and retain pivot spans from surviving sessions. Keep model refusals and request failures eligible; do not count them as clean. Audit the top 5–8 pruned sessions near the boundary.
- Scan and reflect at L1. Score the surviving spans with orthogonal heads.
Use bundled
l1-v2directly once its anchor check has passed for the endpoint; usel1-v1first only when iterating on a custom taxonomy. Inspect residuals, preserve the anchors, and apply the stopping criterion. When a second authorized/v1/decisionsbackend is available for high-recall auditing, keep the smoother calibrated model as the primary funnel and runhoa mine disagreementsoffline over the two scored ledgers to surface top-K semantic misses without flooding L3 with single-head false positives. - Reconcile at L3. Compare strong non-routine survivors (and included memories)
against live rules. Separate
target_gap,route_to_sibling_repo, andalready_covered, then verify every surviving gap in its source and live repo.
What to read and when
Read the runbook for the stage you are about to execute. For a resumed run, load
only that stage and the references its inputs require. All examples use hoa;
its invocation options are in the extraction runbook.
| When to read | Reference |
| Before extracting, resuming from a history cursor, or setting up the CLI for any stage | Extract |
| When using a selected history source; skip adapters for sources not in scope | Claude Code, OMP, Codex |
| Before scoring skeletons, selecting pivots, or auditing pruned sessions | L0 pruning |
| Before scoring L1 spans, inspecting residuals, or checking a rubric revision | L1 residuals |
| Before novelty scoring, verifying evidence, or producing the report | L3 reconciliation |
| Before configuring or changing the decision endpoint | Endpoint settings and configuration lookup |
| When interpreting probes, residual formulas, or when to stop refining | Methodology |
| Only if a CLI command fails | Troubleshooting |
| When checking explicit-only invocation on Codex | Codex policy |
Report
For each verified finding, report
evidence locator -> concrete harm -> live coverage -> minimal fix -> canonical owner.
Use physical source lines, SQLite history rollout_ordinal values, or SQLite
memory row identifiers, as applicable.
Keep unverified model suggestions out of the verified findings.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

