Expand description
Legacy (pre-rename) Sentinel naming — the ONE place old names live
(remediation pass 3, PART B2). The 2026-08-14 naming directive retired
the sentinel names; every remaining old-name string in the codebase is
a constant here, kept solely to RECOGNIZE or REMOVE artifacts a
sentinel-era binary left behind. The naming sweep’s exclusion list is
auditable against this module: any sentinel outside it (and the
append-only history) is a straggler.
Structs§
- Migrated
Dir - One directory rename performed by
migrate_dirs.
Enums§
Constants§
- AUGGIE_
SCRIPT - CODEX_
RULES - Adapter artifacts a sentinel-era install wrote;
--remove-agentstrips these alongside their pushkin-named successors. - HERMES_
DRAFT_ DIR - The manifest-less Phase 2 draft location (predates even the plugin manifest), cleaned up best-effort on every hermes install.
- HERMES_
HOOK - HERMES_
PLUGIN_ DIR - Hermes plugin dir name a sentinel-era install created under
$HERMES_HOME/plugins/. - MARKER_
KEY - Marker key a sentinel-era install wrote into agent hook configs. Any entry carrying it — whatever the value — is OURS.
- OPENCODE_
PLUGIN - RULE_
PREFIX - Rule-id prefix of events and waivers recorded pre-rename. Historical
rows keep it (the log is append-only); aggregation and waiver matching
normalize through
modern_rule_id. - STATE_
DIR - Repo-local state dir a sentinel-era binary owned (events, consent, instructions, board, daemon socket).
- WAIVERS_
FILE - The waiver record inside
WAIVER_DIR. - WAIVER_
DIR - Git-tracked waiver dir a sentinel-era binary owned. Only treated as ours when it actually carries the waiver record below.
Functions§
- legacy_
rule_ id - The legacy spelling of a modern rule id (for SQL
INfilters over the mixed population); non-pushkin.*ids pass through unchanged. - migrate_
dirs - One-time footprint migration:
.sentinel/→.pushkin/andsentinel/→pushkin/(the waiver dir, recognized by itswaivers.toml— signed history survives the move). Old and new both present is a loud refusal, never a guess. Idempotent: with no legacy dirs this is a no-op. - modern_
rule_ id - Maps a legacy
sentinel.*rule id to itspushkin.*spelling; anything else passes through. Both sides of a comparison go through this so mixed-population aggregation groups one rule, not two.