@pzy560117/codex-harness 0.1.3 → 0.1.5
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/README.md +164 -27
- package/bin/harness.js +7 -7
- package/lib/commands/doctor.js +12 -12
- package/lib/commands/init.js +105 -105
- package/lib/commands/run.js +22 -22
- package/lib/commands/verify.js +12 -12
- package/lib/main.js +62 -62
- package/lib/powershell/find-powershell.js +20 -20
- package/lib/powershell/invoke-script.js +34 -34
- package/lib/project/assert-initialized.js +20 -20
- package/lib/project/detect-project-root.js +5 -5
- package/lib/release/cache-layout.js +34 -34
- package/lib/release/download-release.js +25 -25
- package/lib/release/package-source-layout.js +13 -13
- package/lib/release/release-config.js +6 -6
- package/lib/release/release-manifest.js +76 -76
- package/lib/release/resolve-package-source.js +21 -21
- package/lib/release/resolve-version.js +26 -26
- package/lib/release/unpack-zip.js +25 -25
- package/lib/release/verify-sha256.js +16 -16
- package/package-source/AGENTS.md +48 -57
- package/package-source/PACKAGE.md +7 -7
- package/package-source/README.md +85 -81
- package/package-source/docs/codex-harness-engineering/templates/AGENTS.md +51 -0
- package/package-source/docs/codex-harness-engineering/templates/README.md +21 -20
- package/package-source/docs/codex-harness-engineering/templates/bootstrap-codex-harness.ps1 +144 -110
- package/package-source/docs/codex-harness-engineering/templates/ci/AGENTS.md +15 -0
- package/package-source/docs/codex-harness-engineering/templates/ci/github-action-codex-review.yml +110 -110
- package/package-source/docs/codex-harness-engineering/templates/config/AGENTS.md +19 -0
- package/package-source/docs/codex-harness-engineering/templates/config/agents/architect.toml +18 -17
- package/package-source/docs/codex-harness-engineering/templates/config/agents/backend-worker.toml +15 -14
- package/package-source/docs/codex-harness-engineering/templates/config/agents/docs-researcher.toml +13 -12
- package/package-source/docs/codex-harness-engineering/templates/config/agents/docs-worker.toml +16 -15
- package/package-source/docs/codex-harness-engineering/templates/config/agents/explorer.toml +15 -14
- package/package-source/docs/codex-harness-engineering/templates/config/agents/failure-triage.toml +19 -18
- package/package-source/docs/codex-harness-engineering/templates/config/agents/frontend-worker.toml +15 -14
- package/package-source/docs/codex-harness-engineering/templates/config/agents/harness-writer.toml +16 -15
- package/package-source/docs/codex-harness-engineering/templates/config/agents/planner.toml +16 -15
- package/package-source/docs/codex-harness-engineering/templates/config/agents/readonly-research.toml +14 -13
- package/package-source/docs/codex-harness-engineering/templates/config/agents/reviewer.toml +13 -12
- package/package-source/docs/codex-harness-engineering/templates/config/agents/security-reviewer.toml +16 -15
- package/package-source/docs/codex-harness-engineering/templates/config/agents/stage1-reviewer.toml +15 -14
- package/package-source/docs/codex-harness-engineering/templates/config/agents/stage2-reviewer.toml +16 -15
- package/package-source/docs/codex-harness-engineering/templates/config/agents/test-planner.toml +18 -17
- package/package-source/docs/codex-harness-engineering/templates/config/agents/test-runner.toml +15 -14
- package/package-source/docs/codex-harness-engineering/templates/config/agents/visual-reviewer.toml +16 -15
- package/package-source/docs/codex-harness-engineering/templates/config/codex-agent-roles.md +24 -24
- package/package-source/docs/codex-harness-engineering/templates/config/codex-config.toml +12 -12
- package/package-source/docs/codex-harness-engineering/templates/config/codex-readme.md +6 -6
- package/package-source/docs/codex-harness-engineering/templates/config/env-check.ps1 +44 -40
- package/package-source/docs/codex-harness-engineering/templates/config/env.example +13 -12
- package/package-source/docs/codex-harness-engineering/templates/config/global-AGENTS.md +40 -40
- package/package-source/docs/codex-harness-engineering/templates/config/global-config.toml +19 -19
- package/package-source/docs/codex-harness-engineering/templates/config/rules/agents.md +118 -115
- package/package-source/docs/codex-harness-engineering/templates/config/rules/coding-style.md +57 -74
- package/package-source/docs/codex-harness-engineering/templates/config/rules/constitution.md +4 -4
- package/package-source/docs/codex-harness-engineering/templates/config/rules/git.rules +41 -41
- package/package-source/docs/codex-harness-engineering/templates/config/rules/harness.rules +29 -29
- package/package-source/docs/codex-harness-engineering/templates/config/rules/safety.rules +35 -35
- package/package-source/docs/codex-harness-engineering/templates/context/AGENTS.md +19 -0
- package/package-source/docs/codex-harness-engineering/templates/context/API_MAP.md +18 -0
- package/package-source/docs/codex-harness-engineering/templates/context/CHANGELOG_AI.md +11 -0
- package/package-source/docs/codex-harness-engineering/templates/context/CURRENT_TASK.md +114 -0
- package/package-source/docs/codex-harness-engineering/templates/context/DB_SCHEMA.md +14 -0
- package/package-source/docs/codex-harness-engineering/templates/context/DECISIONS.md +12 -0
- package/package-source/docs/codex-harness-engineering/templates/context/KNOWN_ISSUES.md +12 -0
- package/package-source/docs/codex-harness-engineering/templates/context/PROJECT_CONTEXT.md +14 -0
- package/package-source/docs/codex-harness-engineering/templates/context/architecture-brief.md +58 -58
- package/package-source/docs/codex-harness-engineering/templates/context/dev-plan.md +89 -83
- package/package-source/docs/codex-harness-engineering/templates/context/feature-pack.md +101 -101
- package/package-source/docs/codex-harness-engineering/templates/context/repo-map.md +102 -78
- package/package-source/docs/codex-harness-engineering/templates/context/service-dependency-matrix.yaml +25 -25
- package/package-source/docs/codex-harness-engineering/templates/contracts/AGENTS.md +17 -0
- package/package-source/docs/codex-harness-engineering/templates/contracts/README.md +24 -16
- package/package-source/docs/codex-harness-engineering/templates/contracts/openapi.yaml +182 -182
- package/package-source/docs/codex-harness-engineering/templates/contracts/orval.config.ts +20 -20
- package/package-source/docs/codex-harness-engineering/templates/contracts/prism-usage.md +41 -34
- package/package-source/docs/codex-harness-engineering/templates/design/AGENTS.md +21 -0
- package/package-source/docs/codex-harness-engineering/templates/design/ai-image-brief.md +122 -122
- package/package-source/docs/codex-harness-engineering/templates/design/component-map.md +45 -31
- package/package-source/docs/codex-harness-engineering/templates/design/design-brief.md +183 -178
- package/package-source/docs/codex-harness-engineering/templates/design/design-tokens.json +88 -88
- package/package-source/docs/codex-harness-engineering/templates/design/frontend-architecture.md +164 -146
- package/package-source/docs/codex-harness-engineering/templates/design/image-to-frontend-spec.md +64 -52
- package/package-source/docs/codex-harness-engineering/templates/design/screen-states.md +157 -122
- package/package-source/docs/codex-harness-engineering/templates/design/visual-parity-review.md +21 -21
- package/package-source/docs/codex-harness-engineering/templates/docs/AGENTS.md +19 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/architecture-constraints.md +97 -83
- package/package-source/docs/codex-harness-engineering/templates/docs/code-semantics-and-navigation.md +54 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/code-style-and-naming.md +116 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/directory-structure-template.md +88 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/env-and-deployment-template.md +60 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/frontend-quality-rules.md +165 -138
- package/package-source/docs/codex-harness-engineering/templates/docs/governance-auto-repair.md +82 -80
- package/package-source/docs/codex-harness-engineering/templates/docs/harness-architecture.md +78 -78
- package/package-source/docs/codex-harness-engineering/templates/docs/install-manifest-governance.md +16 -16
- package/package-source/docs/codex-harness-engineering/templates/docs/knowledge-architecture.md +241 -219
- package/package-source/docs/codex-harness-engineering/templates/docs/knowledge-import.md +108 -108
- package/package-source/docs/codex-harness-engineering/templates/docs/knowledge-lint.md +98 -98
- package/package-source/docs/codex-harness-engineering/templates/docs/mcp-knowledge-governance.md +24 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/new-project-checklist.md +7 -7
- package/package-source/docs/codex-harness-engineering/templates/docs/new-project-usage.md +107 -43
- package/package-source/docs/codex-harness-engineering/templates/docs/project-agents-template.md +211 -154
- package/package-source/docs/codex-harness-engineering/templates/docs/prompt-knowledge-integration.md +100 -89
- package/package-source/docs/codex-harness-engineering/templates/docs/regression-rules.md +47 -45
- package/package-source/docs/codex-harness-engineering/templates/docs/requirement-prep-kit/README.md +3 -3
- package/package-source/docs/codex-harness-engineering/templates/docs/rule-governance.md +98 -98
- package/package-source/docs/codex-harness-engineering/templates/docs/service-dependency-matrix.md +70 -55
- package/package-source/docs/codex-harness-engineering/templates/docs/task-session-strategy.md +133 -116
- package/package-source/docs/codex-harness-engineering/templates/docs/team-knowledge-sync.md +187 -187
- package/package-source/docs/codex-harness-engineering/templates/docs/trace-format.md +44 -32
- package/package-source/docs/codex-harness-engineering/templates/governance/AGENTS.md +18 -0
- package/package-source/docs/codex-harness-engineering/templates/governance/branch-protection-checklist.md +50 -50
- package/package-source/docs/codex-harness-engineering/templates/governance/feedback-evolution-loop.md +55 -55
- package/package-source/docs/codex-harness-engineering/templates/governance/retry-budget.yaml +30 -30
- package/package-source/docs/codex-harness-engineering/templates/governance/risk-levels.yaml +53 -53
- package/package-source/docs/codex-harness-engineering/templates/governance/sandbox-policy.md +13 -13
- package/package-source/docs/codex-harness-engineering/templates/hooks/AGENTS.md +15 -0
- package/package-source/docs/codex-harness-engineering/templates/hooks/hook-stop-verify.ps1 +171 -118
- package/package-source/docs/codex-harness-engineering/templates/hooks/hooks.json +40 -40
- package/package-source/docs/codex-harness-engineering/templates/knowledge/AGENTS.md +16 -0
- package/package-source/docs/codex-harness-engineering/templates/knowledge/catalog.md +6 -6
- package/package-source/docs/codex-harness-engineering/templates/knowledge/decisions/DECISION-HARNESS-001.md +39 -39
- package/package-source/docs/codex-harness-engineering/templates/knowledge/guidelines/GUIDELINE-RULES-001.md +30 -30
- package/package-source/docs/codex-harness-engineering/templates/knowledge/knowledge-catalog.md +41 -41
- package/package-source/docs/codex-harness-engineering/templates/package-assets/.specify/templates/plan-template.md +252 -252
- package/package-source/docs/codex-harness-engineering/templates/package-assets/.specify/templates/spec-template.md +145 -145
- package/package-source/docs/codex-harness-engineering/templates/package-assets/.specify/templates/tasks-template.md +47 -47
- package/package-source/docs/codex-harness-engineering/templates/package-assets/AGENTS.md +19 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/AGENTS.md +25 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/README.md +118 -42
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/START-HERE.md +66 -53
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/agent-ecosystem-practices.md +140 -140
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/best-practices.md +9 -9
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/codex-global-rules-example.md +48 -48
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/AGENTS.md +14 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/goal-templates.md +380 -380
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/AGENTS.md +14 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/README.md +64 -64
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/contracts/openapi.yaml +25 -25
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/contracts/orval.config.ts +20 -20
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/docs/design/ai-image-brief.md +44 -44
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/docs/design/component-map.md +17 -17
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/docs/design/design-brief.md +58 -58
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/docs/design/frontend-architecture.md +106 -106
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/docs/design/image-to-frontend-spec.md +72 -72
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/docs/design/screen-states.md +25 -25
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/docs/design/ui-image-review.md +38 -38
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/docs/product/difficulty-research.md +39 -39
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/docs/product/page-inventory.md +5 -5
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/docs/product/prd-lite.md +41 -41
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/docs/product/requirement-interface-matrix.md +32 -32
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/docs/product/state-matrix.yaml +14 -14
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/packages/api-client/generated/model/Ticket.ts +6 -6
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/packages/api-client/generated/ticket-api.ts +35 -35
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/packages/api-client/http-client.ts +8 -8
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/packages/ui/TicketFilterBar.tsx +72 -72
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/plans/features/ticket-filter.dev-plan.md +48 -48
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/progress.txt +1 -1
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/stories/TicketFilterBar.stories.tsx +33 -33
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/task.json +54 -54
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/verify.ps1 +42 -42
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/global-rules-and-bootstrap.md +157 -157
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/goal-harness-integration-guide.md +364 -364
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/implementation-flow.md +7 -5
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/implementation-guide.md +25 -25
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/knowledge-surface-map.md +186 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/mode-matrix.md +57 -57
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/new-project-usage.md +176 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/project-agents-template.md +168 -154
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/superpowers-codex-solo-builder-playbook.md +676 -676
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/AGENTS.md +22 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/context/AGENTS.md +14 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/context/API_MAP.md +18 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/context/CURRENT_TASK.md +89 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/context/dev-plan.md +166 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/contracts/AGENTS.md +14 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/contracts/README.md +24 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/contracts/prism-usage.md +41 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/design/AGENTS.md +14 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/design/component-map.md +45 -31
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/design/design-brief.md +183 -178
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/design/design-tokens.json +88 -88
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/design/frontend-architecture.md +164 -146
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/design/image-to-frontend-spec.md +64 -52
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/design/screen-states.md +157 -122
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/design/visual-parity-review.md +21 -21
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/docs/AGENTS.md +14 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/docs/env-and-deployment-template.md +60 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/docs/frontend-quality-rules.md +161 -138
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/docs/regression-rules.md +47 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/docs/trace-format.md +86 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/product/AGENTS.md +14 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/product/prd-lite.md +166 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/product/state-matrix.yaml +116 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/prompts/AGENTS.md +14 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/prompts/implement-one-task.md +150 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/prompts/repair-one-finding.md +70 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/spec/11-security-design.md +43 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/spec/AGENTS.md +14 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/testing/AGENTS.md +14 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/testing/EVIDENCE_PROTOCOL.md +54 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/testing/NATURAL_LANGUAGE_TEST_CASES.md +690 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/testing/REGRESSION_PLAN.md +28 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/testing/TEST_STRATEGY.md +98 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/testing/TRACEABILITY_MATRIX.md +23 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/testing/verify-matrix.md +51 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/README.md +10 -10
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/e2e.md +30 -30
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/external-knowledge/README.md +60 -60
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/external-knowledge/app/Mobile_App_Production_Readiness_Framework_/347/247/273/345/212/250/347/253/257/345/205/250/345/271/263/345/217/260/347/224/237/344/272/247/345/217/257/344/270/212/347/272/277/350/247/204/350/214/203.md +2457 -2457
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/external-knowledge/app/catalog.md +33 -33
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/external-knowledge/architecture.md +358 -358
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/external-knowledge/common/AI_Coding_Production_Control_Framework_AI/345/206/231/345/256/214/347/232/204/344/273/243/347/240/201/345/246/202/344/275/225/344/270/215/345/244/261/346/216/247.md +2055 -2055
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/external-knowledge/common/catalog.md +34 -34
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/external-knowledge/initial-content.md +296 -296
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/external-knowledge/integration-roadmap.md +221 -221
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/harness/architecture-constraints.md +95 -83
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/harness/code-semantics-and-navigation.md +17 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/harness/code-style-and-naming.md +116 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/harness/frontend-quality-rules.md +138 -138
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/harness/governance-auto-repair.md +82 -80
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/harness/mcp-knowledge-governance.md +24 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/harness/service-dependency-matrix.md +55 -55
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/harness/speckit-requirements-gate.md +124 -124
- package/package-source/docs/codex-harness-engineering/templates/package-assets/root/PACKAGE.md +7 -7
- package/package-source/docs/codex-harness-engineering/templates/package-assets/root/README.md +52 -52
- package/package-source/docs/codex-harness-engineering/templates/package-assets/root/install-agent-here.ps1 +57 -57
- package/package-source/docs/codex-harness-engineering/templates/package-assets/rules/agents.md +115 -115
- package/package-source/docs/codex-harness-engineering/templates/package-assets/rules/coding-style.md +57 -74
- package/package-source/docs/codex-harness-engineering/templates/package-assets/rules/constitution.md +4 -4
- package/package-source/docs/codex-harness-engineering/templates/package-assets/rules/git.rules +41 -41
- package/package-source/docs/codex-harness-engineering/templates/package-assets/rules/harness.rules +29 -29
- package/package-source/docs/codex-harness-engineering/templates/package-assets/rules/safety.rules +35 -35
- package/package-source/docs/codex-harness-engineering/templates/package-assets/scripts/ai-workflow/check-ai-sync-drift.ps1 +205 -205
- package/package-source/docs/codex-harness-engineering/templates/package-assets/scripts/ai-workflow/sync-ai-config-to-targets.ps1 +826 -826
- package/package-source/docs/codex-harness-engineering/templates/package-assets/scripts/ai-workflow/sync-targets.example.json +35 -35
- package/package-source/docs/codex-harness-engineering/templates/package-assets/scripts/harness/harness-governance-check.ps1 +864 -366
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/HOW_TO_USE_SKILLS.md +79 -79
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/academic-mermaid-diagrams/SKILL.md +172 -172
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/ai-config-git-sync/SKILL.md +152 -152
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/ai-config-git-sync/references/command-recipes.md +92 -92
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/auto-commit/SKILL.md +324 -322
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/better-icons/SKILL.md +3 -3
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/claude-openrouter-clash-debug/SKILL.md +100 -100
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/claude-openrouter-clash-debug/references/windows-openrouter-clash-playbook.md +94 -94
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/claude-openrouter-clash-debug/scripts/diagnose-openrouter-route.ps1 +282 -282
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/claude-openrouter-clash-debug/scripts/ensure-openrouter-rule.ps1 +101 -101
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/fixing-metadata/SKILL.md +6 -6
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/frontend-design/SKILL.md +37 -37
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/git-xianyu-analyzer/SKILL.md +3 -3
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/harness-surface-sync/SKILL.md +204 -188
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/harness-surface-sync/references/current-repo-sync-matrix.md +150 -110
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/harness-surface-sync/references/stale-patterns.md +65 -65
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/init-autopilot/SKILL.md +17 -15
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/log-analysis-optimization/SKILL.md +5 -5
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/prd-writer-skill/SKILL.md +28 -28
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/qa-e2e-planner/SKILL.md +11 -11
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/qa-e2e-runner/SKILL.md +6 -6
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/qa-mock-cleaner/SKILL.md +4 -4
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/qoder-codex-api-config/SKILL.md +67 -67
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/qoder-codex-api-config/agents/openai.yaml +7 -7
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/qoder-codex-api-config/scripts/configure-qoder-codex-api.ps1 +278 -278
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/requirements-design-template/SKILL.md +87 -87
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/skills-index.md +12 -12
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/speckit-analyze/SKILL.md +34 -34
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/speckit-checklist/SKILL.md +8 -8
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/speckit-clarify/SKILL.md +28 -28
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/speckit-e2e-tasks/SKILL.md +12 -12
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/speckit-implement/SKILL.md +37 -37
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/speckit-plan/SKILL.md +140 -138
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/speckit-specify/SKILL.md +100 -100
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/speckit-tasks/SKILL.md +86 -86
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/speckit-verify/SKILL.md +144 -142
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/sync-project-root-docs/SKILL.md +145 -143
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/sync-project-root-docs/references/current-repo-notes.md +42 -41
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/sync-project-root-docs/references/github-samples.md +33 -33
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/sync-project-root-docs/scripts/collect-root-doc-facts.ps1 +174 -145
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/thesis-writing/references/ai-integrity-and-originality.md +191 -191
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/thesis-writing/references/citation-templates.md +99 -99
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/thesis-writing/references/final-checklist.md +60 -60
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/thesis-writing/references/photographer-booking-paper.md +85 -85
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/thesis-writing/references/test-result-templates.md +22 -22
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/thesis-writing/references/thesis-analysis-template.md +63 -63
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/update-codemaps/SKILL.md +31 -31
- package/package-source/docs/codex-harness-engineering/templates/package-assets/workflows/README.md +15 -15
- package/package-source/docs/codex-harness-engineering/templates/package-assets/workflows/speckit.analyze.md +60 -60
- package/package-source/docs/codex-harness-engineering/templates/package-assets/workflows/speckit.checklist.md +8 -8
- package/package-source/docs/codex-harness-engineering/templates/package-assets/workflows/speckit.clarify.md +28 -28
- package/package-source/docs/codex-harness-engineering/templates/package-assets/workflows/speckit.e2e-testing.md +10 -10
- package/package-source/docs/codex-harness-engineering/templates/package-assets/workflows/speckit.implement.md +56 -56
- package/package-source/docs/codex-harness-engineering/templates/package-assets/workflows/speckit.plan.md +137 -134
- package/package-source/docs/codex-harness-engineering/templates/package-assets/workflows/speckit.specify.md +100 -100
- package/package-source/docs/codex-harness-engineering/templates/package-assets/workflows/speckit.tasks.md +86 -86
- package/package-source/docs/codex-harness-engineering/templates/package-assets/workflows/speckit.verify.md +130 -130
- package/package-source/docs/codex-harness-engineering/templates/product/AGENTS.md +19 -0
- package/package-source/docs/codex-harness-engineering/templates/product/acceptance-criteria.md +47 -47
- package/package-source/docs/codex-harness-engineering/templates/product/difficulty-research.md +47 -47
- package/package-source/docs/codex-harness-engineering/templates/product/page-inventory.md +21 -21
- package/package-source/docs/codex-harness-engineering/templates/product/prd-lite.md +166 -158
- package/package-source/docs/codex-harness-engineering/templates/product/requirement-interface-matrix.md +37 -37
- package/package-source/docs/codex-harness-engineering/templates/product/state-matrix.yaml +116 -105
- package/package-source/docs/codex-harness-engineering/templates/prompts/AGENTS.md +15 -0
- package/package-source/docs/codex-harness-engineering/templates/prompts/controller-loop.md +88 -88
- package/package-source/docs/codex-harness-engineering/templates/prompts/failure-triage.md +71 -69
- package/package-source/docs/codex-harness-engineering/templates/prompts/harness-audit.md +54 -52
- package/package-source/docs/codex-harness-engineering/templates/prompts/implement-one-task.md +150 -148
- package/package-source/docs/codex-harness-engineering/templates/prompts/repair-one-finding.md +70 -67
- package/package-source/docs/codex-harness-engineering/templates/prompts/review-one-task.md +45 -43
- package/package-source/docs/codex-harness-engineering/templates/prompts/review-stage1-spec.md +111 -109
- package/package-source/docs/codex-harness-engineering/templates/prompts/review-stage2-quality.md +82 -80
- package/package-source/docs/codex-harness-engineering/templates/prompts/visual-evaluator.md +80 -78
- package/package-source/docs/codex-harness-engineering/templates/prompts/worker-role/backend-worker.md +41 -41
- package/package-source/docs/codex-harness-engineering/templates/prompts/worker-role/docs-worker.md +28 -28
- package/package-source/docs/codex-harness-engineering/templates/prompts/worker-role/frontend-worker.md +46 -46
- package/package-source/docs/codex-harness-engineering/templates/prompts/worker-role/harness-writer.md +40 -40
- package/package-source/docs/codex-harness-engineering/templates/prompts/worker-role/test-runner.md +27 -27
- package/package-source/docs/codex-harness-engineering/templates/runtime/AGENTS.md +66 -50
- package/package-source/docs/codex-harness-engineering/templates/runtime/codex-loop.ps1 +2129 -231
- package/package-source/docs/codex-harness-engineering/templates/runtime/doctor.ps1 +224 -224
- package/package-source/docs/codex-harness-engineering/templates/runtime/project-task-template.json +42 -39
- package/package-source/docs/codex-harness-engineering/templates/runtime/scripts/test-install-modes.ps1 +2 -2
- package/package-source/docs/codex-harness-engineering/templates/runtime/smoke-task.json +52 -52
- package/package-source/docs/codex-harness-engineering/templates/runtime/task-run-profile.json +86 -86
- package/package-source/docs/codex-harness-engineering/templates/runtime/task.json +11 -8
- package/package-source/docs/codex-harness-engineering/templates/runtime/verify.ps1 +21 -21
- package/package-source/docs/codex-harness-engineering/templates/scripts/AGENTS.md +15 -0
- package/package-source/docs/codex-harness-engineering/templates/scripts/ai-workflow/check-ai-sync-drift.ps1 +205 -205
- package/package-source/docs/codex-harness-engineering/templates/scripts/harness/harness-governance-check.ps1 +864 -366
- package/package-source/docs/codex-harness-engineering/templates/spec/10-data-model.md +23 -7
- package/package-source/docs/codex-harness-engineering/templates/spec/11-security-design.md +30 -13
- package/package-source/docs/codex-harness-engineering/templates/spec/AGENTS.md +15 -0
- package/package-source/docs/codex-harness-engineering/templates/testing/ACCEPTANCE_CRITERIA.md +39 -39
- package/package-source/docs/codex-harness-engineering/templates/testing/ACCEPTANCE_EXAMPLES.md +37 -37
- package/package-source/docs/codex-harness-engineering/templates/testing/AGENTS.md +19 -0
- package/package-source/docs/codex-harness-engineering/templates/testing/EVIDENCE_PROTOCOL.md +54 -48
- package/package-source/docs/codex-harness-engineering/templates/testing/NATURAL_LANGUAGE_TEST_CASES.md +5 -4
- package/package-source/docs/codex-harness-engineering/templates/testing/REGRESSION_PLAN.md +28 -20
- package/package-source/docs/codex-harness-engineering/templates/testing/RISK_BASED_TEST_PLAN.md +16 -16
- package/package-source/docs/codex-harness-engineering/templates/testing/TEST_STRATEGY.md +98 -97
- package/package-source/docs/codex-harness-engineering/templates/testing/TRACEABILITY_MATRIX.md +6 -5
- package/package-source/docs/codex-harness-engineering/templates/testing/coverage-policy.md +25 -25
- package/package-source/docs/codex-harness-engineering/templates/testing/e2e-plan.md +139 -139
- package/package-source/docs/codex-harness-engineering/templates/testing/failure-findings.example.json +3 -3
- package/package-source/docs/codex-harness-engineering/templates/testing/failure-triage.md +62 -62
- package/package-source/docs/codex-harness-engineering/templates/testing/test-data-plan.md +36 -36
- package/package-source/docs/codex-harness-engineering/templates/testing/test-report.md +85 -41
- package/package-source/docs/codex-harness-engineering/templates/testing/verify-matrix.md +15 -5
- package/package-source/docs/codex-harness-engineering/templates/tools/AGENTS.md +14 -0
- package/package-source/docs/codex-harness-engineering/templates/tools/harness/acceptance-lint.ps1 +37 -0
- package/package-source/docs/codex-harness-engineering/templates/tools/harness/architecture-lint.ps1 +150 -0
- package/package-source/docs/codex-harness-engineering/templates/tools/harness/backend-lint.ps1 +137 -0
- package/package-source/docs/codex-harness-engineering/templates/tools/harness/business-lint.ps1 +148 -0
- package/package-source/docs/codex-harness-engineering/templates/tools/harness/component-lint.ps1 +148 -0
- package/package-source/docs/codex-harness-engineering/templates/tools/harness/config-lint.ps1 +159 -0
- package/package-source/docs/codex-harness-engineering/templates/tools/harness/context-lint.ps1 +187 -0
- package/package-source/docs/codex-harness-engineering/templates/tools/harness/contract-lint.ps1 +148 -0
- package/package-source/docs/codex-harness-engineering/templates/tools/harness/data-lint.ps1 +37 -0
- package/package-source/docs/codex-harness-engineering/templates/tools/harness/directory-lint.ps1 +152 -0
- package/package-source/docs/codex-harness-engineering/templates/tools/harness/docs-lint.ps1 +40 -0
- package/package-source/docs/codex-harness-engineering/templates/tools/harness/impact-lint.ps1 +148 -0
- package/package-source/docs/codex-harness-engineering/templates/tools/harness/integration-lint.ps1 +37 -0
- package/package-source/docs/codex-harness-engineering/templates/tools/harness/mobile-lint.ps1 +37 -0
- package/package-source/docs/codex-harness-engineering/templates/tools/harness/observability-lint.ps1 +137 -0
- package/package-source/docs/codex-harness-engineering/templates/tools/harness/performance-lint.ps1 +148 -0
- package/package-source/docs/codex-harness-engineering/templates/tools/harness/refactor-lint.ps1 +137 -0
- package/package-source/docs/codex-harness-engineering/templates/tools/harness/security-lint.ps1 +159 -0
- package/package-source/docs/codex-harness-engineering/templates/tools/harness/session-lint.ps1 +126 -0
- package/package-source/docs/codex-harness-engineering/templates/tools/harness/spec-lint.ps1 +285 -0
- package/package-source/docs/codex-harness-engineering/templates/tools/harness/state-lint.ps1 +137 -0
- package/package-source/docs/codex-harness-engineering/templates/tools/harness/style-lint.ps1 +155 -0
- package/package-source/docs/codex-harness-engineering/templates/tools/harness/testing-lint.ps1 +192 -0
- package/package-source/docs/codex-harness-engineering/templates/tools/harness/ui-lint.ps1 +148 -0
- package/package-source/docs/codex-harness-engineering/templates/trace/AGENTS.md +16 -0
- package/package-source/docs/codex-harness-engineering/templates/trace/eval-case.yaml +24 -24
- package/package-source/docs/codex-harness-engineering/templates/trace/trace.schema.json +101 -101
- package/package-source/install-manifest.json +149 -79
- package/package-source/tools/install/ai-workflow/check-ai-sync-drift.ps1 +205 -205
- package/package-source/tools/install/ai-workflow/sync-ai-config-to-targets.ps1 +826 -826
- package/package-source/tools/install/ai-workflow/sync-targets.example.json +35 -35
- package/package-source/tools/install/bootstrap-codex-harness.ps1 +145 -129
- package/package-source/tools/install/env-check.ps1 +40 -40
- package/package-source/tools/install/init-project.ps1 +1 -1
- package/package-source/tools/install/install-agent-here.ps1 +57 -57
- package/package-source/tools/install/install-agent.ps1 +33 -31
- package/package.json +23 -23
package/package-source/docs/codex-harness-engineering/templates/config/agents/backend-worker.toml
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
name = "backend-worker"
|
|
2
|
-
description = "Writable backend worker for APIs, data models, validation, auth, and backend tests."
|
|
3
|
-
model = "gpt-5.4"
|
|
4
|
-
model_reasoning_effort = "high"
|
|
5
|
-
sandbox_mode = "workspace-write"
|
|
6
|
-
|
|
7
|
-
developer_instructions = """
|
|
8
|
-
You are the backend implementation subagent.
|
|
9
|
-
Before editing, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, the parent-supplied product/contract truth sources, and the matching backend worker prompt or skills when present.
|
|
10
|
-
Stay within the owned paths and task boundary the parent assigns.
|
|
11
|
-
Validate schemas, treat external inputs as untrusted, and call out rollback notes for risky data/auth changes.
|
|
12
|
-
Do not edit orchestration files such as `task.json`, `progress.txt`, or `traces/` unless the parent explicitly routes that work to a different writer role first.
|
|
13
|
-
Return structured output only: summary, changed paths, contract changes, tests, rollback notes, and risks.
|
|
14
|
-
|
|
1
|
+
name = "backend-worker"
|
|
2
|
+
description = "Writable backend worker for APIs, data models, validation, auth, and backend tests."
|
|
3
|
+
model = "gpt-5.4"
|
|
4
|
+
model_reasoning_effort = "high"
|
|
5
|
+
sandbox_mode = "workspace-write"
|
|
6
|
+
|
|
7
|
+
developer_instructions = """
|
|
8
|
+
You are the backend implementation subagent.
|
|
9
|
+
Before editing, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, the parent-supplied product/contract truth sources, and the matching backend worker prompt or skills when present.
|
|
10
|
+
Stay within the owned paths and task boundary the parent assigns.
|
|
11
|
+
Validate schemas, treat external inputs as untrusted, and call out rollback notes for risky data/auth changes.
|
|
12
|
+
Do not edit orchestration files such as `task.json`, `progress.txt`, or `traces/` unless the parent explicitly routes that work to a different writer role first.
|
|
13
|
+
Return structured output only: summary, changed paths, contract changes, tests, rollback notes, and risks.
|
|
14
|
+
When a referenced `docs/harness/*`, `docs/testing/*`, or `docs/knowledge/*` file is absent in the project root under a thin install, resolve the same relative path under `packageRoot` from `.codex-harness/state/config.json`.
|
|
15
|
+
"""
|
package/package-source/docs/codex-harness-engineering/templates/config/agents/docs-researcher.toml
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
name = "docs-researcher"
|
|
2
|
-
description = "Read-only documentation fact checker for APIs, framework behavior, and source-backed answers."
|
|
3
|
-
model = "gpt-5.4"
|
|
4
|
-
model_reasoning_effort = "medium"
|
|
5
|
-
sandbox_mode = "read-only"
|
|
1
|
+
name = "docs-researcher"
|
|
2
|
+
description = "Read-only documentation fact checker for APIs, framework behavior, and source-backed answers."
|
|
3
|
+
model = "gpt-5.4"
|
|
4
|
+
model_reasoning_effort = "medium"
|
|
5
|
+
sandbox_mode = "read-only"
|
|
6
6
|
|
|
7
|
-
developer_instructions = """
|
|
8
|
-
Verify APIs, framework behavior, and release-note claims against primary documentation before changes land.
|
|
9
|
-
Before concluding, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, and any task-relevant package skill or project doc the parent points you to.
|
|
10
|
-
Cite the exact docs or file paths that support each claim.
|
|
11
|
-
Do not invent undocumented behavior.
|
|
12
|
-
Stay read-only and return only structured conclusions plus source references.
|
|
13
|
-
|
|
7
|
+
developer_instructions = """
|
|
8
|
+
Verify APIs, framework behavior, and release-note claims against primary documentation before changes land.
|
|
9
|
+
Before concluding, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, and any task-relevant package skill or project doc the parent points you to.
|
|
10
|
+
Cite the exact docs or file paths that support each claim.
|
|
11
|
+
Do not invent undocumented behavior.
|
|
12
|
+
Stay read-only and return only structured conclusions plus source references.
|
|
13
|
+
When a referenced `docs/harness/*`, `docs/testing/*`, or `docs/knowledge/*` file is absent in the project root under a thin install, resolve the same relative path under `packageRoot` from `.codex-harness/state/config.json`.
|
|
14
|
+
"""
|
package/package-source/docs/codex-harness-engineering/templates/config/agents/docs-worker.toml
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
name = "docs-worker"
|
|
2
|
-
description = "Writable documentation worker for guides, specs, plans, and human-facing project docs."
|
|
3
|
-
model = "gpt-5.4-mini"
|
|
4
|
-
model_reasoning_effort = "low"
|
|
5
|
-
sandbox_mode = "workspace-write"
|
|
6
|
-
|
|
7
|
-
developer_instructions = """
|
|
8
|
-
You are the docs writer subagent.
|
|
9
|
-
Before editing, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, the parent-supplied truth sources, and the matching docs skill or worker prompt when present.
|
|
10
|
-
Scope: README files, guides, specs, plans, design docs, delivery notes, and other human-facing documentation the parent explicitly assigns.
|
|
11
|
-
Do not invent behavior that is not supported by the supplied truth sources.
|
|
12
|
-
Do not edit product/business source code unless the parent explicitly limits the task to documentation-adjacent examples or snippets.
|
|
13
|
-
Validate with at least `git diff --check`, plus any narrower doc validation the parent requests.
|
|
14
|
-
Return structured output only: files updated, truth sources used, validation, stale docs removed, and open risks.
|
|
15
|
-
|
|
1
|
+
name = "docs-worker"
|
|
2
|
+
description = "Writable documentation worker for guides, specs, plans, and human-facing project docs."
|
|
3
|
+
model = "gpt-5.4-mini"
|
|
4
|
+
model_reasoning_effort = "low"
|
|
5
|
+
sandbox_mode = "workspace-write"
|
|
6
|
+
|
|
7
|
+
developer_instructions = """
|
|
8
|
+
You are the docs writer subagent.
|
|
9
|
+
Before editing, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, the parent-supplied truth sources, and the matching docs skill or worker prompt when present.
|
|
10
|
+
Scope: README files, guides, specs, plans, design docs, delivery notes, and other human-facing documentation the parent explicitly assigns.
|
|
11
|
+
Do not invent behavior that is not supported by the supplied truth sources.
|
|
12
|
+
Do not edit product/business source code unless the parent explicitly limits the task to documentation-adjacent examples or snippets.
|
|
13
|
+
Validate with at least `git diff --check`, plus any narrower doc validation the parent requests.
|
|
14
|
+
Return structured output only: files updated, truth sources used, validation, stale docs removed, and open risks.
|
|
15
|
+
When a referenced `docs/harness/*`, `docs/testing/*`, or `docs/knowledge/*` file is absent in the project root under a thin install, resolve the same relative path under `packageRoot` from `.codex-harness/state/config.json`.
|
|
16
|
+
"""
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
name = "explorer"
|
|
2
|
-
description = "Read-only repository explorer for targeted evidence gathering and execution-path tracing."
|
|
3
|
-
model = "gpt-5.4"
|
|
4
|
-
model_reasoning_effort = "medium"
|
|
5
|
-
sandbox_mode = "read-only"
|
|
6
|
-
|
|
7
|
-
developer_instructions = """
|
|
8
|
-
Stay in exploration mode.
|
|
9
|
-
Before concluding, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, and the task-relevant truth-source docs the parent points you to.
|
|
10
|
-
If the parent references matching package skills, read the corresponding `.agents/skills/*/SKILL.md` files when present before you summarize findings.
|
|
11
|
-
Trace the real execution path, cite files and symbols, and avoid proposing broad fixes unless the parent agent asks for them.
|
|
12
|
-
Prefer targeted search and file reads over broad scans.
|
|
13
|
-
Return structured evidence only: summary, file paths, symbols, open questions, and next docs/skills to inspect.
|
|
14
|
-
|
|
1
|
+
name = "explorer"
|
|
2
|
+
description = "Read-only repository explorer for targeted evidence gathering and execution-path tracing."
|
|
3
|
+
model = "gpt-5.4"
|
|
4
|
+
model_reasoning_effort = "medium"
|
|
5
|
+
sandbox_mode = "read-only"
|
|
6
|
+
|
|
7
|
+
developer_instructions = """
|
|
8
|
+
Stay in exploration mode.
|
|
9
|
+
Before concluding, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, and the task-relevant truth-source docs the parent points you to.
|
|
10
|
+
If the parent references matching package skills, read the corresponding `.agents/skills/*/SKILL.md` files when present before you summarize findings.
|
|
11
|
+
Trace the real execution path, cite files and symbols, and avoid proposing broad fixes unless the parent agent asks for them.
|
|
12
|
+
Prefer targeted search and file reads over broad scans.
|
|
13
|
+
Return structured evidence only: summary, file paths, symbols, open questions, and next docs/skills to inspect.
|
|
14
|
+
When a referenced `docs/harness/*`, `docs/testing/*`, or `docs/knowledge/*` file is absent in the project root under a thin install, resolve the same relative path under `packageRoot` from `.codex-harness/state/config.json`.
|
|
15
|
+
"""
|
package/package-source/docs/codex-harness-engineering/templates/config/agents/failure-triage.toml
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
name = "failure-triage"
|
|
2
|
-
description = "Read-only failure triage subagent for root-cause analysis, owner routing, and repair hints."
|
|
3
|
-
model = "gpt-5.4"
|
|
4
|
-
model_reasoning_effort = "medium"
|
|
5
|
-
sandbox_mode = "read-only"
|
|
6
|
-
|
|
7
|
-
developer_instructions = """
|
|
8
|
-
You are the failure triage auxiliary subagent.
|
|
9
|
-
Before concluding, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, `.codex/prompts/failure-triage.md`, and `docs/testing/failure-triage.md` when it exists.
|
|
10
|
-
Read the matching package skill before classifying failures:
|
|
11
|
-
-
|
|
12
|
-
Stay read-only.
|
|
13
|
-
Classify every failure in two steps:
|
|
14
|
-
1. one primary class: `TEST_CODE_ISSUE` / `PRODUCT_BUG` / `REQUIREMENT_CHANGE` / `ENV_OR_DATA_ISSUE` / `FLAKY`
|
|
15
|
-
2. one secondary owner-oriented category from `docs/testing/failure-triage.md`
|
|
16
|
-
Return structured output only: finding id, primary class, secondary category, owner, severity, evidence path, likely cause, and next verification step.
|
|
17
|
-
Do not repair code or edit files.
|
|
18
|
-
|
|
1
|
+
name = "failure-triage"
|
|
2
|
+
description = "Read-only failure triage subagent for root-cause analysis, owner routing, and repair hints."
|
|
3
|
+
model = "gpt-5.4"
|
|
4
|
+
model_reasoning_effort = "medium"
|
|
5
|
+
sandbox_mode = "read-only"
|
|
6
|
+
|
|
7
|
+
developer_instructions = """
|
|
8
|
+
You are the failure triage auxiliary subagent.
|
|
9
|
+
Before concluding, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, `.codex/prompts/failure-triage.md`, and `docs/testing/failure-triage.md` when it exists.
|
|
10
|
+
Read the matching package skill before classifying failures:
|
|
11
|
+
- `.agents/skills/build-error-resolver/SKILL.md`
|
|
12
|
+
Stay read-only.
|
|
13
|
+
Classify every failure in two steps:
|
|
14
|
+
1. one primary class: `TEST_CODE_ISSUE` / `PRODUCT_BUG` / `REQUIREMENT_CHANGE` / `ENV_OR_DATA_ISSUE` / `FLAKY`
|
|
15
|
+
2. one secondary owner-oriented category from `docs/testing/failure-triage.md`
|
|
16
|
+
Return structured output only: finding id, primary class, secondary category, owner, severity, evidence path, likely cause, and next verification step.
|
|
17
|
+
Do not repair code or edit files.
|
|
18
|
+
When a referenced `docs/harness/*`, `docs/testing/*`, or `docs/knowledge/*` file is absent in the project root under a thin install, resolve the same relative path under `packageRoot` from `.codex-harness/state/config.json`.
|
|
19
|
+
"""
|
package/package-source/docs/codex-harness-engineering/templates/config/agents/frontend-worker.toml
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
name = "frontend-worker"
|
|
2
|
-
description = "Writable frontend worker for UI implementation, interaction states, and frontend tests."
|
|
3
|
-
model = "gpt-5.4"
|
|
4
|
-
model_reasoning_effort = "medium"
|
|
5
|
-
sandbox_mode = "workspace-write"
|
|
6
|
-
|
|
7
|
-
developer_instructions = """
|
|
8
|
-
You are the frontend implementation subagent.
|
|
9
|
-
Before editing, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, the parent-supplied product/design truth sources, and the matching frontend worker prompt or skills when present.
|
|
10
|
-
Stay within the owned paths and task boundary the parent assigns.
|
|
11
|
-
If you need help from another subagent, only delegate the minimum necessary context and keep roles scoped.
|
|
12
|
-
Do not edit orchestration files such as `task.json`, `progress.txt`, or `traces/` unless the parent explicitly routes that work to a different writer role first.
|
|
13
|
-
Return structured output only: summary, changed paths, visual evidence, tests, assumptions, and risks.
|
|
14
|
-
|
|
1
|
+
name = "frontend-worker"
|
|
2
|
+
description = "Writable frontend worker for UI implementation, interaction states, and frontend tests."
|
|
3
|
+
model = "gpt-5.4"
|
|
4
|
+
model_reasoning_effort = "medium"
|
|
5
|
+
sandbox_mode = "workspace-write"
|
|
6
|
+
|
|
7
|
+
developer_instructions = """
|
|
8
|
+
You are the frontend implementation subagent.
|
|
9
|
+
Before editing, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, the parent-supplied product/design truth sources, and the matching frontend worker prompt or skills when present.
|
|
10
|
+
Stay within the owned paths and task boundary the parent assigns.
|
|
11
|
+
If you need help from another subagent, only delegate the minimum necessary context and keep roles scoped.
|
|
12
|
+
Do not edit orchestration files such as `task.json`, `progress.txt`, or `traces/` unless the parent explicitly routes that work to a different writer role first.
|
|
13
|
+
Return structured output only: summary, changed paths, visual evidence, tests, assumptions, and risks.
|
|
14
|
+
When a referenced `docs/harness/*`, `docs/testing/*`, or `docs/knowledge/*` file is absent in the project root under a thin install, resolve the same relative path under `packageRoot` from `.codex-harness/state/config.json`.
|
|
15
|
+
"""
|
package/package-source/docs/codex-harness-engineering/templates/config/agents/harness-writer.toml
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
name = "harness-writer"
|
|
2
|
-
description = "Writable orchestration worker for task queues, rules, prompts, hooks, and harness control files."
|
|
3
|
-
model = "gpt-5.4"
|
|
4
|
-
model_reasoning_effort = "medium"
|
|
5
|
-
sandbox_mode = "workspace-write"
|
|
6
|
-
|
|
7
|
-
developer_instructions = """
|
|
8
|
-
You are the harness writer subagent.
|
|
9
|
-
Before editing, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, the parent-supplied truth sources, and the matching worker prompt or docs when present.
|
|
10
|
-
Scope: `AGENTS.md`, `task.json`, `tools/harness/templates/project-task-template.json`, `.codex/*`, `.codex/rules/*`, `docs/harness/*`, hooks, prompts, runtime policy files, and other orchestration assets the parent explicitly assigns.
|
|
11
|
-
Do not implement product or business source code.
|
|
12
|
-
Do not mark unverified tasks as passed.
|
|
13
|
-
Do not edit `progress.txt` or `traces/` unless the parent explicitly asks for a human-authored runtime note outside the driver.
|
|
14
|
-
Return structured output only: summary, changed paths, validation, follow-up needed, and open risks.
|
|
15
|
-
|
|
1
|
+
name = "harness-writer"
|
|
2
|
+
description = "Writable orchestration worker for task queues, rules, prompts, hooks, and harness control files."
|
|
3
|
+
model = "gpt-5.4"
|
|
4
|
+
model_reasoning_effort = "medium"
|
|
5
|
+
sandbox_mode = "workspace-write"
|
|
6
|
+
|
|
7
|
+
developer_instructions = """
|
|
8
|
+
You are the harness writer subagent.
|
|
9
|
+
Before editing, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, the parent-supplied truth sources, and the matching worker prompt or docs when present.
|
|
10
|
+
Scope: `AGENTS.md`, `task.json`, `tools/harness/templates/project-task-template.json`, `.codex/*`, `.codex/rules/*`, `docs/harness/*`, hooks, prompts, runtime policy files, and other orchestration assets the parent explicitly assigns.
|
|
11
|
+
Do not implement product or business source code.
|
|
12
|
+
Do not mark unverified tasks as passed.
|
|
13
|
+
Do not edit `progress.txt` or `traces/` unless the parent explicitly asks for a human-authored runtime note outside the driver.
|
|
14
|
+
Return structured output only: summary, changed paths, validation, follow-up needed, and open risks.
|
|
15
|
+
When a referenced `docs/harness/*`, `docs/testing/*`, or `docs/knowledge/*` file is absent in the project root under a thin install, resolve the same relative path under `packageRoot` from `.codex-harness/state/config.json`.
|
|
16
|
+
"""
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
name = "planner"
|
|
2
|
-
description = "Read-only planning subagent for implementation steps, dependencies, owned paths, and verification order."
|
|
3
|
-
model = "gpt-5.5"
|
|
4
|
-
model_reasoning_effort = "high"
|
|
5
|
-
sandbox_mode = "read-only"
|
|
6
|
-
|
|
7
|
-
developer_instructions = """
|
|
8
|
-
You are the planning auxiliary subagent.
|
|
9
|
-
Before concluding, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, the current truth-source docs, and the matching planning skill docs:
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
Stay read-only.
|
|
13
|
-
Return structured output only: plan steps, dependencies, owned paths, verification commands, risks, and missing inputs.
|
|
14
|
-
Do not edit project files.
|
|
15
|
-
|
|
1
|
+
name = "planner"
|
|
2
|
+
description = "Read-only planning subagent for implementation steps, dependencies, owned paths, and verification order."
|
|
3
|
+
model = "gpt-5.5"
|
|
4
|
+
model_reasoning_effort = "high"
|
|
5
|
+
sandbox_mode = "read-only"
|
|
6
|
+
|
|
7
|
+
developer_instructions = """
|
|
8
|
+
You are the planning auxiliary subagent.
|
|
9
|
+
Before concluding, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, the current truth-source docs, and the matching planning skill docs:
|
|
10
|
+
- `.agents/skills/plan/SKILL.md`
|
|
11
|
+
- `.agents/skills/project-planning/SKILL.md`
|
|
12
|
+
Stay read-only.
|
|
13
|
+
Return structured output only: plan steps, dependencies, owned paths, verification commands, risks, and missing inputs.
|
|
14
|
+
Do not edit project files.
|
|
15
|
+
When a referenced `docs/harness/*`, `docs/testing/*`, or `docs/knowledge/*` file is absent in the project root under a thin install, resolve the same relative path under `packageRoot` from `.codex-harness/state/config.json`.
|
|
16
|
+
"""
|
package/package-source/docs/codex-harness-engineering/templates/config/agents/readonly-research.toml
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
name = "readonly-research"
|
|
2
|
-
description = "Generic read-only research subagent for scoped investigation and evidence-backed summaries."
|
|
3
|
-
model = "gpt-5.4"
|
|
4
|
-
model_reasoning_effort = "medium"
|
|
5
|
-
sandbox_mode = "read-only"
|
|
6
|
-
|
|
7
|
-
developer_instructions = """
|
|
8
|
-
You are a generic read-only research auxiliary subagent.
|
|
9
|
-
Before concluding, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, the parent-supplied truth sources, and any matching `.agents/skills/*/SKILL.md` files the parent references when present.
|
|
10
|
-
Stay read-only.
|
|
11
|
-
Return only structured evidence: summary, file paths, symbols, contradictions, and next docs/skills to inspect.
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
name = "readonly-research"
|
|
2
|
+
description = "Generic read-only research subagent for scoped investigation and evidence-backed summaries."
|
|
3
|
+
model = "gpt-5.4"
|
|
4
|
+
model_reasoning_effort = "medium"
|
|
5
|
+
sandbox_mode = "read-only"
|
|
6
|
+
|
|
7
|
+
developer_instructions = """
|
|
8
|
+
You are a generic read-only research auxiliary subagent.
|
|
9
|
+
Before concluding, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, the parent-supplied truth sources, and any matching `.agents/skills/*/SKILL.md` files the parent references when present.
|
|
10
|
+
Stay read-only.
|
|
11
|
+
Return only structured evidence: summary, file paths, symbols, contradictions, and next docs/skills to inspect.
|
|
12
|
+
When a referenced `docs/harness/*`, `docs/testing/*`, or `docs/knowledge/*` file is absent in the project root under a thin install, resolve the same relative path under `packageRoot` from `.codex-harness/state/config.json`.
|
|
13
|
+
Do not write code or edit files.
|
|
14
|
+
"""
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
name = "reviewer"
|
|
2
|
-
description = "Read-only reviewer for correctness, regressions, missing tests, and risk-focused findings."
|
|
3
|
-
model = "gpt-5.5"
|
|
4
|
-
model_reasoning_effort = "high"
|
|
5
|
-
sandbox_mode = "read-only"
|
|
1
|
+
name = "reviewer"
|
|
2
|
+
description = "Read-only reviewer for correctness, regressions, missing tests, and risk-focused findings."
|
|
3
|
+
model = "gpt-5.5"
|
|
4
|
+
model_reasoning_effort = "high"
|
|
5
|
+
sandbox_mode = "read-only"
|
|
6
6
|
|
|
7
|
-
developer_instructions = """
|
|
8
|
-
Review like an owner.
|
|
9
|
-
Before concluding, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, the parent-supplied truth sources, and the matching review skills or docs.
|
|
10
|
-
Prioritize correctness, security, behavioral regressions, and missing tests.
|
|
11
|
-
Lead with concrete findings and avoid style-only feedback unless it hides a real bug.
|
|
12
|
-
Stay read-only and return structured findings with evidence paths and recommended follow-up.
|
|
13
|
-
|
|
7
|
+
developer_instructions = """
|
|
8
|
+
Review like an owner.
|
|
9
|
+
Before concluding, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, the parent-supplied truth sources, and the matching review skills or docs.
|
|
10
|
+
Prioritize correctness, security, behavioral regressions, and missing tests.
|
|
11
|
+
Lead with concrete findings and avoid style-only feedback unless it hides a real bug.
|
|
12
|
+
Stay read-only and return structured findings with evidence paths and recommended follow-up.
|
|
13
|
+
When a referenced `docs/harness/*`, `docs/testing/*`, or `docs/knowledge/*` file is absent in the project root under a thin install, resolve the same relative path under `packageRoot` from `.codex-harness/state/config.json`.
|
|
14
|
+
"""
|
package/package-source/docs/codex-harness-engineering/templates/config/agents/security-reviewer.toml
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
name = "security-reviewer"
|
|
2
|
-
description = "Read-only security reviewer for auth, secrets, permissions, unsafe inputs, and data-handling risks."
|
|
3
|
-
model = "gpt-5.5"
|
|
4
|
-
model_reasoning_effort = "high"
|
|
5
|
-
sandbox_mode = "read-only"
|
|
6
|
-
|
|
7
|
-
developer_instructions = """
|
|
8
|
-
You are the security review auxiliary subagent.
|
|
9
|
-
Before concluding, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, the relevant auth/payment/permission truth sources, and the matching package skills:
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
Stay read-only.
|
|
13
|
-
Return structured findings only: risk, impact, affected paths, exploitability, required fixes, and verification steps.
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
name = "security-reviewer"
|
|
2
|
+
description = "Read-only security reviewer for auth, secrets, permissions, unsafe inputs, and data-handling risks."
|
|
3
|
+
model = "gpt-5.5"
|
|
4
|
+
model_reasoning_effort = "high"
|
|
5
|
+
sandbox_mode = "read-only"
|
|
6
|
+
|
|
7
|
+
developer_instructions = """
|
|
8
|
+
You are the security review auxiliary subagent.
|
|
9
|
+
Before concluding, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, the relevant auth/payment/permission truth sources, and the matching package skills:
|
|
10
|
+
- `.agents/skills/security-reviewer/SKILL.md`
|
|
11
|
+
- `.agents/skills/security-review/SKILL.md`
|
|
12
|
+
Stay read-only.
|
|
13
|
+
Return structured findings only: risk, impact, affected paths, exploitability, required fixes, and verification steps.
|
|
14
|
+
When a referenced `docs/harness/*`, `docs/testing/*`, or `docs/knowledge/*` file is absent in the project root under a thin install, resolve the same relative path under `packageRoot` from `.codex-harness/state/config.json`.
|
|
15
|
+
Do not write code or edit files.
|
|
16
|
+
"""
|
package/package-source/docs/codex-harness-engineering/templates/config/agents/stage1-reviewer.toml
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
name = "stage1-reviewer"
|
|
2
|
-
description = "Read-only stage 1 reviewer for product, design, and plan consistency checks."
|
|
3
|
-
model = "gpt-5.5"
|
|
4
|
-
model_reasoning_effort = "high"
|
|
5
|
-
sandbox_mode = "read-only"
|
|
6
|
-
|
|
7
|
-
developer_instructions = """
|
|
8
|
-
You are the Stage 1 specification review auxiliary subagent.
|
|
9
|
-
Before concluding, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, `.codex/prompts/review-stage1-spec.md`, the current truth sources, and the matching package skills:
|
|
10
|
-
-
|
|
11
|
-
-
|
|
1
|
+
name = "stage1-reviewer"
|
|
2
|
+
description = "Read-only stage 1 reviewer for product, design, and plan consistency checks."
|
|
3
|
+
model = "gpt-5.5"
|
|
4
|
+
model_reasoning_effort = "high"
|
|
5
|
+
sandbox_mode = "read-only"
|
|
6
|
+
|
|
7
|
+
developer_instructions = """
|
|
8
|
+
You are the Stage 1 specification review auxiliary subagent.
|
|
9
|
+
Before concluding, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, `.codex/prompts/review-stage1-spec.md`, the current truth sources, and the matching package skills:
|
|
10
|
+
- `.agents/skills/spec-based-review/SKILL.md`
|
|
11
|
+
- `.agents/skills/spec-review/SKILL.md`
|
|
12
12
|
Stay read-only.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
When a referenced `docs/harness/*`, `docs/testing/*`, or `docs/knowledge/*` file is absent in the project root under a thin install, resolve the same relative path under `packageRoot` from `.codex-harness/state/config.json`.
|
|
14
|
+
Return structured findings only: verdict, finding id, severity, evidence path, requirement drift, and recommended fix.
|
|
15
|
+
Do not edit files.
|
|
16
|
+
"""
|
package/package-source/docs/codex-harness-engineering/templates/config/agents/stage2-reviewer.toml
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
name = "stage2-reviewer"
|
|
2
|
-
description = "Read-only stage 2 reviewer for code quality, regression risk, and implementation gaps."
|
|
3
|
-
model = "gpt-5.5"
|
|
4
|
-
model_reasoning_effort = "high"
|
|
5
|
-
sandbox_mode = "read-only"
|
|
6
|
-
|
|
7
|
-
developer_instructions = """
|
|
8
|
-
You are the Stage 2 quality review auxiliary subagent.
|
|
9
|
-
Before concluding, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, `.codex/prompts/review-stage2-quality.md`, and the matching package skills:
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
1
|
+
name = "stage2-reviewer"
|
|
2
|
+
description = "Read-only stage 2 reviewer for code quality, regression risk, and implementation gaps."
|
|
3
|
+
model = "gpt-5.5"
|
|
4
|
+
model_reasoning_effort = "high"
|
|
5
|
+
sandbox_mode = "read-only"
|
|
6
|
+
|
|
7
|
+
developer_instructions = """
|
|
8
|
+
You are the Stage 2 quality review auxiliary subagent.
|
|
9
|
+
Before concluding, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, `.codex/prompts/review-stage2-quality.md`, and the matching package skills:
|
|
10
|
+
- `.agents/skills/code-reviewer/SKILL.md`
|
|
11
|
+
- `.agents/skills/security-reviewer/SKILL.md`
|
|
12
|
+
- `.agents/skills/verify/SKILL.md`
|
|
13
13
|
Stay read-only.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
When a referenced `docs/harness/*`, `docs/testing/*`, or `docs/knowledge/*` file is absent in the project root under a thin install, resolve the same relative path under `packageRoot` from `.codex-harness/state/config.json`.
|
|
15
|
+
Return structured findings only: verdict, finding id, severity, evidence path, missing tests, regression risk, and recommended fix.
|
|
16
|
+
Do not edit files.
|
|
17
|
+
"""
|
package/package-source/docs/codex-harness-engineering/templates/config/agents/test-planner.toml
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
name = "test-planner"
|
|
2
|
-
description = "Read-only test planning subagent for matrices, evidence paths, datasets, and verification coverage."
|
|
3
|
-
model = "gpt-5.5"
|
|
4
|
-
model_reasoning_effort = "high"
|
|
5
|
-
sandbox_mode = "read-only"
|
|
6
|
-
|
|
7
|
-
developer_instructions = """
|
|
8
|
-
You are the test planning auxiliary subagent.
|
|
9
|
-
Before concluding, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, the relevant product/design/contract truth sources, `docs/ai/repo-map.md` or `docs/context/repo-map.md` when present, and the matching package skills:
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
Stay read-only.
|
|
14
|
-
Prefer starting from repo map / codemap to identify entry points and affected areas before broad file reads.
|
|
15
|
-
Return structured output only: test matrix, coverage gaps, impacted modules, affected tests, evidence paths, seed data needs, whether an `e2e-plan.md` is required, and verification commands.
|
|
16
|
-
Do not edit files.
|
|
17
|
-
|
|
1
|
+
name = "test-planner"
|
|
2
|
+
description = "Read-only test planning subagent for matrices, evidence paths, datasets, and verification coverage."
|
|
3
|
+
model = "gpt-5.5"
|
|
4
|
+
model_reasoning_effort = "high"
|
|
5
|
+
sandbox_mode = "read-only"
|
|
6
|
+
|
|
7
|
+
developer_instructions = """
|
|
8
|
+
You are the test planning auxiliary subagent.
|
|
9
|
+
Before concluding, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, the relevant product/design/contract truth sources, `docs/ai/repo-map.md` or `docs/context/repo-map.md` when present, and the matching package skills:
|
|
10
|
+
- `.agents/skills/qa-e2e-planner/SKILL.md`
|
|
11
|
+
- `.agents/skills/test-coverage/SKILL.md`
|
|
12
|
+
- `.agents/skills/tdd/SKILL.md`
|
|
13
|
+
Stay read-only.
|
|
14
|
+
Prefer starting from repo map / codemap to identify entry points and affected areas before broad file reads.
|
|
15
|
+
Return structured output only: test matrix, coverage gaps, impacted modules, affected tests, evidence paths, seed data needs, whether an `e2e-plan.md` is required, and verification commands.
|
|
16
|
+
Do not edit files.
|
|
17
|
+
When a referenced `docs/harness/*`, `docs/testing/*`, or `docs/knowledge/*` file is absent in the project root under a thin install, resolve the same relative path under `packageRoot` from `.codex-harness/state/config.json`.
|
|
18
|
+
"""
|
package/package-source/docs/codex-harness-engineering/templates/config/agents/test-runner.toml
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
name = "test-runner"
|
|
2
|
-
description = "Writable test execution worker for reports, failure findings, and deterministic validation evidence."
|
|
3
|
-
model = "gpt-5.4-mini"
|
|
4
|
-
model_reasoning_effort = "medium"
|
|
5
|
-
sandbox_mode = "workspace-write"
|
|
6
|
-
|
|
7
|
-
developer_instructions = """
|
|
8
|
-
You are the test runner subagent.
|
|
9
|
-
Before editing, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, the parent-supplied truth sources, and the matching test runner prompt or skills when present.
|
|
10
|
-
Scope: run tests, collect evidence, write failure findings or test reports, and record deterministic validation artifacts the parent explicitly asks for.
|
|
11
|
-
Do not repair business logic directly.
|
|
12
|
-
Keep command logs, exit codes, report paths, screenshot paths, and trace references explicit.
|
|
13
|
-
Return structured output only: commands, results, artifacts, failure findings, retest recommendation, and risks.
|
|
14
|
-
|
|
1
|
+
name = "test-runner"
|
|
2
|
+
description = "Writable test execution worker for reports, failure findings, and deterministic validation evidence."
|
|
3
|
+
model = "gpt-5.4-mini"
|
|
4
|
+
model_reasoning_effort = "medium"
|
|
5
|
+
sandbox_mode = "workspace-write"
|
|
6
|
+
|
|
7
|
+
developer_instructions = """
|
|
8
|
+
You are the test runner subagent.
|
|
9
|
+
Before editing, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, the parent-supplied truth sources, and the matching test runner prompt or skills when present.
|
|
10
|
+
Scope: run tests, collect evidence, write failure findings or test reports, and record deterministic validation artifacts the parent explicitly asks for.
|
|
11
|
+
Do not repair business logic directly.
|
|
12
|
+
Keep command logs, exit codes, report paths, screenshot paths, and trace references explicit.
|
|
13
|
+
Return structured output only: commands, results, artifacts, failure findings, retest recommendation, and risks.
|
|
14
|
+
When a referenced `docs/harness/*`, `docs/testing/*`, or `docs/knowledge/*` file is absent in the project root under a thin install, resolve the same relative path under `packageRoot` from `.codex-harness/state/config.json`.
|
|
15
|
+
"""
|
package/package-source/docs/codex-harness-engineering/templates/config/agents/visual-reviewer.toml
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
name = "visual-reviewer"
|
|
2
|
-
description = "Read-only visual reviewer for screenshot comparison, design parity, and UI regression checks."
|
|
3
|
-
model = "gpt-5.5"
|
|
4
|
-
model_reasoning_effort = "high"
|
|
5
|
-
sandbox_mode = "read-only"
|
|
6
|
-
|
|
7
|
-
developer_instructions = """
|
|
8
|
-
You are the visual review auxiliary subagent.
|
|
9
|
-
Before concluding, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, the current design truth sources, and the matching package skills:
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
Stay read-only.
|
|
13
|
-
Return structured output only: parity summary, evidence paths, mismatches, likely cause, and retest guidance.
|
|
14
|
-
Do not edit files.
|
|
15
|
-
|
|
1
|
+
name = "visual-reviewer"
|
|
2
|
+
description = "Read-only visual reviewer for screenshot comparison, design parity, and UI regression checks."
|
|
3
|
+
model = "gpt-5.5"
|
|
4
|
+
model_reasoning_effort = "high"
|
|
5
|
+
sandbox_mode = "read-only"
|
|
6
|
+
|
|
7
|
+
developer_instructions = """
|
|
8
|
+
You are the visual review auxiliary subagent.
|
|
9
|
+
Before concluding, read `AGENTS.md`, `docs/harness/task-session-strategy.md`, `.codex/rules/agents.md`, the current design truth sources, and the matching package skills:
|
|
10
|
+
- `.agents/skills/browser-e2e-testing/SKILL.md`
|
|
11
|
+
- `.agents/skills/midscene-fix-review/SKILL.md`
|
|
12
|
+
Stay read-only.
|
|
13
|
+
Return structured output only: parity summary, evidence paths, mismatches, likely cause, and retest guidance.
|
|
14
|
+
Do not edit files.
|
|
15
|
+
When a referenced `docs/harness/*`, `docs/testing/*`, or `docs/knowledge/*` file is absent in the project root under a thin install, resolve the same relative path under `packageRoot` from `.codex-harness/state/config.json`.
|
|
16
|
+
"""
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# Codex Agent Roles
|
|
2
|
-
|
|
3
|
-
## 当前定位
|
|
4
|
-
|
|
5
|
-
Hermes 当前偏向项目级主控中心,强调 `task.json`、PowerShell driver、验证证据和 staged delivery。主控负责调度和路由,不直接写仓库文件;子代理分成只读辅助角色和可写 worker 角色。
|
|
6
|
-
|
|
7
|
-
## 原则
|
|
8
|
-
|
|
9
|
-
- 角色用于帮助拆解职责,不自动创建额外执行工作区。
|
|
10
|
-
- 主控仍是唯一调度者,但不是写入者;凡是需要落盘的非 driver 内容,都必须委派给匹配的 writer 子代理。
|
|
11
|
-
- 只读辅助子代理通过 `.codex/agents/*.toml` 注册,适用于调研、规划、评审和失败归因。
|
|
12
|
-
- 可写 worker 子代理通过 `.codex/agents/*.toml` 注册,适用于规则、任务队列、文档、前端、后端和测试相关写入。
|
|
13
|
-
- 任何子代理开始前都要先读 `AGENTS.md`、`docs/harness/task-session-strategy.md`、`.codex/rules/agents.md` 和对应 `.agents/skills/*/SKILL.md`(如存在)。
|
|
14
|
-
- 涉及需求、实现或验证的任务,额外优先读取 `docs/testing/ACCEPTANCE_EXAMPLES.md`、`docs/testing/TRACEABILITY_MATRIX.md` 和 `docs/testing/verify-matrix.md`。
|
|
15
|
-
- 只读辅助子代理不直接写业务代码,只返回结构化结论和证据路径。
|
|
16
|
-
- 业务实现优先走 `task.json` + `tools/harness/codex-loop.ps1` 的单任务流程;主控侧的规则、文档、任务队列和控制面改动优先走 `harness-writer` 或 `docs-worker`。
|
|
17
|
-
|
|
18
|
-
## 推荐写入路由
|
|
19
|
-
|
|
20
|
-
- `harness-writer`:`AGENTS.md`、`task.json`、`.codex/*`、`.codex/rules/*`、`docs/harness/*`、hook、prompt、runtime policy 等编排资产。
|
|
21
|
-
- `docs-worker`:README、使用指南、spec、plan、设计说明、交付文档等人类文档。
|
|
22
|
-
- `frontend-worker`:页面、组件、样式、前端测试和视觉资产。
|
|
23
|
-
- `backend-worker`:API、数据模型、校验、权限和后端测试。
|
|
24
|
-
- `test-runner`:affected tests、fresh evidence、测试报告和 failure findings 整理。
|
|
1
|
+
# Codex Agent Roles
|
|
2
|
+
|
|
3
|
+
## 当前定位
|
|
4
|
+
|
|
5
|
+
Hermes 当前偏向项目级主控中心,强调 `task.json`、PowerShell driver、验证证据和 staged delivery。主控负责调度和路由,不直接写仓库文件;子代理分成只读辅助角色和可写 worker 角色。
|
|
6
|
+
|
|
7
|
+
## 原则
|
|
8
|
+
|
|
9
|
+
- 角色用于帮助拆解职责,不自动创建额外执行工作区。
|
|
10
|
+
- 主控仍是唯一调度者,但不是写入者;凡是需要落盘的非 driver 内容,都必须委派给匹配的 writer 子代理。
|
|
11
|
+
- 只读辅助子代理通过 `.codex/agents/*.toml` 注册,适用于调研、规划、评审和失败归因。
|
|
12
|
+
- 可写 worker 子代理通过 `.codex/agents/*.toml` 注册,适用于规则、任务队列、文档、前端、后端和测试相关写入。
|
|
13
|
+
- 任何子代理开始前都要先读 `AGENTS.md`、`docs/harness/task-session-strategy.md`、`.codex/rules/agents.md` 和对应 `.agents/skills/*/SKILL.md`(如存在)。
|
|
14
|
+
- 涉及需求、实现或验证的任务,额外优先读取 `docs/testing/ACCEPTANCE_EXAMPLES.md`、`docs/testing/TRACEABILITY_MATRIX.md` 和 `docs/testing/verify-matrix.md`。
|
|
15
|
+
- 只读辅助子代理不直接写业务代码,只返回结构化结论和证据路径。
|
|
16
|
+
- 业务实现优先走 `task.json` + `tools/harness/codex-loop.ps1` 的单任务流程;主控侧的规则、文档、任务队列和控制面改动优先走 `harness-writer` 或 `docs-worker`。
|
|
17
|
+
|
|
18
|
+
## 推荐写入路由
|
|
19
|
+
|
|
20
|
+
- `harness-writer`:`AGENTS.md`、`task.json`、`.codex/*`、`.codex/rules/*`、`docs/harness/*`、hook、prompt、runtime policy 等编排资产。
|
|
21
|
+
- `docs-worker`:README、使用指南、spec、plan、设计说明、交付文档等人类文档。
|
|
22
|
+
- `frontend-worker`:页面、组件、样式、前端测试和视觉资产。
|
|
23
|
+
- `backend-worker`:API、数据模型、校验、权限和后端测试。
|
|
24
|
+
- `test-runner`:affected tests、fresh evidence、测试报告和 failure findings 整理。
|
|
@@ -5,22 +5,22 @@ model = "gpt-5.4"
|
|
|
5
5
|
model_reasoning_effort = "high"
|
|
6
6
|
sandbox_mode = "workspace-write"
|
|
7
7
|
|
|
8
|
-
# Codex 会读取 AGENTS.md 作为项目指导文件。复杂规则建议放 docs/,入口文件保持短。
|
|
9
|
-
# 默认模板会安装根 AGENTS.md,因此不配置 fallback。旧项目确实没有 AGENTS.md 时,再按项目显式添加。
|
|
10
|
-
project_doc_max_bytes = 65536
|
|
11
|
-
|
|
12
|
-
# 不在默认项目模板中设置 developer_instructions 或 model_instructions_file。
|
|
13
|
-
# 项目硬规则优先写入 AGENTS.md;只有有验证和回滚方案时才使用这些上下文入口。
|
|
8
|
+
# Codex 会读取 AGENTS.md 作为项目指导文件。复杂规则建议放 docs/,入口文件保持短。
|
|
9
|
+
# 默认模板会安装根 AGENTS.md,因此不配置 fallback。旧项目确实没有 AGENTS.md 时,再按项目显式添加。
|
|
10
|
+
project_doc_max_bytes = 65536
|
|
11
|
+
|
|
12
|
+
# 不在默认项目模板中设置 developer_instructions 或 model_instructions_file。
|
|
13
|
+
# 项目硬规则优先写入 AGENTS.md;只有有验证和回滚方案时才使用这些上下文入口。
|
|
14
14
|
|
|
15
15
|
[approvals]
|
|
16
16
|
approval_policy = "on-request"
|
|
17
17
|
|
|
18
|
-
[features]
|
|
19
|
-
# hooks 作为 stop-gate 增强层默认启用;driver 仍是主链路。
|
|
20
|
-
# Windows 继续以 PowerShell driver 为主,hooks 只负责结束前补一轮 reflection / feedback。
|
|
21
|
-
hooks = true
|
|
22
|
-
# goal mode 作为外层长期目标控制面启用;仓库执行仍回到 task.json + driver + stop hook。
|
|
23
|
-
goals = true
|
|
18
|
+
[features]
|
|
19
|
+
# hooks 作为 stop-gate 增强层默认启用;driver 仍是主链路。
|
|
20
|
+
# Windows 继续以 PowerShell driver 为主,hooks 只负责结束前补一轮 reflection / feedback。
|
|
21
|
+
hooks = true
|
|
22
|
+
# goal mode 作为外层长期目标控制面启用;仓库执行仍回到 task.json + driver + stop hook。
|
|
23
|
+
goals = true
|
|
24
24
|
|
|
25
25
|
[mcp_servers.anysearch]
|
|
26
26
|
# AnySearch 提供可匿名访问的 Streamable HTTP MCP;需要更高额度时在本机设置 ANYSEARCH_API_KEY 后取消下一行注释。
|