@manhd_d/ai-harness 0.7.0 → 0.8.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 +39 -0
- package/CONTRIBUTING.md +4 -0
- package/README.md +15 -3
- package/adapters/java-spring/adapter.yaml +3 -2
- package/adapters/java-spring/checks/verification.yaml +12 -0
- package/adapters/java-spring/evals/cases.json +10 -0
- package/adapters/java-spring/rules/conventions.md +39 -0
- package/adapters/java-spring/rules.md +2 -1
- package/adapters/kubernetes/adapter.yaml +1 -1
- package/adapters/kubernetes/rules.md +3 -0
- package/adapters/react-native/adapter.yaml +3 -2
- package/adapters/react-native/checks/verification.yaml +12 -0
- package/adapters/react-native/evals/cases.json +10 -0
- package/adapters/react-native/rules/conventions.md +34 -0
- package/adapters/react-native/rules.md +2 -1
- package/adapters/react-nextjs/adapter.yaml +3 -2
- package/adapters/react-nextjs/checks/verification.yaml +12 -0
- package/adapters/react-nextjs/evals/cases.json +10 -0
- package/adapters/react-nextjs/rules/conventions.md +37 -0
- package/adapters/react-nextjs/rules.md +2 -1
- package/capabilities/architecture/README.md +11 -0
- package/capabilities/architecture/agents/architecture-reviewer.md +16 -0
- package/capabilities/architecture/agents/solution-architect.md +16 -0
- package/capabilities/architecture/capability.json +35 -0
- package/capabilities/architecture/checks/verification.json +29 -0
- package/capabilities/architecture/evals/cases.json +35 -0
- package/capabilities/architecture/skills/harness-architecture-change-impact/SKILL.md +43 -0
- package/capabilities/architecture/skills/harness-architecture-decision-records/SKILL.md +43 -0
- package/capabilities/architecture/skills/harness-architecture-project-context/SKILL.md +43 -0
- package/capabilities/architecture/skills/harness-architecture-quality-attributes/SKILL.md +43 -0
- package/capabilities/architecture/skills/harness-architecture-review/SKILL.md +43 -0
- package/capabilities/architecture/skills/harness-architecture-solution-design/SKILL.md +44 -0
- package/capabilities/architecture/templates/adr.md +29 -0
- package/capabilities/architecture/templates/nfr.md +22 -0
- package/capabilities/architecture/templates/overview.md +24 -0
- package/capabilities/architecture/templates/project-map.md +26 -0
- package/capabilities/architecture/templates/review.md +23 -0
- package/capabilities/architecture/templates/solution-design.md +29 -0
- package/capabilities/architecture/workflows/change-review.md +12 -0
- package/capabilities/architecture/workflows/discovery-to-design.md +16 -0
- package/capabilities/delivery/README.md +11 -0
- package/capabilities/delivery/agents/project-manager.md +16 -0
- package/capabilities/delivery/capability.json +29 -0
- package/capabilities/delivery/checks/verification.json +29 -0
- package/capabilities/delivery/evals/cases.json +25 -0
- package/capabilities/delivery/skills/harness-delivery-planning/SKILL.md +43 -0
- package/capabilities/delivery/skills/harness-delivery-risk-management/SKILL.md +42 -0
- package/capabilities/delivery/skills/harness-delivery-scope-change/SKILL.md +43 -0
- package/capabilities/delivery/templates/change-assessment.md +23 -0
- package/capabilities/delivery/templates/delivery-plan.md +25 -0
- package/capabilities/delivery/templates/risk-register.md +19 -0
- package/capabilities/delivery/workflows/execution-change.md +9 -0
- package/capabilities/delivery/workflows/planning.md +12 -0
- package/capabilities/product/README.md +7 -0
- package/capabilities/product/agents/business-analyst.md +3 -0
- package/capabilities/product/agents/product-owner.md +5 -1
- package/capabilities/product/agents/project-manager.md +5 -0
- package/capabilities/product/capability.json +9 -4
- package/capabilities/product/checks/verification.json +12 -0
- package/capabilities/product/evals/cases.json +10 -0
- package/capabilities/product/skills/harness-product-acceptance-criteria/SKILL.md +17 -0
- package/capabilities/product/skills/harness-product-backlog-prioritization/SKILL.md +17 -0
- package/capabilities/product/skills/harness-product-brd-generation/SKILL.md +17 -0
- package/capabilities/product/skills/harness-product-business-analysis/SKILL.md +17 -0
- package/capabilities/product/skills/harness-product-document-review/SKILL.md +17 -0
- package/capabilities/product/skills/harness-product-idea-discovery/SKILL.md +17 -0
- package/capabilities/product/skills/harness-product-knowledge-analysis/SKILL.md +17 -0
- package/capabilities/product/skills/harness-product-mvp-definition/SKILL.md +43 -0
- package/capabilities/product/skills/harness-product-prd-generation/SKILL.md +17 -0
- package/capabilities/product/skills/harness-product-product-outcomes/SKILL.md +42 -0
- package/capabilities/product/skills/harness-product-product-research/SKILL.md +17 -0
- package/capabilities/product/skills/harness-product-srs-generation/SKILL.md +17 -0
- package/capabilities/product/skills/harness-product-traceability/SKILL.md +17 -0
- package/capabilities/product/skills/harness-product-use-case-generation/SKILL.md +17 -0
- package/capabilities/product/skills/harness-product-user-stories/SKILL.md +17 -0
- package/capabilities/product/templates/mvp.md +25 -0
- package/capabilities/product/templates/outcomes.md +23 -0
- package/capabilities/product/workflows/document-driven.md +4 -0
- package/capabilities/product/workflows/idea-driven.md +4 -0
- package/capabilities/product/workflows/product-to-solution.md +15 -0
- package/cli/agents.js +165 -0
- package/cli/environment.js +14 -1
- package/cli/harness.js +24 -9
- package/cli/main.js +19 -6
- package/config/agents.default.json +80 -0
- package/core/agents/documentation.md +13 -0
- package/core/agents/implementer.md +7 -0
- package/core/agents/orchestrator.md +13 -0
- package/core/agents/planner.md +4 -0
- package/core/agents/reviewer.md +8 -0
- package/core/checks/verification.json +37 -0
- package/core/evals/cases.json +70 -0
- package/core/evals/composition.json +15 -0
- package/core/rules/foundations.md +1 -0
- package/core/rules/project-conventions.md +61 -0
- package/core/workflows/agent-routing.md +28 -0
- package/core/workflows/bugfix.md +2 -0
- package/core/workflows/project-setup.md +9 -1
- package/core/workflows/solution-framing.md +33 -0
- package/core/workflows/spec-to-code.md +11 -3
- package/docs/adapters.md +6 -0
- package/docs/agent-configuration.md +99 -0
- package/docs/agent-handoffs.md +19 -0
- package/docs/architecture.md +22 -1
- package/docs/cli.md +23 -1
- package/docs/documentation-workflows.md +7 -0
- package/docs/end-to-end-workflow.md +10 -1
- package/docs/getting-started.md +17 -0
- package/docs/harness-maintenance.md +80 -0
- package/docs/monetization.md +1 -1
- package/docs/project-configuration.md +4 -0
- package/docs/project-conventions.md +67 -0
- package/docs/research/solution-workflow-sources.md +30 -0
- package/docs/skill-matrix.md +28 -4
- package/docs/solution-workflow.md +67 -0
- package/docs/templates/harness-change-impact.md +30 -0
- package/docs/tool-setup/README.md +70 -0
- package/docs/tool-setup/claude-code.md +57 -0
- package/docs/tool-setup/codex.md +44 -0
- package/docs/tool-setup/copilot.md +42 -0
- package/docs/tool-setup/cursor.md +44 -0
- package/docs/tool-setup/gemini-cli.md +41 -0
- package/docs/versioning.md +29 -0
- package/evals/README.md +13 -0
- package/harness.yaml +4 -2
- package/package.json +2 -1
- package/templates/AGENTS.md +7 -0
- package/templates/openspec/design.md +6 -0
- package/templates/openspec/tasks.md +1 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# GitHub Copilot IDE and CLI
|
|
2
|
+
|
|
3
|
+
Install/sign in with [official Copilot docs](https://docs.github.com/en/copilot). In the IDE, open
|
|
4
|
+
the project and use the supported Agent mode; for CLI start the authenticated `copilot` client at
|
|
5
|
+
the root. Apply [common setup](README.md).
|
|
6
|
+
|
|
7
|
+
## Instructions
|
|
8
|
+
Support for AGENTS and skills varies between IDE/CLI/cloud features. Preserve existing settings.
|
|
9
|
+
For a repository-wide IDE bridge, merge into .github/copilot-instructions.md:
|
|
10
|
+
```markdown
|
|
11
|
+
Before implementation, read the applicable root/nested AGENTS.md and .harness/local.md.
|
|
12
|
+
Follow the installed Core/selected capability workflows and only the relevant skill in .agents/skills.
|
|
13
|
+
Report exact source paths, owner decisions and actual verification; do not infer test results.
|
|
14
|
+
```
|
|
15
|
+
This asks the agent to read files, not an automatic content import. Verify with the smoke prompt.
|
|
16
|
+
Copilot CLI documents .agents/skills as a project skill directory; `/skills reload` and
|
|
17
|
+
`/skills info <name>` can verify discovery there. IDE support must be checked for that specific client;
|
|
18
|
+
use the canonical manual path when automatic discovery is unavailable.
|
|
19
|
+
|
|
20
|
+
## Verify and use
|
|
21
|
+
Run the [read-only smoke prompt](README.md) before an implementation task. Check actual paths and
|
|
22
|
+
known decisions, then use the idea/document/SA/maintain prompts on that page. If discovery is missing,
|
|
23
|
+
ask to read the exact installed `.agents/skills/harness-*/SKILL.md` relevant to the task; do not paste
|
|
24
|
+
all skill bodies. Application commands come from local.md/environment.json and actual build files.
|
|
25
|
+
Follow host permission settings; no instruction creates missing account, network or tool access.
|
|
26
|
+
|
|
27
|
+
## Update / troubleshooting
|
|
28
|
+
Use the common reviewed CLI/snapshot update procedure. Preserve existing project/global host config,
|
|
29
|
+
review nested instructions and restart/reload the host when discovery changes. A Harness integrity
|
|
30
|
+
check is separate from host discovery, app build or behavioral compliance. Native client login/setup
|
|
31
|
+
was not exercised here; official references below establish the documented discovery mechanism.
|
|
32
|
+
|
|
33
|
+
## Official references (checked 2026-10-12)
|
|
34
|
+
- [IDE repository instructions](https://docs.github.com/en/copilot/how-tos/copilot-in-your-ide/customize-copilot/configure-custom-instructions/add-repository-instructions-in-your-ide)
|
|
35
|
+
- [CLI skills](https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/add-skills)
|
|
36
|
+
|
|
37
|
+
## Agent routing
|
|
38
|
+
|
|
39
|
+
Read [Agent preferences](../agent-configuration.md). Verify current model picker/account and effort
|
|
40
|
+
controls; aih setup --host copilot returns declarations only. Native per-role model switching or
|
|
41
|
+
concurrency requires specific client support; otherwise perform roles sequentially with the selected
|
|
42
|
+
session model. Never substitute premium or overwrite existing host settings automatically.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Cursor
|
|
2
|
+
|
|
3
|
+
Install/sign in via [official Cursor docs](https://cursor.com/docs). Open the repository folder and
|
|
4
|
+
Agent, then follow [common setup](README.md).
|
|
5
|
+
|
|
6
|
+
## Instructions and skills
|
|
7
|
+
Cursor supports project/nested AGENTS.md and .agents/skills. Preserve existing .cursor/rules and
|
|
8
|
+
check their scope with project conventions before adding another rule. Ask Agent to read applicable
|
|
9
|
+
AGENTS/local.md and use one installed skill; inspect discovery in the current client.
|
|
10
|
+
If a specific workspace needs an explicit rule pointer, create a project-owned .cursor/rules/harness.mdc:
|
|
11
|
+
```markdown
|
|
12
|
+
---
|
|
13
|
+
description: Use the installed AI Harness for this repository.
|
|
14
|
+
alwaysApply: true
|
|
15
|
+
---
|
|
16
|
+
Read the applicable AGENTS.md and its referenced project context before changing code.
|
|
17
|
+
Load only the installed skill needed for the task from .agents/skills.
|
|
18
|
+
```
|
|
19
|
+
Do not copy the full Harness snapshot into the rule. AGENTS already supplies the canonical entry;
|
|
20
|
+
use this bridge only if needed, avoiding contradictory project/global/nested instructions.
|
|
21
|
+
|
|
22
|
+
## Verify and use
|
|
23
|
+
Run the [read-only smoke prompt](README.md) before an implementation task. Check actual paths and
|
|
24
|
+
known decisions, then use the idea/document/SA/maintain prompts on that page. If discovery is missing,
|
|
25
|
+
ask to read the exact installed `.agents/skills/harness-*/SKILL.md` relevant to the task; do not paste
|
|
26
|
+
all skill bodies. Application commands come from local.md/environment.json and actual build files.
|
|
27
|
+
Follow host permission settings; no instruction creates missing account, network or tool access.
|
|
28
|
+
|
|
29
|
+
## Update / troubleshooting
|
|
30
|
+
Use the common reviewed CLI/snapshot update procedure. Preserve existing project/global host config,
|
|
31
|
+
review nested instructions and restart/reload the host when discovery changes. A Harness integrity
|
|
32
|
+
check is separate from host discovery, app build or behavioral compliance. Native client login/setup
|
|
33
|
+
was not exercised here; official references below establish the documented discovery mechanism.
|
|
34
|
+
|
|
35
|
+
## Official references (checked 2026-10-12)
|
|
36
|
+
- [Rules and AGENTS](https://cursor.com/docs/rules)
|
|
37
|
+
- [Skills and .agents discovery](https://cursor.com/docs/skills)
|
|
38
|
+
|
|
39
|
+
## Agent routing
|
|
40
|
+
|
|
41
|
+
Read [Agent preferences](../agent-configuration.md). Verify current model picker/account and effort
|
|
42
|
+
controls; aih setup --host cursor returns declarations only. Native per-role model switching or
|
|
43
|
+
concurrency requires specific client support; otherwise perform roles sequentially with the selected
|
|
44
|
+
session model. Never substitute premium or overwrite existing host settings automatically.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Gemini CLI
|
|
2
|
+
|
|
3
|
+
Install/authenticate from [official docs](https://geminicli.com/docs/), follow [common setup](README.md)
|
|
4
|
+
and launch `gemini` at the initialized root.
|
|
5
|
+
|
|
6
|
+
## Instructions and skills
|
|
7
|
+
Gemini uses GEMINI.md by default. Merge an import into the existing root GEMINI.md if needed:
|
|
8
|
+
```markdown
|
|
9
|
+
@./AGENTS.md
|
|
10
|
+
```
|
|
11
|
+
Alternatively, merge `context.fileName` in the existing project settings.json so the list includes
|
|
12
|
+
AGENTS.md while preserving other configured context names. Do not replace the entire settings file
|
|
13
|
+
or use both routes to inflate context unnecessarily. `/memory show` checks loaded content and
|
|
14
|
+
`/memory reload` refreshes it according to current official docs.
|
|
15
|
+
Gemini documents .agents/skills as a workspace alias. Avoid duplicating the same skills in
|
|
16
|
+
.gemini/skills; check current discovery and ask for the installed skill needed by the task.
|
|
17
|
+
|
|
18
|
+
## Verify and use
|
|
19
|
+
Run the [read-only smoke prompt](README.md) before an implementation task. Check actual paths and
|
|
20
|
+
known decisions, then use the idea/document/SA/maintain prompts on that page. If discovery is missing,
|
|
21
|
+
ask to read the exact installed `.agents/skills/harness-*/SKILL.md` relevant to the task; do not paste
|
|
22
|
+
all skill bodies. Application commands come from local.md/environment.json and actual build files.
|
|
23
|
+
Follow host permission settings; no instruction creates missing account, network or tool access.
|
|
24
|
+
|
|
25
|
+
## Update / troubleshooting
|
|
26
|
+
Use the common reviewed CLI/snapshot update procedure. Preserve existing project/global host config,
|
|
27
|
+
review nested instructions and restart/reload the host when discovery changes. A Harness integrity
|
|
28
|
+
check is separate from host discovery, app build or behavioral compliance. Native client login/setup
|
|
29
|
+
was not exercised here; official references below establish the documented discovery mechanism.
|
|
30
|
+
|
|
31
|
+
## Official references (checked 2026-10-12)
|
|
32
|
+
- [Context/imports/settings](https://geminicli.com/docs/cli/gemini-md/)
|
|
33
|
+
- [Workspace skill aliases](https://geminicli.com/docs/cli/skills/)
|
|
34
|
+
|
|
35
|
+
## Native model configuration
|
|
36
|
+
Use [Agent preferences](../agent-configuration.md) with an explicitly available Google/Vertex model
|
|
37
|
+
or reviewed mapping. Check the native /model picker against [official model selection](https://geminicli.com/docs/cli/model/).
|
|
38
|
+
Main --model selection does not override native subagent models; configure them separately following
|
|
39
|
+
[official subagents](https://geminicli.com/docs/core/subagents/) and your client's generation settings.
|
|
40
|
+
Reasoning/thinking controls are model-specific. No OpenAI model is assumed to run directly here and
|
|
41
|
+
no native JSON/agent file is created by aih. Verify actual delegation and capacity before parallel work.
|
package/docs/versioning.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Versioning and migration
|
|
2
2
|
|
|
3
|
+
Maintainer entry point: [Harness maintenance and impact matrix](harness-maintenance.md).
|
|
4
|
+
|
|
3
5
|
Framework version is in harness.yaml and package.json; keep both and package-lock.json synchronized. Use three-part SemVer releases and Git tags vX.Y.Z after review.
|
|
4
6
|
0.6.0 was initially published manually to npm. Future versions are prepared by Release Please after human PR review; do not publish directly from a feature PR.
|
|
5
7
|
|
|
@@ -102,3 +104,30 @@ No new configuration/lock schema version: 0.5 Product templates, `aih new-doc`,
|
|
|
102
104
|
## Foundation hardening (unreleased after 0.6)
|
|
103
105
|
|
|
104
106
|
Module contracts gain optional version and dependency fields without changing config/lock schema 1. Existing consumer snapshots retain default adapter-only verify/eval. After a reviewed update, `--scope all` enables locked Core/capability/composition evaluation, and `--scope core` works in core-only projects. Feature branches keep the latest release version; Release Please's generated PR chooses and synchronizes the next number. Use tagged releases for other consumers rather than interpreting an unreleased commit as a published update.
|
|
107
|
+
|
|
108
|
+
## Project coding conventions (unreleased)
|
|
109
|
+
|
|
110
|
+
Config and lock remain schema 1. Core adds project-conventions.md; Java/Spring, React/Next.js and React Native module contracts advance to 1.1.0 with conventions, manual checks and evaluation cases. Distribution version remains release-PR owned. Reviewed update adds managed assets and preserves existing local.md, environment and unmanaged AGENTS text. Old local.md is not rewritten; the host can append missing facts after inspection. Re-export evaluation datasets/reports after update because bundle hashes change. See [Project conventions](project-conventions.md).
|
|
111
|
+
|
|
112
|
+
## Harness maintenance contract (unreleased)
|
|
113
|
+
|
|
114
|
+
Maintainer guidance and impact templates do not alter consumer instructions or schemas. Kubernetes module 1.0.1 adds discovery links to its existing rules; use the usual reviewed update dry-run/update/check sequence. Project-owned files remain preserved, and rollback uses the consumer installation commit. Distribution version remains Release Please-owned.
|
|
115
|
+
|
|
116
|
+
## Product, Architecture and Delivery (unreleased)
|
|
117
|
+
|
|
118
|
+
Product module 1.2.0 is additive; Architecture/Delivery start at 1.0.0 and are optional. Distribution
|
|
119
|
+
version remains Release Please-owned. Config/lock/capability schemas stay 1. Existing new-doc calls
|
|
120
|
+
keep Product paths and old PM role/plan template IDs. Explicit --capability selects another installed
|
|
121
|
+
module and requires declared locked metadata/templates; undeclared files are not document types.
|
|
122
|
+
On a consumer branch add architecture/delivery to project.json if needed, review update --dry-run,
|
|
123
|
+
update and check; existing docs, local facts and host bridges remain project-owned. Re-export eval
|
|
124
|
+
reports for the changed bundle. No automatic old-plan migration; revert installation commit to roll back.
|
|
125
|
+
|
|
126
|
+
## Agent routing and release-test repair (unreleased)
|
|
127
|
+
|
|
128
|
+
Agent config uses independent schema 1; project/lock schema remains 1. Reviewed update adds a locked
|
|
129
|
+
default and seeds agents.json only if absent; custom bytes and host files survive. Old alternate source
|
|
130
|
+
bundles use the CLI canonical seed if necessary. Existing configs are validated before writes and new
|
|
131
|
+
role gaps inherit/report project defaults. Inspect new payload/update diff; re-export eval reports after
|
|
132
|
+
bundle changes. Revert consumer installation commit for rollback. Release update tests use relative
|
|
133
|
+
versions instead of hardcoded 0.7.0, preserving downgrade refusal on future release branches.
|
package/evals/README.md
CHANGED
|
@@ -46,3 +46,16 @@ regression thresholds using the harness-ai-evaluation skill. Do not combine thos
|
|
|
46
46
|
Adapter-specific scenarios are installed with each selected adapter. Use `aih eval` and
|
|
47
47
|
`aih eval --report report.json`; see [adapter evaluation](../docs/adapters.md). This is a separate
|
|
48
48
|
dataset from the Core cases scored by scripts/score-eval.js. Neither command invokes a model.
|
|
49
|
+
|
|
50
|
+
## Project-convention scenarios
|
|
51
|
+
|
|
52
|
+
`aih eval --scope all` includes five Core cases for new-project defaults, mixed-module maintenance, inappropriate reuse, unsafe legacy code and conflicting sources, plus one reuse scenario in each Java/Spring, React/Next.js and React Native adapter when selected. Use a disposable consumer containing the concrete files described by the prompt and keep their paths in the trace. Score actual inspected files, reused symbols, new-code rationale and verification honesty. New cases have not been run against a live agent; install/update and report tests only establish the CLI contract.
|
|
53
|
+
|
|
54
|
+
## Product / solution / delivery scenarios
|
|
55
|
+
|
|
56
|
+
After selecting relevant capabilities, `aih eval --scope all` includes MVP minimum-quality, architecture
|
|
57
|
+
pattern-level/NFR/stale-map, delivery estimate/scope-change and cross-role handoff cases. Core also
|
|
58
|
+
checks proportional handling of a small clear fix. All new cases remain unscored; run in a disposable
|
|
59
|
+
project through the intended host and review actual inspected files/decisions/code/test evidence.
|
|
60
|
+
CLI/template/package tests verify distribution and safety contracts, not native host discovery or
|
|
61
|
+
Solution Architect effectiveness. The [host smoke prompt](../docs/tool-setup/README.md) is read-only.
|
package/harness.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema_version": 1,
|
|
3
3
|
"name": "ai-harness",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.8.0",
|
|
5
5
|
"adapters": [
|
|
6
6
|
"java-spring",
|
|
7
7
|
"react-nextjs",
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
"uiux",
|
|
20
20
|
"product",
|
|
21
21
|
"devops",
|
|
22
|
-
"monetization"
|
|
22
|
+
"monetization",
|
|
23
|
+
"architecture",
|
|
24
|
+
"delivery"
|
|
23
25
|
]
|
|
24
26
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manhd_d/ai-harness",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Reusable AI development rules, skills and workflows with a safe local installer",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"files": [
|
|
21
21
|
"bin/",
|
|
22
22
|
"cli/*.js",
|
|
23
|
+
"config/",
|
|
23
24
|
"core/",
|
|
24
25
|
"adapters/",
|
|
25
26
|
"capabilities/",
|
package/templates/AGENTS.md
CHANGED
|
@@ -3,7 +3,14 @@
|
|
|
3
3
|
|
|
4
4
|
1. Read `.harness/core/rules/foundations.md`, `.harness/core/rules/context.md` and `.harness/core/policies/security.md`.
|
|
5
5
|
2. Read `.harness/core/policies/permissions.md` and `.harness/core/workflows/spec-to-code.md`.
|
|
6
|
+
For new projects or consequential changes, apply `.harness/core/workflows/solution-framing.md`;
|
|
7
|
+
preserve approved MVP/architecture and use compact notes for small clear fixes.
|
|
6
8
|
3. Read `.harness/local.md` and `.harness/environment.json` (if present) for project facts and commands.
|
|
9
|
+
Read project-owned `.harness/agents.json` when present and `.harness/core/workflows/agent-routing.md`.
|
|
10
|
+
Model/execution settings are preferences: verify actual host support, keep simple work sequential,
|
|
11
|
+
and never switch to premium automatically. Host/runtime permissions still apply.
|
|
12
|
+
Before coding, read `.harness/core/rules/project-conventions.md`: establish new/maintain/mixed scope,
|
|
13
|
+
inspect comparable code and search reusable components before adding files or abstractions.
|
|
7
14
|
For first-run or missing environment facts, use `.harness/core/workflows/project-setup.md`.
|
|
8
15
|
Machine paths may come from ignored `.harness/machine.json`; do not copy private values into shared files.
|
|
9
16
|
Before consequential implementation, follow `.harness/core/workflows/clarification.md`:
|
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
TODO: Verified constraints and current behavior.
|
|
5
5
|
## Goals / Non-Goals
|
|
6
6
|
TODO: Scope boundaries.
|
|
7
|
+
## Convention and Reuse Plan
|
|
8
|
+
TODO: New/maintain/mixed scope, applicable convention source paths, comparable implementations,
|
|
9
|
+
reusable public APIs, intended code placement and rationale for new components/dependencies.
|
|
10
|
+
## Solution Fit
|
|
11
|
+
TODO: Link MVP/AC/NFR, affected modules/data/contracts, important failure flows, accepted ADRs or
|
|
12
|
+
proportional decision notes, dependencies and rollout/rollback constraints.
|
|
7
13
|
## Decisions
|
|
8
14
|
TODO: Chosen approach, alternatives and trade-offs.
|
|
9
15
|
## Risks / Trade-offs
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## 1. Acceptance and design
|
|
4
4
|
- [ ] 1.1 Replace draft placeholders and agree acceptance scenarios and test boundaries.
|
|
5
|
+
- [ ] 1.2 Link applicable MVP/NFR/architecture decisions and dependency/verification boundaries; use a compact note when a full design pack is unnecessary.
|
|
5
6
|
## 2. Vertical implementation
|
|
6
7
|
- [ ] 2.1 Add one failing behavior test, implement the slice and record the green result.
|
|
7
8
|
## 3. Verification and review
|