@manhd_d/ai-harness 0.12.0 → 0.14.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 +35 -0
- package/README.md +28 -37
- 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/bin/aih.js +1 -1
- 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 +78 -20
- package/cli/main.js +51 -15
- package/cli/maven.js +28 -0
- package/cli/portable-config.js +121 -0
- package/cli/start-config.js +15 -0
- package/cli/start.js +138 -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 +44 -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/project-setup.md +18 -0
- package/core/workflows/spec-to-code.md +1 -1
- package/docs/README.md +6 -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 +14 -0
- package/docs/cli.md +21 -0
- package/docs/configuration-backup.md +122 -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 +9 -6
- package/docs/i18n/README.es.md +35 -0
- package/docs/i18n/README.vi.md +21 -43
- package/docs/i18n/README.zh-CN.md +35 -0
- package/docs/project-configuration.md +9 -1
- package/docs/skill-matrix.md +7 -7
- package/docs/start.md +38 -0
- 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 +24 -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 +20 -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
package/docs/skill-matrix.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Skill matrix —
|
|
1
|
+
# Skill matrix — 66 skills, 15 nhóm module
|
|
2
2
|
|
|
3
|
-
Đây là bảng tra cứu **ID thật** theo `SKILL.md` trong source trên `main` (6 Core, 42 capability,
|
|
3
|
+
Đây là bảng tra cứu **ID thật** theo `SKILL.md` trong source trên `main` (6 Core, 42 capability, 18 adapter). Dùng khi cần chuyển từ [Full SDLC](end-to-end-workflow.md) tới một skill cụ thể, không nạp toàn bộ 66 skill vào prompt.
|
|
4
4
|
|
|
5
5
|
**Cách dùng:** `aih skills` xem skills đã cài, sau đó `aih skill harness-...` lấy nội dung. Danh mục này mô tả chức năng; **không** có nghĩa `aih` thực thi skills hoặc agent. Tech adapters và capabilities chỉ xuất hiện trong consumer khi được chọn; Core dùng chung.
|
|
6
6
|
|
|
@@ -84,8 +84,6 @@
|
|
|
84
84
|
|
|
85
85
|
| Skill ID (nguồn) | Khi nào dùng | Mục đích | Output mong đợi |
|
|
86
86
|
| --- | --- | --- | --- |
|
|
87
|
-
| [`harness-java-spring-database-migration`](../adapters/java-spring/skills/harness-java-spring-database-migration/SKILL.md) | DB change | Expand/migrate/contract theo release tương thích | Versioned migration và recovery evidence |
|
|
88
|
-
| [`harness-java-spring-kafka-outbox`](../adapters/java-spring/skills/harness-java-spring-kafka-outbox/SKILL.md) | Async events | Outbox transaction và consumer dedupe | Event implementation + failure tests |
|
|
89
87
|
| [`harness-java-spring-spring-api`](../adapters/java-spring/skills/harness-java-spring-spring-api/SKILL.md) | Backend API | Authorization resource scoped, API contract | Endpoint + auth/contract tests |
|
|
90
88
|
|
|
91
89
|
## React / Next.js adapter (4)
|
|
@@ -114,7 +112,7 @@
|
|
|
114
112
|
| [`harness-ai-python-tool-safety`](../adapters/ai-python/skills/harness-ai-python-tool-safety/SKILL.md) | Agent tools | Bounded tools, explicit auth, no escalation | Policy wrapper + security tests |
|
|
115
113
|
|
|
116
114
|
|
|
117
|
-
## Astro adapter (
|
|
115
|
+
## Astro adapter (4)
|
|
118
116
|
|
|
119
117
|
| Skill ID (nguồn) | Khi nào dùng | Mục đích | Output mong đợi |
|
|
120
118
|
| --- | --- | --- | --- |
|
|
@@ -122,8 +120,6 @@
|
|
|
122
120
|
| [`harness-astro-islands`](../adapters/astro/skills/harness-astro-islands/SKILL.md) | React Islands | Hydrate tương tác có chọn lọc, không nhầm Islands với MFE | Island component và UX tests |
|
|
123
121
|
| [`harness-astro-seo`](../adapters/astro/skills/harness-astro-seo/SKILL.md) | SEO | Metadata, sitemap, nội dung hữu ích và a11y | Trang có metadata và kiểm chứng HTML |
|
|
124
122
|
| [`harness-astro-performance`](../adapters/astro/skills/harness-astro-performance/SKILL.md) | Performance | JS budget, lazy loading, Web Vitals thực đo | Benchmark/build evidence |
|
|
125
|
-
| [`harness-astro-cloudflare`](../adapters/astro/skills/harness-astro-cloudflare/SKILL.md) | Deploy | Static/CDN trước, Workers khi cần backend có kiểm soát | Kế hoạch Cloudflare và approval |
|
|
126
|
-
| [`harness-astro-microfrontend`](../adapters/astro/skills/harness-astro-microfrontend/SKILL.md) | Scale | Lộ trình tách công cụ thành deploy riêng nếu thực cần | ADR/MFE migration checklist |
|
|
127
123
|
|
|
128
124
|
## Kubernetes adapter (3)
|
|
129
125
|
|
|
@@ -168,3 +164,7 @@ Product → Architecture → Delivery → Core/adapter uses [Solution workflow](
|
|
|
168
164
|
## Continuous development
|
|
169
165
|
|
|
170
166
|
[Continuous development](continuous-development.md) composes existing Core spec/debugging/tdd/verification/review with Product business-analysis/acceptance-criteria/traceability/backlog/TechSpec, Architecture change-impact and Delivery scope-change skills. Only affected perspectives are loaded; no new role or skill is required.
|
|
167
|
+
|
|
168
|
+
## Selective Product profiles
|
|
169
|
+
|
|
170
|
+
Analysis exposes 11 and Discovery 5 canonical Product skills. IDs and source ownership stay Product; selecting both or the compatibility product bundle exposes each skill once. Profiles add module choices, not duplicate skill IDs. Canonical assets are vendored for valid shared references; this is selective context, not a smaller npm download.
|
package/docs/start.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Bắt đầu một nhiệm vụ
|
|
2
|
+
|
|
3
|
+
**init → start → làm việc trong AI tool.** Sau cài đặt, chạy trong project root:
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npx --yes @manhd_d/ai-harness start
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
Terminal tương tác hỏi mục tiêu và task, input còn thiếu, nơi lưu draft docs khi cần.
|
|
10
|
+
Có cấu hình input/output thì không hỏi lại. Có task đã lưu thì chọn tiếp tục hoặc nhiệm vụ mới;
|
|
11
|
+
model/agent giữ mặc định của host trừ khi bạn muốn cấu hình khác. Lựa chọn được lưu trong
|
|
12
|
+
`.harness/start.json` và `.harness/artifacts.json`; thay cấu hình hiện có tạo backup trước.
|
|
13
|
+
|
|
14
|
+
Không có TTY (CI/pipe), `start` chỉ xuất JSON plan và không chờ stdin hoặc tự ghi lựa chọn.
|
|
15
|
+
Có thể lưu lựa chọn bằng flags:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
aih start --goal docs --task "Implement approved requirements" --input docs/requirements --output docs/specs
|
|
19
|
+
aih start --goal change --task "Fix pagination"
|
|
20
|
+
aih start --goal resume --task "Continue the reviewed task" --change add-order
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Goal: `idea`, `docs`, `change`, `resume`. Resume cần checkpoint/evidence đã có, kiểm tra freshness và
|
|
24
|
+
side effects trước tiếp tục. --input nhận đường dẫn tương đối hoặc HTTPS URL không chứa credentials;
|
|
25
|
+
--output chỉ nhận folder docs tương đối. Flags input/output chỉ seed khi chưa có khai báo; muốn sửa
|
|
26
|
+
nguồn cũ, review artifacts.json trực tiếp. Start không tự đọc tài liệu ngoài repo, không phê duyệt
|
|
27
|
+
nghiệp vụ hay thực thi command/model. Metadata discovery không chứng minh nội dung nguồn đúng.
|
|
28
|
+
|
|
29
|
+
Copy `host_prompt` từ kết quả vào AI tool đang mở cùng project. Host đọc task, cấu hình, nguồn và code;
|
|
30
|
+
hỏi tối đa 1–3 quyết định còn thiếu mỗi lượt với phương án và đề xuất có lý do. Dùng workflow/agent/skill
|
|
31
|
+
phù hợp đã cài; module thiếu phải được đề xuất rõ trước thay selection. Tiếp tục thực hiện khi scope và
|
|
32
|
+
quyền đã đủ. Root-file probes không thay thế khảo sát monorepo hoặc đọc tài liệu trong host.
|
|
33
|
+
|
|
34
|
+
Nếu bạn có nguồn/link/mô tả tự do hoặc cần output bên ngoài, đưa cho AI trong cuộc thảo luận và lưu
|
|
35
|
+
quyết định vào artifacts.json/integrations.json/local.md. Terminal hỏi đáp ngắn; phần BA/thiết kế nằm
|
|
36
|
+
trong AI tool. Không có slash command `/start` chung cho mọi tool ở bản này.
|
|
37
|
+
|
|
38
|
+
[File cấu hình, backup, cài lại và chuyển dự án](configuration-backup.md) · [AI tool setup](tool-setup/README.md).
|
|
@@ -1,75 +1,77 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Set up AI Harness in your AI tool
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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
|
-
|
|
10
|
-
|
|
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
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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
|
-
|
|
|
26
|
+
| AI tool | Install the tool | Load Harness | Guide |
|
|
26
27
|
| --- | --- | --- | --- |
|
|
27
|
-
| Codex CLI/IDE | AGENTS.md
|
|
28
|
-
| Claude Code |
|
|
29
|
-
| Cursor |
|
|
30
|
-
| Copilot |
|
|
31
|
-
| Gemini CLI | GEMINI.md import
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
##
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
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
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
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
|
|
4
|
-
|
|
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
|
-
|
|
14
|
-
|
|
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
|
-
|
|
18
|
-
Claude
|
|
19
|
-
|
|
20
|
-
.
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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)
|
package/docs/tool-setup/codex.md
CHANGED
|
@@ -1,44 +1,32 @@
|
|
|
1
|
-
# Codex
|
|
2
|
-
|
|
3
|
-
Install
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
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
|
|
1
|
+
# GitHub Copilot
|
|
2
2
|
|
|
3
|
-
Install
|
|
4
|
-
|
|
5
|
-
|
|
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
|
-
|
|
12
|
-
|
|
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
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
- [
|
|
35
|
-
- [CLI
|
|
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
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
##
|
|
18
|
+
## Optional configuration
|
|
40
19
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
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)
|