Skip to content

harness: strengthen agentic coding controls#15

Merged
riccjohn merged 10 commits into
mainfrom
harness/strengthen-controls
Apr 21, 2026
Merged

harness: strengthen agentic coding controls#15
riccjohn merged 10 commits into
mainfrom
harness/strengthen-controls

Conversation

@riccjohn
Copy link
Copy Markdown
Owner

@riccjohn riccjohn commented Apr 21, 2026

Summary

  • Instruction files — expanded CLAUDE.md with full architecture overview, key file map, path-scoped rules, and command reference
  • Hooks — added .claude/settings.json with PostToolUse hook that runs tsc --noEmit after any TypeScript file edit
  • Pre-commitlefthook now runs biome format, tsc --noEmit, and gitleaks protect --staged on every commit
  • CI gatesci.yml now fast-fails in order: install → lint → type check → tests → retrieval eval
  • DX — added postinstall script so pnpm install automatically wires up git hooks for any new clone

Test plan

  • pnpm install runs lefthook install without errors
  • Make a commit — confirm biome, tsc, and gitleaks all run in pre-commit
  • CI pipeline passes with lint and type-check steps visible in the run

🤖 Generated with Claude Code

riccjohn and others added 7 commits April 21, 2026 12:34
…files, path rules, and commands

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…it pipeline

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…pipeline

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…tial detection

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…I workflow

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
grimoire-oracle-web Ready Ready Preview, Comment Apr 21, 2026 6:54pm

checkout v4 → v5, setup-node v4 → v6, pnpm/action-setup v4 → v6

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
pnpm/action-setup@v6 appears to misparse the +sha512 hash in packageManager
and installs a newer pnpm, which rejects the existing lockfileVersion 9.0 as broken.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…anager field

pnpm/action-setup@v6 errors when both version and packageManager are set.
Let it read version from package.json packageManager field only.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@riccjohn riccjohn merged commit 7c5cdf4 into main Apr 21, 2026
3 checks passed
@riccjohn riccjohn deleted the harness/strengthen-controls branch April 21, 2026 18:55
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