@vesviet/agent-skills 0.0.0-stage → 5.6.0
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 +241 -0
- package/core/README.md +53 -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,35 @@
|
|
|
1
|
+
## SRE Review Checklist
|
|
2
|
+
|
|
3
|
+
This reference checklist provides detailed reliability engineering, error budget governance, telemetry observability, chaos verification, and incident management review criteria for the Site Reliability Engineer (SRE) role to meet 2026–2027 SOTA reliability engineering standards. It synthesizes Google SRE Workbook MWMBR alerting, kernel-level eBPF socket profiling, OpenTelemetry v1.30+ GenAI semantic conventions, proactive automated chaos verification, and machine-readable incident postmortems.
|
|
4
|
+
|
|
5
|
+
### 1. Service Level Objectives & MWMBR Error Budget Governance
|
|
6
|
+
- **Multi-Window Multi-Burn-Rate (MWMBR) Alerting Architecture**: Verify that error budget alerting implements Google SRE Workbook MWMBR alerting across short and long time windows to eliminate alert fatigue while rapidly detecting critical budget consumption. Ensure alerts evaluate dual windows: 1h/5m for 14.4x burn rate (2% budget consumption in 1h, P1 page), 6h/30m for 6x burn rate (5% budget consumption in 6h, P2 page), and 3d/2h for 1x burn rate (10% budget consumption in 3 days, ticket). Verify that PromQL queries implement empty vector coalescing (`or on() vector(0)`) to prevent false alerts during low-traffic windows.
|
|
7
|
+
- **Error Budget Policy & Automated Deployment Freeze Gates**: Verify that every production service has a documented error budget policy linking error budget consumption to deployment velocity. Confirm that automated gates in CI/CD and GitOps halt non-reliability feature deployments upon 100% budget consumption, triggering a mandatory Reliability Sprint. Verify that release freeze bypasses require recorded dual sign-off from Product Manager and Engineering Director.
|
|
8
|
+
- **User-Centric SLI/SLO Formulation & AI-Specific Metrics**: Confirm SLIs reflect Critical User Journeys (CUJs) rather than internal component uptime. For AI/ML and GenAI workloads, confirm mandatory coverage of AI-specific SLOs: Time To First Token (TTFT P95 < 1.5s), output quality/accuracy score (>= 90% over rolling 24h), token cost budget per request, context window saturation (< 85%), and automated model degradation/drift alerts triggering rollback.
|
|
9
|
+
|
|
10
|
+
### 2. OpenTelemetry & eBPF Telemetry Observability
|
|
11
|
+
- **OpenTelemetry v1.30+ Distributed Tracing & W3C Context**: Verify unbroken propagation of W3C `traceparent` and `tracestate` headers across all HTTP, gRPC, and asynchronous event boundaries (Kafka, Dapr, RabbitMQ). Ensure span hierarchies capture database, cache, and external HTTP hops with standardized attributes; verify zero orphan spans across asynchronous worker queues.
|
|
12
|
+
- **OpenTelemetry GenAI Semantic Conventions**: Verify that AI and LLM inference endpoints are instrumented using stable OpenTelemetry v1.30+ GenAI semantic conventions (`gen_ai.system`, `gen_ai.request.model`, `gen_ai.response.model`, `gen_ai.usage.input_tokens`, `gen_ai.usage.output_tokens`, `gen_ai.usage.tokens`, and TTFT). Confirm that prompts and completions containing sensitive data or PII are masked before span export.
|
|
13
|
+
- **Kernel-Level eBPF Telemetry (Cilium Hubble & Beyla)**: Confirm kernel-level eBPF socket and network flow monitoring without sidecar proxy overhead. Verify that TCP retransmit rates, connection resets, DNS resolution latencies, and socket buffer queue saturation are continuously measured and correlated with application connection pool metrics.
|
|
14
|
+
|
|
15
|
+
### 3. Incident Detection, Containment & Root Cause Analysis (5 Whys)
|
|
16
|
+
- **High-Fidelity Detection & Four Golden Signals Coverage**: Verify that monitoring dashboards and alert rules encompass the Four Golden Signals (Latency, Traffic, Errors, Saturation) for all tier-1 services. Confirm that alert notifications provide actionable links: direct links to dashboards, correlated trace queries, and executable runbooks; verify elimination of noisy or non-actionable pages.
|
|
17
|
+
- **Rapid Mitigation & Blast Radius Containment**: Confirm that immediate mitigation actions (traffic shifting, feature flag disabling, autoscaling, canary drain, circuit breaker trip) are strictly decoupled from root-cause debugging. Measure Mean Time to Mitigation (MTTM); verify that mitigations do not trigger cascading downstream failures across service dependencies.
|
|
18
|
+
- **5 Whys Root Cause Analysis & Standardized Failure Taxonomy**: Verify that postmortem investigations execute recursive 5 Whys causal analysis, rejecting superficial conclusions ("human error", "network glitch"). Confirm failure categorization into standardized taxonomies (infrastructure_outage, software_defect, dependency_failure, configuration_drift, capacity_exhaustion, ai_model_degradation).
|
|
19
|
+
|
|
20
|
+
### 4. Chaos Engineering & Steady-State Failure Injection
|
|
21
|
+
- **Steady-State Hypothesis Formulation & Verification**: Confirm that chaos experiments define quantifiable steady-state metrics (P99 latency, request throughput, error rate) measured before, during, and after failure injection. Verify that distributed systems self-heal and return to steady state within declared RTO thresholds without human manual intervention.
|
|
22
|
+
- **Automated Fault Injection Matrix (Chaos Mesh / Litmus)**: Verify execution of automated fault injection covering pod evictions, network latency/jitter, network partitioning (split-brain), CPU/memory saturation, disk I/O pressure, and DNS resolution failures. Confirm coverage of upstream dependency and cloud provider outage simulations.
|
|
23
|
+
- **Blast Radius Guardrails & Emergency Abort Triggers**: Verify that failure injection experiments are strictly constrained to canary pools, non-critical shards, or controlled environments. Confirm that automated abort triggers immediately terminate chaos experiments and restore baseline state if production error budget burn exceeds 1x or synthetic canaries fail.
|
|
24
|
+
|
|
25
|
+
### 5. Automated Runbooks, Toil Reduction & Capacity Planning
|
|
26
|
+
- **Diagnostic Action Trees & Safe Automated Execution**: Confirm that runbooks are structured as deterministic diagnostic decision trees. Verify that automated runbooks feature dry-run simulation mode, confirmation checkpoints, and immediate human on-call interruptibility (kill switch); verify that irreversible destructive actions are permanently blocked from autonomous execution.
|
|
27
|
+
- **Operational Toil Budgeting & Runbook Auditing**: Verify that operational toil (repetitive, manual, automatable work) is tracked and capped at < 50% of SRE capacity. Confirm that every production alert maps to a validated, searchable runbook; verify post-incident runbook audits after every SEV-1/SEV-2 event.
|
|
28
|
+
- **Predictive Capacity Planning & Saturation Modeling**: Confirm proactive resource capacity modeling (CPU, memory, disk IOPS, database connections, GPU VRAM and KV cache). Verify saturation alerting configured at 70–80% thresholds before non-linear performance cliffs occur.
|
|
29
|
+
|
|
30
|
+
### 6. Machine Contract Artifacts & Postmortem Action Tracking
|
|
31
|
+
- **JSON Schema Draft 2020-12 Contract Conformity**: Verify that incident reports strictly validate against `contracts/schemas/incident-report.json`. Confirm presence of required fields: discriminator (`contract_type: incident-report`), quantitative metrics (MTTD, MTTM, MTTR in seconds), and error budget impact fields (`burn_rate_peak`, `budget_consumed_percentage`, `slo_breached`).
|
|
32
|
+
- **Distributed Trace Context Correlation**: Confirm that postmortem artifacts embed W3C distributed trace identifiers (`root_trace_id`, `culprit_span_id`), enabling 1-click correlation from the postmortem record to exact OpenTelemetry distributed traces.
|
|
33
|
+
- **Closed-Loop Preventative Action Item Governance**: Verify that all postmortem action items include unique IDs, designated owner roles (e.g., DevOps Engineer, Backend Developer, Data Engineer), priority ratings, target completion dates, and verifiable success criteria. Confirm that incidents cannot be marked closed while P1 action items remain untracked.
|
|
34
|
+
|
|
35
|
+
Last updated: 2026-10-05
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
## System Engineer Review Checklist
|
|
2
|
+
|
|
3
|
+
This reference checklist provides operational systems architecture, kernel performance engineering, hardware virtualization, and capacity planning criteria to meet SOTA 2026–2027 standards. It establishes non-negotiable verification gates across measurable NFR translation, proactive capacity modeling, Linux kernel sysctl optimization, NUMA-aware compute architecture, GPU VRAM allocation modeling, Infrastructure as Code (IaC) source-of-truth governance, cross-layer cascading impact analysis, and event-driven autoscaling via KEDA.
|
|
4
|
+
|
|
5
|
+
### 1. Measurable NFR Derivation & Topology Architecture (`DESIGN-FIRST LOCK` / `NFR-MEASURABLE LOCK`)
|
|
6
|
+
- **Measurable Non-Functional Requirements**:
|
|
7
|
+
- all system designs begin with explicit, quantifiable NFR targets: P99 latency (ms), peak throughput (req/s), availability (99.9x%), recovery time (RTO), and recovery point (RPO)
|
|
8
|
+
- subjective or unmeasurable requirements (e.g. "high performance", "must be fast") rejected and returned for quantitative clarification
|
|
9
|
+
- **Little's Law Concurrent Capacity Formulation**:
|
|
10
|
+
- baseline concurrency capacity modeled according to Little's Law:
|
|
11
|
+
$$N_{\text{concurrent}} = \lambda \cdot W$$
|
|
12
|
+
where $\lambda$ is average request arrival rate (requests/second) and $W$ is mean system residence time (seconds)
|
|
13
|
+
- system architectures sized with $\ge 30\%$ headroom over peak projected concurrency ($N_{\text{provisioned}} \ge 1.3 \times N_{\text{peak}}$)
|
|
14
|
+
- **End-to-End System Topology**:
|
|
15
|
+
- infrastructure topologies documented in `contracts/schemas/system-design-spec.json` with explicit compute tiers, network partitions, load balancer routing, storage layers, and message brokers
|
|
16
|
+
- single points of failure (SPOF) identified and mitigated via multi-availability zone or active-active clustering
|
|
17
|
+
|
|
18
|
+
### 2. Proactive Capacity Modeling & Headroom Planning (`CAPACITY-BEFORE-INCIDENT LOCK`)
|
|
19
|
+
- **Multi-Horizon Capacity Projections**:
|
|
20
|
+
- capacity models project resource demand across current baseline, 3-month P95 peak, and 12-month growth targets across CPU, memory, storage IOPS, and network bandwidth
|
|
21
|
+
- minimum 30% headroom maintained across all primary compute and storage tiers; actionable scaling triggers defined for when utilization exceeds 70%
|
|
22
|
+
- **Storage IOPS & Queue-Depth Sizing**:
|
|
23
|
+
- NVMe storage volumes provisioned with queue depths aligned to application worker concurrency; burst credit exhaustion alerts configured in monitoring
|
|
24
|
+
|
|
25
|
+
### 3. Linux Kernel 6.x Sysctl Optimization & OS-Level Hardening
|
|
26
|
+
- **Network Stack & High-Concurrency Socket Tuning**:
|
|
27
|
+
- kernel networking parameters configured and persisted in `/etc/sysctl.d/99-performance.conf`:
|
|
28
|
+
```ini
|
|
29
|
+
# High-concurrency socket backlog and connection reuse
|
|
30
|
+
net.core.somaxconn = 65535
|
|
31
|
+
net.ipv4.tcp_max_syn_backlog = 65535
|
|
32
|
+
net.ipv4.tcp_tw_reuse = 1
|
|
33
|
+
net.ipv4.tcp_fin_timeout = 15
|
|
34
|
+
net.ipv4.tcp_slow_start_after_idle = 0
|
|
35
|
+
net.core.rmem_max = 16777216
|
|
36
|
+
net.core.wmem_max = 16777216
|
|
37
|
+
|
|
38
|
+
# Virtual memory and file descriptors
|
|
39
|
+
vm.swappiness = 10
|
|
40
|
+
vm.max_map_count = 1048576
|
|
41
|
+
vm.dirty_ratio = 15
|
|
42
|
+
vm.dirty_background_ratio = 5
|
|
43
|
+
fs.file-max = 2097152
|
|
44
|
+
```
|
|
45
|
+
- `/etc/security/limits.conf` mandates `nofile 1048576` for service accounts
|
|
46
|
+
- **Transparent Huge Pages (THP) Tuning**:
|
|
47
|
+
- Transparent Huge Pages (THP) disabled (`echo never > /sys/kernel/mm/transparent_hugepage/enabled`) for latency-critical database engines (Redis, PostgreSQL, OceanBase) to eliminate kernel compaction latency spikes
|
|
48
|
+
|
|
49
|
+
### 4. Asynchronous I/O, `io_uring` & NUMA Node Binding
|
|
50
|
+
- **Kernel-Bypass & High-Performance I/O (`io_uring`)**:
|
|
51
|
+
- high-throughput storage and network workloads utilize `io_uring` with Submission Queue Polling (`IORING_SETUP_SQPOLL`) rather than blocking thread-per-connection architectures, eliminating userspace-to-kernel context switch overhead
|
|
52
|
+
- disk I/O schedulers tuned: `none` or `mq-deadline` for NVMe SSDs; `bfq` for rotational media
|
|
53
|
+
- **NUMA Node Alignment & Core Pinning**:
|
|
54
|
+
- multi-socket bare-metal and virtualized hosts bind CPU worker threads and memory allocations to the same NUMA node:
|
|
55
|
+
```bash
|
|
56
|
+
# Execute high-throughput worker on NUMA node 0
|
|
57
|
+
numactl --cpunodebind=0 --membind=0 /usr/local/bin/worker-service
|
|
58
|
+
```
|
|
59
|
+
- NIC IRQ affinities pinned to CPU cores sharing the local PCIe root complex
|
|
60
|
+
|
|
61
|
+
### 5. Cgroup v2 Resource Controller Isolation
|
|
62
|
+
- **Hierarchical Resource Limits**:
|
|
63
|
+
- production services enforce cgroup v2 controller boundaries:
|
|
64
|
+
- `cpu.weight` set to prioritize latency-critical API paths over background jobs
|
|
65
|
+
- `memory.high` configured as throttle watermark; `memory.max` as hard OOM boundary
|
|
66
|
+
- `io.weight` configured to prevent disk-heavy batch tasks from starving database IOPS
|
|
67
|
+
|
|
68
|
+
### 6. AI Inference Infrastructure & GPU VRAM Accounting (`AI-INFRA-FIRST-CLASS LOCK` / `GPU-VRAM-ACCOUNTING LOCK`)
|
|
69
|
+
- **Formulaic VRAM Allocation Modeling**:
|
|
70
|
+
- GPU allocation for LLM inference workloads must document the explicit formulaic calculation:
|
|
71
|
+
$$\text{VRAM}_{\text{total}} = \text{Model Weights} + \text{KV Cache Slab} + \text{Activation Memory} + \text{Runtime Overhead}$$
|
|
72
|
+
- minimum 15% VRAM headroom reserved to prevent CUDA out-of-memory (OOM) crashes during concurrent batch bursts
|
|
73
|
+
- **Hardware Slicing & Storage Topology**:
|
|
74
|
+
- multi-tenant GPU nodes utilize NVIDIA Multi-Instance GPU (MIG) for physical compute and memory isolation
|
|
75
|
+
- model weight distribution uses local NVMe caches or GPUDirect Storage to achieve model cold-start load times $\le 45\text{s}$
|
|
76
|
+
|
|
77
|
+
### 7. Cross-Layer Impact Analysis & Destructive Action Controls (`CROSS-LAYER-IMPACT LOCK` / `IRREVERSIBLE-INFRA LOCK`)
|
|
78
|
+
- **Second-Order Dependency Assessment**:
|
|
79
|
+
- changes to network MTU, TCP buffer sizes, or kernel parameters evaluated against downstream database connection pools and RPC runtimes
|
|
80
|
+
- OS-level upgrades verified against container engine and kernel module compatibility matrices
|
|
81
|
+
- **Irreversible Infrastructure Protection**:
|
|
82
|
+
- destructive infrastructure operations (terminating production compute, dropping persistent volumes, re-partitioning disks) mandate explicit human sign-off and validated snapshot backups
|
|
83
|
+
|
|
84
|
+
### 8. Observability & Event-Driven Autoscaling via KEDA (`KEDA-NOT-HPA LOCK`)
|
|
85
|
+
- **KEDA Queue-Depth Driven Autoscaling**:
|
|
86
|
+
- asynchronous message workers and inference fleets scale via KEDA ScaledObjects evaluating queue backlog and consumer lag rather than lagging CPU metrics:
|
|
87
|
+
```yaml
|
|
88
|
+
apiVersion: keda.sh/v1alpha1
|
|
89
|
+
kind: ScaledObject
|
|
90
|
+
metadata:
|
|
91
|
+
name: queue-worker-scaler
|
|
92
|
+
spec:
|
|
93
|
+
scaleTargetRef:
|
|
94
|
+
name: queue-worker
|
|
95
|
+
minReplicaCount: 2
|
|
96
|
+
maxReplicaCount: 50
|
|
97
|
+
triggers:
|
|
98
|
+
- type: rabbitmq
|
|
99
|
+
metadata:
|
|
100
|
+
queueName: tasks
|
|
101
|
+
mode: QueueLength
|
|
102
|
+
value: "20"
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### 9. Operational Telemetry & Health Invariants
|
|
106
|
+
- **PromQL System Health Invariants**:
|
|
107
|
+
```promql
|
|
108
|
+
# Socket listen backlog drop detection
|
|
109
|
+
rate(node_netstat_TcpExt_ListenDrops[5m]) > 0
|
|
110
|
+
|
|
111
|
+
# NVMe I/O queue wait latency
|
|
112
|
+
rate(node_disk_io_time_weighted_seconds_total[5m]) / rate(node_disk_reads_completed_total[5m] + node_disk_writes_completed_total[5m]) > 0.020
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### 10. Gate Review & Contract Conformance Verification Table
|
|
116
|
+
| Verification Gate | Target Invariant | Required Tool / Command | Pass Criteria |
|
|
117
|
+
| :--- | :--- | :--- | :--- |
|
|
118
|
+
| **Sysctl Conformance** | `somaxconn == 65535` | `sysctl net.core.somaxconn` | Returns 65535 |
|
|
119
|
+
| **VRAM Headroom** | Headroom $\ge 15\%$ | `nvidia-smi --query-gpu=memory.free` | Free VRAM $\ge 15\%$ total |
|
|
120
|
+
| **NUMA Locality** | Cross-node misses $\approx 0$ | `numastat -c worker-service` | Local node hits $\ge 98\%$ |
|
|
121
|
+
| **THP Disabled** | THP == never | `cat /sys/kernel/mm/transparent_hugepage/enabled` | `[never]` active |
|
|
122
|
+
| **cgroup v2 Controller**| Hierarchy valid | `cat /sys/fs/cgroup/cgroup.controllers` | `cpu memory io pids` active |
|
|
123
|
+
| **Listen Drop Rate** | Drops == 0 | Prometheus `ListenDrops` | 0 drops across all sockets |
|
|
124
|
+
| **System Spec Schema** | Valid `system-design-spec.json` | `python3 core/scripts/validate-contracts.py` | 100% schema compliant |
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
## Task Planner Review Checklist
|
|
2
|
+
|
|
3
|
+
This reference checklist provides operational task decomposition, execution sequencing, agentic autonomy calibration, and delivery planning criteria to meet SOTA 2026–2027 standards. It establishes non-negotiable verification gates across Directed Acyclic Graph (DAG) task slicing, Critical Path Method (CPM) scheduling, Trust Ladder autonomy tier declarations, contract output alignment (`technical-delivery-plan.json`), background agent UX contracts, Generative UI (GenUI) governance planning, stateless MCP protocol alignment, and blast-radius mitigation.
|
|
4
|
+
|
|
5
|
+
### 1. Work Breakdown Structure (WBS) & DAG Task Decomposition (`DAG-TASK-DECOMPOSITION-LOCK`)
|
|
6
|
+
- **Atomic, Testable Execution Slices**:
|
|
7
|
+
- large feature or refactoring initiatives decomposed into discrete, ordered tasks with explicit preconditions, inputs, deliverables, and definition of done
|
|
8
|
+
- each task step specifies an exact owning role (`Role: **Role Name**`) that possesses the required skills in its declared Primary or Supporting toolbox
|
|
9
|
+
- tasks organized as a valid Directed Acyclic Graph (DAG); circular dependencies eliminated; parallel branches explicitly specify write-scope boundaries
|
|
10
|
+
- Kahn's algorithm validates graph acyclicity in deterministic $O(|V| + |E|)$ time prior to task dispatch:
|
|
11
|
+
1. Compute in-degree $d_{\text{in}}(v) = |\{u \in V \mid (u, v) \in E\}|$
|
|
12
|
+
2. Queue $Q \leftarrow \{v \in V \mid d_{\text{in}}(v) = 0\}$
|
|
13
|
+
3. Assert $|L| = |V| \iff G \text{ is acyclic}$; if $|L| < |V|$ fail-closed
|
|
14
|
+
- **Critical Path Method (CPM) Scheduling**:
|
|
15
|
+
- task plans compute the Critical Path Method (CPM) duration:
|
|
16
|
+
$$\text{Critical Path Duration} = \max_{p \in \text{Paths}} \sum_{i \in p} t_i$$
|
|
17
|
+
- slack time (float) calculated for non-critical paths: $\text{Float}_j = \text{Late Start}_j - \text{Early Start}_j$
|
|
18
|
+
|
|
19
|
+
### 2. Contract Output Alignment & Schema Conformance (`OUTPUT-CONTRACT-ALIGNMENT-LOCK`)
|
|
20
|
+
- **Mandatory Output Contracts**:
|
|
21
|
+
- Task Planner must author and emit `contracts/schemas/technical-delivery-plan.json` and `contracts/schemas/coordination-plan.json`
|
|
22
|
+
- authoring contracts owned by other roles (e.g., `contracts/schemas/seo-weekly-board.json` owned by SEO Analyst) is strictly prohibited
|
|
23
|
+
- **Delivery Plan Schema Specification**:
|
|
24
|
+
- execution plans produce valid, schema-compliant JSON:
|
|
25
|
+
```json
|
|
26
|
+
{
|
|
27
|
+
"plan_id": "tdp-2026-auth-upgrade",
|
|
28
|
+
"objective": "Upgrade authentication stack to RFC 8693 token exchange",
|
|
29
|
+
"tasks": [
|
|
30
|
+
{
|
|
31
|
+
"step_id": "step-1",
|
|
32
|
+
"role": "solution-architect",
|
|
33
|
+
"action": "Author OAuth token exchange ADR",
|
|
34
|
+
"inputs": ["docs/architecture/auth-baseline.md"],
|
|
35
|
+
"deliverables": ["docs/adr/0042-rfc8693-exchange.md"],
|
|
36
|
+
"blast_radius_tier": 1
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"step_id": "step-2",
|
|
40
|
+
"role": "security-engineer",
|
|
41
|
+
"action": "Validate SPIFFE SVID down-scoping policies",
|
|
42
|
+
"prerequisites": ["step-1"],
|
|
43
|
+
"deliverables": ["core/policies/token-exchange-rules.yaml"],
|
|
44
|
+
"blast_radius_tier": 2
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### 3. Trust Ladder Autonomy Tier Calibration (`TRUST-LADDER LOCK`)
|
|
51
|
+
- **Explicit Autonomy Tier Declaration**:
|
|
52
|
+
- every agentic or automated feature explicitly declares its operating autonomy tier in planning artifacts:
|
|
53
|
+
1. **Tier 1 (Suggest)**: Agent proposes action/code; human executes
|
|
54
|
+
2. **Tier 2 (Verify)**: Agent drafts implementation; human reviews and confirms before execution
|
|
55
|
+
3. **Tier 3 (Delegate)**: Agent executes routine tasks autonomously; pauses for approval on high-risk boundaries
|
|
56
|
+
4. **Tier 4 (Automate)**: Agent executes full pipeline autonomously within predefined operational envelopes
|
|
57
|
+
- **Anti-Autopilot Trap**:
|
|
58
|
+
- unearned autonomy tiers prohibited; new agentic capabilities must demonstrate reliable performance at Suggest/Verify before promoting to Delegate/Automate
|
|
59
|
+
|
|
60
|
+
### 4. INVEST Work Slicing & Blast Radius Governance (`INVEST-SLICING-CRITERIA-LOCK`)
|
|
61
|
+
- **INVEST Criteria Compliance**:
|
|
62
|
+
- each delivery slice must satisfy INVEST principles:
|
|
63
|
+
- **Independent**: loose coupling between adjacent slices
|
|
64
|
+
- **Negotiable**: scope can be adjusted without invalidating the architecture
|
|
65
|
+
- **Valuable**: delivers testable, incremental progress
|
|
66
|
+
- **Estimable**: clear boundaries allow realistic duration bounds
|
|
67
|
+
- **Small**: execution bounded to $\le 2\text{ hours}$ of agent compute
|
|
68
|
+
- **Testable**: explicit verification oracle provided for each step
|
|
69
|
+
- **Blast Radius Scoring & Rollback Readiness**:
|
|
70
|
+
- every task slice assigned a blast radius score (Tiers 1–4) with documented rollback playbooks before work begins
|
|
71
|
+
|
|
72
|
+
### 5. Plan Checkpoint-Restore & State Serialization (`PLAN-CHECKPOINT-RESTORE-LOCK`)
|
|
73
|
+
- **Serializable Checkpoint States**:
|
|
74
|
+
- task plans exceeding 3 sequential steps must declare serializable checkpoint states to allow resume-from-checkpoint after interrupts or crashes
|
|
75
|
+
- checkpoint snapshots record completed step outputs, pending tasks, and token expenditure to date
|
|
76
|
+
- idempotency keys attached to each step prevent duplicate side-effect execution during recovery
|
|
77
|
+
|
|
78
|
+
### 6. Three-Point Statistical Estimation & Confidence Intervals
|
|
79
|
+
- **Probabilistic Duration Envelopes**:
|
|
80
|
+
- duration estimates provide three-point estimations:
|
|
81
|
+
$$\mu = \frac{O + 4M + P}{6}, \quad \sigma = \frac{P - O}{6}$$
|
|
82
|
+
- $95\%$ statistical confidence intervals calculated:
|
|
83
|
+
$$\text{CI}_{95\%} = [\mu - 1.96\sigma, \, \mu + 1.96\sigma]$$
|
|
84
|
+
- plans incorporate confidence bounds to feed downstream Monte Carlo project simulations
|
|
85
|
+
|
|
86
|
+
### 7. Background Agent UX & Async Interruption Contracts (`BACKGROUND-AGENT-UX LOCK`)
|
|
87
|
+
- **Status Surfaces & Progress Notification**:
|
|
88
|
+
- long-running background agent workflows include explicit UX specifications for real-time progress surfaces, status indicators, and notification contracts
|
|
89
|
+
- notifications define trigger events, severity tiers, and clear call-to-action responses
|
|
90
|
+
- **Asynchronous Interruptibility & Cancellation**:
|
|
91
|
+
- background tasks must support non-destructive pause, redirect, and cancellation controls without leaving corrupted state or orphaned resources
|
|
92
|
+
|
|
93
|
+
### 8. Generative UI (GenUI) Governance Planning (`GENUI-GOVERNANCE LOCK`)
|
|
94
|
+
- **Component Palette & Assembly Constraints**:
|
|
95
|
+
- dynamically assembled or AI-generated user interfaces mandate an explicit component allowlist from the design system
|
|
96
|
+
- automated runtime checks verify assembled UI against layout and accessibility rules
|
|
97
|
+
- graceful fallback rendering defined for instances where generative UI assembly violates rules or encounters rendering errors
|
|
98
|
+
|
|
99
|
+
### 9. Stateless MCP 2026-07-28 Integration Planning (`MCP-STATELESS LOCK`)
|
|
100
|
+
- **Stateless HTTP Transport Architecture**:
|
|
101
|
+
- Model Context Protocol (MCP) integrations planned using stateless HTTP transport complying with the MCP 2026-07-28 specification
|
|
102
|
+
- session state persistence assigned to external data stores (Redis, Durable Objects, D1) rather than in-memory process state
|
|
103
|
+
- required agent tools mapped against registered MCP servers and verified against `core/policies/mcp-tool-map.yaml` using `python3 core/scripts/validate-policy-consistency.py`
|
|
104
|
+
|
|
105
|
+
### 10. Gate Review & Contract Conformance Verification Table
|
|
106
|
+
| Verification Gate | Target Invariant | Required Tool / Command | Pass Criteria |
|
|
107
|
+
| :--- | :--- | :--- | :--- |
|
|
108
|
+
| **DAG Cycle Check** | $|L| = |V|$ | `python3 core/scripts/validate-graph.py` | 0 cycles; deterministic topological order |
|
|
109
|
+
| **Output Schema Gate** | Emits `technical-delivery-plan` | `python3 core/scripts/validate-contracts.py` | Valid schema; no SEO contracts |
|
|
110
|
+
| **INVEST Slice Cap** | Duration $\le 2\text{h}$ | Task estimate review | All tasks sized $\le 2\text{ hours}$ |
|
|
111
|
+
| **Autonomy Tier Gate** | Declared in Tiers 1–4 | Plan inspection | Valid Trust Ladder tier assigned |
|
|
112
|
+
| **Checkpoints Defined**| For plans $> 3$ steps | `grep -i "checkpoint" plan.json` | Checkpoint serialized at each phase |
|
|
113
|
+
| **Critical Path CPM** | Critical chain computed | CPM calculation script | Identified zero-float path |
|
|
114
|
+
| **MCP Stateless Gate** | Stateless HTTP SSE | Architecture inspection | 0 persistent WebSocket/stdio |
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
## Teacher Review Checklist
|
|
2
|
+
|
|
3
|
+
This reference checklist provides detailed pedagogical, cognitive architecture, AI-resistant exercise design, anti-hallucination grading, growth mindset, and privacy governance criteria for the Teacher role to meet 2027 Agentic SWE and modern pedagogical standards.
|
|
4
|
+
|
|
5
|
+
### 1. Adaptive Pedagogy & ZPD Calibrations
|
|
6
|
+
- **Diagnostic Baseline Assessment**: Administer an initial diagnostic intake before curriculum delivery to establish the learner's baseline latent capability parameter ($\theta$); map foundational prerequisites and identify conceptual lacunae.
|
|
7
|
+
- **Dynamic ZPD Calibration (70–80% Success Target)**: Continuously adjust task difficulty ($\beta$) based on a rolling moving average of the learner's last 10 exercises; calibrate challenges to maintain a 70–80% success rate ($\theta \approx \beta$) to preserve optimal flow state and prevent boredom or anxiety.
|
|
8
|
+
- **Dynamic Scaffolding & Gradual Release**: Implement progressive fading of instructional scaffolding (from full worked examples, to partially completed faded examples, to independent problem solving); remove scaffolds systematically as learner mastery increases.
|
|
9
|
+
- **Cognitive Load Budgeting**: Enforce Cognitive Load Theory constraints by limiting element interactivity to strictly 3–5 novel interacting elements per 45-minute lesson block; eliminate split-attention effects by integrating code snippets, explanations, and diagrams into unified conceptual units.
|
|
10
|
+
- **Metacognitive Self-Monitoring**: Embed periodic metacognitive reflection prompts requiring learners to self-assess comprehension, articulate problem-solving strategies, and identify lingering uncertainties.
|
|
11
|
+
|
|
12
|
+
### 2. Modern Bloom 2027 HOTS Alignment
|
|
13
|
+
- **Pivot to Higher-Order Thinking Skills (HOTS)**: Direct instructional time and cognitive effort toward HOTS tiers (Analyze, Evaluate, Create); de-emphasize rote Lower-Order Thinking Skills (Remember, Understand) that are readily automated by AI tools.
|
|
14
|
+
- **Cognitive Verb Verification**: Ensure that instructional objectives, problem statements, and assessment prompts utilize active HOTS verbs (*Synthesize, Critique, Formulate, Architect, Debug, Hypothesize, Prove*); reject passive or superficial verbs (*Memorize, List, Describe*).
|
|
15
|
+
- **Inverted Bloom's Debugging Architecture**: Present learners with synthetically generated, functional AI solutions containing subtle race conditions, architectural antipatterns, or edge-case security flaws; require learners to analyze, evaluate, and fix the flaw with failing reproduction tests.
|
|
16
|
+
- **Cross-Domain Synthesis**: Design capstone learning activities that require students to connect and integrate concepts across multiple technical domains (e.g., combining distributed consensus with disk I/O performance and data contracts).
|
|
17
|
+
|
|
18
|
+
### 3. AI-Resistant Exercise Engineering & Depth of Knowledge (DOK 1-4)
|
|
19
|
+
- **Webb's Depth of Knowledge Matrix Balance**: Distribute curriculum exercises across Webb's 4 DOK levels: DOK 1 (Recall & Reproduction), DOK 2 (Skills & Concepts), DOK 3 (Strategic Thinking), and DOK 4 (Extended Thinking); flag curriculum sets clustered exclusively in single lower tiers.
|
|
20
|
+
- **Context-Bound Case-Based Problems**: Author exercises grounded in fictitious, highly localized scenarios with proprietary constraints, legacy technical debt, and competing stakeholder trade-offs that cannot be solved by generic LLM web training data.
|
|
21
|
+
- **Multi-Modal Artifact Grounding**: Mandate that problem prompts require analyzing raw technical artifacts (e.g., production log dumps, OpenTelemetry trace spans, CPU flame graphs, or database explain query plans).
|
|
22
|
+
- **Socratic Oral Defense Simulation**: Incorporate conversational defense checkpoints where learners must justify architectural trade-offs and runtime complexities against an adversarial AI sparring partner.
|
|
23
|
+
- **Intermediate Process Auditing**: Grade learners on the iterative process (intermediate scratchpads, git commit diff histories, hypothesis testing logs) rather than final code outputs alone.
|
|
24
|
+
- **Rasch 1PL/3PL IRT Calibration & Partial Credit**: Calibrate question item parameters using Item Response Theory models; provide granular partial-credit scoring barems (25% conceptual framing, 50% execution logic, 25% edge-case validation); strictly prohibit all-or-nothing grading.
|
|
25
|
+
|
|
26
|
+
### 4. 4-Tier Analytic Rubrics & Anti-Hallucination Defense
|
|
27
|
+
- **Standardized 4-Tier Rubric Structure**: Define objective, criterion-referenced rubrics across 4 standardized proficiency tiers: Beginning (0–49%), Developing (50–69%), Proficient (70–89%), and Advanced (90–100%) with unambiguous behavioral criteria.
|
|
28
|
+
- **Anti-Hallucination Line Citation Protocol**: Require every single score deduction to explicitly quote the student's submission line number and verbatim code or text snippet; flag any unanchored deduction or speculative critique as an evaluation defect.
|
|
29
|
+
- **Anti-Superficial Fluency Filter**: Explicitly penalize submissions consisting of verbose, AI-synthesized prose that lacks concrete technical proof, mathematical derivation, or executable unit tests.
|
|
30
|
+
- **Cognitive Error Categorization**: Diagnose the root cognitive cause of student errors: conceptual misunderstandings (flawed mental models), procedural execution errors (syntax/calculation slips), boundary edge-case blindspots (missing null/limit checks), or cognitive overload interference (split attention).
|
|
31
|
+
- **Machine-Readable Contract Output**: Serialize evaluation deliverables into `contracts/schemas/learning-assessment-report.json`, ensuring complete schema validation prior to grade release.
|
|
32
|
+
|
|
33
|
+
### 5. Growth-Mindset & Socratic Pedagogical Feedback
|
|
34
|
+
- **Effort and Strategy Praise (Carol Dweck)**: Commend methodical debugging, persistence, algorithmic reasoning, and structured testing rather than innate talent or speed; build student resilience.
|
|
35
|
+
- **"Not-Yet" Developmental Framing**: Frame feedback constructively using "not-yet" language ("You have not yet synchronized the asynchronous worker threads...") to reinforce that technical competencies are growable through deliberate practice.
|
|
36
|
+
- **The Rule of One**: Strictly limit actionable remediation feedback to **exactly one** high-impact improvement target per evaluation session; avoid decision fatigue and cognitive overwhelm caused by laundry lists of critiques.
|
|
37
|
+
- **3-Level Graduated Socratic Hint Ladder**: When assisting struggling students, enforce a strict graduated hint protocol:
|
|
38
|
+
- *Hint Level 1 (Constraint Pointer)*: Highlight the exact line number, invariant condition, or boundary violated without suggesting code.
|
|
39
|
+
- *Hint Level 2 (Conceptual Prompt)*: Frame the governing theoretical principle as an open inquiry question.
|
|
40
|
+
- *Hint Level 3 (Isomorphic Mini-Analogy)*: Provide a 3-line isolated analogy illustrating the same logic without solving the primary problem.
|
|
41
|
+
- **Strict Prohibition of Turnkey Answers**: Under no circumstance may the automated agent output complete turnkey solutions or write production assignment code for the student during feedback interactions.
|
|
42
|
+
|
|
43
|
+
### 6. Learner Privacy, FERPA/GDPR & EU AI Act Governance
|
|
44
|
+
- **Zero-PII & Pseudonymous Student Tokens**: Enforce strict student pseudonymization; assign random tokens (`student_token`, e.g., `STU-8f2e-2027`); prohibit the inclusion of student real names, email addresses, institutional identifiers, or birth dates in prompts, logs, and artifacts.
|
|
45
|
+
- **Data Classification & Storage Security**: Classify all learner cognitive traces, performance histories, and diagnostic evaluations as Restricted data per `data-classification.yaml`; store records in encrypted, access-controlled repositories.
|
|
46
|
+
- **EU AI Act High-Risk AI Human Gate**: In compliance with EU AI Act High-Risk AI education mandates, ensure that automated AI grading assessments require verification and sign-off by a qualified human educator (`reviewed_by`, `verification_status: "verified_and_approved"`) before releasing official grades.
|
|
47
|
+
- **Ebbinghaus Spaced Repetition Scheduling**: Schedule review sessions across Ebbinghaus forgetting curve intervals (Days 1, 3, 7, 14, 30) with consolidation buffers (minimum 15% dedicated review buffer); embed Feynman technique checkpoints requiring learners to explain complex technical concepts in simple, jargon-free terms.
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
## Technical Architect Review Checklist
|
|
2
|
+
|
|
3
|
+
This reference checklist provides detailed evaluation criteria for structural system design, enterprise Model Context Protocol (MCP) server architecture, recursive multi-agent decomposition, disk-backed persistent planning, and evolutionary architecture fitness functions to meet 2027 Agentic SWE standards.
|
|
4
|
+
|
|
5
|
+
### 1. Structural Design, System Boundaries & Architecture-as-Code (AaC)
|
|
6
|
+
- **Explicit System Boundaries**: Service boundaries, interface contracts, data ownership, and dependency directions are declared unambiguously in `contracts/schemas/adr-spec.json`.
|
|
7
|
+
- **Machine-Readable Contract Artifacts**: Downstream engineering teams are provided with machine-verifiable contract schemas (`architecture-options.json`, `adr-spec.json`) before slice breakdown.
|
|
8
|
+
- **Cellular & Shared-Nothing Isolation**: Multi-tenant or high-scale systems ($\ge 99.95\%$ availability) enforce shared-nothing cellular partitions with zero synchronous cross-cell RPC dependencies.
|
|
9
|
+
- **Migration & Rollback Blueprint**: Every architectural change specifies a concrete data migration strategy and an automated, zero-loss rollback plan with quantified blast-radius impact.
|
|
10
|
+
- **Impacted Consumers Enumerated**: All internal services, external consumers, and API contract references (`api_contract_refs`) affected by boundary moves are explicitly cataloged.
|
|
11
|
+
|
|
12
|
+
### 2. Enterprise MCP Server Architecture & Tool Surface Contracts (`architect-mcp-server`)
|
|
13
|
+
- **Action-Oriented Domain Prefixes**: Tool names strictly adhere to `<domain>_<action>` naming (e.g., `db_query_records`, `order_create_invoice`, `git_checkout_branch`), preventing namespace collision across multi-server environments.
|
|
14
|
+
- **Strict Schema Validation (Zod / Pydantic)**: Every tool declares strict input parameter schemas and output return types; unvalidated freeform JSON blobs are rejected (`MCP-SERVER-CONTRACT LOCK`).
|
|
15
|
+
- **Structured Content Schemas (`outputSchema` / `structuredContent`)**: Tools emit structured JSON content conforming to declared `outputSchema` rather than unstructured text dumps, ensuring machine-parsable consumption by agent callers.
|
|
16
|
+
- **Actionable Error Ergonomics**: Error responses provide typed error categories (transient vs. permanent), machine-readable error codes, and explicit remediation hints guiding caller agents to self-correct parameters without human intervention.
|
|
17
|
+
- **Tool Granularity Calibration**: Tools are designed at single-action granularity; bloated "god-tools" packing disparate operations and microscopic "chatty" tools requiring excessive round-trips are eliminated.
|
|
18
|
+
- **Resource & Prompt Architecture**: Read-only contexts expose URI-addressable resources (`resources/read`) and reusable prompt workflows (`prompts/get`) with parameter validation.
|
|
19
|
+
|
|
20
|
+
### 3. MCP Stateless Transport, State Externalization (SEP-2567) & Auth Boundaries (RFC 8707)
|
|
21
|
+
- **Stateless HTTP Transport Default**: MCP implementations default to stateless streamable HTTP transport adhering to the MCP 2026-07-28 core specification; stateful stdio/SSE is restricted to local development.
|
|
22
|
+
- **Externalized State Handles (SEP-2567)**: Any residual session state or multi-turn context is externalized to high-performance distributed storage (Redis, Cloudflare D1, PostgreSQL); zero in-memory sticky-session affinity.
|
|
23
|
+
- **OAuth 2.1 RFC 8707 Resource Indicators**: Client tokens bound to specific MCP server resource indicators; servers prohibited from replaying bearer tokens to downstream services or chained MCP tools.
|
|
24
|
+
- **Enterprise-Managed Authorization SSO**: Centralized authorization gateway implemented for deployments managing $\ge 3$ MCP servers, enforcing uniform RBAC/ABAC tool invocation policies.
|
|
25
|
+
- **Supply-Chain Registry Governance**: Production MCP tool dependencies originate exclusively from allowlisted, audited registries with publisher verification, code-signing, and version pinning (`MCP-REGISTRY LOCK`).
|
|
26
|
+
- **Shadow MCP Detection**: Network and edge proxy observability configured to detect and block unauthorized, unmanaged MCP endpoints attempting connection to agent runtimes (`MCP-GATEWAY LOCK`).
|
|
27
|
+
|
|
28
|
+
### 4. Recursive System & Task Decomposition (DAG Execution, 100+ Files / 50K+ Tokens) (`decompose-agentic-system`)
|
|
29
|
+
- **Hierarchical DAG Topology**: Large-scale multi-file, high-token tasks are decomposed into a directed acyclic graph (DAG) of sub-agent scopes; cyclic agent loops are prohibited (`AGENTIC-DECOMPOSITION LOCK`).
|
|
30
|
+
- **Deterministic Dependency Gating**: Downstream child sub-agents execute only after upstream dependency outputs validate against schema contracts; premature speculative execution is blocked.
|
|
31
|
+
- **Blast-Radius Perimeter Isolation**: Each sub-agent scope operates within an isolated sandbox (container, process namespace, or directory boundary); lateral access across unassigned directories is denied (`BLAST-RADIUS LOCK`).
|
|
32
|
+
- **Invariant Pre- and Post-Conditions**: Automated invariant assertions are executed at phase boundaries; DAG execution halts immediately if an architectural invariant fails.
|
|
33
|
+
- **State Checkpointing**: Intermediate sub-agent artifacts and execution states are checkpointed to durable storage, enabling resumption from the last valid checkpoint upon agent failure.
|
|
34
|
+
|
|
35
|
+
### 5. Disk-Backed Persistent Planning & Anti-Context-Rot Architecture (`planning-with-files`)
|
|
36
|
+
- **Durable Disk-Backed State**: Task execution plans, task manifests, and dependency status live in durable disk markdown files (`plan.md`, `task.md`, `progress.md`, `briefing.md`) rather than volatile LLM context windows (`CONTEXT-ROT-RESISTANCE LOCK`).
|
|
37
|
+
- **Compaction & Truncation Survival**: Agent architectures guarantee full operational recovery after context window compaction, truncation, or session clear (`/clear`) by reading state from disk.
|
|
38
|
+
- **Deterministic Completion Gates**: Tasks close only when empirical evidence (compiler exit code 0, test pass output, schema validator success) is written to the verification block; agent self-declaration of completion is invalid.
|
|
39
|
+
- **Atomic Progress Logging**: Execution heartbeats and progress updates record monotonic timestamps, exact artifact URIs, and step transitions, preventing false-positive progress reporting.
|
|
40
|
+
|
|
41
|
+
### 6. Non-Human Identity (NHI) Lifecycle, Autonomy Tiers & Blast-Radius Isolation
|
|
42
|
+
- **Scoped NHI Provisioning**: Every autonomous agent in production possesses an individual Non-Human Identity with dedicated credentials; shared agent credentials are strictly forbidden.
|
|
43
|
+
- **3-Tier Autonomy Classification**:
|
|
44
|
+
- *Tier 1 (Supervised)*: Human operator must approve every tool call and state change.
|
|
45
|
+
- *Tier 2 (Semi-Autonomous)*: Agent operates autonomously for read and local file edits; human approval required for irreversible actions (migrations, production pushes, credential access).
|
|
46
|
+
- *Tier 3 (Fully Autonomous)*: Execution is strictly bound by hard infrastructure policy limits; unprivileged sandboxes only.
|
|
47
|
+
- **Credential Lifecycle Governance**: Provisioning, automated short-lived token issuance, rotation cadence, and emergency revocation procedures are codified in the ADR.
|
|
48
|
+
- **Immutable Tool-Call Audit Trail**: Every tool call, parameter payload, execution timestamp, and response status is recorded in an immutable, queryable audit log.
|
|
49
|
+
|
|
50
|
+
### 7. Evolutionary Architecture & Automated Fitness Functions (Cedar, OPA, Calibrated LLM-as-Judge)
|
|
51
|
+
- **100% ADR Fitness Function Coverage**: Every structural constraint declared in an ADR maps to an automated fitness function in the CI/CD pipeline (`FITNESS-FUNCTION LOCK`).
|
|
52
|
+
- **Framework Selection Appropriateness**:
|
|
53
|
+
- *Cedar (AWS)*: Applied to mathematical verification of agent trust boundaries, credential delegation chains, and NHI access policies.
|
|
54
|
+
- *OPA/Rego*: Applied to general-purpose boundary enforcement, dependency rules, and schema compliance gates.
|
|
55
|
+
- *ArchUnit / Custom Linters*: Applied to compile-time code layer separation and package import invariants.
|
|
56
|
+
- **Living ADR Machine-Readability**: ADR documents embed machine-readable constraint blocks parsed by automated pipeline linters.
|
|
57
|
+
- **Agentic Fitness Function Calibration**: LLM-as-judge fitness functions are calibrated against 20–50 historical pull requests in observation mode before being granted merge-blocking authority.
|
|
58
|
+
|
|
59
|
+
### 8. AI-Native Inference Placement, FinOps & Eval Frameworks
|
|
60
|
+
- **Inference Placement Decision Matrix**: ADR documents trade-offs for Edge vs. Cloud vs. Hybrid inference against the 6 core criteria: latency, data residency, model size, context window, cost model, and capability ceiling (`EDGE-INFERENCE LOCK`).
|
|
61
|
+
- **FinOps & Token Budget Governance**: Per-request token caps, session budgets, prompt caching (Automatic Prefix Caching), and model tiered routing (frontier vs. domain-specific vs. quantized) are specified (`INFERENCE-FINOPS LOCK`).
|
|
62
|
+
- **Architectural Eval Framework**: ADR defines acceptable output ranges, golden test dataset baselines, and behavioral drift alert thresholds before AI components are approved.
|
|
63
|
+
- **Orchestration vs. Inference Separation**: Routing, fallback state machines, circuit breakers, and HITL gates are implemented in infrastructure code, never embedded in LLM prompt strings (`INFERENCE-ORCHESTRATION LOCK`).
|
|
64
|
+
|
|
65
|
+
### 9. Privacy-by-Design, Auditability & Regulatory Governance (EU AI Act Digital Omnibus)
|
|
66
|
+
- **Data Minimization & Schema Masking**: Schemas expose strictly necessary fields for consuming services; PII fields require explicit architectural justification (`PRIVACY-BY-DEFAULT LOCK`).
|
|
67
|
+
- **EU AI Act Timeline Alignment**: Scoping reflects the Digital Omnibus regulation timeline (Regulation (EU) 2026/1744):
|
|
68
|
+
- *Article 50 Transparency*: Mandatory AI-generated disclosures live as of August 2026.
|
|
69
|
+
- *Synthetic Content Grace Period*: Watermarking grace period active until 2 December 2026.
|
|
70
|
+
- *Annex III Standalone High-Risk AI*: Obligations deferred to 2 December 2027.
|
|
71
|
+
- *Annex I Embedded High-Risk AI*: Product obligations deferred to 2 August 2028.
|
|
72
|
+
- **15-Day Decision Reconstruction**: Audit logging maintains cryptographic provenance allowing full reconstruction of any automated high-risk decision within 15 days of occurrence.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
## Technical Lead Review Checklist
|
|
2
|
+
|
|
3
|
+
This reference checklist provides detailed evaluation criteria for delivery planning, technical execution governance, and release gating to meet 2027 Agentic SWE standards.
|
|
4
|
+
|
|
5
|
+
### 1. Spec-Driven Breakdown
|
|
6
|
+
- **1:1 Contract Mapping**: Every implementation slice maps directly to an immutable contract specification (`api-contract-spec.json`, `feature-ticket.json`, or `schema-migration.json`).
|
|
7
|
+
- **Contract Freezing Gate**: Implementation is blocked until contract schemas and acceptance criteria are finalized and locked; no slice begins under fluid interface definitions.
|
|
8
|
+
- **Atomic Slice Scoping**: Slices are sized for focused execution and review; each slice owns a single logical interface or behavioral boundary.
|
|
9
|
+
- **Explicit Dependency Graph**: Inter-slice dependencies and sequence constraints are declared with unambiguous preceding artifacts required before execution.
|
|
10
|
+
- **Contract Conformance Oracles**: Every slice defines explicit contract validation steps ensuring that emitted artifacts conform strictly to the declared schemas.
|
|
11
|
+
|
|
12
|
+
### 2. Failure Domain Enforcement
|
|
13
|
+
- **Boundary Containment**: Slices strictly respect architectural failure domains; no slice introduces hidden synchronous coupling across isolated domain boundaries.
|
|
14
|
+
- **Bulkhead Preservation**: Execution logic preserves local thread pools, database connection budgets, and isolate boundaries without cross-domain leakage.
|
|
15
|
+
- **Asynchronous Decoupling**: Inter-domain mutations are implemented via idempotent asynchronous events or background jobs rather than blocking synchronous HTTP calls.
|
|
16
|
+
- **Fallback Verification**: Fallback and degradation paths specified in the architecture are verified as functional within each slice before merging.
|
|
17
|
+
- **State Mutation Quarantine**: Irreversible state changes are isolated and gated behind two-phase commit or transactional outbox patterns.
|
|
18
|
+
|
|
19
|
+
### 3. Blast Radius Assessment Matrix
|
|
20
|
+
- **Standardized Tier Evaluation**: Every slice in `technical-delivery-plan.json` evaluates its blast radius tier:
|
|
21
|
+
- **Tier 1 (Localized)**: Purely internal logic or private utilities; zero external consumer impact; instant rollback without side effects.
|
|
22
|
+
- **Tier 2 (Service-Internal)**: Internal API or service behavior change; confined to single service boundaries; rollback time < 5 minutes.
|
|
23
|
+
- **Tier 3 (Cross-Service)**: Public or shared API, database schema migration, or event payload evolution; requires phased canary deployment and active telemetry monitoring.
|
|
24
|
+
- **Tier 4 (Public / Core Infrastructure)**: Auth/authz, payments, tenant boundaries, or core routing; requires dual-review, canary ramp, automated circuit-breakers, and emergency kill-switch.
|
|
25
|
+
- **User Population & Blast Containment**: Proportion of user base exposed during initial canary rollout is explicitly capped (e.g., 1% -> 5% -> 25% -> 100%).
|
|
26
|
+
- **Automated Rollback Triggers**: Metric thresholds (e.g., error rate > 0.5%, P99 latency > 2× baseline, alert firing) are wired to trigger automated rollback without human intervention.
|
|
27
|
+
- **Kill-Switch Verification**: Feature flags and kill-switches are verified in staging before production canary rollout.
|
|
28
|
+
|
|
29
|
+
### 4. SLO Budget Gates & CI/CD Performance Verification
|
|
30
|
+
- **Architectural SLO Translation**: Architectural SLOs are translated into actionable, measurable CI/CD performance budgets per slice:
|
|
31
|
+
- **API Latency Budgets**: Synthetic endpoint latency tests enforce P95 and P99 ceilings in staging pipelines.
|
|
32
|
+
- **Database Query Budgets**: Query count assertions fail builds if N+1 queries or unindexed table scans occur.
|
|
33
|
+
- **Core Web Vitals Budgets**: Frontend slices enforce INP (<200ms), LCP (<2.5s), and CLS (<0.1) budgets in CI.
|
|
34
|
+
- **Resource Consumption Ceilings**: CPU, memory, and token limits per request are benchmarked against slice budgets.
|
|
35
|
+
- **Release-Blocking Gates**: Breaches of performance or latency budgets are treated as release blockers, not deferred optimization tickets.
|
|
36
|
+
|
|
37
|
+
### 5. AI Oversight, Trust Zones & Comprehension Debt Governance
|
|
38
|
+
- **Trust Zone Classification**: Every slice is assigned to an explicit trust zone:
|
|
39
|
+
- **Restricted**: Auth, encryption, payment, data isolation, and security-critical paths; mandatory deep-dive human review; no autonomous agent merges.
|
|
40
|
+
- **Standard**: Business logic, API endpoints, UI state machines; intent and assumption review; automated guardrail enforcement.
|
|
41
|
+
- **Low-risk**: Scaffolding, boilerplate, non-critical utilities; standard automated lint and test validation.
|
|
42
|
+
- **Comprehension Debt Management**:
|
|
43
|
+
- Developers must be able to explain the logic, invariants, and edge-case handling of all committed code.
|
|
44
|
+
- AI-generated code without verified understanding is logged as comprehension debt in the Debt Register.
|
|
45
|
+
- Restricted-zone comprehension debt is P0 and must be resolved within the current sprint.
|
|
46
|
+
- **Anti Vibe-Slop Verification**: Active screening for code that compiles and passes superficial tests but contains latent logic flaws or hallucinated boundaries.
|
|
47
|
+
|
|
48
|
+
### 6. Definition of Ready (DoR) & Progressive Delivery Gates
|
|
49
|
+
- **DoR Checklist Verification**:
|
|
50
|
+
- Contracts locked and schema valid (`api-contract-spec.json`, `feature-ticket.json`).
|
|
51
|
+
- Failure domain and bulkhead boundaries verified.
|
|
52
|
+
- Blast radius tier and rollback trigger criteria defined.
|
|
53
|
+
- Ephemeral execution sandboxes prepared for test execution.
|
|
54
|
+
- **Progressive Delivery Execution**:
|
|
55
|
+
- Feature flag defined with an ISO 8601 cleanup target date.
|
|
56
|
+
- Canary audience and rollout schedule documented.
|
|
57
|
+
- Observability signals (metrics, logs, traces) active before traffic ramp begins.
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
## Technical Writer Review Checklist
|
|
2
|
+
|
|
3
|
+
This reference checklist provides operational documentation architecture, Markdown AST linting, schema-driven API documentation, readability scoring, and dual-audience AI readability criteria to meet SOTA 2026–2027 standards. It establishes non-negotiable verification gates across zero-warning Markdown AST validation, dual-audience (human and LLM) readability, automated OpenAPI/AsyncAPI sync, live MCP tool definition parity, agent runbook operational envelopes, EU AI Act Annex IV technical documentation, and Generative Engine Optimization (GEO).
|
|
4
|
+
|
|
5
|
+
### 1. Markdown AST Validation & Prose Quality (`MARKDOWN-AST-LINT LOCK`)
|
|
6
|
+
- **Zero-Warning Markdown AST Linting**:
|
|
7
|
+
- all markdown documentation passes `markdownlint-cli2` with zero errors or warnings
|
|
8
|
+
- strict heading hierarchy enforced: exactly one top-level H1 per document; no skipped heading levels (e.g. H2 $\rightarrow$ H4 prohibited)
|
|
9
|
+
- all internal relative file links and external URLs validated via automated link-checker; zero dead links (HTTP 404) allowed:
|
|
10
|
+
```jsonc
|
|
11
|
+
// .markdownlint.jsonc configuration
|
|
12
|
+
{
|
|
13
|
+
"default": true,
|
|
14
|
+
"MD013": false, // Line length handled by editor wrap
|
|
15
|
+
"MD024": { "siblings_only": true }, // Allow identical headings across different parent sections
|
|
16
|
+
"MD025": { "level": 1 }, // Strictly enforce single H1
|
|
17
|
+
"MD029": { "style": "ordered" } // Consistent ordered list numbering
|
|
18
|
+
}
|
|
19
|
+
```
|
|
20
|
+
- **Vale Prose Style Linting Configuration**:
|
|
21
|
+
- prose validated against style rules (Google Developer Documentation Style Guide / Microsoft Style Guide) ensuring concise, active-voice, and second-person or imperative phrasing:
|
|
22
|
+
```ini
|
|
23
|
+
# .vale.ini configuration
|
|
24
|
+
StylesPath = styles
|
|
25
|
+
MinAlertLevel = warning
|
|
26
|
+
|
|
27
|
+
[*.md]
|
|
28
|
+
BasedOnStyles = Vale, Google
|
|
29
|
+
Google.Passive = error
|
|
30
|
+
Google.We = warning
|
|
31
|
+
Google.WordList = error
|
|
32
|
+
```
|
|
33
|
+
- internal process jargon, subagent IDs, or ephemeral run metadata excluded from public-facing documentation
|
|
34
|
+
|
|
35
|
+
### 2. Quantitative Readability & Information Density Metrics
|
|
36
|
+
- **Mathematical Readability Formulations**:
|
|
37
|
+
- documentation must be quantitatively scored to ensure clarity and accessibility:
|
|
38
|
+
- **Flesch-Kincaid Grade Level** ($FKGL \le 10.0$):
|
|
39
|
+
$$FKGL = 0.39 \left(\frac{\text{total words}}{\text{total sentences}}\right) + 11.8 \left(\frac{\text{total syllables}}{\text{total words}}\right) - 15.59$$
|
|
40
|
+
- **Flesch Reading Ease** ($RE \ge 60.0$):
|
|
41
|
+
$$RE = 206.835 - 1.015 \left(\frac{\text{total words}}{\text{total sentences}}\right) - 84.6 \left(\frac{\text{total syllables}}{\text{total words}}\right)$$
|
|
42
|
+
- **Information Density Ratio** ($ID \ge 0.12$):
|
|
43
|
+
$$ID = \frac{N_{\text{named entities}} + N_{\text{quantified metrics}}}{N_{\text{total words}}} \ge 0.12$$
|
|
44
|
+
- prose failing these readability thresholds must be edited to simplify sentence structure and prune redundant passive phrasing
|
|
45
|
+
|
|
46
|
+
### 3. Dual-Audience Documentation Architecture (`DUAL-AUDIENCE LOCK`)
|
|
47
|
+
- **Optimized for Humans and LLM Agents**:
|
|
48
|
+
- documentation designed for dual consumption: human engineers seeking actionable guides and autonomous AI agents ingesting context windows
|
|
49
|
+
- key concepts lead with compact, self-contained summary blocks ($\le 400$ tokens) to minimize RAG context-window bloat
|
|
50
|
+
- step-by-step procedures end with checkable, observable completion criteria rather than open-ended bounds
|
|
51
|
+
|
|
52
|
+
### 4. Schema-Driven API Documentation Synchronization (`SCHEMA-SYNC LOCK`)
|
|
53
|
+
- **Automated Generation from OpenAPI / AsyncAPI**:
|
|
54
|
+
- API reference documentation generated directly from version-controlled OpenAPI 3.1 or AsyncAPI schemas (via Redocly, Mintlify, or Fern) in CI/CD pipelines
|
|
55
|
+
- manual authoring of API parameter tables or endpoint payloads strictly prohibited to eliminate hallucination vectors and drift
|
|
56
|
+
- breaking changes detected via `oasdiff` before merge:
|
|
57
|
+
```bash
|
|
58
|
+
spectral lint contracts/openapi.yaml --ruleset spectral:oas --fail-severity=error
|
|
59
|
+
oasdiff breaking original.yaml new.yaml --fail-on ERR
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### 5. Live Tool Definition & MCP Registry Parity (`TOOL-DEFINITION LOCK`)
|
|
63
|
+
- **Synchronized MCP Tool Manifests**:
|
|
64
|
+
- documentation for Model Context Protocol (MCP) tools verified against the active server registry (`/.well-known/mcp/server-card.json` or live FastMCP endpoints)
|
|
65
|
+
- documented tool names, input parameter schemas, and return formats must match production code with zero divergence
|
|
66
|
+
|
|
67
|
+
### 6. Agent Runbooks & Operational Envelopes (`AGENT-RUNBOOK-ENVELOPE LOCK` / `AGENT-HANDOFF LOCK`)
|
|
68
|
+
- **Actionable Multi-Agent Runbooks**:
|
|
69
|
+
- operational runbooks for autonomous agent workflows document decision triggers, parameter boundaries, timeout limits, and failure recovery paths
|
|
70
|
+
- procedures specify step-by-step instructions for human operators to inspect active state, pause execution, inject manual corrections, and trigger clean rollbacks
|
|
71
|
+
- **Inter-Agent Handoff Documentation**:
|
|
72
|
+
- handoff points between specialist agents documented with required input contracts, expected return schemas, and validation checks
|
|
73
|
+
|
|
74
|
+
### 7. EU AI Act Technical Documentation File (`EU-AI-ACT-DOC-COMPLIANCE LOCK`)
|
|
75
|
+
- **Annex IV Technical Documentation Conformance**:
|
|
76
|
+
- systems classified as high-risk AI or GPAI maintain a comprehensive Technical Documentation File complying with EU AI Act Annex IV (covering system architecture, training data provenance, risk management, human oversight measures, and cybersecurity protections)
|
|
77
|
+
- documentation retained and versioned with a mandated 10-year retention schedule
|
|
78
|
+
|
|
79
|
+
### 8. `llms.txt` and `llms-full.txt` Context Optimization
|
|
80
|
+
- **Standardized `llms.txt` File Structure**:
|
|
81
|
+
- developer-facing repositories provide root-level `/llms.txt` ($\le 2,000$ tokens) and `/llms-full.txt` ($\le 32,000$ tokens) files:
|
|
82
|
+
```markdown
|
|
83
|
+
# Project Title
|
|
84
|
+
> Concise 1-line architecture summary.
|
|
85
|
+
|
|
86
|
+
## Core Endpoints
|
|
87
|
+
- [Architecture Docs](docs/architecture.md): High-level system overview
|
|
88
|
+
- [API Reference](docs/api.md): OpenAPI 3.1 specification
|
|
89
|
+
- [Runbooks](docs/runbooks.md): Operational multi-agent incident procedures
|
|
90
|
+
```
|
|
91
|
+
- token counts audited using `tiktoken` to prevent context buffer overflow during agent retrieval
|
|
92
|
+
|
|
93
|
+
### 9. Version Control & Release Documentation Standards (`DOC-RELEASE LOCK`)
|
|
94
|
+
- **SemVer Changelog Governance**:
|
|
95
|
+
- every user-facing release includes a structured CHANGELOG entry following Keep a Changelog standards:
|
|
96
|
+
```markdown
|
|
97
|
+
## [5.1.0] - 2026-10-17
|
|
98
|
+
### Added
|
|
99
|
+
- Automated Lua inventory fencing tokens in ecommerce service.
|
|
100
|
+
### Changed
|
|
101
|
+
- Upgraded vLLM serving engine to v1 standalone C++ core.
|
|
102
|
+
```
|
|
103
|
+
- breaking changes, deprecation schedules, and migration guides documented with reproducible code examples
|
|
104
|
+
|
|
105
|
+
### 10. Operational Failure Modes & Escalation Protocols
|
|
106
|
+
- **API Drift Escalation**:
|
|
107
|
+
- discrepancies between documented endpoints and live OpenAPI specifications block release pipelines until rectified
|
|
108
|
+
- **Broken Example Traps**:
|
|
109
|
+
- code samples and curl commands tested in automated test pipelines to prevent publishing obsolete syntax
|
|
110
|
+
|
|
111
|
+
### 11. Gate Review & Contract Conformance Verification Table
|
|
112
|
+
| Verification Gate | Target Invariant | Required Tool / Command | Pass Criteria |
|
|
113
|
+
| :--- | :--- | :--- | :--- |
|
|
114
|
+
| **Markdown AST Lint** | 0 errors, 0 warnings | `markdownlint-cli2 "**/*.md"` | Exit code 0; clean AST |
|
|
115
|
+
| **Vale Style Linter** | 0 error-level alerts | `vale docs/` | 0 style/passive errors |
|
|
116
|
+
| **Reading Ease Score** | $RE \ge 60.0, FKGL \le 10$ | Textstat Python CLI | Reading ease $\ge 60$ |
|
|
117
|
+
| **Spectral API Lint** | 0 OAS breaking errors | `spectral lint openapi.yaml` | 0 errors |
|
|
118
|
+
| **Link Integrity** | 0 dead URLs (HTTP 404) | `lychee "**/*.md"` | 100% links valid |
|
|
119
|
+
| **llms.txt Budget** | $\le 2000$ tokens | `python3 scripts/count-tokens.py llms.txt` | Token count $\le 2000$ |
|
|
120
|
+
| **Handoff Schema** | Valid `doc-handoff.json`| `python3 core/scripts/validate-contracts.py` | 100% schema compliant |
|