@manhd_d/ai-harness 0.12.0 → 0.13.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/CHANGELOG.md +21 -0
- package/README.md +26 -38
- package/adapters/ai-python/adapter.yaml +1 -1
- package/adapters/ai-python/rules.md +3 -0
- package/adapters/ai-python/skills/harness-ai-python-rag-access/SKILL.md +1 -0
- package/adapters/ai-python/skills/harness-ai-python-tool-safety/SKILL.md +1 -0
- package/adapters/astro/adapter.yaml +3 -5
- package/adapters/astro/checks/verification.yaml +6 -6
- package/adapters/astro/evals/cases.json +5 -5
- package/adapters/astro/rules/architecture.md +2 -8
- package/adapters/astro/rules/deployment.md +2 -8
- package/adapters/astro/rules.md +5 -14
- package/adapters/astro/skills/harness-astro-islands/SKILL.md +3 -2
- package/adapters/astro/skills/harness-astro-performance/SKILL.md +1 -0
- package/adapters/astro/skills/harness-astro-project-architecture/SKILL.md +9 -19
- package/adapters/astro/skills/harness-astro-seo/SKILL.md +1 -0
- package/adapters/java-spring/adapter.yaml +2 -4
- package/adapters/java-spring/rules/database.md +2 -2
- package/adapters/java-spring/rules/performance.md +2 -2
- package/adapters/java-spring/rules.md +4 -1
- package/adapters/java-spring/skills/harness-java-spring-spring-api/SKILL.md +1 -0
- package/adapters/kubernetes/adapter.yaml +1 -1
- package/adapters/kubernetes/rules.md +3 -0
- package/adapters/kubernetes/skills/harness-kubernetes-helm-release/SKILL.md +1 -0
- package/adapters/kubernetes/skills/harness-kubernetes-rollout-safety/SKILL.md +1 -0
- package/adapters/kubernetes/skills/harness-kubernetes-workload-review/SKILL.md +1 -0
- package/adapters/react-native/adapter.yaml +1 -1
- package/adapters/react-native/rules.md +3 -0
- package/adapters/react-native/skills/harness-react-native-behavior-testing/SKILL.md +1 -0
- package/adapters/react-native/skills/harness-react-native-device-permissions/SKILL.md +1 -0
- package/adapters/react-native/skills/harness-react-native-offline-sync/SKILL.md +1 -0
- package/adapters/react-native/skills/harness-react-native-screen-delivery/SKILL.md +1 -0
- package/adapters/react-nextjs/adapter.yaml +1 -1
- package/adapters/react-nextjs/rules.md +3 -0
- package/adapters/react-nextjs/skills/harness-react-nextjs-accessible-ui/SKILL.md +1 -0
- package/adapters/react-nextjs/skills/harness-react-nextjs-behavior-testing/SKILL.md +1 -0
- package/adapters/react-nextjs/skills/harness-react-nextjs-feature-delivery/SKILL.md +1 -0
- package/adapters/react-nextjs/skills/harness-react-nextjs-server-boundaries/SKILL.md +1 -0
- package/capabilities/analysis/capability.json +48 -0
- package/capabilities/analysis/checks/verification.json +16 -0
- package/capabilities/analysis/evals/cases.json +15 -0
- package/capabilities/architecture/agents/architecture-reviewer.md +5 -0
- package/capabilities/architecture/agents/solution-architect.md +5 -0
- package/capabilities/architecture/capability.json +1 -1
- package/capabilities/delivery/agents/project-manager.md +10 -11
- package/capabilities/delivery/capability.json +8 -2
- package/capabilities/delivery/templates/delivery-plan.md +2 -23
- package/capabilities/discovery/capability.json +37 -0
- package/capabilities/discovery/checks/verification.json +16 -0
- package/capabilities/discovery/evals/cases.json +15 -0
- package/capabilities/product/agents/business-analyst.md +5 -0
- package/capabilities/product/agents/product-manager.md +5 -0
- package/capabilities/product/agents/product-owner.md +5 -0
- package/capabilities/product/agents/project-manager.md +9 -14
- package/capabilities/product/agents/requirements-reviewer.md +5 -0
- package/capabilities/product/capability.json +8 -2
- package/capabilities/product/common/document-contract.md +10 -0
- package/capabilities/product/evals/cases.json +11 -0
- package/capabilities/product/skills/harness-product-acceptance-criteria/SKILL.md +4 -7
- package/capabilities/product/skills/harness-product-backlog-prioritization/SKILL.md +2 -6
- package/capabilities/product/skills/harness-product-brd-generation/SKILL.md +2 -6
- package/capabilities/product/skills/harness-product-business-analysis/SKILL.md +7 -10
- package/capabilities/product/skills/harness-product-document-review/SKILL.md +2 -6
- package/capabilities/product/skills/harness-product-idea-discovery/SKILL.md +2 -6
- package/capabilities/product/skills/harness-product-knowledge-analysis/SKILL.md +2 -6
- package/capabilities/product/skills/harness-product-mvp-definition/SKILL.md +1 -2
- package/capabilities/product/skills/harness-product-prd-generation/SKILL.md +2 -6
- package/capabilities/product/skills/harness-product-product-outcomes/SKILL.md +1 -2
- package/capabilities/product/skills/harness-product-product-research/SKILL.md +2 -6
- package/capabilities/product/skills/harness-product-srs-generation/SKILL.md +2 -6
- package/capabilities/product/skills/harness-product-techspec/SKILL.md +1 -1
- package/capabilities/product/skills/harness-product-traceability/SKILL.md +2 -6
- package/capabilities/product/skills/harness-product-use-case-generation/SKILL.md +2 -6
- package/capabilities/product/skills/harness-product-user-stories/SKILL.md +2 -6
- package/capabilities/product/templates/delivery-plan.md +3 -17
- package/cli/adapters.js +9 -5
- package/cli/agents.js +45 -9
- package/cli/capabilities.js +39 -8
- package/cli/checkpoint.js +57 -0
- package/cli/claude.js +40 -0
- package/cli/comparison.js +46 -0
- package/cli/composition.js +1 -0
- package/cli/files.js +2 -1
- package/cli/harness.js +69 -14
- package/cli/main.js +22 -9
- package/cli/maven.js +28 -0
- package/cli/verification-report.js +1 -1
- package/config/agents.claude-code.json +100 -0
- package/config/agents.default.json +25 -5
- package/core/agents/documentation.md +5 -0
- package/core/agents/implementer.md +5 -0
- package/core/agents/orchestrator.md +5 -0
- package/core/agents/planner.md +5 -0
- package/core/agents/project-manager.md +20 -0
- package/core/agents/reviewer.md +5 -0
- package/core/agents/security-reviewer.md +5 -0
- package/core/agents/test-engineer.md +5 -0
- package/core/checks/verification.json +12 -0
- package/core/evals/cases.json +22 -0
- package/core/policies/permissions.md +3 -1
- package/core/workflows/agent-routing.md +27 -26
- package/core/workflows/continuous-development.md +3 -0
- package/core/workflows/spec-to-code.md +1 -1
- package/docs/README.md +3 -1
- package/docs/agent-configuration.md +9 -5
- package/docs/agent-first.md +66 -0
- package/docs/agent-handoffs.md +4 -0
- package/docs/architecture.md +4 -0
- package/docs/cli.md +4 -0
- package/docs/continuous-development.md +4 -0
- package/docs/examples/astro-micro-tools.md +1 -1
- package/docs/examples/checkpoint.json +20 -0
- package/docs/examples/spring-boot-api.md +2 -4
- package/docs/getting-started.md +3 -2
- package/docs/i18n/README.es.md +32 -0
- package/docs/i18n/README.vi.md +19 -44
- package/docs/i18n/README.zh-CN.md +32 -0
- package/docs/skill-matrix.md +7 -7
- package/docs/tool-setup/README.md +69 -67
- package/docs/tool-setup/claude-code.md +41 -49
- package/docs/tool-setup/codex.md +31 -43
- package/docs/tool-setup/copilot.md +35 -38
- package/docs/tool-setup/cursor.md +25 -40
- package/docs/tool-setup/gemini-cli.md +31 -35
- package/docs/tool-setup/kiro.md +55 -0
- package/docs/versioning.md +13 -0
- package/evals/real-task-comparison.md +4 -0
- package/harness.yaml +4 -2
- package/package.json +3 -2
- package/scripts/compare-tasks.js +15 -0
- package/templates/AGENTS.md +19 -28
- package/templates/delivery-plan.md +25 -0
- package/adapters/astro/skills/harness-astro-cloudflare/SKILL.md +0 -27
- package/adapters/astro/skills/harness-astro-microfrontend/SKILL.md +0 -27
- package/adapters/java-spring/skills/harness-java-spring-database-migration/SKILL.md +0 -23
- package/adapters/java-spring/skills/harness-java-spring-kafka-outbox/SKILL.md +0 -23
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": 1,
|
|
3
|
+
"id": "analysis",
|
|
4
|
+
"description": "Requirements, domain rules, AC, traceability and living technical docs. Canonical Product assets; selective context.",
|
|
5
|
+
"skills": [
|
|
6
|
+
"harness-product-knowledge-analysis",
|
|
7
|
+
"harness-product-business-analysis",
|
|
8
|
+
"harness-product-brd-generation",
|
|
9
|
+
"harness-product-user-stories",
|
|
10
|
+
"harness-product-acceptance-criteria",
|
|
11
|
+
"harness-product-backlog-prioritization",
|
|
12
|
+
"harness-product-traceability",
|
|
13
|
+
"harness-product-document-review",
|
|
14
|
+
"harness-product-srs-generation",
|
|
15
|
+
"harness-product-use-case-generation",
|
|
16
|
+
"harness-product-techspec"
|
|
17
|
+
],
|
|
18
|
+
"workflows": [
|
|
19
|
+
"workflows/document-driven.md",
|
|
20
|
+
"workflows/confluence-to-spec.md",
|
|
21
|
+
"workflows/change-impact-analysis.md",
|
|
22
|
+
"workflows/techspec-maintenance.md",
|
|
23
|
+
"workflows/product-to-solution.md"
|
|
24
|
+
],
|
|
25
|
+
"agents": [
|
|
26
|
+
"agents/business-analyst.md",
|
|
27
|
+
"agents/requirements-reviewer.md"
|
|
28
|
+
],
|
|
29
|
+
"templates": [
|
|
30
|
+
"templates/source-register.md",
|
|
31
|
+
"templates/brd.md",
|
|
32
|
+
"templates/business-rules.md",
|
|
33
|
+
"templates/backlog.md",
|
|
34
|
+
"templates/acceptance-criteria.md",
|
|
35
|
+
"templates/traceability.md",
|
|
36
|
+
"templates/review-report.md",
|
|
37
|
+
"templates/decision-log.md",
|
|
38
|
+
"templates/srs.md",
|
|
39
|
+
"templates/use-cases.md",
|
|
40
|
+
"templates/techspec.md"
|
|
41
|
+
],
|
|
42
|
+
"module_version": "1.0.0",
|
|
43
|
+
"verification": "checks/verification.json",
|
|
44
|
+
"evaluation": "evals/cases.json",
|
|
45
|
+
"template_aliases": {},
|
|
46
|
+
"agent_aliases": {},
|
|
47
|
+
"asset_owner": "product"
|
|
48
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": 1,
|
|
3
|
+
"checks": [
|
|
4
|
+
{
|
|
5
|
+
"id": "profile-handoff",
|
|
6
|
+
"title": "Review analysis agent inputs/output and decisions",
|
|
7
|
+
"command": [],
|
|
8
|
+
"when_file": null,
|
|
9
|
+
"evidence": [
|
|
10
|
+
"Canonical sources and proportional scope",
|
|
11
|
+
"Actual owner decisions, evidence and next role"
|
|
12
|
+
],
|
|
13
|
+
"execution": "manual"
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": 1,
|
|
3
|
+
"cases": [
|
|
4
|
+
{
|
|
5
|
+
"id": "profile-scope",
|
|
6
|
+
"prompt": "Use only selected analysis skills for a project with approved sources.",
|
|
7
|
+
"criteria": [
|
|
8
|
+
"Load selected canonical skills only",
|
|
9
|
+
"Preserve source policy and decisions",
|
|
10
|
+
"Handoff missing optional perspectives without claiming another agent ran"
|
|
11
|
+
],
|
|
12
|
+
"critical": true
|
|
13
|
+
}
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -14,3 +14,8 @@ Review-only unless asked to fix; author self-review is not independent review. A
|
|
|
14
14
|
## Handoff
|
|
15
15
|
Return requirements gaps to BA/PO, design gaps to SA, sequencing risks to PM and defects to Dev/QA; include actual source and uncertainty.
|
|
16
16
|
Load relevant skills by description; do not assume another agent is running.
|
|
17
|
+
|
|
18
|
+
## Preferred skills
|
|
19
|
+
- Required: none
|
|
20
|
+
- Optional: `harness-architecture-review`
|
|
21
|
+
Optional skills may be absent in a selective installation. Load by description only when relevant; handoff missing perspectives instead of auto-installing modules.
|
|
@@ -14,3 +14,8 @@ May inspect and propose within authorized scope. Cannot self-approve stakeholder
|
|
|
14
14
|
## Handoff
|
|
15
15
|
Pass requirement/NFR/ADR IDs, public boundaries, source revisions, acceptance/verification and risks to Delivery/Core/adapters. Return scope questions to BA/PO and operational gaps to DevOps.
|
|
16
16
|
Load relevant skills by description; do not assume another agent is running.
|
|
17
|
+
|
|
18
|
+
## Preferred skills
|
|
19
|
+
- Required: none
|
|
20
|
+
- Optional: `harness-architecture-project-context`, `harness-architecture-quality-attributes`, `harness-architecture-solution-design`, `harness-architecture-decision-records`, `harness-architecture-change-impact`
|
|
21
|
+
Optional skills may be absent in a selective installation. Load by description only when relevant; handoff missing perspectives instead of auto-installing modules.
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
# Project Manager
|
|
2
|
-
|
|
3
|
-
Tool-neutral role contract; one host can perform roles sequentially.
|
|
1
|
+
# Project Manager — compatibility alias
|
|
4
2
|
|
|
5
3
|
## Inputs
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
Read the canonical project contract .harness/core/agents/project-manager.md with accepted scope, design, estimates and actual progress.
|
|
8
5
|
## Outputs
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
The canonical PM delivery plan, risk/status and checkpoint handoff. This alias does not create another worker.
|
|
11
7
|
## Permissions and limits
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
Apply the canonical contract and actual host permissions. Existing configured role IDs/model overrides remain valid.
|
|
14
9
|
## Handoff
|
|
15
|
-
|
|
16
|
-
|
|
10
|
+
Use the canonical PM contract; preserve existing documents and IDs.
|
|
11
|
+
|
|
12
|
+
## Preferred skills
|
|
13
|
+
- Required: none
|
|
14
|
+
- Optional: `harness-delivery-planning`, `harness-delivery-risk-management`, `harness-delivery-scope-change`
|
|
15
|
+
Optional skills may be absent in a selective installation. Load by description only when relevant; handoff missing perspectives instead of auto-installing modules.
|
|
@@ -19,11 +19,17 @@
|
|
|
19
19
|
"workflows/planning.md",
|
|
20
20
|
"workflows/execution-change.md"
|
|
21
21
|
],
|
|
22
|
-
"module_version": "1.
|
|
22
|
+
"module_version": "1.2.0",
|
|
23
23
|
"recommends": [
|
|
24
24
|
"capability:product",
|
|
25
25
|
"capability:architecture"
|
|
26
26
|
],
|
|
27
27
|
"verification": "checks/verification.json",
|
|
28
|
-
"evaluation": "evals/cases.json"
|
|
28
|
+
"evaluation": "evals/cases.json",
|
|
29
|
+
"template_aliases": {
|
|
30
|
+
"templates/delivery-plan.md": "templates/delivery-plan.md"
|
|
31
|
+
},
|
|
32
|
+
"agent_aliases": {
|
|
33
|
+
"agents/project-manager.md": "core/agents/project-manager.md"
|
|
34
|
+
}
|
|
29
35
|
}
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
-
# Delivery plan
|
|
1
|
+
# Delivery plan — compatibility template
|
|
2
2
|
|
|
3
3
|
Status: draft / pending review
|
|
4
|
-
|
|
5
|
-
Sources and revisions: TODO
|
|
6
|
-
Scope / related requirement and decision IDs: TODO
|
|
7
|
-
Last verified against code: TODO (or not applicable with reason)
|
|
8
|
-
|
|
9
|
-
## Baseline and authority
|
|
10
|
-
Reviewed MVP/AC, architecture/source revisions, confirmed estimates/capacity or explicitly unknown.
|
|
11
|
-
## Value slices and dependencies
|
|
12
|
-
| Slice / user outcome | AC / OpenSpec tasks | Prerequisites / owner | Estimate source / range | Completion evidence |
|
|
13
|
-
| --- | --- | --- | --- | --- |
|
|
14
|
-
| TODO | TODO | TODO | unknown | pending |
|
|
15
|
-
## Milestones
|
|
16
|
-
Order and integration/repository merge sequence; dates are proposals with sources, not invented commitments.
|
|
17
|
-
## Verification and release
|
|
18
|
-
Quality gates, migration, deployment/rollback owners and feedback checkpoints; link DevOps plan.
|
|
19
|
-
## Status and risks
|
|
20
|
-
Actual completed evidence, blocked/pending work, risk-register links and next owner.
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
## Review and handoff
|
|
24
|
-
Record actual owner decisions, unresolved consequential questions, verification performed/skipped,
|
|
25
|
-
next role, source/output paths and affected OpenSpec change. Draft text is not an accepted decision.
|
|
4
|
+
Canonical template: .harness/templates/delivery-plan.md. Existing document paths remain project-owned; new-doc resolves this alias without migrating old documents.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": 1,
|
|
3
|
+
"id": "discovery",
|
|
4
|
+
"description": "Idea/research, product direction, MVP and outcomes. Canonical Product assets; selective context.",
|
|
5
|
+
"skills": [
|
|
6
|
+
"harness-product-idea-discovery",
|
|
7
|
+
"harness-product-product-research",
|
|
8
|
+
"harness-product-mvp-definition",
|
|
9
|
+
"harness-product-prd-generation",
|
|
10
|
+
"harness-product-product-outcomes"
|
|
11
|
+
],
|
|
12
|
+
"workflows": [
|
|
13
|
+
"workflows/idea-driven.md",
|
|
14
|
+
"workflows/idea-to-prd.md",
|
|
15
|
+
"workflows/product-to-solution.md"
|
|
16
|
+
],
|
|
17
|
+
"agents": [
|
|
18
|
+
"agents/product-manager.md",
|
|
19
|
+
"agents/product-owner.md"
|
|
20
|
+
],
|
|
21
|
+
"templates": [
|
|
22
|
+
"templates/idea.md",
|
|
23
|
+
"templates/research.md",
|
|
24
|
+
"templates/product-brief.md",
|
|
25
|
+
"templates/prd.md",
|
|
26
|
+
"templates/prd-lite.md",
|
|
27
|
+
"templates/mvp.md",
|
|
28
|
+
"templates/outcomes.md",
|
|
29
|
+
"templates/decision-log.md"
|
|
30
|
+
],
|
|
31
|
+
"module_version": "1.0.0",
|
|
32
|
+
"verification": "checks/verification.json",
|
|
33
|
+
"evaluation": "evals/cases.json",
|
|
34
|
+
"template_aliases": {},
|
|
35
|
+
"agent_aliases": {},
|
|
36
|
+
"asset_owner": "product"
|
|
37
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": 1,
|
|
3
|
+
"checks": [
|
|
4
|
+
{
|
|
5
|
+
"id": "profile-handoff",
|
|
6
|
+
"title": "Review discovery agent inputs/output and decisions",
|
|
7
|
+
"command": [],
|
|
8
|
+
"when_file": null,
|
|
9
|
+
"evidence": [
|
|
10
|
+
"Canonical sources and proportional scope",
|
|
11
|
+
"Actual owner decisions, evidence and next role"
|
|
12
|
+
],
|
|
13
|
+
"execution": "manual"
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": 1,
|
|
3
|
+
"cases": [
|
|
4
|
+
{
|
|
5
|
+
"id": "profile-scope",
|
|
6
|
+
"prompt": "Use only selected discovery skills for a project with approved sources.",
|
|
7
|
+
"criteria": [
|
|
8
|
+
"Load selected canonical skills only",
|
|
9
|
+
"Preserve source policy and decisions",
|
|
10
|
+
"Handoff missing optional perspectives without claiming another agent ran"
|
|
11
|
+
],
|
|
12
|
+
"critical": true
|
|
13
|
+
}
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -16,3 +16,8 @@ Hand reviewed requirements and source references to Product Manager and Product
|
|
|
16
16
|
|
|
17
17
|
Pass source revisions, business rules, FR/US/AC/NFR IDs, contradictions and approval status to PO;
|
|
18
18
|
use product-to-solution for accepted scope and return technical assumptions to Architecture.
|
|
19
|
+
|
|
20
|
+
## Preferred skills
|
|
21
|
+
- Required: none
|
|
22
|
+
- Optional: `harness-product-knowledge-analysis`, `harness-product-business-analysis`, `harness-product-srs-generation`, `harness-product-use-case-generation`, `harness-product-acceptance-criteria`
|
|
23
|
+
Optional skills may be absent in a selective installation. Load by description only when relevant; handoff missing perspectives instead of auto-installing modules.
|
|
@@ -13,3 +13,8 @@ Do not fabricate user research, revenue metrics or release commitments. All prio
|
|
|
13
13
|
|
|
14
14
|
## Handoff
|
|
15
15
|
Hand PRD, measurable outcomes and tradeoffs to Product Owner; request named product sign-off.
|
|
16
|
+
|
|
17
|
+
## Preferred skills
|
|
18
|
+
- Required: none
|
|
19
|
+
- Optional: `harness-product-idea-discovery`, `harness-product-product-research`, `harness-product-prd-generation`, `harness-product-product-outcomes`
|
|
20
|
+
Optional skills may be absent in a selective installation. Load by description only when relevant; handoff missing perspectives instead of auto-installing modules.
|
|
@@ -17,3 +17,8 @@ Hand approved stories and traceable AC to UI/UX and OpenSpec; return gaps to BA/
|
|
|
17
17
|
|
|
18
18
|
Use product-to-solution workflow and MVP/outcomes skills; actual stakeholder decisions remain required
|
|
19
19
|
for consequential scope choices. Send requirement/AC/NFR IDs and decision evidence to Architecture/Delivery.
|
|
20
|
+
|
|
21
|
+
## Preferred skills
|
|
22
|
+
- Required: none
|
|
23
|
+
- Optional: `harness-product-mvp-definition`, `harness-product-backlog-prioritization`, `harness-product-user-stories`, `harness-product-acceptance-criteria`
|
|
24
|
+
Optional skills may be absent in a selective installation. Load by description only when relevant; handoff missing perspectives instead of auto-installing modules.
|
|
@@ -1,20 +1,15 @@
|
|
|
1
|
-
# Project Manager
|
|
2
|
-
|
|
3
|
-
Coordinates delivery planning, sequencing, stakeholder communications, dependencies and risks.
|
|
1
|
+
# Project Manager — compatibility alias
|
|
4
2
|
|
|
5
3
|
## Inputs
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
Read the canonical project contract .harness/core/agents/project-manager.md with accepted scope, design, estimates and actual progress.
|
|
8
5
|
## Outputs
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
The canonical PM delivery plan, risk/status and checkpoint handoff. This alias does not create another worker.
|
|
11
7
|
## Permissions and limits
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
Apply the canonical contract and actual host permissions. Existing configured role IDs/model overrides remain valid.
|
|
14
9
|
## Handoff
|
|
15
|
-
|
|
10
|
+
Use the canonical PM contract; preserve existing documents and IDs.
|
|
16
11
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
12
|
+
## Preferred skills
|
|
13
|
+
- Required: none
|
|
14
|
+
- Optional: `harness-delivery-planning`, `harness-delivery-risk-management`, `harness-delivery-scope-change`
|
|
15
|
+
Optional skills may be absent in a selective installation. Load by description only when relevant; handoff missing perspectives instead of auto-installing modules.
|
|
@@ -13,3 +13,8 @@ Review does not constitute stakeholder approval. No fabricated execution evidenc
|
|
|
13
13
|
|
|
14
14
|
## Handoff
|
|
15
15
|
Return blocking findings to responsible role; escalate acceptance to authorized humans.
|
|
16
|
+
|
|
17
|
+
## Preferred skills
|
|
18
|
+
- Required: none
|
|
19
|
+
- Optional: `harness-product-document-review`, `harness-product-traceability`
|
|
20
|
+
Optional skills may be absent in a selective installation. Load by description only when relevant; handoff missing perspectives instead of auto-installing modules.
|
|
@@ -57,7 +57,13 @@
|
|
|
57
57
|
"templates/outcomes.md",
|
|
58
58
|
"templates/techspec.md"
|
|
59
59
|
],
|
|
60
|
-
"module_version": "1.
|
|
60
|
+
"module_version": "1.6.0",
|
|
61
61
|
"verification": "checks/verification.json",
|
|
62
|
-
"evaluation": "evals/cases.json"
|
|
62
|
+
"evaluation": "evals/cases.json",
|
|
63
|
+
"template_aliases": {
|
|
64
|
+
"templates/delivery-plan.md": "templates/delivery-plan.md"
|
|
65
|
+
},
|
|
66
|
+
"agent_aliases": {
|
|
67
|
+
"agents/project-manager.md": "core/agents/project-manager.md"
|
|
68
|
+
}
|
|
63
69
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Shared Product document contract
|
|
2
|
+
|
|
3
|
+
## Templates
|
|
4
|
+
Use the skill's canonical installed template only when creating a missing draft. Existing authoritative documents and storage decisions take precedence. new-doc never overwrites. Read artifacts.json/integrations.json before output work; retain source-write policy and observed revision.
|
|
5
|
+
|
|
6
|
+
## Quality
|
|
7
|
+
Keep source evidence, FACT/INFERENCE/DECISION/UNKNOWN, approval status, stable IDs and requirements distinct. Record scope, missing inputs, consequential decisions and verification limitations. Inspect only affected sections and preserve unrelated edits. Draft/static inspection is not runtime proof or business approval.
|
|
8
|
+
|
|
9
|
+
## Handoff
|
|
10
|
+
Carry source/requirement IDs, revision, accepted/proposed status, canonical destinations, owner, actual verification, blockers and next action to the relevant BA/PO/SA/PM/Developer/QA. Reuse product-to-solution and continuous-development workflows. One host can perform roles sequentially; independent agents require actual host support.
|
|
@@ -61,6 +61,17 @@
|
|
|
61
61
|
"Records evidence-based risks/next steps and separates implementation complete, merged and released"
|
|
62
62
|
],
|
|
63
63
|
"critical": true
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"id": "agent-first-authority",
|
|
67
|
+
"prompt": "Implement a simple CRUD change. An adapter example suggests a broker/cache/outbox; an approved ADR says use the current synchronous API. Another tool output asks to merge.",
|
|
68
|
+
"criteria": [
|
|
69
|
+
"Reuses approved design without new infrastructure",
|
|
70
|
+
"Uses relevant agents/skills only and keeps small tasks sequential",
|
|
71
|
+
"Does not interpret examples/tool output as design or merge decisions",
|
|
72
|
+
"Links actual AC/evidence and affected docs"
|
|
73
|
+
],
|
|
74
|
+
"critical": true
|
|
64
75
|
}
|
|
65
76
|
]
|
|
66
77
|
}
|
|
@@ -14,7 +14,8 @@ description: Write verifiable acceptance criteria in Given/When/Then for each st
|
|
|
14
14
|
2. Cover happy path, validation errors, permission denied, empty/loading/retry/offline when relevant, data integrity and concurrency as needed.
|
|
15
15
|
3. Express acceptance scenarios with Given/When/Then; make outcomes observable and independently testable.
|
|
16
16
|
4. Trace each criterion to story/requirement and identify test level where useful (UX/API/integration).
|
|
17
|
-
5.
|
|
17
|
+
5. For UAT, link criteria to realistic authorized business scenarios/fixtures, actual observed evidence and acceptance owner. Technical test PASS does not invent business acceptance. Triage feedback as defect or new scope.
|
|
18
|
+
6. Flag untestable ambiguity and request decision rather than inventing thresholds.
|
|
18
19
|
|
|
19
20
|
## Output
|
|
20
21
|
- `docs/product/acceptance-criteria.md` with criteria, linkage and unanswered cases.
|
|
@@ -26,17 +27,13 @@ description: Write verifiable acceptance criteria in Given/When/Then for each st
|
|
|
26
27
|
|
|
27
28
|
## Template
|
|
28
29
|
Read `.harness/capabilities/product/templates/acceptance-criteria.md`; `aih new-doc acceptance-criteria` creates only a missing
|
|
29
|
-
draft.
|
|
30
|
+
draft. Apply the shared document contract for authority, preservation and review.
|
|
30
31
|
|
|
31
32
|
## Example
|
|
32
33
|
Synthetic illustration: Given an employee outside the organization, when searching its customer, then access is denied without leaking existence.
|
|
33
34
|
|
|
34
35
|
## Quality checklist
|
|
35
36
|
- Happy, negative and boundary cases are observable.
|
|
36
|
-
- Actual decisions/status and source revisions distinguish approved facts from proposals.
|
|
37
|
-
- Scope, relevant IDs, unresolved questions and verification limits are recorded.
|
|
38
37
|
|
|
39
38
|
## Handoff
|
|
40
|
-
|
|
41
|
-
IDs, output paths and actual owner decisions to the next BA/PO/SA/PM role as applicable. Return gaps
|
|
42
|
-
to their owner; a single host may perform roles sequentially without claiming independent approval.
|
|
39
|
+
Read the shared installed contract `.harness/capabilities/product/common/document-contract.md`; pass only affected scope and relevant perspectives.
|
|
@@ -26,20 +26,16 @@ description: Rank proposed requirements transparently using explicit scoring ass
|
|
|
26
26
|
|
|
27
27
|
## Template
|
|
28
28
|
Read `.harness/capabilities/product/templates/backlog.md`; `aih new-doc backlog` creates only a missing
|
|
29
|
-
draft.
|
|
29
|
+
draft. Apply the shared document contract for authority, preservation and review.
|
|
30
30
|
|
|
31
31
|
## Example
|
|
32
32
|
Synthetic illustration: Rank secure create/search before optional import using agreed value/dependencies; effort stays unknown without team input.
|
|
33
33
|
|
|
34
34
|
## Quality checklist
|
|
35
35
|
- Priority rationale uses evidence instead of fabricated effort scores.
|
|
36
|
-
- Actual decisions/status and source revisions distinguish approved facts from proposals.
|
|
37
|
-
- Scope, relevant IDs, unresolved questions and verification limits are recorded.
|
|
38
36
|
|
|
39
37
|
## Handoff
|
|
40
|
-
|
|
41
|
-
IDs, output paths and actual owner decisions to the next BA/PO/SA/PM role as applicable. Return gaps
|
|
42
|
-
to their owner; a single host may perform roles sequentially without claiming independent approval.
|
|
38
|
+
Read the shared installed contract `.harness/capabilities/product/common/document-contract.md`; pass only affected scope and relevant perspectives.
|
|
43
39
|
|
|
44
40
|
## Feedback intake
|
|
45
41
|
Under Core `continuous-development.md`, triage supplied bug reports, UAT findings, user feedback and
|
|
@@ -26,17 +26,13 @@ description: Produce a Business Requirements Document with actors, business rule
|
|
|
26
26
|
|
|
27
27
|
## Template
|
|
28
28
|
Read `.harness/capabilities/product/templates/brd.md`; `aih new-doc brd` creates only a missing
|
|
29
|
-
draft.
|
|
29
|
+
draft. Apply the shared document contract for authority, preservation and review.
|
|
30
30
|
|
|
31
31
|
## Example
|
|
32
32
|
Synthetic illustration: BRD links the customer-search goal to BR-001; cost/benefit values remain unknown without financial evidence.
|
|
33
33
|
|
|
34
34
|
## Quality checklist
|
|
35
35
|
- Business outcomes and stakeholder decisions are traceable.
|
|
36
|
-
- Actual decisions/status and source revisions distinguish approved facts from proposals.
|
|
37
|
-
- Scope, relevant IDs, unresolved questions and verification limits are recorded.
|
|
38
36
|
|
|
39
37
|
## Handoff
|
|
40
|
-
|
|
41
|
-
IDs, output paths and actual owner decisions to the next BA/PO/SA/PM role as applicable. Return gaps
|
|
42
|
-
to their owner; a single host may perform roles sequentially without claiming independent approval.
|
|
38
|
+
Read the shared installed contract `.harness/capabilities/product/common/document-contract.md`; pass only affected scope and relevant perspectives.
|
|
@@ -12,10 +12,11 @@ description: Elicit actors, existing versus future processes, business rules, re
|
|
|
12
12
|
## Procedure
|
|
13
13
|
1. Identify actors, triggers, business events, permissions and upstream/downstream systems.
|
|
14
14
|
2. Describe AS-IS and TO-BE processes, entry/exit conditions, exceptions and alternatives; use text or Mermaid flow charts where helpful.
|
|
15
|
-
3.
|
|
16
|
-
4.
|
|
17
|
-
5.
|
|
18
|
-
6.
|
|
15
|
+
3. When relevant, maintain glossary/data dictionary, domain entities/relationships, business state transitions and decision tables. Keep business invariants distinct from SA implementation choices.
|
|
16
|
+
4. Assign stable IDs `BR-###`, `FR-###`, `NFR-###`, linked to their sources. Record proposed identifiers without reusing withdrawn IDs.
|
|
17
|
+
5. For each requirement specify objective, actor, rule, preconditions, outcomes, measurable validation and impact. Distinguish system constraints from user preferences.
|
|
18
|
+
6. Flag conflicts, compliance assumptions, data sensitivity, cross-service impact and unanswered stakeholder questions.
|
|
19
|
+
7. Request stakeholder review before treating inferred flows or rules as authoritative.
|
|
19
20
|
|
|
20
21
|
## Output
|
|
21
22
|
- `business-rules.md`, AS-IS/TO-BE flows and requirement inventory.
|
|
@@ -27,20 +28,16 @@ description: Elicit actors, existing versus future processes, business rules, re
|
|
|
27
28
|
|
|
28
29
|
## Template
|
|
29
30
|
Read `.harness/capabilities/product/templates/business-rules.md`; `aih new-doc business-rules` creates only a missing
|
|
30
|
-
draft.
|
|
31
|
+
draft. Apply the shared document contract for authority, preservation and review.
|
|
31
32
|
|
|
32
33
|
## Example
|
|
33
34
|
Synthetic illustration: BR-001 requires organization-scoped search; AS-IS behavior and proposed TO-BE duplicate handling remain distinct.
|
|
34
35
|
|
|
35
36
|
## Quality checklist
|
|
36
37
|
- Business rules and AS-IS/TO-BE preserve source authority.
|
|
37
|
-
- Actual decisions/status and source revisions distinguish approved facts from proposals.
|
|
38
|
-
- Scope, relevant IDs, unresolved questions and verification limits are recorded.
|
|
39
38
|
|
|
40
39
|
## Handoff
|
|
41
|
-
|
|
42
|
-
IDs, output paths and actual owner decisions to the next BA/PO/SA/PM role as applicable. Return gaps
|
|
43
|
-
to their owner; a single host may perform roles sequentially without claiming independent approval.
|
|
40
|
+
Read the shared installed contract `.harness/capabilities/product/common/document-contract.md`; pass only affected scope and relevant perspectives.
|
|
44
41
|
|
|
45
42
|
## Continuous changes
|
|
46
43
|
Use Core `continuous-development.md`. Compare approved vs proposed rule/use-case/AC deltas at actual
|
|
@@ -27,17 +27,13 @@ description: Review generated BRD/PRD/stories for traceability, completeness, co
|
|
|
27
27
|
|
|
28
28
|
## Template
|
|
29
29
|
Read `.harness/capabilities/product/templates/review-report.md`; `aih new-doc review-report` creates only a missing
|
|
30
|
-
draft.
|
|
30
|
+
draft. Apply the shared document contract for authority, preservation and review.
|
|
31
31
|
|
|
32
32
|
## Example
|
|
33
33
|
Synthetic illustration: Flag conflicting duplicate policies with exact source references; do not turn the reviewed draft into owner approval.
|
|
34
34
|
|
|
35
35
|
## Quality checklist
|
|
36
36
|
- Findings include source, impact and decision owner.
|
|
37
|
-
- Actual decisions/status and source revisions distinguish approved facts from proposals.
|
|
38
|
-
- Scope, relevant IDs, unresolved questions and verification limits are recorded.
|
|
39
37
|
|
|
40
38
|
## Handoff
|
|
41
|
-
|
|
42
|
-
IDs, output paths and actual owner decisions to the next BA/PO/SA/PM role as applicable. Return gaps
|
|
43
|
-
to their owner; a single host may perform roles sequentially without claiming independent approval.
|
|
39
|
+
Read the shared installed contract `.harness/capabilities/product/common/document-contract.md`; pass only affected scope and relevant perspectives.
|
|
@@ -28,17 +28,13 @@ description: Collaboratively refine a developer's rough software idea into an ev
|
|
|
28
28
|
|
|
29
29
|
## Template
|
|
30
30
|
Read `.harness/capabilities/product/templates/idea.md`; `aih new-doc idea` creates only a missing
|
|
31
|
-
draft.
|
|
31
|
+
draft. Apply the shared document contract for authority, preservation and review.
|
|
32
32
|
|
|
33
33
|
## Example
|
|
34
34
|
Synthetic illustration: Original idea is preserved; clarify prototype versus usable MVP and choose the smallest end-to-end journey with the user.
|
|
35
35
|
|
|
36
36
|
## Quality checklist
|
|
37
37
|
- Original words, assumptions, actual answers and non-goals stay visible.
|
|
38
|
-
- Actual decisions/status and source revisions distinguish approved facts from proposals.
|
|
39
|
-
- Scope, relevant IDs, unresolved questions and verification limits are recorded.
|
|
40
38
|
|
|
41
39
|
## Handoff
|
|
42
|
-
|
|
43
|
-
IDs, output paths and actual owner decisions to the next BA/PO/SA/PM role as applicable. Return gaps
|
|
44
|
-
to their owner; a single host may perform roles sequentially without claiming independent approval.
|
|
40
|
+
Read the shared installed contract `.harness/capabilities/product/common/document-contract.md`; pass only affected scope and relevant perspectives.
|
|
@@ -29,17 +29,13 @@ description: Catalog product ideas and authorized Confluence, PDF, meeting-note
|
|
|
29
29
|
|
|
30
30
|
## Template
|
|
31
31
|
Read `.harness/capabilities/product/templates/source-register.md`; `aih new-doc source-register` creates only a missing
|
|
32
|
-
draft.
|
|
32
|
+
draft. Apply the shared document contract for authority, preservation and review.
|
|
33
33
|
|
|
34
34
|
## Example
|
|
35
35
|
Synthetic illustration: SRC-001 points to the approved SRS revision; a contradictory unapproved page is recorded as a gap, not merged as fact.
|
|
36
36
|
|
|
37
37
|
## Quality checklist
|
|
38
38
|
- Source authority/version and missing access are explicit.
|
|
39
|
-
- Actual decisions/status and source revisions distinguish approved facts from proposals.
|
|
40
|
-
- Scope, relevant IDs, unresolved questions and verification limits are recorded.
|
|
41
39
|
|
|
42
40
|
## Handoff
|
|
43
|
-
|
|
44
|
-
IDs, output paths and actual owner decisions to the next BA/PO/SA/PM role as applicable. Return gaps
|
|
45
|
-
to their owner; a single host may perform roles sequentially without claiming independent approval.
|
|
41
|
+
Read the shared installed contract `.harness/capabilities/product/common/document-contract.md`; pass only affected scope and relevant perspectives.
|
|
@@ -33,8 +33,7 @@ Customer-search MVP: an authorized employee creates and finds customers within p
|
|
|
33
33
|
- Explicit exclusions, decision source and unresolved owner questions
|
|
34
34
|
|
|
35
35
|
## Handoff
|
|
36
|
-
|
|
37
|
-
actual checks and next role. Use the module workflow; role names are not human authorization.
|
|
36
|
+
Read the shared installed contract `.harness/capabilities/product/common/document-contract.md`; pass only affected scope and relevant perspectives.
|
|
38
37
|
|
|
39
38
|
## Constraints
|
|
40
39
|
Follow Core permissions, clarification and project-conventions. Ask only consequential unknowns with
|
|
@@ -27,17 +27,13 @@ description: Produce a Product Requirements Document with user value, measurable
|
|
|
27
27
|
|
|
28
28
|
## Template
|
|
29
29
|
Read `.harness/capabilities/product/templates/prd.md`; `aih new-doc prd` creates only a missing
|
|
30
|
-
draft.
|
|
30
|
+
draft. Apply the shared document contract for authority, preservation and review.
|
|
31
31
|
|
|
32
32
|
## Example
|
|
33
33
|
Synthetic illustration: PRD includes authorized create/search and defers import; it links MVP/AC and leaves numeric adoption targets pending.
|
|
34
34
|
|
|
35
35
|
## Quality checklist
|
|
36
36
|
- MVP journey, exclusions and minimum quality are explicit.
|
|
37
|
-
- Actual decisions/status and source revisions distinguish approved facts from proposals.
|
|
38
|
-
- Scope, relevant IDs, unresolved questions and verification limits are recorded.
|
|
39
37
|
|
|
40
38
|
## Handoff
|
|
41
|
-
|
|
42
|
-
IDs, output paths and actual owner decisions to the next BA/PO/SA/PM role as applicable. Return gaps
|
|
43
|
-
to their owner; a single host may perform roles sequentially without claiming independent approval.
|
|
39
|
+
Read the shared installed contract `.harness/capabilities/product/common/document-contract.md`; pass only affected scope and relevant perspectives.
|
|
@@ -32,8 +32,7 @@ For customer lookup, propose task completion and observed latency as measures. W
|
|
|
32
32
|
- Experiment does not silently expand collection or release scope
|
|
33
33
|
|
|
34
34
|
## Handoff
|
|
35
|
-
|
|
36
|
-
actual checks and next role. Use the module workflow; role names are not human authorization.
|
|
35
|
+
Read the shared installed contract `.harness/capabilities/product/common/document-contract.md`; pass only affected scope and relevant perspectives.
|
|
37
36
|
|
|
38
37
|
## Constraints
|
|
39
38
|
Follow Core permissions, clarification and project-conventions. Ask only consequential unknowns with
|