[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73F9MCQF4JKXSABSXQT55CE":3,"skill-same:01M73F9MCQF4JKXSABSXQT55CE":73},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":6,"ownerHtmlUrl":56,"ownerBlogUrl":6,"ownerDescription":57,"updatedAt":58,"install":59,"resources":72},"01M73F9MCQF4JKXSABSXQT55CE","harness-verification",null,"Authoritative Harness Engineering Protocol: machine-readable spec requirements, documentation-to-test mapping, baseline-seed verification, runtime guardrails, handover certification, and drift management — issuing a Harness Pass Certificate.","5throck\u002Fai-workspace-standards","5throck","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F10958964?v=4","01M73BFEH0V0VS483TW4JD49JW","01M73BFEJ5VQZJHJSFTVPAZGDM",25,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-price\u002F.agents\u002Fskills\u002Fharness-verification\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: harness-verification\ndescription: >-\n  Authoritative Harness Engineering Protocol: machine-readable spec requirements,\n  documentation-to-test mapping, baseline-seed verification, runtime guardrails,\n  handover certification, and drift management — issuing a Harness Pass Certificate.\nversion: 2.1.0\nlast_reviewed: \"2026-08-25\"\nstatus: active\nscope: co-price\nowner: cpa-auditor\nprerequisites: docs\u002Fbiz_logic.md section anchors exist; ACME baseline seed available\nrelates_to:\n  - skill: double-entry-reconciliation\n    type: follows\n  - skill: i18n-audit\n    type: composes_with\n  - skill: pricing-playbook\n    type: composes_with\n  - skill: i18n-audit\n    type: composes_with\n  - skill: scenario-comparison\n    type: composes_with\n  - skill: prisma-7\n    type: composes_with\n  - skill: ui-component-design\n    type: composes_with\nmetadata:\n  type: quality\n  triggers:\n    - \"verify engine\"\n    - \"harness pass\"\n    - \"run verification protocol\"\n---\n\n# Harness Engineering Protocol — AIG Agentic Standard\n\nThis skill is the single authoritative procedure for making documentation machine-readable\nand implementation verifiable, so AI agents can harness documents to drive autonomous\ndevelopment and validation. *(Absorbed the former `docs\u002Fharness_protocol.md` document, 2026-08-25.)*\n\n## Trigger\nExecute after any write to `src\u002Flib\u002Fsimulation.ts`, `src\u002Flib\u002Fengine\u002F*`, or related business logic.\n\n## 1. Machine-Readable Specifications\n- **Mathematical formulas**: all business formulas written in **LaTeX** in `docs\u002Fbiz_logic.md`\n  so agents can parse equations into TypeScript.\n- **JSON schema references**: any complex structure mentioned in `architecture.md` must have a\n  matching TypeScript interface in `src\u002Flib\u002Ftypes.ts` (documentation-to-code alignment).\n\n## 2. Verification Steps (the original five gates)\n1. **Zod Schema Verification**: all new inputs covered by `src\u002Flib\u002Fschemas.ts`.\n2. **Math Precision Check**: `mathjs` used for all floating-point math — never native `+ - * \u002F`.\n3. **Documentation Mapping**: implemented logic documented in `biz_logic.md` with LaTeX formulas.\n4. **Test Harness**: `[Ref: biz_logic.Section_X]`-tagged Vitest suite passes on the Baseline Seed.\n5. **Output Certificate**: issue a **Harness Pass Certificate** in the task log if all gates pass.\n\n## 3. Documentation-to-Test Mapping\nEvery core logic block in `biz_logic.md` cross-references a unit test in `src\u002F__tests__`\n(naming convention: `[Ref: biz_logic.Section_2.1]` in the suite description). A **Harness Test**\nruns the standard Baseline Seed (`SimulationState`) and asserts output matches the Baseline\nResult P&L snapshot defined in the docs.\n\n## 4. Runtime Guardrails (Harnessing State)\n1. **Zod enforcement**: every input to `simulate()` validated by Zod schemas mirroring `erd.md`.\n2. **Type-safe math**: `mathjs` wrappers (`precision.ts`) against IEEE 754 drift.\n3. **Boundary guards**: early returns or thrown errors for invalid states (e.g., mix ratio ≠ 1.0).\n\n## 5. Agentic Verification Handover\n1. **Submission**: `core-engine-dev` submits code + Vitest report.\n2. **Audit**: `cpa-auditor` verifies assertions match the LaTeX formulas exactly.\n3. **Certification**: Auditor issues the Harness Pass Certificate (PR body marker).\n\n### 5.1. Precision Verification Checklist\n- [ ] `mathjs` used for non-integer calculations?\n- [ ] Test uses the Baseline Seed (§3)?\n- [ ] Rounding (`Math.round`) applied only at final-output stage in expectations?\n\n### 5.2. Security Audit Checklist (with `security-auditor`)\n- [ ] No secrets leakage: `.env` ignored; no hardcoded keys\u002Ftokens.\n- [ ] Data sanitization: inputs Zod-validated; Prisma only, no raw SQL.\n- [ ] Access control: Server Actions validate ownership via `getUserId()` \u002F `auth()`.\n- [ ] Asset integrity: `prisma\u002Fdev.db` tracked correctly, not corrupted.\n\n## 6. Spec Self-Healing & Drift Management\nOn logic drift (code ≠ spec):\n1. **Spec first**: update `biz_logic.md` with the corrected LaTeX formula.\n2. **Harness update**: modify the test suite to match the new formula.\n3. **Implementation**: adjust engine code until the updated harness passes.\n4. **Audit**: reconvene the Strategic Council for any change impacting BEP or Contribution Margin.\n\n## Output\nHarness Pass Certificate block (gates passed, seed hash, tolerances) or a rejection list of\nfailing `[Ref:]` anchors.\n## Context\n\nSee [docs\u002Fco-price.context.md](..\u002F..\u002Fdocs\u002Fco-price.context.md) for project context and the consulting engagement lifecycle.\n\n## When to Use\n\n- When a co-price task requires **5-gate engine certification pipeline** within the engagement lifecycle.\n\n## Execution Steps\n\n1. **Receive dispatch** from PM with task parameters and document anchors.\n2. **Execute** the skill procedure against the artifacts named in the task scope.\n3. **Report** results to the dispatching agent with evidence links.\n\n## Output Format\n\nStructured markdown report delivered to the dispatching agent, citing document anchors (for example `[Ref: biz_logic.*]`) where applicable.\n\n## Related Skills\n\n- Owner agent: `cpa-auditor`. See `variant.json` skills registry for the full co-price skill set.\n","# Harness Engineering Protocol — AIG Agentic Standard\n\nThis skill is the single authoritative procedure for making documentation machine-readable\nand implementation verifiable, so AI agents can harness documents to drive autonomous\ndevelopment and validation. *(Absorbed the former `docs\u002Fharness_protocol.md` document, 2026-08-25.)*\n\n## Trigger\nExecute after any write to `src\u002Flib\u002Fsimulation.ts`, `src\u002Flib\u002Fengine\u002F*`, or related business logic.\n\n## 1. Machine-Readable Specifications\n- **Mathematical formulas**: all business formulas written in **LaTeX** in `docs\u002Fbiz_logic.md`\n  so agents can parse equations into TypeScript.\n- **JSON schema references**: any complex structure mentioned in `architecture.md` must have a\n  matching TypeScript interface in `src\u002Flib\u002Ftypes.ts` (documentation-to-code alignment).\n\n## 2. Verification Steps (the original five gates)\n1. **Zod Schema Verification**: all new inputs covered by `src\u002Flib\u002Fschemas.ts`.\n2. **Math Precision Check**: `mathjs` used for all floating-point math — never native `+ - * \u002F`.\n3. **Documentation Mapping**: implemented logic documented in `biz_logic.md` with LaTeX formulas.\n4. **Test Harness**: `[Ref: biz_logic.Section_X]`-tagged Vitest suite passes on the Baseline Seed.\n5. **Output Certificate**: issue a **Harness Pass Certificate** in the task log if all gates pass.\n\n## 3. Documentation-to-Test Mapping\nEvery core logic block in `biz_logic.md` cross-references a unit test in `src\u002F__tests__`\n(naming convention: `[Ref: biz_logic.Section_2.1]` in the suite description). A **Harness Test**\nruns the standard Baseline Seed (`SimulationState`) and asserts output matches the Baseline\nResult P&L snapshot defined in the docs.\n\n## 4. Runtime Guardrails (Harnessing State)\n1. **Zod enforcement**: every input to `simulate()` validated by Zod schemas mirroring `erd.md`.\n2. **Type-safe math**: `mathjs` wrappers (`precision.ts`) against IEEE 754 drift.\n3. **Boundary guards**: early returns or thrown errors for invalid states (e.g., mix ratio ≠ 1.0).\n\n## 5. Agentic Verification Handover\n1. **Submission**: `core-engine-dev` submits code + Vitest report.\n2. **Audit**: `cpa-auditor` verifies assertions match the LaTeX formulas exactly.\n3. **Certification**: Auditor issues the Harness Pass Certificate (PR body marker).\n\n### 5.1. Precision Verification Checklist\n- [ ] `mathjs` used for non-integer calculations?\n- [ ] Test uses the Baseline Seed (§3)?\n- [ ] Rounding (`Math.round`) applied only at final-output stage in expectations?\n\n### 5.2. Security Audit Checklist (with `security-auditor`)\n- [ ] No secrets leakage: `.env` ignored; no hardcoded keys\u002Ftokens.\n- [ ] Data sanitization: inputs Zod-validated; Prisma only, no raw SQL.\n- [ ] Access control: Server Actions validate ownership via `getUserId()` \u002F `auth()`.\n- [ ] Asset integrity: `prisma\u002Fdev.db` tracked correctly, not corrupted.\n\n## 6. Spec Self-Healing & Drift Management\nOn logic drift (code ≠ spec):\n1. **Spec first**: update `biz_logic.md` with the corrected LaTeX formula.\n2. **Harness update**: modify the test suite to match the new formula.\n3. **Implementation**: adjust engine code until the updated harness passes.\n4. **Audit**: reconvene the Strategic Council for any change impacting BEP or Contribution Margin.\n\n## Output\nHarness Pass Certificate block (gates passed, seed hash, tolerances) or a rejection list of\nfailing `[Ref:]` anchors.\n## Context\n\nSee [docs\u002Fco-price.context.md](..\u002F..\u002Fdocs\u002Fco-price.context.md) for project context and the consulting engagement lifecycle.\n\n## When to Use\n\n- When a co-price task requires **5-gate engine certification pipeline** within the engagement lifecycle.\n\n## Execution Steps\n\n1. **Receive dispatch** from PM with task parameters and document anchors.\n2. **Execute** the skill procedure against the artifacts named in the task scope.\n3. **Report** results to the dispatching agent with evidence links.\n\n## Output Format\n\nStructured markdown report delivered to the dispatching agent, citing document anchors (for example `[Ref: biz_logic.*]`) where applicable.\n\n## Related Skills\n\n- Owner agent: `cpa-auditor`. See `variant.json` skills registry for the full co-price skill set.\n",{"name":5,"owner":23,"scope":24,"status":25,"version":26,"metadata":27,"relates_to":33,"description":7,"last_reviewed":49,"prerequisites":50},"cpa-auditor","co-price","active","2.1.0",{"type":28,"triggers":29},"quality",[30,31,32],"verify engine","harness pass","run verification protocol",[34,37,40,42,43,45,47],{"type":35,"skill":36},"follows","double-entry-reconciliation",{"type":38,"skill":39},"composes_with","i18n-audit",{"type":38,"skill":41},"pricing-playbook",{"type":38,"skill":39},{"type":38,"skill":44},"scenario-comparison",{"type":38,"skill":46},"prisma-7",{"type":38,"skill":48},"ui-component-design","2026-08-25","docs\u002Fbiz_logic.md section anchors exist; ACME baseline seed available","main","1162ccc568cf90c01b3886d6143cbfd851a37883","templates\u002Fco-price\u002F.agents\u002Fskills\u002Fharness-verification",9,"https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards","https:\u002F\u002Fgithub.com\u002F5throck","Experienced in digital transformation, enterprise IT, startup acceleration, and business strategy. Focused on building practical systems that connect technolo","2026-11-14 21:22:34",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add 5throck\u002Fai-workspace-standards --skill harness-verification",{"tool":65,"command":66},"bunx","bunx skills add 5throck\u002Fai-workspace-standards --skill harness-verification",{"tool":68,"command":69},"pnpm","pnpm dlx skills add 5throck\u002Fai-workspace-standards --skill harness-verification","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-price\u002F.agents\u002Fskills\u002Fharness-verification\u002FSKILL.md",true,[],[74,82,87,92,97,102],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":81},"01M7BBJDYHJMGTJYSC37JVWY8S","i18n-layout","Text layout and encoding guidance: character encoding (UTF-8, legacy Korean code pages, BOM hazards), line endings, RTL\u002Fbidi handling, and script-specific font selection (Hangul focus). Use when: encoding is corrupted or mojibake appears, an RTL locale must render correctly, fonts must be chosen for a script, or CRLF\u002FBOM issues surface.","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-work\u002Fskills\u002Fi18n-layout\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":83,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":81},"01M7BBJ9XHAAS1AVGKZZ841VBZ","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-work\u002F.hermes\u002Fskills\u002Fi18n-layout\u002FSKILL.md",[],[],{"skillNo":88,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":81},"01M7BBJ5C3X8TKFKG5R9P9P49W","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-work\u002F.gemini\u002Fskills\u002Fi18n-layout\u002FSKILL.md",[],[],{"skillNo":93,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":81},"01M7BBJ1B52X0QMJ2QVBMPJB37","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-work\u002F.codex\u002Fskills\u002Fi18n-layout\u002FSKILL.md",[],[],{"skillNo":98,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":81},"01M7BBHX91BW2Q2R276MRX5AW3","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-work\u002F.claude\u002Fskills\u002Fi18n-layout\u002FSKILL.md",[],[],{"skillNo":103,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":81},"01M7BBHQWGXPSFRWN1PRC2NMMV","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-work\u002F.agents\u002Fskills\u002Fi18n-layout\u002FSKILL.md",[],[]]