@vesviet/agent-skills 0.0.0-stage → 5.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/INDEX.md +973 -0
- package/LICENSE +201 -0
- package/README.md +137 -2
- package/VERSION +1 -0
- package/adapters/antigravity/ANTIGRAVITY.md +136 -0
- package/adapters/antigravity/a2a-config.template.yaml +82 -0
- package/adapters/antigravity/capability-role-map.generated.yaml +41 -0
- package/adapters/antigravity/role-skill-index.json +4812 -0
- package/adapters/antigravity/rules.template.md +39 -0
- package/adapters/claude/CLAUDE_ADAPTER.md +271 -0
- package/adapters/claude/commands/check-policy.md +15 -0
- package/adapters/claude/commands/coordinate.md +17 -0
- package/adapters/claude/commands/review.md +17 -0
- package/adapters/claude/settings.template.json +36 -0
- package/adapters/cursor/README.md +186 -0
- package/adapters/cursor/hooks.template.json +71 -0
- package/bin/agent-skills.mjs +244 -0
- package/core/contracts/README.md +158 -0
- package/core/contracts/schemas/INDEX.md +227 -0
- package/core/contracts/schemas/a2a-artifact.json +171 -0
- package/core/contracts/schemas/a2a-jsonrpc-envelope.json +74 -0
- package/core/contracts/schemas/a2a-message.json +107 -0
- package/core/contracts/schemas/a2a-push-notification-config.json +57 -0
- package/core/contracts/schemas/a2a-task-cancel.json +36 -0
- package/core/contracts/schemas/a2a-task-progress.json +80 -0
- package/core/contracts/schemas/a2a-task-status.json +181 -0
- package/core/contracts/schemas/a2a-task.json +219 -0
- package/core/contracts/schemas/accounting-compliance-review.json +379 -0
- package/core/contracts/schemas/adr-spec.json +225 -0
- package/core/contracts/schemas/agent-card.json +382 -0
- package/core/contracts/schemas/agent-eval-report.json +490 -0
- package/core/contracts/schemas/agent-trace-span.json +146 -0
- package/core/contracts/schemas/ai-risk-register.json +198 -0
- package/core/contracts/schemas/amis-voucher-contract.json +541 -0
- package/core/contracts/schemas/api-contract-spec.json +191 -0
- package/core/contracts/schemas/architecture-options.json +128 -0
- package/core/contracts/schemas/assumptions-ledger.json +130 -0
- package/core/contracts/schemas/aws-infra-spec.json +248 -0
- package/core/contracts/schemas/code-review-finding.json +295 -0
- package/core/contracts/schemas/compact-working-state.json +282 -0
- package/core/contracts/schemas/content-audit-report.json +270 -0
- package/core/contracts/schemas/content-handoff.json +534 -0
- package/core/contracts/schemas/coordination-plan.json +530 -0
- package/core/contracts/schemas/data-analysis-report.json +492 -0
- package/core/contracts/schemas/data-pipeline-spec.json +420 -0
- package/core/contracts/schemas/deployment-plan.json +600 -0
- package/core/contracts/schemas/design-tokens-spec.json +539 -0
- package/core/contracts/schemas/document-manifest.json +155 -0
- package/core/contracts/schemas/documentation-handoff.json +137 -0
- package/core/contracts/schemas/edge-deployment-spec.json +375 -0
- package/core/contracts/schemas/feature-ticket.json +1293 -0
- package/core/contracts/schemas/implementation-result.json +165 -0
- package/core/contracts/schemas/incident-report.json +466 -0
- package/core/contracts/schemas/learning-assessment-report.json +285 -0
- package/core/contracts/schemas/learning-handoff.json +244 -0
- package/core/contracts/schemas/legal-compliance-review.json +287 -0
- package/core/contracts/schemas/legal-opinion-contract.json +248 -0
- package/core/contracts/schemas/memory-audit-report.json +283 -0
- package/core/contracts/schemas/mmo-campaign-spec.json +414 -0
- package/core/contracts/schemas/mmo-roi-report.json +312 -0
- package/core/contracts/schemas/performance-audit.json +239 -0
- package/core/contracts/schemas/period-end-closing-report.json +472 -0
- package/core/contracts/schemas/pull-request-spec.json +338 -0
- package/core/contracts/schemas/references/detailed/01-solution-and-governance.md +19 -0
- package/core/contracts/schemas/references/detailed/02-engineering-delivery.md +93 -0
- package/core/contracts/schemas/references/detailed/03-quality-and-review.md +67 -0
- package/core/contracts/schemas/references/detailed/04-finance-accounting-and-compliance.md +54 -0
- package/core/contracts/schemas/references/detailed/05-design-and-content.md +92 -0
- package/core/contracts/schemas/references/detailed/06-seo-and-publishing.md +48 -0
- package/core/contracts/schemas/references/detailed/07-a2a-protocol.md +85 -0
- package/core/contracts/schemas/references/detailed/08-agent-infrastructure.md +31 -0
- package/core/contracts/schemas/research-report.json +823 -0
- package/core/contracts/schemas/schema-migration.json +86 -0
- package/core/contracts/schemas/security-audit.json +131 -0
- package/core/contracts/schemas/seo-audit-report.json +1057 -0
- package/core/contracts/schemas/seo-content-brief.json +852 -0
- package/core/contracts/schemas/seo-metadata.json +292 -0
- package/core/contracts/schemas/seo-weekly-board.json +840 -0
- package/core/contracts/schemas/series-article.json +155 -0
- package/core/contracts/schemas/solution-brief.json +244 -0
- package/core/contracts/schemas/stock-audit-session.json +522 -0
- package/core/contracts/schemas/system-design-spec.json +434 -0
- package/core/contracts/schemas/technical-delivery-plan.json +453 -0
- package/core/contracts/schemas/test-report.json +530 -0
- package/core/contracts/schemas/ui-component-spec.json +314 -0
- package/core/contracts/schemas/ux-flow-spec.json +306 -0
- package/core/contracts/schemas/validation-result.json +109 -0
- package/core/policies/README.md +110 -0
- package/core/policies/action-boundaries.yaml +1492 -0
- package/core/policies/data-classification.yaml +126 -0
- package/core/policies/execution-sandbox.md +362 -0
- package/core/policies/mcp-tool-map.yaml +302 -0
- package/core/roles/3d-graphics-engineer.md +303 -0
- package/core/roles/README.md +314 -0
- package/core/roles/agent-coordinator.md +453 -0
- package/core/roles/agent-discovery-engineer.md +243 -0
- package/core/roles/ai-systems-engineer.md +365 -0
- package/core/roles/aws-engineer.md +339 -0
- package/core/roles/backend-developer.md +466 -0
- package/core/roles/business-analyst.md +402 -0
- package/core/roles/cloudflare-engineer.md +298 -0
- package/core/roles/content-manager.md +336 -0
- package/core/roles/content-writer.md +399 -0
- package/core/roles/data-analyst.md +421 -0
- package/core/roles/data-engineer.md +439 -0
- package/core/roles/devops-engineer.md +614 -0
- package/core/roles/ecommerce-engineer.md +274 -0
- package/core/roles/frontend-developer.md +414 -0
- package/core/roles/game-developer.md +213 -0
- package/core/roles/mmo-engineer.md +228 -0
- package/core/roles/mobile-engineer.md +485 -0
- package/core/roles/product-manager.md +382 -0
- package/core/roles/project-manager.md +279 -0
- package/core/roles/prompt-engineer.md +197 -0
- package/core/roles/qa-engineer.md +574 -0
- package/core/roles/references/3d-graphics-engineer-review-checklist.md +116 -0
- package/core/roles/references/agent-coordinator-review-checklist.md +165 -0
- package/core/roles/references/agent-discovery-engineer-review-checklist.md +125 -0
- package/core/roles/references/ai-systems-engineer-review-checklist.md +151 -0
- package/core/roles/references/aws-engineer-review-checklist.md +169 -0
- package/core/roles/references/backend-developer-review-checklist.md +105 -0
- package/core/roles/references/business-analyst-responsibilities.md +207 -0
- package/core/roles/references/business-analyst-review-checklist.md +228 -0
- package/core/roles/references/cloudflare-engineer-review-checklist.md +152 -0
- package/core/roles/references/content-manager-governance-standards.md +147 -0
- package/core/roles/references/content-manager-review-checklist.md +68 -0
- package/core/roles/references/content-writer-anti-ai-standards.md +199 -0
- package/core/roles/references/content-writer-review-checklist.md +58 -0
- package/core/roles/references/data-analyst-review-checklist.md +76 -0
- package/core/roles/references/data-engineer-review-checklist.md +77 -0
- package/core/roles/references/devops-engineer-review-checklist.md +195 -0
- package/core/roles/references/ecommerce-engineer-review-checklist.md +129 -0
- package/core/roles/references/frontend-developer-responsibilities.md +275 -0
- package/core/roles/references/frontend-developer-review-checklist.md +122 -0
- package/core/roles/references/game-developer-review-checklist.md +115 -0
- package/core/roles/references/mmo-engineer-review-checklist.md +125 -0
- package/core/roles/references/mobile-engineer-review-checklist.md +54 -0
- package/core/roles/references/product-manager-review-checklist.md +113 -0
- package/core/roles/references/project-manager-review-checklist.md +122 -0
- package/core/roles/references/prompt-engineer-review-checklist.md +70 -0
- package/core/roles/references/qa-engineer-review-checklist.md +190 -0
- package/core/roles/references/researcher-review-checklist.md +176 -0
- package/core/roles/references/reviewer-review-checklist.md +67 -0
- package/core/roles/references/sdet-review-checklist.md +66 -0
- package/core/roles/references/security-engineer-review-checklist.md +122 -0
- package/core/roles/references/seo-analyst-geo-standards.md +195 -0
- package/core/roles/references/seo-analyst-review-checklist.md +84 -0
- package/core/roles/references/solution-architect-review-checklist.md +71 -0
- package/core/roles/references/sre-review-checklist.md +35 -0
- package/core/roles/references/system-engineer-review-checklist.md +124 -0
- package/core/roles/references/task-planner-review-checklist.md +114 -0
- package/core/roles/references/teacher-review-checklist.md +47 -0
- package/core/roles/references/technical-architect-review-checklist.md +72 -0
- package/core/roles/references/technical-lead-review-checklist.md +57 -0
- package/core/roles/references/technical-writer-review-checklist.md +120 -0
- package/core/roles/references/ui-ux-designer-anti-slop-standards.md +1000 -0
- package/core/roles/references/ui-ux-designer-responsibilities.md +250 -0
- package/core/roles/references/ui-ux-designer-review-checklist.md +114 -0
- package/core/roles/references/vietnam-accounting-specialist-review-checklist.md +53 -0
- package/core/roles/references/vietnam-legal-counsel-review-checklist.md +31 -0
- package/core/roles/researcher.md +427 -0
- package/core/roles/reviewer.md +294 -0
- package/core/roles/role-standard.md +242 -0
- package/core/roles/sdet.md +198 -0
- package/core/roles/security-engineer.md +343 -0
- package/core/roles/seo-analyst.md +425 -0
- package/core/roles/solution-architect.md +523 -0
- package/core/roles/sre.md +260 -0
- package/core/roles/system-engineer.md +465 -0
- package/core/roles/task-planner.md +277 -0
- package/core/roles/teacher.md +298 -0
- package/core/roles/technical-architect.md +536 -0
- package/core/roles/technical-lead.md +367 -0
- package/core/roles/technical-writer.md +359 -0
- package/core/roles/ui-ux-designer.md +397 -0
- package/core/roles/vietnam-accounting-specialist.md +317 -0
- package/core/roles/vietnam-legal-counsel.md +306 -0
- package/core/rules/README.md +101 -0
- package/core/rules/code.md +46 -0
- package/core/rules/knowledge.md +69 -0
- package/core/skills/README.md +440 -0
- package/core/skills/agent/INDEX.json +396 -0
- package/core/skills/agent/agent-a2a-protocol/SKILL.md +189 -0
- package/core/skills/agent/agent-a2a-protocol/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-a2a-protocol/references/a2a-spec.md +60 -0
- package/core/skills/agent/agent-context-management/SKILL.md +187 -0
- package/core/skills/agent/agent-context-management/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-delegation/SKILL.md +168 -0
- package/core/skills/agent/agent-delegation/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-graph-orchestration/SKILL.md +172 -0
- package/core/skills/agent/agent-graph-orchestration/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-handoff/SKILL.md +156 -0
- package/core/skills/agent/agent-handoff/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-memory-compaction/SKILL.md +112 -0
- package/core/skills/agent/agent-memory-compaction/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-memory-compaction/references/anchored-schema-and-compaction-algorithms.md +141 -0
- package/core/skills/agent/agent-model-routing/SKILL.md +175 -0
- package/core/skills/agent/agent-model-routing/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-observability/SKILL.md +168 -0
- package/core/skills/agent/agent-observability/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-panel-meeting/SKILL.md +153 -0
- package/core/skills/agent/agent-panel-meeting/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-prompt-lifecycle/SKILL.md +191 -0
- package/core/skills/agent/agent-prompt-lifecycle/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-prompt-lifecycle/references/output-format.md +32 -0
- package/core/skills/agent/agent-quality-gate/SKILL.md +174 -0
- package/core/skills/agent/agent-quality-gate/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-semantic-memory/SKILL.md +164 -0
- package/core/skills/agent/agent-semantic-memory/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-tool-orchestration/SKILL.md +193 -0
- package/core/skills/agent/agent-tool-orchestration/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-tool-orchestration/references/2026-patterns.md +67 -0
- package/core/skills/agent/architect-mcp-server/SKILL.md +87 -0
- package/core/skills/agent/architect-mcp-server/agents/openai.yaml +4 -0
- package/core/skills/agent/architect-mcp-server/references/enterprise-mcp-server-architecture.md +217 -0
- package/core/skills/agent/configure-agent-commerce/SKILL.md +172 -0
- package/core/skills/agent/configure-agent-commerce/agents/openai.yaml +4 -0
- package/core/skills/agent/configure-agent-headers/SKILL.md +102 -0
- package/core/skills/agent/configure-agent-headers/agents/openai.yaml +4 -0
- package/core/skills/agent/configure-agent-skills/SKILL.md +108 -0
- package/core/skills/agent/configure-agent-skills/agents/openai.yaml +4 -0
- package/core/skills/agent/configure-mcp/SKILL.md +193 -0
- package/core/skills/agent/configure-mcp/agents/openai.yaml +4 -0
- package/core/skills/agent/configure-mcp/references/2026-07-28-migration.md +60 -0
- package/core/skills/agent/configure-oauth-metadata/SKILL.md +139 -0
- package/core/skills/agent/configure-oauth-metadata/agents/openai.yaml +4 -0
- package/core/skills/agent/debug-identity-provider/SKILL.md +109 -0
- package/core/skills/agent/debug-identity-provider/agents/openai.yaml +4 -0
- package/core/skills/agent/decompose-agentic-system/SKILL.md +88 -0
- package/core/skills/agent/decompose-agentic-system/agents/openai.yaml +4 -0
- package/core/skills/agent/decompose-agentic-system/references/recursive-decomposition-and-persistent-planning.md +200 -0
- package/core/skills/agent/manage-agent-identity/SKILL.md +187 -0
- package/core/skills/agent/manage-agent-identity/agents/openai.yaml +4 -0
- package/core/skills/agent/manage-api-catalog/SKILL.md +133 -0
- package/core/skills/agent/manage-api-catalog/agents/openai.yaml +4 -0
- package/core/skills/agent/manage-auth-md/SKILL.md +119 -0
- package/core/skills/agent/manage-auth-md/agents/openai.yaml +4 -0
- package/core/skills/ai/deploy-vllm-inference/SKILL.md +163 -0
- package/core/skills/ai/deploy-vllm-inference/agents/openai.yaml +4 -0
- package/core/skills/ai/deploy-vllm-inference/references/vllm-production-guide.md +466 -0
- package/core/skills/ai-agent/agent-evaluation/SKILL.md +102 -0
- package/core/skills/ai-agent/context-optimization/SKILL.md +97 -0
- package/core/skills/ai-agent/memory-hygiene/SKILL.md +112 -0
- package/core/skills/backend/add-api-endpoint/SKILL.md +102 -0
- package/core/skills/backend/add-api-endpoint/agents/openai.yaml +4 -0
- package/core/skills/backend/add-api-endpoint/references/api-contracts-and-error-specs.md +127 -0
- package/core/skills/backend/add-event-handler/SKILL.md +130 -0
- package/core/skills/backend/add-event-handler/agents/openai.yaml +4 -0
- package/core/skills/backend/add-service-client/SKILL.md +166 -0
- package/core/skills/backend/add-service-client/agents/openai.yaml +4 -0
- package/core/skills/backend/build-mcp-server/SKILL.md +100 -0
- package/core/skills/backend/build-mcp-server/agents/openai.yaml +4 -0
- package/core/skills/backend/implement-auth/SKILL.md +90 -0
- package/core/skills/backend/implement-auth/agents/openai.yaml +4 -0
- package/core/skills/backend/implement-auth/references/auth-flows-and-session-specs.md +229 -0
- package/core/skills/backend/implement-structured-outputs/SKILL.md +94 -0
- package/core/skills/backend/implement-structured-outputs/agents/openai.yaml +4 -0
- package/core/skills/backend/optimize-postgres/SKILL.md +89 -0
- package/core/skills/backend/optimize-postgres/agents/openai.yaml +4 -0
- package/core/skills/backend/optimize-postgres/references/pooling-branching-and-tuning.md +218 -0
- package/core/skills/backend/scaffold-new-service/SKILL.md +97 -0
- package/core/skills/backend/scaffold-new-service/agents/openai.yaml +4 -0
- package/core/skills/backend/scaffold-new-service/references/service-scaffolding-guide.md +141 -0
- package/core/skills/business/elicit-requirements/SKILL.md +102 -0
- package/core/skills/business/elicit-requirements/references/elicitation-techniques-and-babok-criteria.md +60 -0
- package/core/skills/business/trace-requirements-impact/SKILL.md +97 -0
- package/core/skills/business/trace-requirements-impact/references/rtm-graph-and-prioritization-models.md +109 -0
- package/core/skills/business/write-use-cases/SKILL.md +106 -0
- package/core/skills/business/write-use-cases/references/cockburn-scoping-and-13-field-template.md +135 -0
- package/core/skills/commerce/2026_STANDARDS_SUMMARY.md +316 -0
- package/core/skills/commerce/INDEX.json +72 -0
- package/core/skills/commerce/handle-checkout-flow/SKILL.md +192 -0
- package/core/skills/commerce/handle-checkout-flow/UPGRADE_PLAN_2026.md +99 -0
- package/core/skills/commerce/handle-checkout-flow/agents/openai.yaml +4 -0
- package/core/skills/commerce/integrate-payment-gateway/SKILL.md +187 -0
- package/core/skills/commerce/integrate-payment-gateway/UPGRADE_PLAN_2026.md +128 -0
- package/core/skills/commerce/integrate-payment-gateway/agents/openai.yaml +4 -0
- package/core/skills/commerce/manage-order-fulfillment/SKILL.md +197 -0
- package/core/skills/commerce/manage-order-fulfillment/UPGRADE_PLAN_2026.md +136 -0
- package/core/skills/commerce/manage-order-fulfillment/agents/openai.yaml +4 -0
- package/core/skills/commerce/manage-product-catalog/SKILL.md +189 -0
- package/core/skills/commerce/manage-product-catalog/UPGRADE_PLAN_2026.md +130 -0
- package/core/skills/commerce/manage-product-catalog/agents/openai.yaml +4 -0
- package/core/skills/content/audit-content/SKILL.md +120 -0
- package/core/skills/content/audit-content/agents/openai.yaml +4 -0
- package/core/skills/content/audit-content/references/ai-semantic-flaw-rubric.md +43 -0
- package/core/skills/content/audit-content/references/citation-verification-guide.md +39 -0
- package/core/skills/content/audit-content/references/information-gain-rubric.md +51 -0
- package/core/skills/content/design-content-strategy/SKILL.md +108 -0
- package/core/skills/content/design-content-strategy/agents/openai.yaml +4 -0
- package/core/skills/content/design-content-strategy/references/distribution-loops-and-drift-prevention.md +109 -0
- package/core/skills/content/design-content-strategy/references/information-gain-and-decay-triage.md +149 -0
- package/core/skills/content/design-content-strategy/references/pillar-cluster-and-funnel-playbook.md +159 -0
- package/core/skills/content/optimize-seo/SKILL.md +179 -0
- package/core/skills/content/optimize-seo/agents/openai.yaml +4 -0
- package/core/skills/content/optimize-seo/references/entity-salience-and-schema.md +88 -0
- package/core/skills/content/optimize-seo/references/geo-ai-citation-playbook.md +42 -0
- package/core/skills/content/optimize-seo/references/process-and-checklist.md +116 -0
- package/core/skills/content/repurpose-content/SKILL.md +150 -0
- package/core/skills/content/repurpose-content/agents/openai.yaml +4 -0
- package/core/skills/content/repurpose-content/references/channel-repurposing-playbook.md +96 -0
- package/core/skills/content/repurpose-content/references/entity-fidelity-guide.md +42 -0
- package/core/skills/content/write-article/SKILL.md +169 -0
- package/core/skills/content/write-article/agents/openai.yaml +4 -0
- package/core/skills/content/write-article/references/ai-drafting-playbook.md +141 -0
- package/core/skills/content/write-article/references/anti-ai-style-guide.md +52 -0
- package/core/skills/content/write-article/references/authentic-source-matrix.md +36 -0
- package/core/skills/content/write-article/references/suggested-process.md +61 -0
- package/core/skills/content/write-copy/SKILL.md +102 -0
- package/core/skills/content/write-copy/agents/openai.yaml +4 -0
- package/core/skills/content/write-copy/references/behavioral-psychology-and-conversion.md +147 -0
- package/core/skills/content/write-copy/references/copywriting-frameworks-playbook.md +250 -0
- package/core/skills/content/write-copy/references/humanizer-voice-and-cadence-guide.md +134 -0
- package/core/skills/document/docx/SKILL.md +64 -0
- package/core/skills/document/pdf/SKILL.md +65 -0
- package/core/skills/document/pptx/SKILL.md +67 -0
- package/core/skills/document/pptx/scripts/add_slide.py +91 -0
- package/core/skills/document/pptx/scripts/clean.py +84 -0
- package/core/skills/document/pptx/scripts/thumbnail.py +112 -0
- package/core/skills/document/xlsx/SKILL.md +65 -0
- package/core/skills/document/xlsx/scripts/recalc.py +388 -0
- package/core/skills/documentation/configure-llms-txt/SKILL.md +170 -0
- package/core/skills/documentation/configure-llms-txt/agents/openai.yaml +4 -0
- package/core/skills/documentation/write-documentation/SKILL.md +143 -0
- package/core/skills/documentation/write-documentation/agents/openai.yaml +4 -0
- package/core/skills/documentation/write-tech-radar/SKILL.md +149 -0
- package/core/skills/documentation/write-tech-radar/agents/openai.yaml +4 -0
- package/core/skills/education/2026_STANDARDS_SUMMARY.md +290 -0
- package/core/skills/education/INDEX.json +44 -0
- package/core/skills/education/create-exercises/SKILL.md +98 -0
- package/core/skills/education/create-exercises/UPGRADE_PLAN_2026.md +115 -0
- package/core/skills/education/create-exercises/agents/openai.yaml +4 -0
- package/core/skills/education/create-exercises/references/dok-and-ai-resistant-exercise-design.md +115 -0
- package/core/skills/education/create-exercises/references/irt-calibration-and-scoring-matrices.md +113 -0
- package/core/skills/education/design-learning-plan/SKILL.md +109 -0
- package/core/skills/education/design-learning-plan/UPGRADE_PLAN_2026.md +140 -0
- package/core/skills/education/design-learning-plan/agents/openai.yaml +4 -0
- package/core/skills/education/design-learning-plan/references/spaced-scheduling-and-socratic-scaffolding.md +117 -0
- package/core/skills/education/design-learning-plan/references/zpd-pathways-and-smart-objectives.md +108 -0
- package/core/skills/education/grade-and-review/SKILL.md +104 -0
- package/core/skills/education/grade-and-review/UPGRADE_PLAN_2026.md +141 -0
- package/core/skills/education/grade-and-review/agents/openai.yaml +4 -0
- package/core/skills/education/grade-and-review/references/analytic-rubrics-and-grading-hallucination-defense.md +117 -0
- package/core/skills/education/grade-and-review/references/cognitive-error-analysis-and-socratic-feedback.md +124 -0
- package/core/skills/foundation/accessibility-review/SKILL.md +160 -0
- package/core/skills/foundation/accessibility-review/agents/openai.yaml +4 -0
- package/core/skills/foundation/ai-risk-assessment/SKILL.md +198 -0
- package/core/skills/foundation/ai-risk-assessment/agents/openai.yaml +4 -0
- package/core/skills/foundation/combinatorial-testing/SKILL.md +165 -0
- package/core/skills/foundation/combinatorial-testing/agents/openai.yaml +4 -0
- package/core/skills/foundation/conduct-research/SKILL.md +132 -0
- package/core/skills/foundation/conduct-research/agents/openai.yaml +4 -0
- package/core/skills/foundation/conduct-research/references/ai-era-source-discipline.md +58 -0
- package/core/skills/foundation/conduct-research/references/output-format.md +75 -0
- package/core/skills/foundation/conduct-research/references/sota-deep-research-architecture.md +733 -0
- package/core/skills/foundation/create-migration/SKILL.md +151 -0
- package/core/skills/foundation/create-migration/agents/openai.yaml +4 -0
- package/core/skills/foundation/create-migration/references/patterns-and-gotchas.md +58 -0
- package/core/skills/foundation/create-migration/references/suggested-process.md +111 -0
- package/core/skills/foundation/design-review/SKILL.md +138 -0
- package/core/skills/foundation/design-review/agents/openai.yaml +4 -0
- package/core/skills/foundation/design-ux-flow/SKILL.md +153 -0
- package/core/skills/foundation/design-ux-flow/agents/openai.yaml +4 -0
- package/core/skills/foundation/discernment-nudge/SKILL.md +64 -0
- package/core/skills/foundation/hostile-component-stress-testing/SKILL.md +139 -0
- package/core/skills/foundation/incident-report/SKILL.md +119 -0
- package/core/skills/foundation/incident-report/agents/openai.yaml +4 -0
- package/core/skills/foundation/performance-profiling/SKILL.md +127 -0
- package/core/skills/foundation/performance-profiling/agents/openai.yaml +4 -0
- package/core/skills/foundation/performance-profiling/references/patterns-and-safety.md +57 -0
- package/core/skills/foundation/performance-profiling/references/suggested-process.md +113 -0
- package/core/skills/foundation/plan-technical-delivery/SKILL.md +118 -0
- package/core/skills/foundation/plan-technical-delivery/agents/openai.yaml +4 -0
- package/core/skills/foundation/plan-technical-delivery/references/spec-driven-planning.md +104 -0
- package/core/skills/foundation/playwright-evidence-qa/SKILL.md +139 -0
- package/core/skills/foundation/release-notes/SKILL.md +192 -0
- package/core/skills/foundation/release-notes/agents/openai.yaml +4 -0
- package/core/skills/foundation/systematic-debugging/SKILL.md +165 -0
- package/core/skills/foundation/systematic-debugging/agents/openai.yaml +4 -0
- package/core/skills/foundation/webapp-server-runner/SKILL.md +67 -0
- package/core/skills/foundation/webapp-server-runner/scripts/with_server.py +182 -0
- package/core/skills/foundation/write-product-brief/SKILL.md +160 -0
- package/core/skills/foundation/write-product-brief/agents/openai.yaml +4 -0
- package/core/skills/foundation/write-tests/SKILL.md +173 -0
- package/core/skills/foundation/write-tests/agents/openai.yaml +4 -0
- package/core/skills/foundation/write-tests/references/advanced-testing-methodologies.md +102 -0
- package/core/skills/foundation/write-tests/references/patterns-and-ai-testing.md +78 -0
- package/core/skills/frontend/2026_STANDARDS_SUMMARY.md +345 -0
- package/core/skills/frontend/INDEX.json +158 -0
- package/core/skills/frontend/add-page-route/SKILL.md +154 -0
- package/core/skills/frontend/add-page-route/UPGRADE_PLAN_2026.md +102 -0
- package/core/skills/frontend/add-page-route/agents/openai.yaml +4 -0
- package/core/skills/frontend/add-ui-component/SKILL.md +162 -0
- package/core/skills/frontend/add-ui-component/UPGRADE_PLAN_2026.md +114 -0
- package/core/skills/frontend/add-ui-component/agents/openai.yaml +4 -0
- package/core/skills/frontend/anti-ui-slop-finish-gate/SKILL.md +128 -0
- package/core/skills/frontend/component-composition/SKILL.md +116 -0
- package/core/skills/frontend/component-composition/UPGRADE_PLAN_2026.md +103 -0
- package/core/skills/frontend/component-composition/agents/openai.yaml +4 -0
- package/core/skills/frontend/component-composition/references/composition-architecture-and-headless-specs.md +375 -0
- package/core/skills/frontend/design-md-specification/SKILL.md +99 -0
- package/core/skills/frontend/design-system-engineering/SKILL.md +128 -0
- package/core/skills/frontend/frontend-micro-polish/SKILL.md +133 -0
- package/core/skills/frontend/frontend-testing/SKILL.md +196 -0
- package/core/skills/frontend/frontend-testing/UPGRADE_PLAN_2026.md +137 -0
- package/core/skills/frontend/frontend-testing/agents/openai.yaml +4 -0
- package/core/skills/frontend/implement-view-transitions/SKILL.md +109 -0
- package/core/skills/frontend/implement-view-transitions/UPGRADE_PLAN_2026.md +118 -0
- package/core/skills/frontend/implement-view-transitions/agents/openai.yaml +4 -0
- package/core/skills/frontend/implement-view-transitions/references/view-transitions-and-motion-specs.md +255 -0
- package/core/skills/frontend/implement-webmcp/SKILL.md +121 -0
- package/core/skills/frontend/implement-webmcp/UPGRADE_PLAN_2026.md +108 -0
- package/core/skills/frontend/implement-webmcp/agents/openai.yaml +4 -0
- package/core/skills/frontend/integrate-api-client/SKILL.md +186 -0
- package/core/skills/frontend/integrate-api-client/UPGRADE_PLAN_2026.md +118 -0
- package/core/skills/frontend/integrate-api-client/agents/openai.yaml +4 -0
- package/core/skills/frontend/interactive-component-workbench/SKILL.md +141 -0
- package/core/skills/frontend/motion-performance-engineering/SKILL.md +100 -0
- package/core/skills/frontend/setup-design-system/SKILL.md +179 -0
- package/core/skills/frontend/setup-design-system/UPGRADE_PLAN_2026.md +123 -0
- package/core/skills/frontend/setup-design-system/agents/openai.yaml +4 -0
- package/core/skills/frontend/setup-visual-regression/SKILL.md +115 -0
- package/core/skills/frontend/setup-visual-regression/UPGRADE_PLAN_2026.md +121 -0
- package/core/skills/frontend/setup-visual-regression/agents/openai.yaml +4 -0
- package/core/skills/frontend/ui-ux-designer-anti-slop-standards.md +1004 -0
- package/core/skills/frontend/web-quality-audit/SKILL.md +102 -0
- package/core/skills/gamedev/abstract-input-actions/SKILL.md +80 -0
- package/core/skills/gamedev/architect-ecs-systems/SKILL.md +80 -0
- package/core/skills/gamedev/author-game-ai/SKILL.md +78 -0
- package/core/skills/gamedev/automate-game-publishing/SKILL.md +80 -0
- package/core/skills/gamedev/build-game-ui-ux/SKILL.md +78 -0
- package/core/skills/gamedev/configure-physics-collision/SKILL.md +80 -0
- package/core/skills/gamedev/design-procedural-generation/SKILL.md +80 -0
- package/core/skills/gamedev/develop-gameplay-systems/SKILL.md +71 -0
- package/core/skills/gamedev/direct-camera-systems/SKILL.md +79 -0
- package/core/skills/gamedev/generate-game-assets-pipeline/SKILL.md +82 -0
- package/core/skills/gamedev/implement-save-persistence/SKILL.md +84 -0
- package/core/skills/gamedev/inspect-blender-rigs-motion/SKILL.md +82 -0
- package/core/skills/gamedev/integrate-dialogue-narrative/SKILL.md +80 -0
- package/core/skills/gamedev/integrate-game-engine/SKILL.md +81 -0
- package/core/skills/gamedev/manage-scene-lifecycle/SKILL.md +80 -0
- package/core/skills/gamedev/mix-dynamic-game-audio/SKILL.md +80 -0
- package/core/skills/gamedev/profile-game-performance/SKILL.md +81 -0
- package/core/skills/gamedev/program-game-shaders/SKILL.md +83 -0
- package/core/skills/gamedev/render-webgl-threejs/SKILL.md +81 -0
- package/core/skills/gamedev/tune-game-feel/SKILL.md +75 -0
- package/core/skills/legal-compliance/audit-ai-compliance/SKILL.md +85 -0
- package/core/skills/legal-compliance/audit-ai-compliance/agents/openai.yaml +4 -0
- package/core/skills/legal-compliance/audit-ai-compliance/references/ai-law-compliance-guide.md +52 -0
- package/core/skills/legal-compliance/draft-legal-opinion/SKILL.md +89 -0
- package/core/skills/legal-compliance/draft-legal-opinion/agents/openai.yaml +4 -0
- package/core/skills/legal-compliance/draft-legal-opinion/references/legal-opinion-guide.md +53 -0
- package/core/skills/legal-compliance/manage-vietnam-legal/SKILL.md +95 -0
- package/core/skills/legal-compliance/manage-vietnam-legal/references/statutory-checklists.md +208 -0
- package/core/skills/meetings-analysis/2026_STANDARDS_SUMMARY.md +236 -0
- package/core/skills/meetings-analysis/INDEX.json +56 -0
- package/core/skills/meetings-analysis/analyze-business-requirements/SKILL.md +146 -0
- package/core/skills/meetings-analysis/analyze-business-requirements/UPGRADE_PLAN_2026.md +97 -0
- package/core/skills/meetings-analysis/analyze-business-requirements/agents/openai.yaml +4 -0
- package/core/skills/meetings-analysis/analyze-business-requirements/references/layered-requirements-pipeline-and-bdd-standards.md +107 -0
- package/core/skills/meetings-analysis/analyze-data/SKILL.md +164 -0
- package/core/skills/meetings-analysis/analyze-data/UPGRADE_PLAN_2026.md +143 -0
- package/core/skills/meetings-analysis/analyze-data/agents/openai.yaml +4 -0
- package/core/skills/meetings-analysis/analyze-data/references/inprocess-analytics-and-hallucination-prevention.md +83 -0
- package/core/skills/meetings-analysis/analyze-data/references/semantic-catalog-and-drift-detection.md +87 -0
- package/core/skills/meetings-analysis/meeting-review/SKILL.md +199 -0
- package/core/skills/meetings-analysis/meeting-review/UPGRADE_PLAN_2026.md +125 -0
- package/core/skills/meetings-analysis/meeting-review/agents/openai.yaml +4 -0
- package/core/skills/meetings-analysis/meeting-review/references/perspectives-and-process.md +90 -0
- package/core/skills/mmo/INDEX.json +126 -0
- package/core/skills/mmo/analyze-campaign-roi/SKILL.md +134 -0
- package/core/skills/mmo/analyze-campaign-roi/agents/openai.yaml +4 -0
- package/core/skills/mmo/create-automation-script/SKILL.md +139 -0
- package/core/skills/mmo/create-automation-script/agents/openai.yaml +4 -0
- package/core/skills/mmo/deploy-mmo-infrastructure/SKILL.md +137 -0
- package/core/skills/mmo/deploy-mmo-infrastructure/agents/openai.yaml +4 -0
- package/core/skills/mmo/deploy-proxyware-fleet/SKILL.md +133 -0
- package/core/skills/mmo/deploy-proxyware-fleet/agents/openai.yaml +4 -0
- package/core/skills/mmo/generate-mmo-content/SKILL.md +134 -0
- package/core/skills/mmo/generate-mmo-content/agents/openai.yaml +4 -0
- package/core/skills/mmo/manage-mmo-assets/SKILL.md +134 -0
- package/core/skills/mmo/manage-mmo-assets/agents/openai.yaml +4 -0
- package/core/skills/mmo/setup-tracking-system/SKILL.md +149 -0
- package/core/skills/mmo/setup-tracking-system/agents/openai.yaml +4 -0
- package/core/skills/mobile/2026_STANDARDS_SUMMARY.md +209 -0
- package/core/skills/mobile/INDEX.json +40 -0
- package/core/skills/mobile/deploy-mobile-app/SKILL.md +132 -0
- package/core/skills/mobile/deploy-mobile-app/UPGRADE_PLAN_2026.md +122 -0
- package/core/skills/mobile/deploy-mobile-app/agents/openai.yaml +4 -0
- package/core/skills/mobile/deploy-mobile-app/references/eas-build-ota-and-store-compliance-specs.md +217 -0
- package/core/skills/mobile/develop-mobile-app/SKILL.md +125 -0
- package/core/skills/mobile/develop-mobile-app/UPGRADE_PLAN_2026.md +141 -0
- package/core/skills/mobile/develop-mobile-app/agents/openai.yaml +4 -0
- package/core/skills/mobile/develop-mobile-app/references/react-native-new-architecture-and-offline-specs.md +246 -0
- package/core/skills/platform/add-telemetry-instrumentation/SKILL.md +92 -0
- package/core/skills/platform/add-telemetry-instrumentation/agents/openai.yaml +4 -0
- package/core/skills/platform/agents-sdk/SKILL.md +90 -0
- package/core/skills/platform/aws-infrastructure/SKILL.md +120 -0
- package/core/skills/platform/aws-infrastructure/agents/openai.yaml +4 -0
- package/core/skills/platform/cloudflare-email-service/SKILL.md +166 -0
- package/core/skills/platform/cloudflare-email-service/agents/openai.yaml +4 -0
- package/core/skills/platform/cloudflare-email-service/references/cli-and-mcp.md +125 -0
- package/core/skills/platform/cloudflare-email-service/references/deliverability.md +285 -0
- package/core/skills/platform/cloudflare-email-service/references/rest-api.md +184 -0
- package/core/skills/platform/cloudflare-email-service/references/routing.md +199 -0
- package/core/skills/platform/cloudflare-email-service/references/sending.md +252 -0
- package/core/skills/platform/debug-runtime-platform/SKILL.md +143 -0
- package/core/skills/platform/debug-runtime-platform/agents/openai.yaml +4 -0
- package/core/skills/platform/debug-workers-edge/SKILL.md +111 -0
- package/core/skills/platform/debug-workers-edge/agents/openai.yaml +4 -0
- package/core/skills/platform/deploy-aws-eks-workloads/SKILL.md +168 -0
- package/core/skills/platform/deploy-aws-eks-workloads/agents/openai.yaml +4 -0
- package/core/skills/platform/deploy-aws-eks-workloads/references/aws-eks-workload-guide.md +353 -0
- package/core/skills/platform/durable-objects/SKILL.md +114 -0
- package/core/skills/platform/durable-objects/agents/openai.yaml +4 -0
- package/core/skills/platform/durable-objects/references/code-patterns.md +115 -0
- package/core/skills/platform/durable-objects/references/rules.md +295 -0
- package/core/skills/platform/durable-objects/references/testing.md +264 -0
- package/core/skills/platform/durable-objects/references/workers.md +346 -0
- package/core/skills/platform/orchestrate-chaos-experiment/SKILL.md +98 -0
- package/core/skills/platform/orchestrate-chaos-experiment/agents/openai.yaml +4 -0
- package/core/skills/platform/orchestrate-chaos-experiment/references/chaos-engineering-guide.md +237 -0
- package/core/skills/platform/sandbox-sdk/SKILL.md +183 -0
- package/core/skills/platform/sandbox-sdk/agents/openai.yaml +4 -0
- package/core/skills/platform/sandbox-sdk/references/api-quick-ref.md +113 -0
- package/core/skills/platform/sandbox-sdk/references/examples.md +49 -0
- package/core/skills/platform/setup-deployment/SKILL.md +136 -0
- package/core/skills/platform/setup-deployment/agents/openai.yaml +4 -0
- package/core/skills/platform/setup-gpu-finops/SKILL.md +107 -0
- package/core/skills/platform/setup-gpu-finops/agents/openai.yaml +4 -0
- package/core/skills/platform/setup-llm-gateway/SKILL.md +108 -0
- package/core/skills/platform/setup-llm-gateway/agents/openai.yaml +4 -0
- package/core/skills/platform/supply-chain-security/SKILL.md +195 -0
- package/core/skills/platform/supply-chain-security/agents/openai.yaml +4 -0
- package/core/skills/platform/system-design/SKILL.md +184 -0
- package/core/skills/platform/system-design/agents/openai.yaml +4 -0
- package/core/skills/platform/system-design/references/cellular-topology-and-capacity-sizing.md +151 -0
- package/core/skills/platform/turnstile-spin/README.md +45 -0
- package/core/skills/platform/turnstile-spin/SKILL.md +118 -0
- package/core/skills/platform/turnstile-spin/agents/openai.yaml +4 -0
- package/core/skills/platform/turnstile-spin/references/astro.md +102 -0
- package/core/skills/platform/turnstile-spin/references/code-patterns.md +132 -0
- package/core/skills/platform/turnstile-spin/references/hugo.md +62 -0
- package/core/skills/platform/turnstile-spin/references/nextjs-app.md +110 -0
- package/core/skills/platform/turnstile-spin/references/nextjs-pages.md +59 -0
- package/core/skills/platform/turnstile-spin/references/sveltekit.md +84 -0
- package/core/skills/platform/turnstile-spin/references/vanilla-html.md +62 -0
- package/core/skills/platform/turnstile-spin/scripts/auth-probe.sh +82 -0
- package/core/skills/platform/turnstile-spin/scripts/fetch-secret.sh +66 -0
- package/core/skills/platform/turnstile-spin/scripts/persist-skill.sh +53 -0
- package/core/skills/platform/turnstile-spin/scripts/validate.sh +87 -0
- package/core/skills/platform/turnstile-spin/scripts/widget-create.sh +57 -0
- package/core/skills/platform/turnstile-spin/scripts/worker-deploy.sh +102 -0
- package/core/skills/platform/turnstile-spin/templates/worker/LICENSE +21 -0
- package/core/skills/platform/turnstile-spin/templates/worker/README.md +196 -0
- package/core/skills/platform/turnstile-spin/templates/worker/package.json +39 -0
- package/core/skills/platform/turnstile-spin/templates/worker/public/post-deploy.html +287 -0
- package/core/skills/platform/turnstile-spin/templates/worker/src/errors.ts +29 -0
- package/core/skills/platform/turnstile-spin/templates/worker/src/index.ts +199 -0
- package/core/skills/platform/turnstile-spin/templates/worker/src/observability.ts +34 -0
- package/core/skills/platform/turnstile-spin/templates/worker/src/types.ts +95 -0
- package/core/skills/platform/turnstile-spin/templates/worker/src/validate.ts +101 -0
- package/core/skills/platform/turnstile-spin/templates/worker/test/deploy.test.ts +71 -0
- package/core/skills/platform/turnstile-spin/templates/worker/test/integration.test.ts +87 -0
- package/core/skills/platform/turnstile-spin/templates/worker/test/unit.test.ts +372 -0
- package/core/skills/platform/turnstile-spin/templates/worker/test/validation.test.ts +201 -0
- package/core/skills/platform/turnstile-spin/templates/worker/tsconfig.json +24 -0
- package/core/skills/platform/turnstile-spin/templates/worker/vitest.config.ts +12 -0
- package/core/skills/platform/turnstile-spin/templates/worker/wrangler.toml +31 -0
- package/core/skills/platform/turnstile-spin/tests/validation.md +69 -0
- package/core/skills/platform/web-perf/SKILL.md +151 -0
- package/core/skills/platform/web-perf/agents/openai.yaml +4 -0
- package/core/skills/platform/workers-best-practices/SKILL.md +93 -0
- package/core/skills/platform/workers-best-practices/agents/openai.yaml +4 -0
- package/core/skills/platform/workers-best-practices/references/review.md +174 -0
- package/core/skills/platform/workers-best-practices/references/rules.md +463 -0
- package/core/skills/platform/wrangler/SKILL.md +89 -0
- package/core/skills/platform/wrangler/agents/openai.yaml +4 -0
- package/core/skills/product/build-story-map/SKILL.md +104 -0
- package/core/skills/product/build-story-map/references/story-mapping-and-cpm-scheduling.md +101 -0
- package/core/skills/product/define-product-strategy/SKILL.md +105 -0
- package/core/skills/product/define-product-strategy/references/strategy-frameworks-and-pr-faq.md +142 -0
- package/core/skills/product/model-saas-metrics/SKILL.md +104 -0
- package/core/skills/product/model-saas-metrics/references/saas-unit-economics-and-pricing.md +110 -0
- package/core/skills/product/prioritize-roadmap/SKILL.md +106 -0
- package/core/skills/product/prioritize-roadmap/references/prioritization-scoring-and-kill-criteria.md +105 -0
- package/core/skills/repo-ops/commit-code/SKILL.md +190 -0
- package/core/skills/repo-ops/commit-code/agents/openai.yaml +4 -0
- package/core/skills/repo-ops/commit-code/references/multi-repo-and-deployment.md +21 -0
- package/core/skills/repo-ops/navigate-service/SKILL.md +199 -0
- package/core/skills/repo-ops/navigate-service/agents/openai.yaml +4 -0
- package/core/skills/repo-ops/review-code/SKILL.md +102 -0
- package/core/skills/repo-ops/review-code/agents/openai.yaml +4 -0
- package/core/skills/repo-ops/review-code/references/adversarial-review-rubric.md +80 -0
- package/core/skills/repo-ops/review-code/references/process-and-format.md +100 -0
- package/core/skills/repo-ops/review-code/references/two-axis-review.md +78 -0
- package/core/skills/repo-ops/review-service/SKILL.md +186 -0
- package/core/skills/repo-ops/review-service/agents/openai.yaml +4 -0
- package/core/skills/repo-ops/troubleshoot-service/SKILL.md +127 -0
- package/core/skills/repo-ops/troubleshoot-service/agents/openai.yaml +4 -0
- package/core/skills/repo-ops/troubleshoot-service/references/common-failure-areas.md +71 -0
- package/core/skills/repo-ops/troubleshoot-service/references/failure-modes-and-security.md +22 -0
- package/core/skills/repo-ops/troubleshoot-service/references/suggested-process.md +110 -0
- package/core/skills/security-data/build-data-pipeline/SKILL.md +139 -0
- package/core/skills/security-data/build-data-pipeline/agents/openai.yaml +4 -0
- package/core/skills/security-data/build-data-pipeline/references/producer-contracts-and-lakehouse.md +112 -0
- package/core/skills/security-data/build-data-pipeline/references/quality-gates-dlq-and-replayability.md +105 -0
- package/core/skills/security-data/database-maintenance/SKILL.md +102 -0
- package/core/skills/security-data/database-maintenance/agents/openai.yaml +4 -0
- package/core/skills/security-data/database-maintenance/references/lakehouse-ops-and-finops.md +125 -0
- package/core/skills/security-data/database-maintenance/references/relational-and-vector-maintenance.md +81 -0
- package/core/skills/security-data/manage-secrets/SKILL.md +137 -0
- package/core/skills/security-data/manage-secrets/agents/openai.yaml +4 -0
- package/core/skills/security-data/manage-vietnam-accounting/SKILL.md +93 -0
- package/core/skills/security-data/manage-vietnam-accounting/agents/openai.yaml +4 -0
- package/core/skills/security-data/manage-vietnam-accounting/references/e-invoice-risk-playbook.md +270 -0
- package/core/skills/security-data/manage-vietnam-accounting/references/three-way-matching-and-controls.md +227 -0
- package/core/skills/security-data/manage-vietnam-accounting/references/vas-vfrs-chart-of-accounts.md +199 -0
- package/core/skills/security-data/optimize-olap-database/SKILL.md +108 -0
- package/core/skills/security-data/optimize-olap-database/agents/openai.yaml +4 -0
- package/core/skills/security-data/optimize-olap-database/references/olap-database-guide.md +325 -0
- package/core/skills/security-data/prompt-injection-defense/SKILL.md +103 -0
- package/core/skills/security-data/query-analytical-engine/SKILL.md +92 -0
- package/core/skills/security-data/query-analytical-engine/agents/openai.yaml +4 -0
- package/core/skills/security-data/query-analytical-engine/references/analytical-query-guide.md +326 -0
- package/core/skills/security-data/security-audit/SKILL.md +119 -0
- package/core/skills/security-data/security-audit/agents/openai.yaml +4 -0
- package/core/skills/security-data/skill-preflight-ast-check/SKILL.md +132 -0
- package/core/skills/seo/audit-technical-seo/SKILL.md +109 -0
- package/core/skills/seo/audit-technical-seo/agents/openai.yaml +4 -0
- package/core/skills/seo/audit-technical-seo/references/core-web-vitals-and-performance.md +104 -0
- package/core/skills/seo/audit-technical-seo/references/crawl-budget-and-bot-access-guide.md +188 -0
- package/core/skills/seo/audit-technical-seo/references/redirects-canonicals-and-status-codes.md +145 -0
- package/core/skills/seo/implement-schema-markup/SKILL.md +103 -0
- package/core/skills/seo/implement-schema-markup/agents/openai.yaml +4 -0
- package/core/skills/seo/implement-schema-markup/references/connected-graph-schema-architecture.md +219 -0
- package/core/skills/seo/implement-schema-markup/references/entity-grounding-and-wikidata.md +155 -0
- package/core/skills/seo/implement-schema-markup/references/rich-results-and-validation-guide.md +83 -0
- package/core/workflows/README.md +140 -0
- package/core/workflows/add-new-feature.md +212 -0
- package/core/workflows/agent-a2a-delegation.md +142 -0
- package/core/workflows/bug-fix.md +147 -0
- package/core/workflows/build-deploy.md +208 -0
- package/core/workflows/code-review.md +137 -0
- package/core/workflows/content-audit.md +158 -0
- package/core/workflows/content-publishing.md +208 -0
- package/core/workflows/curriculum-delivery.md +181 -0
- package/core/workflows/data-migration.md +202 -0
- package/core/workflows/data-pipeline-incident.md +176 -0
- package/core/workflows/dependency-upgrade.md +193 -0
- package/core/workflows/feature-delivery.md +149 -0
- package/core/workflows/hotfix-production.md +172 -0
- package/core/workflows/mmo-campaign-lifecycle.md +123 -0
- package/core/workflows/period-end-closing.md +245 -0
- package/core/workflows/qa-validation.md +231 -0
- package/core/workflows/refactoring.md +154 -0
- package/core/workflows/revert-deployment.md +147 -0
- package/core/workflows/security-incident-response.md +191 -0
- package/core/workflows/seo-content-lifecycle.md +91 -0
- package/core/workflows/seo-keyword-brief.md +178 -0
- package/core/workflows/service-review-release.md +223 -0
- package/core/workflows/setup-new-service.md +214 -0
- package/core/workflows/tech-repo-review.md +245 -0
- package/core/workflows/troubleshooting.md +241 -0
- package/overlays/README.md +89 -0
- package/overlays/astro-cloudflare/README.md +93 -0
- package/overlays/astro-cloudflare/rules/astro-cloudflare-conventions.md +191 -0
- package/overlays/b2b-catalog-golf/README.md +50 -0
- package/overlays/b2b-catalog-golf/rules/golf-project-rules.md +78 -0
- package/overlays/b2b-catalog-golf/skills/develop-b2b-golf-feature/SKILL.md +84 -0
- package/overlays/b2b-catalog-golf/skills/develop-b2b-golf-feature/agents/openai.yaml +4 -0
- package/overlays/b2b-factory-catalog/README.md +54 -0
- package/overlays/b2b-factory-catalog/rules/icm-project-rules.md +93 -0
- package/overlays/b2b-factory-catalog/skills/develop-b2b-catalog-feature/SKILL.md +68 -0
- package/overlays/b2b-factory-catalog/skills/develop-b2b-catalog-feature/agents/openai.yaml +4 -0
- package/overlays/b2b-sport-catalog/README.md +64 -0
- package/overlays/b2b-sport-catalog/rules/sport-project-rules.md +82 -0
- package/overlays/cad-projection/README.md +49 -0
- package/overlays/cad-projection/rules/cad-conventions.md +76 -0
- package/overlays/cad-projection/skills/isometric-svg-projection/SKILL.md +132 -0
- package/overlays/data-analyst-stack/README.md +109 -0
- package/overlays/data-analyst-stack/rules/metric-dashboard-templates.md +135 -0
- package/overlays/data-analyst-stack/rules/stack-conventions.md +80 -0
- package/overlays/data-warehouse/README.md +133 -0
- package/overlays/data-warehouse/learning/README.md +40 -0
- package/overlays/data-warehouse/learning/learning-conventions.md +113 -0
- package/overlays/data-warehouse/learning/phase-roadmap.md +444 -0
- package/overlays/data-warehouse/learning/progress.md +38 -0
- package/overlays/data-warehouse/rules/amis-accounting-standards.md +271 -0
- package/overlays/data-warehouse/rules/duckdb-concurrency.md +362 -0
- package/overlays/data-warehouse/rules/pii-scrubbing.md +238 -0
- package/overlays/data-warehouse/rules/stocktake-tolerance.md +276 -0
- package/overlays/ecommerce-microservices/README.md +65 -0
- package/overlays/ecommerce-microservices/config/README.md +3 -0
- package/overlays/ecommerce-microservices/rules/README.md +3 -0
- package/overlays/ecommerce-microservices/skills/README.md +3 -0
- package/overlays/ecommerce-microservices/workflows/README.md +3 -0
- package/overlays/fintech-compliance/README.md +50 -0
- package/overlays/fintech-compliance/rules/credit-scorecard-rules.md +98 -0
- package/overlays/fintech-compliance/skills/build-credit-scorecard/SKILL.md +133 -0
- package/overlays/go-microservices/README.md +78 -0
- package/overlays/go-microservices/rules/go-conventions.md +223 -0
- package/overlays/hugo-authority-content/README.md +58 -0
- package/overlays/hugo-authority-content/config/sites.md +51 -0
- package/overlays/hugo-authority-content/roles/README.md +25 -0
- package/overlays/hugo-authority-content/rules/content-brand.md +124 -0
- package/overlays/hugo-authority-content/rules/link-topology.md +72 -0
- package/overlays/hugo-authority-content/rules/seo-authority.md +83 -0
- package/overlays/hugo-authority-content/rules/technical-article-2027.md +91 -0
- package/overlays/hugo-authority-content/skills/audit-technical-article/SKILL.md +77 -0
- package/overlays/hugo-authority-content/skills/write-hugo-twin-content/SKILL.md +103 -0
- package/overlays/hugo-authority-content/skills/write-hugo-twin-content/agents/openai.yaml +4 -0
- package/overlays/hugo-authority-content/workflows/README.md +31 -0
- package/overlays/hugo-authority-content/workflows/affiliate-publishing.md +55 -0
- package/overlays/hugo-authority-content/workflows/article-creation-and-upgrade-lifecycle.md +426 -0
- package/overlays/hugo-authority-content/workflows/content-audit-refresh.md +105 -0
- package/overlays/hugo-authority-content/workflows/masterclass-batch-upgrade.md +66 -0
- package/overlays/hugo-authority-content/workflows/publish-series.md +126 -0
- package/overlays/hugo-authority-content/workflows/series-sync-upgrade.md +138 -0
- package/overlays/hvac-authority-content/README.md +54 -0
- package/overlays/hvac-authority-content/config/collections.md +70 -0
- package/overlays/hvac-authority-content/rules/content-schema.md +134 -0
- package/overlays/hvac-authority-content/rules/hvac-engineering-standards.md +62 -0
- package/overlays/hvac-authority-content/rules/silo-linking.md +73 -0
- package/overlays/hvac-authority-content/skills/write-hvac-authority-content/SKILL.md +80 -0
- package/overlays/hvac-authority-content/workflows/publish-hvac-content.md +102 -0
- package/overlays/laravel-ecommerce/README.md +39 -0
- package/overlays/laravel-ecommerce/config/README.md +3 -0
- package/overlays/laravel-ecommerce/roles/README.md +3 -0
- package/overlays/laravel-ecommerce/rules/elomus-design-system.md +89 -0
- package/overlays/laravel-ecommerce/rules/laravel-ecommerce-rules.md +107 -0
- package/overlays/laravel-ecommerce/skills/develop-laravel-ecommerce-feature/SKILL.md +125 -0
- package/overlays/laravel-ecommerce/skills/develop-laravel-ecommerce-feature/agents/openai.yaml +4 -0
- package/overlays/laravel-ecommerce/workflows/README.md +3 -0
- package/overlays/laravel-ecommerce/workflows/deploy-laravel-ecommerce.md +128 -0
- package/overlays/laravel-filament/README.md +90 -0
- package/overlays/laravel-filament/config/README.md +3 -0
- package/overlays/laravel-filament/roles/README.md +3 -0
- package/overlays/laravel-filament/rules/laravel-conventions.md +220 -0
- package/overlays/laravel-filament/skills/develop-laravel-feature/SKILL.md +141 -0
- package/overlays/laravel-filament/skills/develop-laravel-feature/agents/openai.yaml +4 -0
- package/overlays/laravel-filament/workflows/README.md +3 -0
- package/overlays/laravel-filament/workflows/deploy-laravel.md +134 -0
- package/overlays/livestream-web/README.md +45 -0
- package/overlays/livestream-web/rules/livestream-web-ux-conventions.md +55 -0
- package/overlays/obj-configurator/README.md +42 -0
- package/overlays/obj-configurator/rules/obj-project-rules.md +111 -0
- package/overlays/obj-configurator/skills/develop-obj-feature/SKILL.md +71 -0
- package/overlays/obj-configurator/skills/develop-obj-feature/agents/openai.yaml +4 -0
- package/overlays/r3f-stack/README.md +89 -0
- package/overlays/r3f-stack/rules/stub.md +43 -0
- package/overlays/r3f-stack/skills/debug-3d-scene/SKILL.md +166 -0
- package/overlays/r3f-stack/skills/debug-3d-scene/agents/openai.yaml +4 -0
- package/overlays/r3f-stack/skills/integrate-r3f-three-legacy/SKILL.md +159 -0
- package/overlays/r3f-stack/skills/integrate-r3f-three-legacy/agents/openai.yaml +4 -0
- package/overlays/r3f-stack/skills/optimize-3d-assets/SKILL.md +128 -0
- package/overlays/r3f-stack/skills/optimize-3d-assets/agents/openai.yaml +4 -0
- package/overlays/real-estate-content/README.md +51 -0
- package/overlays/real-estate-content/config/collections.md +64 -0
- package/overlays/real-estate-content/roles/README.md +25 -0
- package/overlays/real-estate-content/rules/affiliate-links.md +54 -0
- package/overlays/real-estate-content/rules/content-schema.md +89 -0
- package/overlays/real-estate-content/rules/seo-baseline.md +53 -0
- package/overlays/real-estate-content/skills/write-real-estate-astro-data/SKILL.md +102 -0
- package/overlays/real-estate-content/skills/write-real-estate-astro-data/agents/openai.yaml +4 -0
- package/overlays/real-estate-content/workflows/README.md +25 -0
- package/overlays/real-estate-content/workflows/publish-real-estate-content.md +68 -0
- package/overlays/security-research/README.md +50 -0
- package/overlays/security-research/rules/reverse-engineering-rules.md +82 -0
- package/overlays/security-research/skills/reverse-engineer-binary/SKILL.md +129 -0
- package/overlays/seo-publishing/README.md +93 -0
- package/overlays/seo-publishing/rules/publish-log-conventions.md +64 -0
- package/overlays/seo-publishing/rules/publishing-cadence.md +89 -0
- package/overlays/seo-publishing/rules/site-mix-and-cannibalization.md +52 -0
- package/overlays/seo-publishing/rules/topic-board-template.md +67 -0
- package/overlays/ui-design-system/README.md +59 -0
- package/overlays/ui-design-system/rules/handoff-conventions.md +73 -0
- package/package.json +47 -4
- package/packs/README.md +223 -0
- package/packs/affiliate-cashback-team/README.md +219 -0
- package/packs/affiliate-cashback-team/manifest.yaml +125 -0
- package/packs/affiliate-cashback-team/workflows/affiliate-tri-engine-lifecycle.md +178 -0
- package/packs/b2b-catalog-team/manifest.yaml +63 -0
- package/packs/b2b-golf-team/manifest.yaml +63 -0
- package/packs/b2b-sport-team/manifest.yaml +63 -0
- package/packs/content-sprint-team/manifest.yaml +61 -0
- package/packs/data-analyst-team/manifest.yaml +65 -0
- package/packs/data-warehouse/manifest.yaml +143 -0
- package/packs/ecommerce-team/manifest.yaml +65 -0
- package/packs/global-engineering/manifest.yaml +55 -0
- package/packs/hugo-authority-team/README.md +381 -0
- package/packs/hugo-authority-team/manifest.yaml +167 -0
- package/packs/hugo-authority-team/workflows/article-creation-and-upgrade-lifecycle.md +426 -0
- package/packs/hvac-content-team/README.md +194 -0
- package/packs/hvac-content-team/manifest.yaml +117 -0
- package/packs/hvac-content-team/workflows/publish-hvac-content.md +68 -0
- package/packs/landing-pages-team/README.md +115 -0
- package/packs/landing-pages-team/manifest.yaml +91 -0
- package/packs/landing-pages-team/workflows/landing-page-creation-lifecycle.md +70 -0
- package/packs/laravel-ecommerce-team/manifest.yaml +65 -0
- package/packs/livestream-team/manifest.yaml +61 -0
- package/packs/mmo-growth-team/README.md +206 -0
- package/packs/mmo-growth-team/manifest.yaml +131 -0
- package/packs/obj-team/manifest.yaml +68 -0
- package/packs/real-estate-team/README.md +208 -0
- package/packs/real-estate-team/manifest.yaml +117 -0
- package/packs/real-estate-team/workflows/publish-real-estate-content.md +73 -0
|
@@ -0,0 +1,733 @@
|
|
|
1
|
+
# SOTA Deep Research Architecture: 2026–2027 Engineering Standard
|
|
2
|
+
|
|
3
|
+
**Document ID**: `REF-RESEARCH-SOTA-2026`
|
|
4
|
+
**Classification**: Engineering Architecture Standard & Reference Dossier
|
|
5
|
+
**Target Release**: Canonical `agent-skills` v5.6.0 & Downstream DMS `.agents` v2.12.0
|
|
6
|
+
**Owning Role**: `@researcher` (Principal Technical Researcher)
|
|
7
|
+
**Companion Skill**: `conduct-research` (`core/skills/foundation/conduct-research/SKILL.md`)
|
|
8
|
+
**Data Contract**: `contracts/schemas/research-report.json` (Draft 2020-12)
|
|
9
|
+
**Associated Checklist**: `core/roles/references/researcher-review-checklist.md`
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Executive Summary
|
|
14
|
+
|
|
15
|
+
Autonomous AI research agents in 2026–2027 face an epistemic crisis: the recursive saturation of the open web with synthetic, ungrounded AI summaries. Naive search-and-summarize workflows generate circular hallucination cascades ($A \rightarrow B \rightarrow A$) and deliver diluted, low-density prose.
|
|
16
|
+
|
|
17
|
+
This reference dossier establishes the state-of-the-art (SOTA) deep research engineering standard for the agent ecosystem. It formalizes four mandatory architectural pillars:
|
|
18
|
+
1. **Stanford STORM Architecture**: Multi-perspective persona discovery (Skeptical Auditor, Compliance Reviewer, Domain Specialist, Technical Architect) and 5-turn simulated conversational interviews prior to query formulation.
|
|
19
|
+
2. **Citation Directed Acyclic Graph (DAG)**: Mathematical topological representation $G = (V, E)$ enforcing strict acyclicity ($\text{Cycle}(G) = \emptyset$) via 3-color Depth-First Search (DFS), zero-AI-primary citation locks, and multi-source triangulation ($\ge 3$ independent primary records).
|
|
20
|
+
3. **Chain-of-Verification (CoVe) & C2PA Provenance**: Atomic claim decomposition ($P_{\text{claim}} = \bigwedge p_j$), isolated query execution against original primary documents, structured verification matrix evaluation (`verified`, `refuted`, `unverifiable`), and C2PA Content Credentials / watermark cryptographic inspection.
|
|
21
|
+
4. **Quantitative Information Density (ID)**: Exact mathematical ratio $\text{ID} = \frac{N_{\text{Named Entities}} + N_{\text{Quantified Metrics}}}{N_{\text{Total Words}}} \ge 0.12$ paired with rigorous fluff elimination rules.
|
|
22
|
+
|
|
23
|
+
All autonomous research artifacts emitted across the canonical framework and downstream bundles must satisfy these mathematical and procedural constraints.
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## 1. The AI-Saturated Information Crisis & Epistemic Collapse
|
|
28
|
+
|
|
29
|
+
### 1.1 The Synthetic Echo Chamber Dilemma
|
|
30
|
+
|
|
31
|
+
Between 2023 and 2026, the volume of synthetic, machine-generated web content increased by an order of magnitude. Search engine results pages (SERPs) are dominated by SEO-optimized content farms that ingest model summaries and republish paraphrased variants. When an autonomous research agent queries the web and treats commodity search snippets or AI overviews as authoritative evidence, it enters a closed synthetic feedback loop:
|
|
32
|
+
|
|
33
|
+
$$\text{Agent Model } M_1 \xrightarrow{\text{generates}} \text{Synthetic Web Content } S_1 \xrightarrow{\text{indexed by}} \text{Search Engine} \xrightarrow{\text{retrieved by}} \text{Agent Model } M_2 \xrightarrow{\text{synthesizes}} S_2$$
|
|
34
|
+
|
|
35
|
+
This creates circular citation chains where Claim $A$ cites Secondary Source $B$, Source $B$ cites Blog $C$, and Blog $C$ cites an earlier synthetic generation of Claim $A$ ($A \rightarrow B \rightarrow C \rightarrow A$). In this environment, consensus does not indicate truth; it indicates algorithmic replication.
|
|
36
|
+
|
|
37
|
+
### 1.2 The Hallucination Cascade in Agentic Systems
|
|
38
|
+
|
|
39
|
+
In multi-agent architectures, epistemic errors are catastrophic. If the `@researcher` accepts an unverified hallucination (such as a fictitious API parameter, a non-existent regulatory exemption, or an unbenchmarked throughput metric), that finding is codified into `research-report.json`. Downstream agents accept this input as ground truth:
|
|
40
|
+
- The `@technical-architect` designs system blueprints around invalid interfaces.
|
|
41
|
+
- The `@business-analyst` authors feature tickets with flawed regulatory premises.
|
|
42
|
+
- The `@backend-developer` writes integration code against hallucinated protocols.
|
|
43
|
+
|
|
44
|
+
The error compounds across agent boundaries, leading to complete project failure.
|
|
45
|
+
|
|
46
|
+
### 1.3 The Mandate for Formal Grounding
|
|
47
|
+
|
|
48
|
+
To guarantee epistemic integrity, research workflows must transition from probabilistic heuristic summarization to formal, verifiable methods:
|
|
49
|
+
- **Topological Invariants**: Citation structures must be mathematically represented and validated as directed acyclic graphs.
|
|
50
|
+
- **Source Quarantine**: Generative AI tools are quarantined strictly to query formulation and topic exploration; they are prohibited from serving as primary or secondary evidentiary citations.
|
|
51
|
+
- **Atomic Disaggregation**: Compound factual statements must be factored into discrete propositions and individually evaluated against human-authored primary artifacts.
|
|
52
|
+
- **Cryptographic Provenance**: Digital assets must be validated through PKI signatures and digital watermarking standards.
|
|
53
|
+
- **Information Density Enforcement**: Verbal padding and boilerplate transitions must be algorithmically measured and rejected.
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## 2. Stanford STORM Architecture & Persona Discovery Protocol
|
|
58
|
+
|
|
59
|
+
### 2.1 Theoretical Foundations
|
|
60
|
+
|
|
61
|
+
The STORM (Synthesis of Topic Outlines through Retrieval and Multi-perspective Questioning) framework, pioneered by Stanford University researchers (NAACL 2024 / arXiv:2402.14207), demonstrates that pre-synthesis perspective modeling significantly outperforms standard retrieval-augmented generation (RAG).
|
|
62
|
+
|
|
63
|
+
Single-prompt or single-angle research invariably exhibits confirmation bias: the agent searches for terms affirming its initial framing and synthesizes generic, consensus-weighted responses. STORM mitigates this by decomposing the research objective through automated persona discovery and simulated multi-turn expert interviews before issuing authoritative search queries.
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
┌────────────────────────────────────────────────────────┐
|
|
67
|
+
│ Research Objective & Topic │
|
|
68
|
+
└───────────────────────────┬────────────────────────────┘
|
|
69
|
+
│
|
|
70
|
+
[Persona Discovery Engine: 4 Orthogonal Experts]
|
|
71
|
+
│
|
|
72
|
+
┌───────────────┬───────────┴───────────┬────────────────┐
|
|
73
|
+
▼ ▼ ▼ ▼
|
|
74
|
+
┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐
|
|
75
|
+
│ Skeptical │ │ Compliance │ │ Domain │ │ Technical │
|
|
76
|
+
│ Auditor │ │ Reviewer │ │ Specialist │ │ Architect │
|
|
77
|
+
└──────┬──────┘ └──────┬──────┘ └──────┬──────┘ └──────┬──────┘
|
|
78
|
+
│ │ │ │
|
|
79
|
+
└───────────────┴───────────┬───────────┴────────────────┘
|
|
80
|
+
│
|
|
81
|
+
[5-Turn Simulated Conversational Interview]
|
|
82
|
+
│
|
|
83
|
+
┌───────────────────────────┴────────────────────────────┐
|
|
84
|
+
▼ ▼
|
|
85
|
+
┌───────────────────────────────┐ ┌─────────────────────────────┐
|
|
86
|
+
│ Extracted Empirical Queries │ │ Hierarchical Research DAG │
|
|
87
|
+
│ (Targeted Primary Probes) │ │ (Dependency Outline) │
|
|
88
|
+
└───────────────────────────────┘ └─────────────────────────────┘
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### 2.2 Automated Persona Discovery Mechanics
|
|
92
|
+
|
|
93
|
+
Prior to executing any external search queries, the `@researcher` inspects the research prompt and instantiates four mandatory expert personas. Each persona is assigned a strict analytical stance, core focus areas, and falsification targets:
|
|
94
|
+
|
|
95
|
+
| Persona | Operational Stance | Core Analytical Focus | Mandatory Falsification Targets |
|
|
96
|
+
| :--- | :--- | :--- | :--- |
|
|
97
|
+
| **Skeptical Auditor** | Adversarial, falsification-driven | Hidden trade-offs, stress limits, vendor lock-in, circular citations, unproven claims | Marketing claims, unverified performance benchmarks, single-source dependencies |
|
|
98
|
+
| **Compliance Reviewer** | Statutory, regulatory, legal | EU AI Act (Reg 2024/1689), GDPR, TCVN, ISO/IEC standards, auditability, legal liabilities | Ambiguous licensing, undocumented data handling, missing regulatory notifications |
|
|
99
|
+
| **Domain Specialist** | Empirical, operational | Field benchmarks, p99 latencies, real-world failure modes, tooling ergonomics, edge cases | Idealized lab benchmarks, synthetic toy examples, unversioned API guides |
|
|
100
|
+
| **Technical Architect** | Structural, systems-engineering | Graph topology, interface contracts, computational complexity ($O(n)$), blast radius, backwards compatibility | Breaking schema changes, cyclic dependencies, unbounded resource consumption |
|
|
101
|
+
|
|
102
|
+
#### Dynamic Persona Specialization
|
|
103
|
+
While the four base personas are universal, their internal inquiry templates must be dynamically parameterized based on the domain:
|
|
104
|
+
- **Logistics & Supply Chain**: Persona focuses on WMS/TMS integrations, pallet throughput, Cold Chain compliance, TCVN warehouse standards, and ERP message brokers.
|
|
105
|
+
- **Distributed Systems / Database**: Persona focuses on Raft consensus partition behavior, MVCC snapshot isolation anomalies, p99 tail latency, and POSIX memory semantics.
|
|
106
|
+
- **Cybersecurity & Cryptography**: Persona focuses on PKI revocation models, side-channel vulnerabilities, zero-trust attestation, and C2PA manifest tampering.
|
|
107
|
+
|
|
108
|
+
### 2.3 The 5-Phase Simulated Conversational Interview
|
|
109
|
+
|
|
110
|
+
The agent executes a structured 5-turn simulated dialogue between a Perspective-Guided Questioner (playing each persona) and an Information Provider (equipped with code and document retrieval tools):
|
|
111
|
+
|
|
112
|
+
1. **Turn 1 — Perspective Stance Declaration**:
|
|
113
|
+
- Each persona articulates its unique angle, boundary constraints, and 3–5 targeted inquiry vectors.
|
|
114
|
+
- *Example (Skeptical Auditor)*: "I am probing Redis 7.4 Lua script fencing. I will not accept marketing claims of 'high reliability.' I demand to see the exact fencing token propagation mechanism and split-brain partition behavior."
|
|
115
|
+
|
|
116
|
+
2. **Turn 2 — Multi-Turn Inquiry Execution**:
|
|
117
|
+
- The persona poses detailed, technically probing questions to the Information Provider.
|
|
118
|
+
- Questions must target implementation mechanics rather than high-level definitions.
|
|
119
|
+
- *Example*: "When a network partition isolates the Redis master, how does Lua script execution interact with `min-replicas-to-write`? Does an in-flight script receive an `ETIMEDOUT` or does it execute partially?"
|
|
120
|
+
|
|
121
|
+
3. **Turn 3 — Iterative Query Extraction**:
|
|
122
|
+
- The dialogue identifies specific information voids. Instead of querying "Redis 7.4 features", the agent generates targeted empirical query strings:
|
|
123
|
+
- `redis 7.4 lua script fencing token split brain behavior POSIX`
|
|
124
|
+
- `site:redis.io/docs/ "min-replicas-to-write" script failure semantics`
|
|
125
|
+
- `github.com/redis/redis commit "script fencing"`
|
|
126
|
+
|
|
127
|
+
4. **Turn 4 — Adversarial Challenge & Evidence Filtering**:
|
|
128
|
+
- If the Information Provider returns marketing copy, SEO blog summaries, or ungrounded claims, the persona explicitly rejects the evidence:
|
|
129
|
+
- *Rejection Log*: `[REJECT: Marketing copy from vendor site without reproducible benchmark harness. Re-querying repository commit logs.]`
|
|
130
|
+
|
|
131
|
+
5. **Turn 5 — Outline Construction & Synthesis**:
|
|
132
|
+
- The findings across all four persona interviews are synthesized into a hierarchical research outline where each section is bound to explicit node dependencies and verification criteria.
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
## 3. Citation Directed Acyclic Graph (DAG) Topology
|
|
137
|
+
|
|
138
|
+
### 3.1 Mathematical Formulation
|
|
139
|
+
|
|
140
|
+
Let the citation graph be formalized as a finite directed graph:
|
|
141
|
+
|
|
142
|
+
$$G = (V, E)$$
|
|
143
|
+
|
|
144
|
+
where the vertex set $V$ is partitioned into three disjoint subsets:
|
|
145
|
+
|
|
146
|
+
$$V = V_{\text{claim}} \cup V_{\text{source}} \cup V_{\text{evidence}}$$
|
|
147
|
+
|
|
148
|
+
- **$V_{\text{claim}}$ (Propositional Claims)**: The set of discrete assertions, conclusions, or inferences formulated in the research synthesis.
|
|
149
|
+
- **$V_{\text{source}}$ (Grounding Sources)**: The set of external, human-authored documents, standards, or repositories (URLs, RFC numbers, commit SHAs).
|
|
150
|
+
- **$V_{\text{evidence}}$ (Extracted Artifacts)**: Specific verbatim snippets, data tables, or cryptographic tokens extracted from a source that ground a claim.
|
|
151
|
+
|
|
152
|
+
The directed edge set $E \subseteq V \times V$ consists of ordered pairs $(u, v)$ denoting directed epistemic dependencies:
|
|
153
|
+
|
|
154
|
+
$$e = (u, v) \in E \implies u \text{ depends on, cites, or is grounded by } v$$
|
|
155
|
+
|
|
156
|
+
#### Directed Edge Semantics
|
|
157
|
+
Every edge $e \in E$ is typed and weighted:
|
|
158
|
+
- `cites` ($V_{\text{claim}} \to V_{\text{source}}$): A claim directly asserts factual grounding in an external source.
|
|
159
|
+
- `corroborates` ($V_{\text{source}} \to V_{\text{claim}}$ or $V_{\text{source}} \to V_{\text{source}}$): An independent source confirms the proposition asserted in a claim or another source.
|
|
160
|
+
- `derives_from` ($V_{\text{claim}} \to V_{\text{claim}}$): A higher-level inference is logically deduced from lower-level verified claims.
|
|
161
|
+
- `contradicts` ($V_{\text{source}} \to V_{\text{claim}}$ or $V_{\text{source}} \to V_{\text{source}}$): Evidence directly conflicts with an assertion or another source.
|
|
162
|
+
|
|
163
|
+
### 3.2 The Strict Acyclicity Invariant
|
|
164
|
+
|
|
165
|
+
The fundamental invariant of the citation network is mathematical acyclicity:
|
|
166
|
+
|
|
167
|
+
$$\forall v \in V, \quad \text{Path}(v \leadsto v) = \emptyset \iff \text{Cycle}(G) = \emptyset$$
|
|
168
|
+
|
|
169
|
+
A cycle in $G$ represents circular reasoning, an epistemic feedback loop, or synthetic echo chamber amplification. Any research artifact whose citation graph contains a cycle is rejected fail-closed.
|
|
170
|
+
|
|
171
|
+
#### Edge Validation Constraints
|
|
172
|
+
1. **Self-Loop Invariant**: No node may cite itself:
|
|
173
|
+
$$\forall u \in V, \quad (u, u) \notin E$$
|
|
174
|
+
2. **Endpoint Existence Invariant**: Every edge must connect defined nodes:
|
|
175
|
+
$$\forall (u, v) \in E, \quad u \in V \land v \in V$$
|
|
176
|
+
3. **Weight Bound**: Edge weights representing corroboration confidence must be bounded:
|
|
177
|
+
$$\forall e \in E, \quad w(e) \in [0.0, 1.0]$$
|
|
178
|
+
|
|
179
|
+
### 3.3 Topological Cycle Detection Algorithm (3-Color DFS)
|
|
180
|
+
|
|
181
|
+
To enforce acyclicity deterministically, citation graphs are evaluated using a 3-color Depth-First Search (DFS) algorithm. Nodes are classified into three disjoint states:
|
|
182
|
+
- **White (Color 0)**: Unvisited node.
|
|
183
|
+
- **Gray (Color 1)**: Node currently being processed in the active recursion call stack. A directed traversal encountering a Gray node detects a back-edge, proving the existence of a directed cycle.
|
|
184
|
+
- **Black (Color 2)**: Node completely explored, including all reachable descendants.
|
|
185
|
+
|
|
186
|
+
```
|
|
187
|
+
[Start DFS at White Node u]
|
|
188
|
+
│
|
|
189
|
+
▼
|
|
190
|
+
[Mark Node u as Gray (1)]
|
|
191
|
+
[Push u to Recursion Stack]
|
|
192
|
+
│
|
|
193
|
+
┌───────────┴───────────┐
|
|
194
|
+
▼ ▼
|
|
195
|
+
[Traverse Edge (u, v)] [All Out-Edges Visited?]
|
|
196
|
+
│ │
|
|
197
|
+
┌──────┴──────┐ ▼
|
|
198
|
+
│ State of v? │ [Mark Node u as Black (2)]
|
|
199
|
+
└──────┬──────┘ [Pop u from Recursion Stack]
|
|
200
|
+
│ │
|
|
201
|
+
┌──────┼──────────────┐ ▼
|
|
202
|
+
▼ ▼ ▼ [Return Acyclic]
|
|
203
|
+
[White] [Gray] [Black]
|
|
204
|
+
(0) (1) (2)
|
|
205
|
+
│ │ │
|
|
206
|
+
│ [CYCLE FOUND!] [Ignore: Cross/Forward Edge]
|
|
207
|
+
│ [Return Cycle]
|
|
208
|
+
│
|
|
209
|
+
[Recursive Call: DFS(v)]
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
#### Time and Space Complexity
|
|
213
|
+
- Time Complexity: $O(|V| + |E|)$
|
|
214
|
+
- Space Complexity: $O(|V|)$ for the recursion stack and color array.
|
|
215
|
+
|
|
216
|
+
### 3.4 Zero-AI-Primary Source Citation Lock (`ZERO-AI-PRIMARY-CITATION-LOCK`)
|
|
217
|
+
|
|
218
|
+
Research graphs enforce a strict 4-tier source taxonomy. Autonomous research agents are prohibited from citing synthetic AI outputs as primary or secondary sources:
|
|
219
|
+
|
|
220
|
+
```
|
|
221
|
+
┌────────────────────────────────────────────────────────────────────────┐
|
|
222
|
+
│ Tier 1: Primary Evidence (Citable — Highest Authority) │
|
|
223
|
+
│ - Peer-reviewed academic journals, official RFCs, statutory gazettes │
|
|
224
|
+
│ - Source code repositories (commit SHAs), live hardware benchmarks │
|
|
225
|
+
├────────────────────────────────────────────────────────────────────────┤
|
|
226
|
+
│ Tier 2: Secondary Evidence (Citable with Methodological Context) │
|
|
227
|
+
│ - Audited industry whitepapers, vendor architectural documentation │
|
|
228
|
+
│ - Verified engineering blogs with reproducible code repositories │
|
|
229
|
+
├────────────────────────────────────────────────────────────────────────┤
|
|
230
|
+
│ Tier 3: Tertiary Reference (Orientation & Discovery Only — Not Citable)│
|
|
231
|
+
│ - Wikipedia, community wikis, uncurated aggregators │
|
|
232
|
+
├────────────────────────────────────────────────────────────────────────┤
|
|
233
|
+
│ Tier 4: Generative AI Outputs (QUERY-ONLY LOCK — NEVER CITABLE) │
|
|
234
|
+
│ - ChatGPT, Perplexity, Gemini, Google AI Overviews, Claude summaries │
|
|
235
|
+
│ - RULE: Use solely for query brainstorming; never appear as V_source │
|
|
236
|
+
└────────────────────────────────────────────────────────────────────────┘
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
If an agent attempts to insert an AI tool into $V_{\text{source}}$, the validation engine triggers an immediate schema violation: `[ERROR: ZERO-AI-PRIMARY-CITATION-LOCK violated. AI-generated source cannot ground factual claims.]`
|
|
240
|
+
|
|
241
|
+
### 3.5 Multi-Source Empirical Triangulation
|
|
242
|
+
|
|
243
|
+
For critical technical benchmarks, architectural limits, and regulatory interpretations, single-source grounding is insufficient. The research standard mandates empirical triangulation across at least **three independent, non-affiliated primary sources**:
|
|
244
|
+
|
|
245
|
+
$$\text{Triangulated}(c) \iff |\{s \in \text{PrimarySources}(c) \mid \text{Affiliation}(s) \text{ is pairwise disjoint}\}| \ge 3$$
|
|
246
|
+
|
|
247
|
+
#### Disjoint Affiliation Rule
|
|
248
|
+
Sources are independent if and only if they share no corporate parent, joint venture funding, shared authorship, or syndication relationship. For example, three tech blogs republishing the same vendor press release constitute $N=1$ independent source, not $N=3$.
|
|
249
|
+
|
|
250
|
+
### 3.6 Contradiction Preservation Protocol
|
|
251
|
+
|
|
252
|
+
In commodity research, conflicting data points are often smoothed over or averaged out to present a false consensus. In SOTA Deep Research, contradictions are first-class architectural entities:
|
|
253
|
+
- Conflicting primary sources are modeled in $G$ using divergent edges:
|
|
254
|
+
$$(s_1, c_1) \in E \quad \text{and} \quad (s_2, c_2) \in E \quad \text{with} \quad (c_1, c_2) \in E_{\text{contradicts}}$$
|
|
255
|
+
- The synthesis must document the exact operational variables (OS kernel version, hardware harness, benchmark concurrency) explaining the variance.
|
|
256
|
+
- If the contradiction cannot be resolved empirically, it is surfaced as an open risk in `synthesis.triangulation.unresolved_contradictions`.
|
|
257
|
+
|
|
258
|
+
---
|
|
259
|
+
|
|
260
|
+
## 4. Chain-of-Verification (CoVe) & Multi-Layer Digital Provenance
|
|
261
|
+
|
|
262
|
+
### 4.1 Theoretical Foundations of CoVe
|
|
263
|
+
|
|
264
|
+
Chain-of-Verification (Meta AI, 2023 / arXiv:2309.11495) addresses the phenomenon of self-delusion in generative models: when an LLM writes a compound narrative paragraph, earlier generated hallucinated clauses bias subsequent clauses.
|
|
265
|
+
|
|
266
|
+
CoVe forces a structural decoupling between claim drafting and claim verification. By factoring a draft synthesis into atomic assertions and querying each assertion in total isolation, confirmation bias is eliminated.
|
|
267
|
+
|
|
268
|
+
```
|
|
269
|
+
┌────────────────────────────────────────────────────────┐
|
|
270
|
+
│ Draft Synthesis Claim │
|
|
271
|
+
│ "Redis 7.4 supports Lua fencing and hits 610k TPS" │
|
|
272
|
+
└───────────────────────────┬────────────────────────────┘
|
|
273
|
+
│
|
|
274
|
+
[Step 1: Atomic Proposition Factorization]
|
|
275
|
+
│
|
|
276
|
+
┌───────────────────────────┴────────────────────────────┐
|
|
277
|
+
▼ ▼
|
|
278
|
+
┌─────────────────────────────────┐ ┌──────────────────────────────────┐
|
|
279
|
+
│ Proposition p1: │ │ Proposition p2: │
|
|
280
|
+
│ "Redis 7.4 supports Lua fencing"│ │ "Redis 7.4 hits 610k TPS" │
|
|
281
|
+
└──────────────┬──────────────────┘ └──────────────┬───────────────────┘
|
|
282
|
+
│ │
|
|
283
|
+
[Step 2: Isolated Query Generation] [Step 2: Isolated Query Generation]
|
|
284
|
+
│ │
|
|
285
|
+
▼ ▼
|
|
286
|
+
┌─────────────────────────────────┐ ┌──────────────────────────────────┐
|
|
287
|
+
│ Query: "Redis 7.4 Lua script │ │ Query: "Redis 7.4 standalone TPS │
|
|
288
|
+
│ fencing tokens documentation" │ │ benchmark Graviton3 hardware" │
|
|
289
|
+
└──────────────┬──────────────────┘ └──────────────┬───────────────────┘
|
|
290
|
+
│ │
|
|
291
|
+
[Step 3: Primary Document Retrieval] [Step 3: Primary Document Retrieval]
|
|
292
|
+
│ │
|
|
293
|
+
▼ ▼
|
|
294
|
+
┌─────────────────────────────────┐ ┌──────────────────────────────────┐
|
|
295
|
+
│ Primary Doc: redis.io release │ │ Primary Doc: Bench results show │
|
|
296
|
+
│ confirms script fencing feature │ │ 240k TPS (not 610k TPS) │
|
|
297
|
+
└──────────────┬──────────────────┘ └──────────────┬───────────────────┘
|
|
298
|
+
│ │
|
|
299
|
+
[Step 4: Status Evaluation] [Step 4: Status Evaluation]
|
|
300
|
+
│ │
|
|
301
|
+
▼ ▼
|
|
302
|
+
┌─────────────────────────────────┐ ┌──────────────────────────────────┐
|
|
303
|
+
│ Status: [verified] │ │ Status: [refuted] │
|
|
304
|
+
│ Action: Retain in synthesis │ │ Action: Revise draft to 240k TPS │
|
|
305
|
+
└─────────────────────────────────┘ └──────────────────────────────────┘
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
### 4.2 The 4-Step CoVe Execution Protocol
|
|
309
|
+
|
|
310
|
+
1. **Step 1: Baseline Hypothesis Formulation**:
|
|
311
|
+
- The agent drafts the substantive finding based on initial multi-hop retrieval.
|
|
312
|
+
|
|
313
|
+
2. **Step 2: Atomic Proposition Decomposition**:
|
|
314
|
+
- The finding is decomposed into a conjunction of atomic propositions:
|
|
315
|
+
$$P_{\text{claim}} = \bigwedge_{j=1}^m p_j$$
|
|
316
|
+
- Each proposition $p_j$ must contain exactly one subject, one predicate, and one quantifiable object or constraint. Compound clauses containing "and", "due to", or "resulting in" must be factored into separate propositions.
|
|
317
|
+
|
|
318
|
+
3. **Step 3: Isolated Verification Querying**:
|
|
319
|
+
- For each proposition $p_j$, the agent generates an independent verification question $Q_j$ and an isolated query string.
|
|
320
|
+
- **Context Quarantine Rule**: The query formulation prompt must receive *only* proposition $p_j$. It must not receive the surrounding draft narrative or other propositions. This prevents prompt leakage from inducing confirmation bias.
|
|
321
|
+
|
|
322
|
+
4. **Step 4: Verification Status Matrix Assignment**:
|
|
323
|
+
- The retrieved primary document evidence is audited against $p_j$:
|
|
324
|
+
- `verified`: The primary document explicitly corroborates the proposition with identical or more stringent metrics.
|
|
325
|
+
- `refuted`: The primary document directly contradicts the proposition. The synthesis draft must be amended immediately to reflect reality.
|
|
326
|
+
- `unverifiable`: The primary document is inaccessible (e.g. 404, paywall) or does not mention the specific metric. The claim is auto-demoted to `[UNVERIFIED]`.
|
|
327
|
+
|
|
328
|
+
### 4.3 CoVe Verification Matrix Specification
|
|
329
|
+
|
|
330
|
+
The results of the CoVe process must be serialized into the structured data contract under `cove_verification_matrix`:
|
|
331
|
+
|
|
332
|
+
```json
|
|
333
|
+
{
|
|
334
|
+
"total_claims_assessed": 2,
|
|
335
|
+
"verified_claims_count": 1,
|
|
336
|
+
"refuted_claims_count": 1,
|
|
337
|
+
"unverifiable_claims_count": 0,
|
|
338
|
+
"matrix": [
|
|
339
|
+
{
|
|
340
|
+
"claim_id": "claim_redis_fencing",
|
|
341
|
+
"atomic_proposition": "Redis 7.4 supports Lua script engine fencing tokens.",
|
|
342
|
+
"verification_question": "Does Redis 7.4 implement fencing tokens for Lua script execution?",
|
|
343
|
+
"isolated_query_used": "Redis 7.4 Lua script fencing tokens official documentation",
|
|
344
|
+
"primary_source_urls": ["https://raw.githubusercontent.com/redis/redis/7.4/00-RELEASENOTES"],
|
|
345
|
+
"verification_status": "verified",
|
|
346
|
+
"confidence_score": "High",
|
|
347
|
+
"c2pa_provenance_checked": false,
|
|
348
|
+
"c2pa_status": "not_applicable"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"claim_id": "claim_redis_throughput",
|
|
352
|
+
"atomic_proposition": "Redis 7.4 achieves 610k TPS on AWS Graviton3 c7g.2xlarge hardware.",
|
|
353
|
+
"verification_question": "What is the measured standalone redis-benchmark throughput on AWS c7g.2xlarge?",
|
|
354
|
+
"isolated_query_used": "Redis 7.4 benchmark AWS c7g.2xlarge throughput TPS",
|
|
355
|
+
"primary_source_urls": ["https://redis.io/blog/redis-7-4-performance-benchmarks/"],
|
|
356
|
+
"verification_status": "refuted",
|
|
357
|
+
"confidence_score": "High",
|
|
358
|
+
"c2pa_provenance_checked": false,
|
|
359
|
+
"c2pa_status": "not_applicable"
|
|
360
|
+
}
|
|
361
|
+
]
|
|
362
|
+
}
|
|
363
|
+
```
|
|
364
|
+
|
|
365
|
+
### 4.4 C2PA Cryptographic Content Credentials & Provenance
|
|
366
|
+
|
|
367
|
+
In 2026–2027, multimodal evidence (architecture diagrams, system topology charts, benchmark screenshots, and executive PDFs) frequently incorporates generative AI or edited artifacts. To verify media authenticity, autonomous research agents integrate the Coalition for Content Provenance and Authenticity (C2PA Technical Specification v1.3 / ISO/IEC 23000-22).
|
|
368
|
+
|
|
369
|
+
#### The C2PA Manifest Architecture
|
|
370
|
+
A C2PA-compliant asset embeds an authenticated JUMBF (JPEG Universal Metadata Box Format) container containing:
|
|
371
|
+
1. **Assertions**: Claims regarding asset creation (author identity, hardware camera/capture details, software edits).
|
|
372
|
+
2. **Hard Bindings**: Cryptographic SHA-256 hashes of the underlying asset bytes.
|
|
373
|
+
3. **Signatures**: Digital signatures executed using an X.509 PKI certificate chain rooted in an authoritative Certificate Authority (CA) trust list.
|
|
374
|
+
|
|
375
|
+
```
|
|
376
|
+
┌────────────────────────────────────────────────────────┐
|
|
377
|
+
│ Digital Asset (PNG, WebP, PDF) │
|
|
378
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
379
|
+
│ │ Raw Media Stream (Pixels / Bitstream) │ │
|
|
380
|
+
│ └────────────────────────────────────────────────────┘ │
|
|
381
|
+
│ ┌────────────────────────────────────────────────────┐ │
|
|
382
|
+
│ │ JUMBF Container (C2PA Manifest Box) │ │
|
|
383
|
+
│ │ - Assertion: "created_by_author: @tech-lead" │ │
|
|
384
|
+
│ │ - Assertion: "software_agent: drawio-cli v24.1" │ │
|
|
385
|
+
│ │ - Hard Binding: SHA256(Raw Media Stream) │ │
|
|
386
|
+
│ │ - PKI Signature: Signed by Root CA X.509 Cert │ │
|
|
387
|
+
│ └────────────────────────────────────────────────────┘ │
|
|
388
|
+
└────────────────────────────────────────────────────────┘
|
|
389
|
+
```
|
|
390
|
+
|
|
391
|
+
#### Inspection and Verification Protocol
|
|
392
|
+
When a research artifact includes or references digital media evidence, the agent invokes `c2patool`:
|
|
393
|
+
|
|
394
|
+
```bash
|
|
395
|
+
c2patool inspect diagram.png --detailed
|
|
396
|
+
```
|
|
397
|
+
|
|
398
|
+
The resulting manifest is evaluated against the following state machine:
|
|
399
|
+
- `signed_valid`: Cryptographic signature is intact, certificate chains to an audited root CA, and SHA-256 hash matches the media bytes.
|
|
400
|
+
- `watermark_detected`: Latent statistical or transform-domain watermarking (such as Google DeepMind SynthID, Digimarc, or C2PA synthetic metadata tags) indicates AI generation. The asset is labeled as synthetic.
|
|
401
|
+
- `unverified_provenance`: The asset lacks a valid C2PA manifest or the signature is broken. Absence of credentials does not prove fraud, but the asset cannot be granted Tier 1 credibility. It is marked `[UNVERIFIED — provenance not established]`.
|
|
402
|
+
- `not_applicable`: Pure textual artifacts or raw source code files where C2PA metadata is not supported.
|
|
403
|
+
|
|
404
|
+
---
|
|
405
|
+
|
|
406
|
+
## 5. Quantitative Information Density (ID) & Anti-Fluff Governance
|
|
407
|
+
|
|
408
|
+
### 5.1 The Mathematical Formulation
|
|
409
|
+
|
|
410
|
+
Large Language Models naturally drift toward verbose, low-entropy phrasing ("delve into", "pave the way", "crucial cornerstone in the modern landscape"). This conversational fluff obscures factual gaps and dilutes technical precision.
|
|
411
|
+
|
|
412
|
+
The SOTA Deep Research standard enforces a strict quantitative Information Density threshold:
|
|
413
|
+
|
|
414
|
+
$$\text{ID} = \frac{N_{\text{Named Entities}} + N_{\text{Quantified Metrics}}}{N_{\text{Total Words}}} \ge 0.12$$
|
|
415
|
+
|
|
416
|
+
Any substantive synthesis section in `research-report.json` or research markdown briefs that fails to achieve $\text{ID} \ge 0.12$ is rejected fail-closed during automated linting.
|
|
417
|
+
|
|
418
|
+
### 5.2 Formal Taxonomical Extraction Rules
|
|
419
|
+
|
|
420
|
+
#### 1. Named Entities ($N_{\text{Named Entities}}$)
|
|
421
|
+
A recognized named entity must represent a concrete, formal, real-world identifier:
|
|
422
|
+
- **Capitalized Proper Technical Nouns**: `PostgreSQL`, `Kubernetes`, `Kafka`, `Redis`, `Linux Kernel`.
|
|
423
|
+
- **Formal Engineering & Safety Standards**: `TCVN 7830:2021`, `ASHRAE 55-2023`, `RFC 9110`, `ISO/IEC 42001`, `IEEE 802.11ax`.
|
|
424
|
+
- **Statutory Frameworks & Regulations**: `EU AI Act (Regulation 2024/1689)`, `GDPR Article 17`, `Decree 13/2023/ND-CP`.
|
|
425
|
+
- **Specific Hardware Models & Microarchitectures**: `AWS Graviton3`, `Intel Xeon Platinum 8480+`, `NVIDIA H100 SXM5`, `Hioki PW3338`.
|
|
426
|
+
- **Standardized Cryptographic / Protocol Identifiers**: `ECDSA P-256`, `SHA-256`, `POSIX shm`, `JUMBF`, `gRPC`.
|
|
427
|
+
|
|
428
|
+
*Exclusions*: Generic domain words (e.g., "software", "database", "system", "architecture", "microservice") do NOT count as named entities.
|
|
429
|
+
|
|
430
|
+
#### 2. Quantified Metrics ($N_{\text{Quantified Metrics}}$)
|
|
431
|
+
A quantified metric must consist of a numerical value bound to a measurement unit or benchmark dimension:
|
|
432
|
+
- **Latencies & Timestamps**: `0.15ms`, `12.4μs`, `420ms`, `2026-10-23T02:00:00Z`.
|
|
433
|
+
- **Throughput & Bandwidth Rates**: `610k TPS`, `1.2 GB/s`, `10 Gbps`, `4,500 req/sec`.
|
|
434
|
+
- **Percentages & Ratios**: `99.999%`, `0.12`, `14.2%`, `15x`.
|
|
435
|
+
- **Memory & Storage Capacities**: `64 GB`, `512 MiB`, `2 TB`, `4 KB page`.
|
|
436
|
+
- **Physical Quantities**: `250W TDP`, `3.2 GHz`, `45 dBA`, `24°C`.
|
|
437
|
+
|
|
438
|
+
*Exclusions*: Standalone numbers without units or context (e.g., "step 1", "two factors") do NOT count as quantified metrics.
|
|
439
|
+
|
|
440
|
+
#### 3. Total Words ($N_{\text{Total Words}}$)
|
|
441
|
+
The count of whitespace-delimited tokens in substantive narrative paragraphs (excluding markdown headers, code block syntax markers, and table delimiters).
|
|
442
|
+
|
|
443
|
+
### 5.3 Concrete Calculation Examples
|
|
444
|
+
|
|
445
|
+
#### Negative Example (Low Density — REJECTED):
|
|
446
|
+
> *"In today's fast-paced digital world, it is vital to delve into database technologies to ensure high performance. Modern systems must pave the way for cutting-edge solutions that can help businesses grow effectively. By adopting reliable storage tools, engineers can unlock significant value and improve overall scalability."*
|
|
447
|
+
- Words: 44
|
|
448
|
+
- Named Entities: 0
|
|
449
|
+
- Quantified Metrics: 0
|
|
450
|
+
- $\text{ID} = \frac{0 + 0}{44} = 0.00 < 0.12 \implies$ **FAIL (Fluff detected)**
|
|
451
|
+
|
|
452
|
+
#### Positive Example (High Density — PASSED):
|
|
453
|
+
> *"Redis 7.4 deployed on AWS Graviton3 c7g.2xlarge running Linux Kernel 6.8 achieves 240k TPS under redis-benchmark with 50 concurrent connections, bounding p99 tail latency to <= 0.18ms while consuming 512 MiB of POSIX shm memory."*
|
|
454
|
+
- Words: 33
|
|
455
|
+
- Named Entities: `Redis 7.4`, `AWS Graviton3`, `c7g.2xlarge`, `Linux Kernel 6.8`, `redis-benchmark`, `POSIX shm` ($N_{\text{NE}} = 6$)
|
|
456
|
+
- Quantified Metrics: `240k TPS`, `50 concurrent connections`, `<= 0.18ms`, `512 MiB` ($N_{\text{QM}} = 4$)
|
|
457
|
+
- Total Tokens: $N_{\text{NE}} + N_{\text{QM}} = 10$
|
|
458
|
+
- $\text{ID} = \frac{10}{33} \approx 0.303 \ge 0.12 \implies$ **PASS (High-signal technical brief)**
|
|
459
|
+
|
|
460
|
+
### 5.4 The 4 Anti-Fluff Governance Rules
|
|
461
|
+
|
|
462
|
+
1. **Rule 1 — Absolute Ban on Conversational Clichés**:
|
|
463
|
+
- The phrases *"delve into"*, *"pave the way"*, *"testament to"*, *"in today's world"*, *"crucial cornerstone"*, *"game changer"*, and *"revolutionize"* are strictly forbidden. Research containing these phrases is rejected during linting.
|
|
464
|
+
2. **Rule 2 — Elimination of Weak Modals and Speculative Hedges**:
|
|
465
|
+
- Phrases such as *"might potentially be able to"*, *"could perhaps consider"*, and *"it is widely believed"* must be replaced with empirical data or labeled explicitly as `[INFERENCE]`.
|
|
466
|
+
3. **Rule 3 — Fact Packing & Noun-Phrase Density**:
|
|
467
|
+
- Every sentence must assert an empirical constraint, a verifiable benchmark, an interface contract, or an architectural trade-off. Sentences serving purely as narrative bridges must be pruned.
|
|
468
|
+
4. **Rule 4 — Actionable Operational Specificity**:
|
|
469
|
+
- Recommendations must specify exact file paths, environment variables, configuration parameters, or CLI flags.
|
|
470
|
+
|
|
471
|
+
---
|
|
472
|
+
|
|
473
|
+
## 6. Machine Handoff & Contract Delivery
|
|
474
|
+
|
|
475
|
+
### 6.1 Draft 2020-12 `research-report.json` Specification
|
|
476
|
+
|
|
477
|
+
Autonomous research is not delivered as conversational prose; it is delivered as a typed, machine-validating data contract conforming to JSON Schema Draft 2020-12.
|
|
478
|
+
|
|
479
|
+
The contract specifies top-level fields ensuring seamless programmatic consumption:
|
|
480
|
+
|
|
481
|
+
| Top-Level Property | JSON Type | Mandatory Invariant |
|
|
482
|
+
| :--- | :--- | :--- |
|
|
483
|
+
| `contract_type` | `string` | Must be `"research-report"` |
|
|
484
|
+
| `objective` | `string` | Clear description of research problem |
|
|
485
|
+
| `execution_metrics` | `object` | `depth_mode` (`"deep"` requires $\ge 10$ rounds; `"scoped"` requires $\ge 3$ rounds and `scope_waiver_note`) |
|
|
486
|
+
| `citation_dag` | `object` | `is_acyclic: true`, `cycle_check_algorithm: "dfs_three_color"`, `nodes` ($\ge 1$), `edges` |
|
|
487
|
+
| `cove_verification_matrix` | `object` | `total_claims_assessed`, `verified_claims_count`, `matrix` ($\ge 1$ atomic proposition) |
|
|
488
|
+
| `information_density` | `object` | `density_score` ($\ge 0.12$), `status: "passed"` |
|
|
489
|
+
| `synthesis` | `object` | `key_findings`, `critical_gaps`, `confidence_score` (`"High"`, `"Medium"`, `"Low"`) |
|
|
490
|
+
| `raw_data_references` | `array` | $\ge 1$ source item; each source must specify `url`, `credibility` (Tier 1–3), and `source_type` |
|
|
491
|
+
| `recommended_next_roles` | `array` | $\ge 1$ role item with `role` and `rationale` |
|
|
492
|
+
|
|
493
|
+
### 6.2 Downstream Agent Handshake Protocol
|
|
494
|
+
|
|
495
|
+
When `@researcher` completes an investigation, the resulting contract routes to downstream roles without manual intervention:
|
|
496
|
+
|
|
497
|
+
```
|
|
498
|
+
┌─────────────────────────────┐
|
|
499
|
+
│ research-report.json │
|
|
500
|
+
│ (Draft 2020-12 Contract) │
|
|
501
|
+
└──────────────┬──────────────┘
|
|
502
|
+
│
|
|
503
|
+
┌───────────────────────┼───────────────────────┐
|
|
504
|
+
│ │ │
|
|
505
|
+
▼ ▼ ▼
|
|
506
|
+
┌───────────────────────────┐ ┌───────────────┐ ┌───────────────────────────┐
|
|
507
|
+
│ @technical-architect │ │ @business- │ │ @content-writer │
|
|
508
|
+
│ │ │ analyst │ │ │
|
|
509
|
+
│ Ingests: │ │ Ingests: │ │ Ingests: │
|
|
510
|
+
│ - citation_dag │ │ - key_findings│ │ - verified findings │
|
|
511
|
+
│ - empirical benchmarks │ │ - critical_gaps│ │ - primary URLs │
|
|
512
|
+
│ Produces: │ │ Produces: │ │ Produces: │
|
|
513
|
+
│ - architecture-options.json│ │ - feature- │ │ - content-handoff.json │
|
|
514
|
+
│ - adr-spec.json │ │ ticket.json │ │ │
|
|
515
|
+
└───────────────────────────┘ └───────────────┘ └───────────────────────────┘
|
|
516
|
+
```
|
|
517
|
+
|
|
518
|
+
1. **Handoff to `@technical-architect`**:
|
|
519
|
+
- Architect parses `citation_dag` to extract component dependencies, p99 latencies, and hardware limits.
|
|
520
|
+
- Outputs: `core/contracts/schemas/architecture-options.json` or `core/contracts/schemas/adr-spec.json`.
|
|
521
|
+
2. **Handoff to `@business-analyst`**:
|
|
522
|
+
- Analyst parses `synthesis.critical_gaps` and `cove_verification_matrix` to define scope constraints and acceptance criteria.
|
|
523
|
+
- Outputs: `core/contracts/schemas/feature-ticket.json`.
|
|
524
|
+
3. **Handoff to `@content-writer`**:
|
|
525
|
+
- Content writer ingests high-density verified facts and live primary URLs, ensuring the final publication contains 0% AI hallucination.
|
|
526
|
+
- Outputs: `core/contracts/schemas/content-handoff.json`.
|
|
527
|
+
|
|
528
|
+
---
|
|
529
|
+
|
|
530
|
+
## 7. Operational Anti-Patterns & Failure Modes
|
|
531
|
+
|
|
532
|
+
The following catalog identifies the ten deadly anti-patterns in autonomous research and their mandatory remediations:
|
|
533
|
+
|
|
534
|
+
| # | Anti-Pattern | Operational Failure Mode | Mandatory Remediation |
|
|
535
|
+
|---| :--- | :--- | :--- |
|
|
536
|
+
| 1 | **Circular AI Echo Chamber** | Citing AI summaries that quote earlier LLM generations. | Reject fail-closed via `ZERO-AI-PRIMARY-CITATION-LOCK`. Trace claims back to human-authored RFCs or repository commits. |
|
|
537
|
+
| 2 | **Single-Perspective Blindness** | Querying only for confirming evidence; ignoring failure modes. | Execute STORM automated persona discovery. Mandate Skeptical Auditor and Compliance Reviewer probes before searching. |
|
|
538
|
+
| 3 | **Compound Claim Smuggling** | Combining a true fact with an ungrounded hallucination in one sentence. | Decompose into atomic propositions ($P = \bigwedge p_j$) via CoVe. Verify each proposition via isolated queries. |
|
|
539
|
+
| 4 | **Artificial Contradiction Smoothing** | Averaging conflicting benchmark numbers into a single synthetic figure. | Preserve contradictions in the Citation DAG using `relationship: "contradicts"`. Document divergent test conditions. |
|
|
540
|
+
| 5 | **Diluted Conversational Fluff** | Generating polite filler paragraphs ("delve into", "pave the way"). | Enforce $\text{ID} \ge 0.12$. Reject reports failing entity/metric ratios during AST lint checks. |
|
|
541
|
+
| 6 | **Unverified AI Citation Hallucination** | Accepting a URL emitted by an AI tool without verifying liveness or content. | Perform `read_url_content` or `curl -sI`. If 404 or content mismatch, flag `[AI-CITATION MISMATCH]`. |
|
|
542
|
+
| 7 | **Deep Mode Round Truncation** | Terminating research after 4 or 5 rounds when configured for deep mode. | Schema validation enforces `total_rounds >= 10` when `depth_mode: "deep"`. Truncated reports fail schema validation. |
|
|
543
|
+
| 8 | **Stripped Media Provenance Trust** | Assuming an unlabeled diagram or chart is human-authored. | Inspect via `c2patool`. If C2PA manifest is absent or invalid, label asset as `[UNVERIFIED PROVENANCE]`. |
|
|
544
|
+
| 9 | **Stale Documentation Anachronism** | Citing deprecated API syntax or obsolete standards from 2021. | Verify git commit dates and official release tags. Mandate current major version alignment (e.g. Astro v5, Redis 7.4). |
|
|
545
|
+
| 10 | **Scope Waiver Evasion** | Executing scoped depth (< 10 rounds) without documenting authorization. | Schema validation enforces non-empty `scope_waiver_note` when `depth_mode: "scoped"`. |
|
|
546
|
+
|
|
547
|
+
---
|
|
548
|
+
|
|
549
|
+
## 8. Reference Implementations & Automation Scripts
|
|
550
|
+
|
|
551
|
+
Below are reference Python implementations codified for inclusion in automated validation pipelines and test suites (e.g. `tests/test_researcher_sota_challenge.py`).
|
|
552
|
+
|
|
553
|
+
### 8.1 Citation DAG Topological Cycle Detector (3-Color DFS)
|
|
554
|
+
|
|
555
|
+
```python
|
|
556
|
+
"""
|
|
557
|
+
Citation DAG Cycle Detector
|
|
558
|
+
Algorithm: 3-Color Depth-First Search (DFS)
|
|
559
|
+
Complexity: Time O(|V| + |E|), Space O(|V|)
|
|
560
|
+
"""
|
|
561
|
+
|
|
562
|
+
from typing import Any, Dict, List, Tuple
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
def check_citation_dag_acyclicity(
|
|
566
|
+
nodes: List[Dict[str, Any]],
|
|
567
|
+
edges: List[Dict[str, Any]]
|
|
568
|
+
) -> Tuple[bool, List[str]]:
|
|
569
|
+
"""
|
|
570
|
+
Evaluates whether a directed citation graph G = (V, E) is strictly acyclic.
|
|
571
|
+
|
|
572
|
+
Color Codes:
|
|
573
|
+
0: White (Unvisited)
|
|
574
|
+
1: Gray (Active in current recursion stack -> indicates back-edge/cycle)
|
|
575
|
+
2: Black (Fully explored)
|
|
576
|
+
|
|
577
|
+
Returns:
|
|
578
|
+
(is_acyclic, cycle_path)
|
|
579
|
+
"""
|
|
580
|
+
node_ids = {n["node_id"] for n in nodes}
|
|
581
|
+
|
|
582
|
+
# 1. Edge endpoint validation & self-loop check
|
|
583
|
+
adj: Dict[str, List[str]] = {nid: [] for nid in node_ids}
|
|
584
|
+
for e in edges:
|
|
585
|
+
u = e.get("from_node_id")
|
|
586
|
+
v = e.get("to_node_id")
|
|
587
|
+
|
|
588
|
+
if u not in node_ids or v not in node_ids:
|
|
589
|
+
raise ValueError(f"Malformed edge ({u} -> {v}): endpoint not in V")
|
|
590
|
+
|
|
591
|
+
if u == v:
|
|
592
|
+
# Self-loop detected immediately
|
|
593
|
+
return False, [u, v]
|
|
594
|
+
|
|
595
|
+
adj[u].append(v)
|
|
596
|
+
|
|
597
|
+
color: Dict[str, int] = {nid: 0 for nid in node_ids}
|
|
598
|
+
cycle_path: List[str] = []
|
|
599
|
+
|
|
600
|
+
def dfs(curr: str, stack: List[str]) -> bool:
|
|
601
|
+
color[curr] = 1 # Mark Gray
|
|
602
|
+
stack.append(curr)
|
|
603
|
+
|
|
604
|
+
for neighbor in adj.get(curr, []):
|
|
605
|
+
if color[neighbor] == 1:
|
|
606
|
+
# Cycle detected: back-edge to an active ancestor
|
|
607
|
+
cycle_start = stack.index(neighbor)
|
|
608
|
+
cycle_path.extend(stack[cycle_start:] + [neighbor])
|
|
609
|
+
return True
|
|
610
|
+
if color[neighbor] == 0:
|
|
611
|
+
if dfs(neighbor, stack):
|
|
612
|
+
return True
|
|
613
|
+
|
|
614
|
+
stack.pop()
|
|
615
|
+
color[curr] = 2 # Mark Black
|
|
616
|
+
return False
|
|
617
|
+
|
|
618
|
+
for nid in sorted(node_ids):
|
|
619
|
+
if color[nid] == 0:
|
|
620
|
+
if dfs(nid, []):
|
|
621
|
+
return False, cycle_path
|
|
622
|
+
|
|
623
|
+
return True, []
|
|
624
|
+
```
|
|
625
|
+
|
|
626
|
+
### 8.2 Quantitative Information Density Calculator
|
|
627
|
+
|
|
628
|
+
```python
|
|
629
|
+
"""
|
|
630
|
+
Quantitative Information Density (ID) Calculator
|
|
631
|
+
Formula: ID = (Named Entities + Quantified Metrics) / Total Words >= 0.12
|
|
632
|
+
"""
|
|
633
|
+
|
|
634
|
+
import re
|
|
635
|
+
from typing import Dict, Any
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
# Regex patterns for named entities and quantified metrics
|
|
639
|
+
ENTITY_PATTERN = re.compile(
|
|
640
|
+
r"\b("
|
|
641
|
+
r"[A-Z][a-zA-Z0-9]*(?:[\s-][A-Z0-9][a-zA-Z0-9]*)*|" # Proper nouns (e.g. AWS Graviton3, Redis)
|
|
642
|
+
r"TCVN\s*\d+(?::\d+)?|" # Vietnamese Standards (TCVN 7830:2021)
|
|
643
|
+
r"RFC\s*\d+|" # RFC Standards (RFC 9110)
|
|
644
|
+
r"EU\s*AI\s*Act(?:\s*Article\s*\d+)?|" # EU Regulations
|
|
645
|
+
r"GDPR(?:\s*Article\s*\d+)?|" # GDPR clauses
|
|
646
|
+
r"ASHRAE\s*\d+(?:-\d+)?|" # ASHRAE standards
|
|
647
|
+
r"POSIX(?:\s*shm)?|" # POSIX specifications
|
|
648
|
+
r"C2PA(?:\s*v?\d+\.\d+)?" # C2PA standards
|
|
649
|
+
r")\b"
|
|
650
|
+
)
|
|
651
|
+
|
|
652
|
+
METRIC_PATTERN = re.compile(
|
|
653
|
+
r"\b("
|
|
654
|
+
r"\d+(?:\.\d+)?\s*(?:ms|μs|ns|s|min|h)|" # Latencies (0.15ms, 12.4μs)
|
|
655
|
+
r"\d+(?:\.\d+)?\s*(?:k|M|G|T)?\s*(?:TPS|req/s|QPS)|" # Throughput (610k TPS, 240k QPS)
|
|
656
|
+
r"\d+(?:\.\d+)?\s*(?:%|percent)|" # Percentages (99.99%)
|
|
657
|
+
r"\d+(?:\.\d+)?\s*(?:B|KB|MB|GB|TB|KiB|MiB|GiB)|" # Memory/Storage (512 MiB, 64 GB)
|
|
658
|
+
r"\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}Z?)?|" # ISO Timestamps (2026-10-23)
|
|
659
|
+
r"\d+(?:\.\d+)?\s*(?:x|X)|" # Multipliers (15x)
|
|
660
|
+
r"<=\s*\d+(?:\.\d+)?|>=?\s*\d+(?:\.\d+)?" # Inequalities (<= 0.18ms)
|
|
661
|
+
r")\b",
|
|
662
|
+
re.IGNORECASE
|
|
663
|
+
)
|
|
664
|
+
|
|
665
|
+
FLUFF_PATTERN = re.compile(
|
|
666
|
+
r"\b("
|
|
667
|
+
r"delve into|delving into|"
|
|
668
|
+
r"pave the way|paves the way|"
|
|
669
|
+
r"testament to|a testament to|"
|
|
670
|
+
r"in today'?s (?:fast-paced|digital|modern) world|"
|
|
671
|
+
r"crucial cornerstone|"
|
|
672
|
+
r"game changer|paradigm shift"
|
|
673
|
+
r")\b",
|
|
674
|
+
re.IGNORECASE
|
|
675
|
+
)
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
def calculate_information_density(text: str) -> Dict[str, Any]:
|
|
679
|
+
"""
|
|
680
|
+
Computes the Information Density score of a given research synthesis.
|
|
681
|
+
"""
|
|
682
|
+
# Strip markdown headers, table markers, and code blocks
|
|
683
|
+
cleaned_text = re.sub(r"```[\s\S]*?```", "", text)
|
|
684
|
+
cleaned_text = re.sub(r"#+.*", "", cleaned_text)
|
|
685
|
+
cleaned_text = re.sub(r"\|.*?\|", "", cleaned_text)
|
|
686
|
+
|
|
687
|
+
words = [w for w in cleaned_text.split() if w.strip()]
|
|
688
|
+
total_words = len(words)
|
|
689
|
+
|
|
690
|
+
if total_words == 0:
|
|
691
|
+
return {
|
|
692
|
+
"total_words": 0,
|
|
693
|
+
"named_entities_count": 0,
|
|
694
|
+
"quantified_metrics_count": 0,
|
|
695
|
+
"density_score": 0.0,
|
|
696
|
+
"status": "failed",
|
|
697
|
+
"fluff_detected": []
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
named_entities = ENTITY_PATTERN.findall(cleaned_text)
|
|
701
|
+
quantified_metrics = METRIC_PATTERN.findall(cleaned_text)
|
|
702
|
+
fluff_matches = FLUFF_PATTERN.findall(cleaned_text)
|
|
703
|
+
|
|
704
|
+
ne_count = len(named_entities)
|
|
705
|
+
qm_count = len(quantified_metrics)
|
|
706
|
+
density_score = round((ne_count + qm_count) / total_words, 4)
|
|
707
|
+
|
|
708
|
+
passed = (density_score >= 0.12) and (len(fluff_matches) == 0)
|
|
709
|
+
|
|
710
|
+
return {
|
|
711
|
+
"total_words": total_words,
|
|
712
|
+
"named_entities_count": ne_count,
|
|
713
|
+
"quantified_metrics_count": qm_count,
|
|
714
|
+
"density_score": density_score,
|
|
715
|
+
"formula": "ID = (Named Entities + Quantified Metrics) / Total Words",
|
|
716
|
+
"status": "passed" if passed else "failed",
|
|
717
|
+
"fluff_detected": list(set(fluff_matches))
|
|
718
|
+
}
|
|
719
|
+
```
|
|
720
|
+
|
|
721
|
+
---
|
|
722
|
+
|
|
723
|
+
## 9. Conclusion & Compliance Mandate
|
|
724
|
+
|
|
725
|
+
The SOTA Deep Research architecture codified in this document provides a formal, non-negotiable engineering foundation for all research tasks across the agent ecosystem.
|
|
726
|
+
|
|
727
|
+
By unifying:
|
|
728
|
+
1. **Stanford STORM** pre-search multi-perspective persona discovery,
|
|
729
|
+
2. **Citation DAG** mathematical acyclicity and zero-AI primary source locks,
|
|
730
|
+
3. **Chain-of-Verification (CoVe)** isolated atomic claim verification and C2PA cryptographic provenance, and
|
|
731
|
+
4. **Quantitative Information Density** ($\text{ID} \ge 0.12$) anti-fluff enforcement,
|
|
732
|
+
|
|
733
|
+
the framework ensures that downstream autonomous agents receive mathematically grounded, empirically triangulated, and epistemically unassailable research reports.
|