@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.
Files changed (136) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +26 -38
  3. package/adapters/ai-python/adapter.yaml +1 -1
  4. package/adapters/ai-python/rules.md +3 -0
  5. package/adapters/ai-python/skills/harness-ai-python-rag-access/SKILL.md +1 -0
  6. package/adapters/ai-python/skills/harness-ai-python-tool-safety/SKILL.md +1 -0
  7. package/adapters/astro/adapter.yaml +3 -5
  8. package/adapters/astro/checks/verification.yaml +6 -6
  9. package/adapters/astro/evals/cases.json +5 -5
  10. package/adapters/astro/rules/architecture.md +2 -8
  11. package/adapters/astro/rules/deployment.md +2 -8
  12. package/adapters/astro/rules.md +5 -14
  13. package/adapters/astro/skills/harness-astro-islands/SKILL.md +3 -2
  14. package/adapters/astro/skills/harness-astro-performance/SKILL.md +1 -0
  15. package/adapters/astro/skills/harness-astro-project-architecture/SKILL.md +9 -19
  16. package/adapters/astro/skills/harness-astro-seo/SKILL.md +1 -0
  17. package/adapters/java-spring/adapter.yaml +2 -4
  18. package/adapters/java-spring/rules/database.md +2 -2
  19. package/adapters/java-spring/rules/performance.md +2 -2
  20. package/adapters/java-spring/rules.md +4 -1
  21. package/adapters/java-spring/skills/harness-java-spring-spring-api/SKILL.md +1 -0
  22. package/adapters/kubernetes/adapter.yaml +1 -1
  23. package/adapters/kubernetes/rules.md +3 -0
  24. package/adapters/kubernetes/skills/harness-kubernetes-helm-release/SKILL.md +1 -0
  25. package/adapters/kubernetes/skills/harness-kubernetes-rollout-safety/SKILL.md +1 -0
  26. package/adapters/kubernetes/skills/harness-kubernetes-workload-review/SKILL.md +1 -0
  27. package/adapters/react-native/adapter.yaml +1 -1
  28. package/adapters/react-native/rules.md +3 -0
  29. package/adapters/react-native/skills/harness-react-native-behavior-testing/SKILL.md +1 -0
  30. package/adapters/react-native/skills/harness-react-native-device-permissions/SKILL.md +1 -0
  31. package/adapters/react-native/skills/harness-react-native-offline-sync/SKILL.md +1 -0
  32. package/adapters/react-native/skills/harness-react-native-screen-delivery/SKILL.md +1 -0
  33. package/adapters/react-nextjs/adapter.yaml +1 -1
  34. package/adapters/react-nextjs/rules.md +3 -0
  35. package/adapters/react-nextjs/skills/harness-react-nextjs-accessible-ui/SKILL.md +1 -0
  36. package/adapters/react-nextjs/skills/harness-react-nextjs-behavior-testing/SKILL.md +1 -0
  37. package/adapters/react-nextjs/skills/harness-react-nextjs-feature-delivery/SKILL.md +1 -0
  38. package/adapters/react-nextjs/skills/harness-react-nextjs-server-boundaries/SKILL.md +1 -0
  39. package/capabilities/analysis/capability.json +48 -0
  40. package/capabilities/analysis/checks/verification.json +16 -0
  41. package/capabilities/analysis/evals/cases.json +15 -0
  42. package/capabilities/architecture/agents/architecture-reviewer.md +5 -0
  43. package/capabilities/architecture/agents/solution-architect.md +5 -0
  44. package/capabilities/architecture/capability.json +1 -1
  45. package/capabilities/delivery/agents/project-manager.md +10 -11
  46. package/capabilities/delivery/capability.json +8 -2
  47. package/capabilities/delivery/templates/delivery-plan.md +2 -23
  48. package/capabilities/discovery/capability.json +37 -0
  49. package/capabilities/discovery/checks/verification.json +16 -0
  50. package/capabilities/discovery/evals/cases.json +15 -0
  51. package/capabilities/product/agents/business-analyst.md +5 -0
  52. package/capabilities/product/agents/product-manager.md +5 -0
  53. package/capabilities/product/agents/product-owner.md +5 -0
  54. package/capabilities/product/agents/project-manager.md +9 -14
  55. package/capabilities/product/agents/requirements-reviewer.md +5 -0
  56. package/capabilities/product/capability.json +8 -2
  57. package/capabilities/product/common/document-contract.md +10 -0
  58. package/capabilities/product/evals/cases.json +11 -0
  59. package/capabilities/product/skills/harness-product-acceptance-criteria/SKILL.md +4 -7
  60. package/capabilities/product/skills/harness-product-backlog-prioritization/SKILL.md +2 -6
  61. package/capabilities/product/skills/harness-product-brd-generation/SKILL.md +2 -6
  62. package/capabilities/product/skills/harness-product-business-analysis/SKILL.md +7 -10
  63. package/capabilities/product/skills/harness-product-document-review/SKILL.md +2 -6
  64. package/capabilities/product/skills/harness-product-idea-discovery/SKILL.md +2 -6
  65. package/capabilities/product/skills/harness-product-knowledge-analysis/SKILL.md +2 -6
  66. package/capabilities/product/skills/harness-product-mvp-definition/SKILL.md +1 -2
  67. package/capabilities/product/skills/harness-product-prd-generation/SKILL.md +2 -6
  68. package/capabilities/product/skills/harness-product-product-outcomes/SKILL.md +1 -2
  69. package/capabilities/product/skills/harness-product-product-research/SKILL.md +2 -6
  70. package/capabilities/product/skills/harness-product-srs-generation/SKILL.md +2 -6
  71. package/capabilities/product/skills/harness-product-techspec/SKILL.md +1 -1
  72. package/capabilities/product/skills/harness-product-traceability/SKILL.md +2 -6
  73. package/capabilities/product/skills/harness-product-use-case-generation/SKILL.md +2 -6
  74. package/capabilities/product/skills/harness-product-user-stories/SKILL.md +2 -6
  75. package/capabilities/product/templates/delivery-plan.md +3 -17
  76. package/cli/adapters.js +9 -5
  77. package/cli/agents.js +45 -9
  78. package/cli/capabilities.js +39 -8
  79. package/cli/checkpoint.js +57 -0
  80. package/cli/claude.js +40 -0
  81. package/cli/comparison.js +46 -0
  82. package/cli/composition.js +1 -0
  83. package/cli/files.js +2 -1
  84. package/cli/harness.js +69 -14
  85. package/cli/main.js +22 -9
  86. package/cli/maven.js +28 -0
  87. package/cli/verification-report.js +1 -1
  88. package/config/agents.claude-code.json +100 -0
  89. package/config/agents.default.json +25 -5
  90. package/core/agents/documentation.md +5 -0
  91. package/core/agents/implementer.md +5 -0
  92. package/core/agents/orchestrator.md +5 -0
  93. package/core/agents/planner.md +5 -0
  94. package/core/agents/project-manager.md +20 -0
  95. package/core/agents/reviewer.md +5 -0
  96. package/core/agents/security-reviewer.md +5 -0
  97. package/core/agents/test-engineer.md +5 -0
  98. package/core/checks/verification.json +12 -0
  99. package/core/evals/cases.json +22 -0
  100. package/core/policies/permissions.md +3 -1
  101. package/core/workflows/agent-routing.md +27 -26
  102. package/core/workflows/continuous-development.md +3 -0
  103. package/core/workflows/spec-to-code.md +1 -1
  104. package/docs/README.md +3 -1
  105. package/docs/agent-configuration.md +9 -5
  106. package/docs/agent-first.md +66 -0
  107. package/docs/agent-handoffs.md +4 -0
  108. package/docs/architecture.md +4 -0
  109. package/docs/cli.md +4 -0
  110. package/docs/continuous-development.md +4 -0
  111. package/docs/examples/astro-micro-tools.md +1 -1
  112. package/docs/examples/checkpoint.json +20 -0
  113. package/docs/examples/spring-boot-api.md +2 -4
  114. package/docs/getting-started.md +3 -2
  115. package/docs/i18n/README.es.md +32 -0
  116. package/docs/i18n/README.vi.md +19 -44
  117. package/docs/i18n/README.zh-CN.md +32 -0
  118. package/docs/skill-matrix.md +7 -7
  119. package/docs/tool-setup/README.md +69 -67
  120. package/docs/tool-setup/claude-code.md +41 -49
  121. package/docs/tool-setup/codex.md +31 -43
  122. package/docs/tool-setup/copilot.md +35 -38
  123. package/docs/tool-setup/cursor.md +25 -40
  124. package/docs/tool-setup/gemini-cli.md +31 -35
  125. package/docs/tool-setup/kiro.md +55 -0
  126. package/docs/versioning.md +13 -0
  127. package/evals/real-task-comparison.md +4 -0
  128. package/harness.yaml +4 -2
  129. package/package.json +3 -2
  130. package/scripts/compare-tasks.js +15 -0
  131. package/templates/AGENTS.md +19 -28
  132. package/templates/delivery-plan.md +25 -0
  133. package/adapters/astro/skills/harness-astro-cloudflare/SKILL.md +0 -27
  134. package/adapters/astro/skills/harness-astro-microfrontend/SKILL.md +0 -27
  135. package/adapters/java-spring/skills/harness-java-spring-database-migration/SKILL.md +0 -23
  136. package/adapters/java-spring/skills/harness-java-spring-kafka-outbox/SKILL.md +0 -23
@@ -1,75 +1,77 @@
1
- # Setup AI Harness with coding tools
1
+ # Set up AI Harness in your AI tool
2
2
 
3
- Official discovery docs reviewed 2026-10-12. Authenticate/install the chosen host with its official
4
- instructions, then run Harness in the actual repository. Host/version/account capabilities vary;
5
- these are setup recipes, not a claim that native client behavior was tested in this workspace.
3
+ Harness installs project instructions; it does not install an IDE, start an AI model or connect accounts.
4
+ You need Node.js 22+, your chosen AI tool and a project folder.
5
+
6
+ ## 1. Install Harness in your project
7
+
8
+ Open a terminal in the **project root** (the folder you open in your IDE), not in the ai-harness source repo:
6
9
 
7
- ## Common setup
8
10
  ```bash
9
- npm install -g @manhd_d/ai-harness
10
- aih init --adapters java-spring --capabilities product,architecture,delivery
11
- aih check
12
- aih setup
13
- aih doctor
14
- aih skills
11
+ npx --yes @manhd_d/ai-harness init
12
+ npx --yes @manhd_d/ai-harness check
15
13
  ```
16
- Node.js 22+ is required by Harness; app stack remains independent. Replace adapter selection with
17
- react-nextjs/react-native/astro as appropriate. A coding-only maintain task can use just Core + adapter.
18
- For an existing install, edit .harness/project.json and reviewed update --dry-run/update/check.
19
14
 
20
- Fill .harness/local.md with mode, source docs/MVP/ADRs, public boundaries and actual commands; use
21
- [project configuration](../project-configuration.md) for Maven/JDK/settings and ignored machine paths.
22
- Do not bypass runtime permission policy or publish credentials. Configure GitHub/Figma/Confluence MCP
23
- only when needed, with the host's official setup and authorized access; Harness does not connect accounts.
15
+ For a new app, create its repository/folder first. Core works with any stack.
16
+ Use `init --detect` instead of `init` to select supported stacks, or choose optional adapters/capabilities
17
+ in [Getting started](../getting-started.md). For an existing Harness installation, use the update steps below.
18
+
19
+ `npx` does not install a global `aih` command. Optional: run
20
+ `npm install -g @manhd_d/ai-harness`, then use `aih` instead of `npx --yes @manhd_d/ai-harness`.
21
+
22
+ ## 2. Open your AI tool
23
+
24
+ Install/sign in through its official guide, open this same project and follow the matching Harness guide:
24
25
 
25
- | Host | Project entry | Skill handling | Guide |
26
+ | AI tool | Install the tool | Load Harness | Guide |
26
27
  | --- | --- | --- | --- |
27
- | Codex CLI/IDE | AGENTS.md and applicable nested/override instructions | .agents/skills native discovery | [Codex](codex.md) |
28
- | Claude Code | Direct AGENTS support varies with current configuration/version; CLAUDE.md import fallback | .claude/skills wrapper when native slash invocation is desired; manual canonical read always possible | [Claude Code](claude-code.md) |
29
- | Cursor | AGENTS.md; existing .cursor/rules may also apply | .agents/skills discovery | [Cursor](cursor.md) |
30
- | Copilot | Client-specific AGENTS support or .github/copilot-instructions.md pointer | CLI supports .agents/skills; IDE support depends on client/version | [Copilot](copilot.md) |
31
- | Gemini CLI | GEMINI.md import or context.fileName includes AGENTS.md | .agents/skills workspace alias | [Gemini CLI](gemini-cli.md) |
32
-
33
- Preserve existing host files; merge only a reviewed pointer/import, never replace the whole config.
34
- Bridges are project-owned and not managed by aih. Keep one canonical skill body in .agents/skills;
35
- never copy every rule into each host config or advertise markdown role files as native agents.
36
-
37
- ## Read-only setup smoke test
38
- Ask the host:
39
- ```text
40
- Read the applicable AGENTS.md and .harness/local.md. Do not modify files or execute commands.
41
- State the selected adapters/capabilities and exact installed paths for solution-framing and one
42
- relevant skill. Summarize current project mode, known MVP/architecture decisions and missing facts.
43
- Explain which declarations the configured test command comes from; do not claim any test ran.
28
+ | **Codex** | [CLI / IDE](https://developers.openai.com/codex/quickstart/) | `AGENTS.md`; native `.agents/skills` | [Setup](codex.md) |
29
+ | **Claude Code** | [Install](https://code.claude.com/docs/en/setup) | `AGENTS.md` when enabled/not shadowed; otherwise a `CLAUDE.md` import | [Setup](claude-code.md) |
30
+ | **Cursor** | [Install](https://cursor.com/docs) | `AGENTS.md`; native `.agents/skills` | [Setup](cursor.md) |
31
+ | **GitHub Copilot** | [Install](https://docs.github.com/en/copilot) | Client-specific instructions; CLI native `.agents/skills` | [Setup](copilot.md) |
32
+ | **Gemini CLI** | [Install](https://geminicli.com/docs/) | `GEMINI.md` import; native `.agents/skills` alias | [Setup](gemini-cli.md) |
33
+ | **Kiro** | [IDE / CLI](https://kiro.dev/docs/getting-started/installation/) | `AGENTS.md`; read canonical skills explicitly or use optional native pointers | [Setup](kiro.md) |
34
+
35
+ Existing instructions/settings remain yours. Do not replace host configs or copy the whole Harness into
36
+ them. Host/version/account capabilities vary; these guides are not live-client compatibility results.
37
+
38
+ ## 3. Check loading, then give a task
39
+
40
+ Send this **read-only prompt** in the AI chat:
41
+
42
+ > Read AGENTS.md and .harness/local.md. Do not change files or run commands.
43
+ > State the selected adapters/capabilities from .harness/project.json, the project's known decisions,
44
+ > and one relevant installed skill with its exact path. Report anything you cannot read.
45
+
46
+ Compare the answer with the actual files; a model's assertion alone does not prove loading.
47
+ If skills are not discovered, ask it to read the needed `.agents/skills/<installed-name>/SKILL.md`.
48
+ The tool guides show additional native loading checks. `check` verifies Harness files, not AI behavior.
49
+
50
+ Then give your normal task:
51
+
52
+ > Read AGENTS.md. Inspect the project and approved decisions. Implement [task], run appropriate
53
+ > project tests and maintain affected specs/docs. Report actual results and anything blocked.
54
+
55
+ You do not need to configure models, native subagents or MCP to begin. Harness role files are contracts,
56
+ not automatically created native agents. See [Agent configuration](../agent-configuration.md) when needed.
57
+
58
+ ## Existing installs and updates
59
+
60
+ Commit your current project state on a branch. Review and apply the new snapshot:
61
+
62
+ ```bash
63
+ npx --yes @manhd_d/ai-harness@latest update --dry-run
64
+ npx --yes @manhd_d/ai-harness@latest update
65
+ npx --yes @manhd_d/ai-harness@latest check
44
66
  ```
45
- Expected: actual source paths, correct selection and no fabricated file/command/result. If automatic
46
- skill discovery fails, explicitly ask to read .agents/skills/<installed-name>/SKILL.md. `aih skills`
47
- is a catalog, and `aih skill <name>` prints canonical instructions; neither invokes an AI model.
48
-
49
- ## Start prompts
50
- | Task | Prompt |
51
- | --- | --- |
52
- | Idea → MVP | Read Product product-to-solution; clarify the useful user journey, in/out scope and minimum quality before proposing architecture. |
53
- | Existing BA docs | Use the approved source/revision, extract only this change's requirements and gaps; preserve authoritative docs. |
54
- | SA design | Read Architecture discovery-to-design; compare minimal viable options, NFRs and justified feature patterns with actual decision sources. |
55
- | Maintain | Inspect touched module/code/tests and public common APIs; follow existing architecture and update only affected project-map entries. |
56
- | Delivery | Plan value slices/dependencies using real team estimates; unknown dates remain unknown; link AC/ADRs/OpenSpec. |
57
-
58
- ## Update and troubleshoot
59
- Update the global CLI, then review snapshot update --dry-run/update/check. Restart/reload host discovery
60
- where required; read-only smoke again after setup changes. Keep custom host bridges and local.md.
61
- If a managed file conflicts, reconcile with Git rather than editing lock hashes. Check workspace root,
62
- nested override precedence, host context/trust settings, module selection and installed skill paths.
63
- Private VPN/tool access may be unavailable remotely; report blocked builds rather than inventing success.
64
- No logged-in host/MCP or live-agent smoke was run for these docs; follow each linked official guide.
65
-
66
- ## Agent/model preferences
67
-
68
- Review [Agent configuration](../agent-configuration.md) and run `aih setup --host <id>` for a declared
69
- routing plan. Validate native model/effort in the actual picker/client; no account availability is
70
- probed or host config overwritten. Incompatible defaults need your explicit provider/model mapping.
71
-
72
- ## Artifact destinations and connections
73
- After project setup, inspect artifacts.json/integrations.json and [Artifact contract](../artifact-contract.md).
74
- Resolve declared bindings against actual host tools; missing accounts/MCP/access remain unavailable.
75
- Reuse recorded storage and source-write scope, verify revisions and maintain docs/spec/UI with each change.
67
+
68
+ Review the diff, run project tests and restart/reload your AI session if needed. With a global install,
69
+ upgrade the CLI first. Keep project context in `.harness/local.md`; do not edit managed skills.
70
+
71
+ For cloud work, the connected workspace must contain the installed project files and application tools;
72
+ commit the snapshot to the working branch when the host obtains code from Git. Local-only files,
73
+ credentials and MCP access are not automatically available remotely. Configure authorized connections
74
+ through the host, then record source/output policies in [Artifact contracts](../artifact-contract.md).
75
+
76
+ Official discovery references checked 2026-10-13; native login, cloud access and live-agent behavior
77
+ were not tested here.
@@ -1,57 +1,49 @@
1
1
  # Claude Code
2
2
 
3
- Install/authenticate with [official setup](https://code.claude.com/docs/en/setup), then follow
4
- [common setup](README.md) and launch `claude` at the repository root.
3
+ ## Install and open
4
+
5
+ 1. Install/sign in using [official Claude Code setup](https://code.claude.com/docs/en/setup).
6
+ 2. Run [common setup](README.md) in your project root.
7
+ 3. Run `claude` from that same root.
8
+
9
+ ## Load and verify
10
+
11
+ Direct `AGENTS.md` support requires Claude Code v2.1.277+ and the relevant instruction setting/plugin.
12
+ By default, an existing `CLAUDE.md`, `.claude/CLAUDE.md` or `CLAUDE.local.md` in the working directory
13
+ or its ancestors can prevent direct loading.
14
+
15
+ For a compatibility bridge, add this line outside code fences to the root `CLAUDE.md`; create it
16
+ if absent and keep existing content:
5
17
 
6
- ## Instructions
7
- Current Claude documentation describes direct AGENTS.md support with version/configuration conditions.
8
- If direct discovery is unavailable, add the following import to an existing project CLAUDE.md, or
9
- create the file if absent, without discarding any other content:
10
18
  ```markdown
11
19
  @AGENTS.md
12
20
  ```
13
- Check the host's loaded project instructions and nested/global files. Keep one canonical AGENTS;
14
- do not add a hook that prints a duplicate copy. The import remains a documented compatibility option.
21
+
22
+ An import inside `.claude/CLAUDE.md` uses `@../AGENTS.md` instead.
23
+ In Claude's chat, use `/context` to inspect loaded memory files, then run the
24
+ [read-only setup prompt](README.md#3-check-loading-then-give-a-task).
25
+ Organization policies may restrict loading; an import does not bypass them.
15
26
 
16
27
  ## Skills
17
- Claude documents .claude/skills for project skills. Harness does not assume .agents/skills is a native
18
- Claude skill location. Manual canonical loading from AGENTS instructions works without slash registration.
19
- If you want native invocation for a selected skill, create a small project-owned wrapper at
20
- .claude/skills/harness-product-mvp-definition/SKILL.md:
21
- ```markdown
22
- ---
23
- name: harness-product-mvp-definition
24
- description: Define an MVP using this project's installed AI Harness instructions.
25
- ---
26
- Read the applicable AGENTS.md and then the canonical project file
27
- .agents/skills/harness-product-mvp-definition/SKILL.md. Follow its procedure and handoff;
28
- keep actual owner decisions and verification status explicit.
29
- ```
30
- Then use `/harness-product-mvp-definition` in a supporting session. This wrapper is a pointer,
31
- not a copied skill body; maintain only needed wrappers and preserve existing native skills.
32
-
33
- ## Verify and use
34
- Run the [read-only smoke prompt](README.md) before an implementation task. Check actual paths and
35
- known decisions, then use the idea/document/SA/maintain prompts on that page. If discovery is missing,
36
- ask to read the exact installed `.agents/skills/harness-*/SKILL.md` relevant to the task; do not paste
37
- all skill bodies. Application commands come from local.md/environment.json and actual build files.
38
- Follow host permission settings; no instruction creates missing account, network or tool access.
39
-
40
- ## Update / troubleshooting
41
- Use the common reviewed CLI/snapshot update procedure. Preserve existing project/global host config,
42
- review nested instructions and restart/reload the host when discovery changes. A Harness integrity
43
- check is separate from host discovery, app build or behavioral compliance. Native client login/setup
44
- was not exercised here; official references below establish the documented discovery mechanism.
45
-
46
- ## Official references (checked 2026-10-12)
47
- - [Memory, AGENTS and imports](https://code.claude.com/docs/en/memory)
48
- - [Project skills and invocation](https://code.claude.com/docs/en/skills)
49
-
50
- ## Native model configuration
51
- Use [Agent preferences](../agent-configuration.md) with an explicitly available Anthropic model or
52
- reviewed host mapping. OpenAI Sol/Astra preferences cannot run directly in Claude Code. Native model
53
- selection follows [official model config](https://code.claude.com/docs/en/model-config); use /model and
54
- client-supported effort controls, preserving existing settings/authentication. Native per-role agents
55
- use [official subagent format](https://code.claude.com/docs/en/sub-agents) in .claude/agents with model
56
- and supported effort settings. Role contracts can be referenced by a short instruction. aih does not
57
- write these files, infer account access or equate native Claude reasoning with OpenAI reasoning.
28
+
29
+ Claude's native project skills live in `.claude/skills`, not Harness's `.agents/skills`.
30
+ The basic setup works by asking Claude to read the needed canonical skill.
31
+ For native slash invocation, use a small pointer wrapper rather than copying the skill body.
32
+
33
+ The agent-first CLI adds opt-in `init/update --link-claude` for a managed import and
34
+ `--claude-skills` for wrappers. These flags are unreleased from the 0.12.0 npm baseline:
35
+ use them only with a reviewed source/new release that supports them. Without either flag,
36
+ Harness does not edit Claude files. See [Agent-first guide](../agent-first.md).
37
+
38
+ ## Optional configuration
39
+
40
+ Use [Agent configuration](../agent-configuration.md) only when needed; keep existing settings.
41
+ Models, native agents and access remain Claude-controlled, not selected automatically by a role.
42
+
43
+ ## Official references
44
+
45
+ Checked 2026-10-13; no logged-in Claude client or live-agent smoke was run.
46
+
47
+ - [Memory, AGENTS conditions and imports](https://code.claude.com/docs/en/memory)
48
+ - [Native skills](https://code.claude.com/docs/en/skills)
49
+ - [Models](https://code.claude.com/docs/en/model-config)
@@ -1,44 +1,32 @@
1
- # Codex CLI and IDE
2
-
3
- Install/authenticate Codex from [official CLI](https://developers.openai.com/codex/cli/) or
4
- [IDE extension](https://developers.openai.com/codex/ide/), then follow [common setup](README.md).
5
- Launch `codex` or open the IDE at the initialized repository root.
6
-
7
- ## Instructions and skills
8
- Codex reads AGENTS.md through its project hierarchy and can prefer AGENTS.override.md. Inspect
9
- applicable global/nested overrides when behavior differs; do not overwrite user defaults.
10
- Harness exposes declared skills in .agents/skills, the documented repository skill path. Start a new
11
- session after setup/update if needed; ask for one installed skill by name or canonical path.
12
- Markdown role contracts in .harness/core/agents and selected capabilities are read by the host;
13
- they are not automatically installed as native Codex subagents. .harness/local.md remains project context.
14
-
15
- ## Verify and use
16
- Run the [read-only smoke prompt](README.md) before an implementation task. Check actual paths and
17
- known decisions, then use the idea/document/SA/maintain prompts on that page. If discovery is missing,
18
- ask to read the exact installed `.agents/skills/harness-*/SKILL.md` relevant to the task; do not paste
19
- all skill bodies. Application commands come from local.md/environment.json and actual build files.
20
- Follow host permission settings; no instruction creates missing account, network or tool access.
21
-
22
- ## Update / troubleshooting
23
- Use the common reviewed CLI/snapshot update procedure. Preserve existing project/global host config,
24
- review nested instructions and restart/reload the host when discovery changes. A Harness integrity
25
- check is separate from host discovery, app build or behavioral compliance. Native client login/setup
26
- was not exercised here; official references below establish the documented discovery mechanism.
27
-
28
- ## Official references (checked 2026-10-12)
29
- - [AGENTS discovery](https://learn.chatgpt.com/docs/agent-configuration/agents-md)
30
- - [Skill discovery](https://learn.chatgpt.com/docs/build-skills)
1
+ # Codex
2
+
3
+ ## Install and open
4
+
5
+ 1. Install/sign in using the [official quickstart](https://developers.openai.com/codex/quickstart/).
6
+ 2. Run [common setup](README.md) in your project root.
7
+ 3. Open that project in the Codex IDE extension, or run `codex` there.
8
+
9
+ For a connected cloud workspace, commit the Harness snapshot to the branch used by the host.
10
+ Cloud execution also needs the project's build tools and authorized repository access.
11
+
12
+ ## Load and verify
13
+
14
+ Codex discovers root/applicable nested `AGENTS.md` and repository `.agents/skills`.
15
+ An `AGENTS.override.md` can take precedence in the same directory; inspect it when instructions differ.
16
+ Do not add a duplicate rule file or change global configuration just to start.
31
17
 
32
- ## Native model configuration
33
- Follow [Agent preferences](../agent-configuration.md), then verify model access and supported effort.
34
- The official [config guide](https://learn.chatgpt.com/docs/config-file/config-basic) supports a reviewed
35
- merge into .codex/config.toml for CLI/IDE:
36
- ```toml
37
- model = "gpt-6.1-sol"
38
- model_reasoning_effort = "medium"
39
- ```
40
- For deliberate native agents use the current [subagent guide](https://learn.chatgpt.com/docs/agent-configuration/subagents).
41
- Standalone .codex/agents/*.toml uses name, description and developer_instructions, with optional model
42
- and model_reasoning_effort. Keep a small instruction pointing to the installed role/skill, not duplicated
43
- bodies. No files are generated/applied by aih; actual schema/client/account and thread-limit semantics
44
- must be checked. A normal session does not switch model automatically per Harness role.
18
+ Start a new session after installation if needed. Run the [read-only setup prompt](README.md#3-check-loading-then-give-a-task)
19
+ and compare its paths/selections with your files. Ask for the needed skill by name or exact path.
20
+
21
+ ## Optional configuration
22
+
23
+ The host chooses models and actual subagents; Harness role files do not create native agents.
24
+ See [Agent configuration](../agent-configuration.md) only when you need custom routing.
25
+ Keep existing native settings and permissions; no model subscription or tool access is supplied by Harness.
26
+
27
+ ## Official references
28
+
29
+ Checked 2026-10-13; no logged-in Codex client or live-agent smoke was run.
30
+
31
+ - [AGENTS discovery and verification](https://learn.chatgpt.com/docs/agent-configuration/agents-md)
32
+ - [Skill discovery](https://learn.chatgpt.com/docs/build-skills)
@@ -1,42 +1,39 @@
1
- # GitHub Copilot IDE and CLI
1
+ # GitHub Copilot
2
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).
3
+ ## Install and open
4
+
5
+ 1. Install/sign in using [official Copilot docs](https://docs.github.com/en/copilot).
6
+ 2. Run [common setup](README.md) in your project root.
7
+ 3. Open the project in your IDE's supported Agent mode, or launch `copilot` from that root.
8
+
9
+ ## Load instructions
10
+
11
+ Instruction support differs by client. VS Code documents `AGENTS.md`; do not assume every IDE behaves
12
+ the same way. For a client needing a bridge, add this to the existing
13
+ `.github/copilot-instructions.md` (create it if absent, preserving other instructions):
6
14
 
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
15
  ```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.
16
+ Read the applicable AGENTS.md and .harness/local.md before implementation.
17
+ Use only the relevant installed skill from .agents/skills and report actual verification.
14
18
  ```
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.
19
+
20
+ This is a request to read files, not a content import. Run the
21
+ [read-only setup prompt](README.md#3-check-loading-then-give-a-task) and compare with actual files.
22
+
23
+ ## Check skills
24
+
25
+ Copilot CLI documents `.agents/skills`. Inside the CLI chat, run `/skills reload`, then
26
+ `/skills info <installed-skill-name>`. IDE skill support depends on the actual client/version;
27
+ when discovery is unavailable, ask the agent to read the canonical file explicitly.
28
+
29
+ ## Optional configuration
30
+
31
+ Keep existing client settings. Model choice, native agents and permissions remain host-controlled;
32
+ see [Agent configuration](../agent-configuration.md).
33
+
34
+ ## Official references
35
+
36
+ Checked 2026-10-13; no logged-in Copilot client or live-agent smoke was run.
37
+
38
+ - [Instructions by IDE](https://docs.github.com/en/copilot/how-tos/copilot-in-your-ide/customize-copilot/configure-custom-instructions/add-repository-instructions-in-your-ide)
39
+ - [CLI skill paths and loading checks](https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/add-skills)
@@ -1,44 +1,29 @@
1
1
  # Cursor
2
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)
3
+ ## Install and open
4
+
5
+ 1. Install/sign in using [official Cursor docs](https://cursor.com/docs).
6
+ 2. Open your project folder in Cursor; use its integrated terminal for [common setup](README.md).
7
+ 3. Start an Agent chat in that same workspace.
8
+
9
+ ## Load and verify
10
+
11
+ Cursor supports root/nested `AGENTS.md` and project `.agents/skills`; no extra rule is needed for normal setup.
12
+ Preserve existing `.cursor/rules` and inspect their scope if instructions conflict.
13
+
14
+ Open **Customize → Skills** to inspect discovered skills, then run the
15
+ [read-only setup prompt](README.md#3-check-loading-then-give-a-task). If an installed skill is missing,
16
+ reload the session or ask Agent to read its exact canonical file.
38
17
 
39
- ## Agent routing
18
+ ## Optional configuration
40
19
 
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.
20
+ Model/account choices and native delegation remain host-controlled; see [Agent configuration](../agent-configuration.md).
21
+ For cloud work, commit the installed project files to the connected branch. Do not assume personal skills,
22
+ local files or credentials are available remotely; see the official skill guide's cloud limitations.
23
+
24
+ ## Official references
25
+
26
+ Checked 2026-10-13; no logged-in Cursor client or live-agent smoke was run.
27
+
28
+ - [Rules and AGENTS](https://cursor.com/docs/rules)
29
+ - [Skills, discovery and cloud scope](https://cursor.com/docs/skills)
@@ -1,41 +1,37 @@
1
1
  # Gemini CLI
2
2
 
3
- Install/authenticate from [official docs](https://geminicli.com/docs/), follow [common setup](README.md)
4
- and launch `gemini` at the initialized root.
3
+ ## Install and open
4
+
5
+ 1. Install/sign in using [official Gemini CLI docs](https://geminicli.com/docs/).
6
+ 2. Run [common setup](README.md) in your project root.
7
+ 3. In the existing root `GEMINI.md`, add the following line outside code fences. Create the file if
8
+ absent; preserve its other content:
5
9
 
6
- ## Instructions and skills
7
- Gemini uses GEMINI.md by default. Merge an import into the existing root GEMINI.md if needed:
8
10
  ```markdown
9
11
  @./AGENTS.md
10
12
  ```
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.
13
+
14
+ 4. Run `gemini` from that project root.
15
+
16
+ ## Load and verify
17
+
18
+ Gemini uses `GEMINI.md` by default. Inside its chat, run `/memory reload`, then `/memory show`
19
+ to check imported instructions. It also discovers workspace `.agents/skills` as a native alias:
20
+ use `/skills reload` and `/skills list` to inspect them.
21
+
22
+ Run the [read-only setup prompt](README.md#3-check-loading-then-give-a-task).
23
+ Do not duplicate skills into `.gemini/skills` or replace existing settings.
24
+
25
+ ## Optional configuration
26
+
27
+ Instead of the import, an existing `context.fileName` setting can include `AGENTS.md`.
28
+ Choose one route and preserve other context names.
29
+ Model/provider choices remain native to Gemini; see [Agent configuration](../agent-configuration.md).
30
+ Harness does not supply credentials or create native subagents.
31
+
32
+ ## Official references
33
+
34
+ Checked 2026-10-13; no logged-in Gemini client or live-agent smoke was run.
35
+
36
+ - [Context files, imports and memory checks](https://geminicli.com/docs/cli/gemini-md/)
37
+ - [Skill aliases and loading checks](https://geminicli.com/docs/cli/skills/)
@@ -0,0 +1,55 @@
1
+ # Kiro
2
+
3
+ ## Install and open
4
+
5
+ 1. Install/sign in using [official Kiro installation](https://kiro.dev/docs/getting-started/installation/).
6
+ Choose the IDE or CLI for your environment.
7
+ 2. Run [common setup](README.md) in your project root.
8
+ 3. Open that folder in Kiro IDE and start a chat, or run `kiro-cli chat` from the same root.
9
+
10
+ ## Load and verify
11
+
12
+ Kiro documents automatic root/nested `AGENTS.md` loading. Keep existing `.kiro/steering` files;
13
+ you do not need to generate another full set of steering docs just to use Harness.
14
+
15
+ Run the [read-only setup prompt](README.md#3-check-loading-then-give-a-task).
16
+ Ask Kiro to read the needed `.agents/skills/<installed-name>/SKILL.md` explicitly.
17
+ The official native skill path is `.kiro/skills`; this guide does not assume native discovery of
18
+ Harness's `.agents/skills`.
19
+
20
+ ## Optional native skill pointer
21
+
22
+ For slash invocation, create a project-owned file
23
+ `.kiro/skills/harness-review/SKILL.md` without replacing existing files:
24
+
25
+ ```markdown
26
+ ---
27
+ name: harness-review
28
+ description: Review this project's changes against its installed Harness instructions.
29
+ ---
30
+ Read AGENTS.md and .harness/local.md, then read and follow
31
+ .agents/skills/harness-review/SKILL.md.
32
+ Report findings, missing evidence and actual verification without changing files.
33
+ ```
34
+
35
+ In Kiro IDE, inspect **Agent Steering & Skills** and the `/` skill menu.
36
+ Verify the pointer actually loads the canonical skill in your session.
37
+ Custom agents require explicit steering/skill resources; follow the official docs for your client.
38
+ The pointer is yours to maintain; Harness does not generate, update or drift-check Kiro files.
39
+
40
+ ## Optional cloud/spec work
41
+
42
+ For Kiro Web, commit the Harness files to its connected branch; verify workspace/tool access.
43
+ Local steering, credentials and MCP connections are not automatically available in the cloud.
44
+ When using Kiro Specs, declare which documents are canonical and their write scope in
45
+ [Artifact contracts](../artifact-contract.md); do not silently create a competing source of truth.
46
+
47
+ Models and permissions remain Kiro-controlled; see [Agent configuration](../agent-configuration.md).
48
+
49
+ ## Official references
50
+
51
+ Checked 2026-10-13; no logged-in Kiro IDE/CLI/Web or live-agent smoke was run.
52
+
53
+ - [CLI setup and commands](https://kiro.dev/docs/cli/setup/)
54
+ - [Steering, AGENTS and custom-agent scope](https://kiro.dev/docs/steering/)
55
+ - [Skills, native locations and resources](https://kiro.dev/docs/skills/)