Combined Offense + Defense (Engineering Edition) — Cross-Project Reuse Matrix and When Not to Use An engineer at a company using Vue 3, Vite, Vitest, and Supabase merged two previously separate cross-project reuse tables from the Trace Lock series into a single 11-piece matrix. The matrix covers artifacts from both defense and offense engineering editions, including registry markdown entries, trace tests, governance rules, and decision pinning, each rated for reusability and framework dependency. May 2026 · Series "Trace Lock — Governance Notes from AI Pair-Programming" · Post 8 of 9 This is the engineering version of C1 Combined Offense + Defense https://./trace-lock-c1-combo-en.md , and also the convergence point of A2 Defense Engineering Edition https://./trace-lock-a2-defense-engineering-en.md and B2 Offense Engineering Edition https://./trace-lock-b2-offense-engineering-en.md . A2 explains how to lock a single known trace using 5 artifacts. B2 explains how to fix N gaps surfaced by an audit using a 6-piece fix pattern. Each of those posts came with its own "cross-project reuse" table, but only covered its own side. This post merges the two tables into an 11-piece matrix, then adds cross-stack mapping , objective-vs-subjective project differences , AI pair-programming vs traditional development differences , plus an expanded "when not to use" list. Written for engineers who already know A2's 5 artifacts and B2's 6-piece pattern. If you are a non-technical reader, C1 Combined Offense + Defense plain version https://./trace-lock-c1-combo-en.md is the post you want. My environment: Vue 3 + Vite + Vitest + Supabase PostgreSQL + Node.js scripts. The "framework layer / content layer" split and porting cost estimates below are based on this stack. Moving to a different stack Next.js + Prisma + Jest + tRPC, or Django + pytest + Celery keeps the skeleton applicable, but code skeletons need to be replaced. Merge A2's 5 artifacts with B2's 6-piece pattern. Deduplicate the overlap Registry / Trace test / Governance rule are shared . Add each side's unique pieces. The result is an 11-piece total list: | | Piece | A2 uses? | B2 uses? | Main location | Reusability | Framework dependency | |---|---|---|---|---|---|---| | 1 | Registry markdown entry | ✅ | ✅ | 文檔/data-source-registry.md Critical Traces section | ★★★★★ | Pure markdown | | 2 | Trace test 5-section structure | ✅ | ✅ | frontend-app/src/ tests /traces/T{NN}- .trace.test.js | ★★★★☆ | Any unit test runner | | 3 | Governance rule A trace-registry-test-coverage | ✅ | ✅ | scripts/governance-guard.mjs | ★★★★☆ | Node.js script | | 4 | Governance rule B trace-test-must-import-anchor | ✅ | ✅ | scripts/governance-guard.mjs | ★★★★☆ | Node.js script | | 5 | AI reminder skill | ✅ | ⚠️ partial | .claude/skills/trace-lock-modify/SKILL.md + .claude/skills/business-flow-audit-fix/SKILL.md | ★★★☆☆ | Claude Code / Cursor / other skill-enabled AI tools | | 6 | Pure-function helper convention | ❌ | ✅ | frontend-app/src/lib/business-rules/