Skip to content

[UC-3697] Establish Quad-Agent development architecture, pre-commit tooling, and Emscripten safety - #10

Merged
HellAholic merged 3 commits into
mainfrom
UC-3697_AI_DF
Aug 20, 2026
Merged

[UC-3697] Establish Quad-Agent development architecture, pre-commit tooling, and Emscripten safety#10
HellAholic merged 3 commits into
mainfrom
UC-3697_AI_DF

Conversation

@jellespijker

@jellespijker Jelle Spijker (jellespijker) commented Aug 20, 2026

Copy link
Copy Markdown
Member

Stacked PR (Layer 1 of Stack) establishing Quad-Agent development architecture and pre-commit tooling.

Why

Establish a unified Quad-Agent collaborative development environment (Gemini/Antigravity, Claude Code, GitHub Copilot, OpenCode) for CuraFormulaeEngine, integrate automated quality control pre-commit hooks, and protect secrets and local paths.

What

  • Quad-Agent Configuration Alignment: Canonical .agents/ configuration synchronized with .claude/, .github/, and .opencode/ via scripts/sync_agentic_configs.sh.
  • Pre-Commit Quality & Security Gates: Configured .pre-commit-config.yaml with clang-format, Talisman secret scanning, local path blockers, rule frontmatter validators, file size ratchets, and complexity checks.
  • CI / GitHub Workflows: Updated .github/workflows/unit-test.yml and .github/workflows/package.yml to trigger on UC-* / NP-* branches.
  • Token Parsing Guard: Refined process kill guard command token parsing in .agents/hooks/block_name_matched_kill.py to prevent false positive blocks on markdown text.

How

  1. Single Source of Truth: Rules and agent definitions live canonically in .agents/rules/ and .agents/agents/. Symlinks and generated rule manifests ensure 100% parity across Claude Code, Copilot, and OpenCode.
  2. Context Exclusion: Central .aiignore compiled into platform-specific exclude configurations (.ignore, .claude/settings.json, .github/copilot-content-exclusion.yml, opencode.json).
  3. Stack Hierarchy: Layer 1 (base: main). Merged first ahead of dependent C++ formatting and test fixes in PR [UC-3697] Format C++ codebase and fix formula evaluation and parsing #8.

Verification & Validation (V&V)

1. Parity Audit

python3 .agents/hooks/audit_quad_agent_parity.py
# ==> Parity audit PASSED across Antigravity, Claude Code, Copilot, and OpenCode

2. Guard Fire-Proofing Table

Hook Fired Blocked Violation Status
audit-quad-agent-parity Yes n/a (advisory) Passed
block-absolute-paths Yes Yes (fixture blocked) Passed
block-name-matched-kill Yes Yes (pkill fixture blocked) Passed
block-secrets Yes Yes (staged secret blocked) Passed
check-rule-frontmatter Yes n/a (advisory) Passed
check-upstream-alignment Yes n/a (advisory) Passed
pretool-guard Yes Yes (secret/path payload blocked) Passed

3. Pre-Commit Hook Suite

pre-commit run --all-files
# ==> 19 / 19 hooks passed cleanly

4. Catch2 Unit Tests

ctest --preset conan-release --output-on-failure
# ==> 158 / 158 tests passed (100%)

PR Checklist

  • Describe the changes that were made and why
  • Unit tests verified locally
  • Initiating developer reviewed AI-generated code

…t tooling

Configure unified multi-agent development environment for Antigravity, Claude, Copilot, and OpenCode. Setup comprehensive pre-commit hooks, security guards, file-size ratchets, and complexity checks.

Contributes to UC-3697
Ensure block_name_matched_kill only inspects executable command positions to prevent false positives when process names appear inside quoted strings or markdown tables.

Contributes to UC-3697
@jellespijker Jelle Spijker (jellespijker) changed the title UC 3697 AI DF [UC-3697] Establish Quad-Agent development architecture, pre-commit tooling, and Emscripten safety Aug 20, 2026
@jellespijker
Jelle Spijker (jellespijker) marked this pull request as ready for review August 20, 2026 08:38

@HellAholic HellAholic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
PS. IBC

@HellAholic
HellAholic merged commit c1257dd into main Aug 20, 2026
2 checks passed
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.

2 participants