Skip to content

chore(stack): track universal hooks, scripts & routing guide (key redacted)#8

Merged
Rwanbt merged 1 commit into
mainfrom
chore/stack-hooks-scripts
Jun 19, 2026
Merged

chore(stack): track universal hooks, scripts & routing guide (key redacted)#8
Rwanbt merged 1 commit into
mainfrom
chore/stack-hooks-scripts

Conversation

@Rwanbt

@Rwanbt Rwanbt commented Jun 19, 2026

Copy link
Copy Markdown
Owner

What

Tracks pre-existing untracked stack assets so the repo is clean and they are versioned + reviewable.

  • hooks/ — 6 universal IA-agent hooks (session start/end memory, LOC gate, AI summary, graphify inject, readonly-env permission) + per-hook READMEs
  • scripts/loc_gate.ps1 (CLAUDE.md LOC thresholds), vault_sync*.ps1
  • routing-guide.md — universal port of the "subagent vs direct read" routing rule

Security

The Obsidian Local REST API key was hardcoded in 4 files. Replaced with:

  • OBSIDIAN_API_KEY env var in run.js (aligns with the existing posttool-ai-summary convention)
  • placeholders in the 3 READMEs

No secret is committed. node --check passes on both modified run.js. Push Protection passed.

These were pre-existing untracked stack assets (MiniMax/Mavis era). Tracking
them now so the repo is clean and they are versioned + reviewable.

- hooks/: 6 universal IA-agent hooks (session start/end memory, LOC gate,
  AI summary, graphify inject, readonly-env permission) with per-hook READMEs
- scripts/: loc_gate.ps1 (CLAUDE.md LOC thresholds), vault_sync helpers
- routing-guide.md: universal port of the "subagent vs direct read" routing rule

Security: the Obsidian Local REST API key was hardcoded in 4 files. Replaced
with the OBSIDIAN_API_KEY env var (run.js) and placeholders (READMEs) so no
secret is committed — aligns with the posttool-ai-summary hook's existing
OBSIDIAN_API_KEY convention.
@Rwanbt
Rwanbt merged commit 1f371af into main Jun 19, 2026
5 checks passed
@Rwanbt
Rwanbt deleted the chore/stack-hooks-scripts branch June 19, 2026 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant