@apptoolkit/harness 1.0.3 → 1.0.4
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/LICENSE +21 -0
- package/README.md +17 -48
- package/harness.js +104 -0
- package/package.json +84 -24
- package/payload/HARNESS.md +21 -0
- package/payload/author-style/README.md +56 -0
- package/payload/author-style/biome-core.json +57 -0
- package/payload/author-style/biome-react.json +9 -0
- package/payload/author-style/biome-sql.json +9 -0
- package/payload/author-style/bun.lock +37 -0
- package/payload/author-style/check.llm.md +17 -0
- package/payload/author-style/check.test.llm.md +17 -0
- package/payload/author-style/check.test.ts +238 -0
- package/payload/author-style/check.ts +181 -0
- package/payload/author-style/member-spacing.test.ts +172 -0
- package/payload/author-style/member-spacing.ts +106 -0
- package/payload/author-style/package.json +18 -0
- package/payload/author-style/plugins/class-member-order.grit +133 -0
- package/payload/author-style/plugins/event-handler-names.grit +110 -0
- package/payload/author-style/plugins/explicit-arrow-body.grit +15 -0
- package/payload/author-style/plugins/explicit-source-constructs.grit +10 -0
- package/payload/author-style/plugins/react-arrow-body.grit +85 -0
- package/payload/author-style/plugins/sql-style.grit +125 -0
- package/payload/author-style/react-module.llm.md +17 -0
- package/payload/author-style/react-module.test.ts +150 -0
- package/payload/author-style/react-module.ts +255 -0
- package/payload/author-style/source-policy.llm.md +17 -0
- package/payload/author-style/source-policy.test.ts +82 -0
- package/payload/author-style/source-policy.ts +238 -0
- package/payload/author-style/spacing.llm.md +17 -0
- package/payload/author-style/spacing.test.ts +174 -0
- package/payload/author-style/spacing.ts +211 -0
- package/payload/harness/POLICY.md +33 -0
- package/payload/harness/PROJECT.md +26 -0
- package/payload/harness/REVIEW.md +17 -0
- package/payload/harness/TEMPLATES.md +20 -0
- package/payload/harness/WORKFLOWS.md +65 -0
- package/payload/harness/runtime/ZOD-LICENSE +21 -0
- package/payload/harness/runtime/harness.mjs +104 -0
- package/payload/harness/services/README.md +26 -0
- package/payload/harness/services/penpot.json +7 -0
- package/payload/harness/services/plane.json +9 -0
- package/payload/harness/workflows/W01.md +13 -0
- package/payload/harness/workflows/W02.md +13 -0
- package/payload/harness/workflows/W03.md +13 -0
- package/payload/harness/workflows/W04.md +13 -0
- package/payload/harness/workflows/W05.md +13 -0
- package/payload/harness/workflows/W06.md +13 -0
- package/payload/harness/workflows/W07.md +13 -0
- package/payload/harness/workflows/W08.md +13 -0
- package/payload/harness/workflows/W09.md +13 -0
- package/payload/harness/workflows/W10.md +13 -0
- package/payload/harness/workflows/W11.md +13 -0
- package/payload/harness/workflows/W12.md +13 -0
- package/payload/harness/workflows/W13.md +13 -0
- package/payload/harness/workflows/W14.md +13 -0
- package/payload/harness/workflows/W15.md +13 -0
- package/payload/harness/workflows/W16.md +13 -0
- package/payload/harness/workflows/W17.md +13 -0
- package/payload/harness/workflows/W18.md +13 -0
- package/payload/harness/workflows/W19.md +13 -0
- package/payload/harness/workflows/W20.md +13 -0
- package/payload/harness/workflows/W21.md +15 -0
- package/payload/harness/workflows/W22.md +13 -0
- package/payload/harness/workflows/W23.md +21 -0
- package/payload/harness/workflows/W24.md +13 -0
- package/payload/harness/workflows/W25.md +13 -0
- package/payload/harness/workflows/W26.md +13 -0
- package/payload/harness/workflows/W27.md +13 -0
- package/payload/harness/workflows/W28.md +13 -0
- package/payload/harness/workflows/W29.md +13 -0
- package/payload/harness/workflows/W30.md +13 -0
- package/payload/harness/workflows/W31.md +13 -0
- package/payload/harness/workflows/W32.md +13 -0
- package/payload/harness/workflows/W33.md +13 -0
- package/payload/harness/workflows/W34.md +13 -0
- package/payload/harness/workflows/W35.md +13 -0
- package/payload/harness/workflows/W36.md +13 -0
- package/payload/harness/workflows/W37.md +13 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 AppToolkit contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,64 +1,33 @@
|
|
|
1
|
-
#
|
|
1
|
+
# AppToolkit Harness
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
AppToolkit Harness installs project guidance, deterministic verification tools and 37 reusable engineering workflows for Codex, Claude Code and OpenCode. It supports new projects, existing repositories and a shared harness for related repositories.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
The product source is in [`src/harness/`](src/harness/), the author style source is in [`src/author-style/`](src/author-style/) and the acquisition utilities are in [`src/acquisition/`](src/acquisition/). The [development and local installation guide](docs/harness-release-verification.md#first-installation-in-this-repository) explains how to try the unpublished package in this repository. The [`llm/` catalog](llm/README.md) also documents the development commands.
|
|
8
|
-
|
|
9
|
-
Develop and build with Bun. The npm artifact runs through `npx` or `bunx`, and `rtk proxy bun run build:harness:native` compiles the installer into a host executable for direct use.
|
|
10
|
-
|
|
11
|
-
Run the public installer from the target directory.
|
|
5
|
+
Use macOS or Linux with Bun 1.4.2 or later, or Node.js 24 or later with npm. Use Git for versioned projects and RTK for project tooling. Run the installer from the target directory using one of these commands.
|
|
12
6
|
|
|
13
7
|
```sh
|
|
14
8
|
rtk proxy bunx --bun @apptoolkit/harness install
|
|
9
|
+
rtk proxy npx @apptoolkit/harness install
|
|
15
10
|
```
|
|
16
11
|
|
|
17
|
-
|
|
12
|
+
`bunx --bun` selects Bun even when Node.js is absent. Plain `bunx` also works when Node.js is on `PATH`.
|
|
18
13
|
|
|
19
|
-
|
|
20
|
-
- [Raw acquisition index](raw/2026-11-04/README.md)
|
|
21
|
-
- [Coverage and limitations](docs/coverage.md)
|
|
22
|
-
- [Proposed gradual processing plan](docs/processing-plan.md)
|
|
23
|
-
- [Derived coverage workspace](processing/README.md)
|
|
24
|
-
- [Completed stage 1 coverage](docs/stage1-coverage.md)
|
|
25
|
-
- [Stage 2 writing and communication pilot](docs/stage2-pilot.md)
|
|
26
|
-
- [Stage 2 second extraction batch](docs/stage2-batch2.md)
|
|
27
|
-
- [Stage 2 third extraction batch](docs/stage2-batch3.md)
|
|
28
|
-
- [Stage 2 fourth extraction batch](docs/stage2-batch4.md)
|
|
29
|
-
- [Stage 2 fifth extraction batch](docs/stage2-batch5.md)
|
|
30
|
-
- [Stage 2 sixth extraction batch](docs/stage2-batch6.md)
|
|
31
|
-
- [Stage 2 seventh extraction batch](docs/stage2-batch7.md)
|
|
32
|
-
- [Stage 2 eighth extraction batch](docs/stage2-batch8.md)
|
|
33
|
-
- [Stage 2 ninth extraction batch](docs/stage2-batch9.md)
|
|
34
|
-
- [Stage 2 continuous extraction, first checkpoint](docs/stage2-continuous01.md)
|
|
35
|
-
- [Stage 2 continuous extraction, second checkpoint](docs/stage2-continuous02.md)
|
|
36
|
-
- [Stage 2 continuous extraction, third checkpoint](docs/stage2-continuous03.md)
|
|
37
|
-
- [Stage 2 continuous extraction, fourth checkpoint](docs/stage2-continuous04.md)
|
|
38
|
-
- [Stage 2 continuous extraction, fifth checkpoint](docs/stage2-continuous05.md)
|
|
39
|
-
- [Stage 2 continuous extraction, sixth checkpoint](docs/stage2-continuous06.md)
|
|
40
|
-
- [Stage 2 continuous extraction, seventh checkpoint](docs/stage2-continuous07.md)
|
|
41
|
-
- [Stage 2 continuous extraction, eighth checkpoint](docs/stage2-continuous08.md)
|
|
42
|
-
- [Stage 2 primary PDF source integration](docs/stage2-primary-pdf.md)
|
|
43
|
-
- [Stage 2 continuous extraction, ninth checkpoint](docs/stage2-continuous09.md)
|
|
44
|
-
- [Stage 2 continuous extraction, tenth mixed source checkpoint](docs/stage2-continuous10.md)
|
|
45
|
-
- [Stage 2 continuous extraction, eleventh checkpoint](docs/stage2-continuous11.md)
|
|
46
|
-
- [Tool catalog](llm/README.md)
|
|
14
|
+
Choose the agents with the arrow keys and Space, then press Enter. Select the repository and service options and review the summary before applying. Open the same directory in your agent and run `$apptoolkit init` in Codex or `/apptoolkit init` in Claude Code or OpenCode. The installed `llm/HARNESS.md` is the shared entry point.
|
|
47
15
|
|
|
48
|
-
|
|
16
|
+
In a directory of related repositories, start the agent in the parent directory. The central harness keeps shared decisions and scoped repository context. Use `$apptoolkit add repo <path>` or `/apptoolkit add repo <path>` after cloning another repository. Repositories can keep their own guidance and toolchain.
|
|
49
17
|
|
|
50
|
-
|
|
18
|
+
To preview an installation in a noninteractive session, inspect the target and supply the explicit choices.
|
|
51
19
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
20
|
+
```sh
|
|
21
|
+
rtk proxy bunx --bun @apptoolkit/harness inspect --root /absolute/workspace --json
|
|
22
|
+
rtk proxy bunx --bun @apptoolkit/harness install --root /absolute/workspace --hosts codex,claude,opencode --local --repo-mode .=local --plan --json
|
|
23
|
+
```
|
|
55
24
|
|
|
56
|
-
|
|
25
|
+
Use `--plan --json` with explicit choices when you need the exact file changes. Use `--yes` in place of `--plan` to apply a reviewed noninteractive plan. Select the workspace mode separately from each Git repository's generated files. Local mode uses the repository's `info/exclude` metadata for the planned files. Use `--repo-mode <path>=local|versioned` for each selected Git repository.
|
|
57
26
|
|
|
58
|
-
|
|
27
|
+
Use `rtk proxy bunx --bun @apptoolkit/harness@latest update --plan --json` or `rtk proxy npx @apptoolkit/harness@latest update --plan --json` to preview a release update. The updater checks managed files against the installation receipt. Resolve reported conflicts before applying the update. Keep project decisions in the installed local profile, and review the affected paths and version before applying.
|
|
59
28
|
|
|
60
|
-
|
|
29
|
+
Plane and Penpot are separate opt-ins. To make a provider available after installation, preview an update with `--enable-service plane` or `--enable-service penpot`, apply it, and complete the project connection through `init`. The installed runbooks explain instance setup, private credentials, authorization and readiness checks. Snapshot verification requires a versioned harness and project-level opt-in. Use Bun to install the isolated Biome dependency before first using the author style profile.
|
|
61
30
|
|
|
62
|
-
|
|
31
|
+
The installed local CLI reads the workflow index, retrieves one workflow at a time and checks Markdown against a local document policy. See `llm/HARNESS.md` for the exact commands. The agent records which operations are configured and which were verified in the current environment.
|
|
63
32
|
|
|
64
|
-
|
|
33
|
+
Distributed under the MIT license.
|