@apptoolkit/harness 1.0.0 → 1.0.1
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/README.md +20 -45
- package/{dist/bun/npm/harness.js → harness.js} +3 -3
- package/package.json +9 -23
- package/{dist/bun/npm/payload → payload}/harness/runtime/harness.mjs +3 -3
- package/dist/apptoolkit-harness-1.0.0.tgz +0 -0
- package/dist/bun/apptoolkit-harness-1.0.0.tgz +0 -0
- package/dist/bun/native/README.md +0 -33
- package/dist/bun/native/harness +0 -4
- package/dist/bun/native/payload/harness/runtime/harness.mjs +0 -104
- package/dist/bun/npm/LICENSE +0 -21
- package/dist/bun/npm/README.md +0 -33
- package/dist/bun/npm/package.json +0 -23
- package/dist/bun/npm/payload/HARNESS.md +0 -21
- package/dist/bun/npm/payload/author-style/README.md +0 -56
- package/dist/bun/npm/payload/author-style/biome-core.json +0 -57
- package/dist/bun/npm/payload/author-style/biome-react.json +0 -9
- package/dist/bun/npm/payload/author-style/biome-sql.json +0 -9
- package/dist/bun/npm/payload/author-style/bun.lock +0 -37
- package/dist/bun/npm/payload/author-style/check.llm.md +0 -17
- package/dist/bun/npm/payload/author-style/check.test.llm.md +0 -17
- package/dist/bun/npm/payload/author-style/check.test.ts +0 -238
- package/dist/bun/npm/payload/author-style/check.ts +0 -181
- package/dist/bun/npm/payload/author-style/member-spacing.test.ts +0 -172
- package/dist/bun/npm/payload/author-style/member-spacing.ts +0 -106
- package/dist/bun/npm/payload/author-style/package.json +0 -18
- package/dist/bun/npm/payload/author-style/plugins/class-member-order.grit +0 -133
- package/dist/bun/npm/payload/author-style/plugins/event-handler-names.grit +0 -110
- package/dist/bun/npm/payload/author-style/plugins/explicit-arrow-body.grit +0 -15
- package/dist/bun/npm/payload/author-style/plugins/explicit-source-constructs.grit +0 -10
- package/dist/bun/npm/payload/author-style/plugins/react-arrow-body.grit +0 -85
- package/dist/bun/npm/payload/author-style/plugins/sql-style.grit +0 -125
- package/dist/bun/npm/payload/author-style/react-module.llm.md +0 -17
- package/dist/bun/npm/payload/author-style/react-module.test.ts +0 -150
- package/dist/bun/npm/payload/author-style/react-module.ts +0 -255
- package/dist/bun/npm/payload/author-style/source-policy.llm.md +0 -17
- package/dist/bun/npm/payload/author-style/source-policy.test.ts +0 -70
- package/dist/bun/npm/payload/author-style/source-policy.ts +0 -215
- package/dist/bun/npm/payload/author-style/spacing.llm.md +0 -17
- package/dist/bun/npm/payload/author-style/spacing.test.ts +0 -174
- package/dist/bun/npm/payload/author-style/spacing.ts +0 -211
- package/dist/bun/npm/payload/harness/POLICY.md +0 -33
- package/dist/bun/npm/payload/harness/PROJECT.md +0 -26
- package/dist/bun/npm/payload/harness/REVIEW.md +0 -17
- package/dist/bun/npm/payload/harness/TEMPLATES.md +0 -20
- package/dist/bun/npm/payload/harness/WORKFLOWS.md +0 -65
- package/dist/bun/npm/payload/harness/runtime/ZOD-LICENSE +0 -21
- package/dist/bun/npm/payload/harness/services/README.md +0 -26
- package/dist/bun/npm/payload/harness/services/penpot.json +0 -7
- package/dist/bun/npm/payload/harness/services/plane.json +0 -9
- package/dist/bun/npm/payload/harness/workflows/W01.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W02.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W03.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W04.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W05.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W06.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W07.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W08.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W09.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W10.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W11.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W12.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W13.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W14.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W15.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W16.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W17.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W18.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W19.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W20.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W21.md +0 -15
- package/dist/bun/npm/payload/harness/workflows/W22.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W23.md +0 -21
- package/dist/bun/npm/payload/harness/workflows/W24.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W25.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W26.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W27.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W28.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W29.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W30.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W31.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W32.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W33.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W34.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W35.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W36.md +0 -13
- package/dist/bun/npm/payload/harness/workflows/W37.md +0 -13
- package/dist/npm/LICENSE +0 -21
- package/dist/npm/README.md +0 -30
- package/dist/npm/harness.js +0 -104
- package/dist/npm/package.json +0 -25
- package/dist/npm/payload/HARNESS.md +0 -21
- package/dist/npm/payload/author-style/README.md +0 -56
- package/dist/npm/payload/author-style/biome-core.json +0 -57
- package/dist/npm/payload/author-style/biome-react.json +0 -9
- package/dist/npm/payload/author-style/biome-sql.json +0 -9
- package/dist/npm/payload/author-style/check.llm.md +0 -17
- package/dist/npm/payload/author-style/check.test.llm.md +0 -17
- package/dist/npm/payload/author-style/check.test.ts +0 -224
- package/dist/npm/payload/author-style/check.ts +0 -179
- package/dist/npm/payload/author-style/member-spacing.test.ts +0 -172
- package/dist/npm/payload/author-style/member-spacing.ts +0 -106
- package/dist/npm/payload/author-style/package-lock.json +0 -180
- package/dist/npm/payload/author-style/package.json +0 -17
- package/dist/npm/payload/author-style/plugins/class-member-order.grit +0 -133
- package/dist/npm/payload/author-style/plugins/event-handler-names.grit +0 -110
- package/dist/npm/payload/author-style/plugins/explicit-arrow-body.grit +0 -15
- package/dist/npm/payload/author-style/plugins/explicit-source-constructs.grit +0 -10
- package/dist/npm/payload/author-style/plugins/react-arrow-body.grit +0 -85
- package/dist/npm/payload/author-style/plugins/sql-style.grit +0 -125
- package/dist/npm/payload/author-style/react-module.llm.md +0 -17
- package/dist/npm/payload/author-style/react-module.test.ts +0 -150
- package/dist/npm/payload/author-style/react-module.ts +0 -255
- package/dist/npm/payload/author-style/source-policy.llm.md +0 -17
- package/dist/npm/payload/author-style/source-policy.test.ts +0 -70
- package/dist/npm/payload/author-style/source-policy.ts +0 -215
- package/dist/npm/payload/author-style/spacing.llm.md +0 -17
- package/dist/npm/payload/author-style/spacing.test.ts +0 -174
- package/dist/npm/payload/author-style/spacing.ts +0 -211
- package/dist/npm/payload/harness/POLICY.md +0 -33
- package/dist/npm/payload/harness/PROJECT.md +0 -26
- package/dist/npm/payload/harness/REVIEW.md +0 -17
- package/dist/npm/payload/harness/TEMPLATES.md +0 -20
- package/dist/npm/payload/harness/WORKFLOWS.md +0 -65
- package/dist/npm/payload/harness/runtime/ZOD-LICENSE +0 -21
- package/dist/npm/payload/harness/runtime/harness.mjs +0 -104
- package/dist/npm/payload/harness/services/README.md +0 -26
- package/dist/npm/payload/harness/services/penpot.json +0 -7
- package/dist/npm/payload/harness/services/plane.json +0 -9
- package/dist/npm/payload/harness/workflows/W01.md +0 -13
- package/dist/npm/payload/harness/workflows/W02.md +0 -13
- package/dist/npm/payload/harness/workflows/W03.md +0 -13
- package/dist/npm/payload/harness/workflows/W04.md +0 -13
- package/dist/npm/payload/harness/workflows/W05.md +0 -13
- package/dist/npm/payload/harness/workflows/W06.md +0 -13
- package/dist/npm/payload/harness/workflows/W07.md +0 -13
- package/dist/npm/payload/harness/workflows/W08.md +0 -13
- package/dist/npm/payload/harness/workflows/W09.md +0 -13
- package/dist/npm/payload/harness/workflows/W10.md +0 -13
- package/dist/npm/payload/harness/workflows/W11.md +0 -13
- package/dist/npm/payload/harness/workflows/W12.md +0 -13
- package/dist/npm/payload/harness/workflows/W13.md +0 -13
- package/dist/npm/payload/harness/workflows/W14.md +0 -13
- package/dist/npm/payload/harness/workflows/W15.md +0 -13
- package/dist/npm/payload/harness/workflows/W16.md +0 -13
- package/dist/npm/payload/harness/workflows/W17.md +0 -13
- package/dist/npm/payload/harness/workflows/W18.md +0 -13
- package/dist/npm/payload/harness/workflows/W19.md +0 -13
- package/dist/npm/payload/harness/workflows/W20.md +0 -13
- package/dist/npm/payload/harness/workflows/W21.md +0 -15
- package/dist/npm/payload/harness/workflows/W22.md +0 -13
- package/dist/npm/payload/harness/workflows/W23.md +0 -21
- package/dist/npm/payload/harness/workflows/W24.md +0 -13
- package/dist/npm/payload/harness/workflows/W25.md +0 -13
- package/dist/npm/payload/harness/workflows/W26.md +0 -13
- package/dist/npm/payload/harness/workflows/W27.md +0 -13
- package/dist/npm/payload/harness/workflows/W28.md +0 -13
- package/dist/npm/payload/harness/workflows/W29.md +0 -13
- package/dist/npm/payload/harness/workflows/W30.md +0 -13
- package/dist/npm/payload/harness/workflows/W31.md +0 -13
- package/dist/npm/payload/harness/workflows/W32.md +0 -13
- package/dist/npm/payload/harness/workflows/W33.md +0 -13
- package/dist/npm/payload/harness/workflows/W34.md +0 -13
- package/dist/npm/payload/harness/workflows/W35.md +0 -13
- package/dist/npm/payload/harness/workflows/W36.md +0 -13
- package/dist/npm/payload/harness/workflows/W37.md +0 -13
- /package/{dist/bun/native/LICENSE → LICENSE} +0 -0
- /package/{dist/bun/native/payload → payload}/HARNESS.md +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/README.md +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/biome-core.json +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/biome-react.json +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/biome-sql.json +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/bun.lock +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/check.llm.md +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/check.test.llm.md +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/check.test.ts +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/check.ts +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/member-spacing.test.ts +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/member-spacing.ts +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/package.json +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/plugins/class-member-order.grit +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/plugins/event-handler-names.grit +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/plugins/explicit-arrow-body.grit +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/plugins/explicit-source-constructs.grit +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/plugins/react-arrow-body.grit +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/plugins/sql-style.grit +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/react-module.llm.md +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/react-module.test.ts +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/react-module.ts +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/source-policy.llm.md +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/source-policy.test.ts +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/source-policy.ts +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/spacing.llm.md +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/spacing.test.ts +0 -0
- /package/{dist/bun/native/payload → payload}/author-style/spacing.ts +0 -0
- /package/{dist/bun/native/payload → payload}/harness/POLICY.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/PROJECT.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/REVIEW.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/TEMPLATES.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/WORKFLOWS.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/runtime/ZOD-LICENSE +0 -0
- /package/{dist/bun/native/payload → payload}/harness/services/README.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/services/penpot.json +0 -0
- /package/{dist/bun/native/payload → payload}/harness/services/plane.json +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W01.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W02.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W03.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W04.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W05.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W06.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W07.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W08.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W09.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W10.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W11.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W12.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W13.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W14.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W15.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W16.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W17.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W18.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W19.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W20.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W21.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W22.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W23.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W24.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W25.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W26.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W27.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W28.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W29.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W30.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W31.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W32.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W33.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W34.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W35.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W36.md +0 -0
- /package/{dist/bun/native/payload → payload}/harness/workflows/W37.md +0 -0
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# W23 Verification and coverage
|
|
2
|
-
|
|
3
|
-
**Trigger**. Verify this change, coverage or source policy.
|
|
4
|
-
|
|
5
|
-
**Authority**. Run approved local checks. Launching remote jobs, changing policies and rewriting golden evidence require their own applicable permission.
|
|
6
|
-
|
|
7
|
-
1. Identify the exact revision, source families, case denominator, applicable stack and established gates. Derive the denominator from the full relevant source inventory, including files no test loaded. For greenfield work, require measurable full coverage for every family and keep uninstrumented scope pending.
|
|
8
|
-
2. Run the native format, lint, type and behavior checks through the project runner. Use the compatible personal style checks for authored TypeScript where the project lacks applicable Biome. Record actual selected, executed, failed, skipped and uncovered cases.
|
|
9
|
-
3. Investigate failing tests and evidence before changing the test or implementation. Keep coverage distinct from deterministic style and independent factual audit and code review. Rerun affected checks after changes.
|
|
10
|
-
|
|
11
|
-
**Result and recovery**. Return reproducible commands, measured scope and results. Flag empty runs, unresolved failures and unmeasured scope, with owner and resume condition.
|
|
12
|
-
|
|
13
|
-
For LCOV evidence, independently inventory the applicable source files and write a scope file with workspace-relative paths and the required metrics. Use the metrics the project's tooling is expected to measure.
|
|
14
|
-
|
|
15
|
-
```json
|
|
16
|
-
{"files":["src/example.ts"],"metrics":["lines","functions","branches"]}
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
Run `rtk proxy bun --no-env-file llm/harness/runtime/harness.mjs verify coverage coverage/lcov.info --config llm/harness/coverage.json` from the installation root, substituting the actual report and scope file. The verifier requires one complete record per expected source, matches declared totals to measured entries, and reports the actual hit and found counts. A selected metric with no measurable entries stays pending. Record the run and source revision separately to establish that the report is fresh.
|
|
20
|
-
|
|
21
|
-
Apply the [operating policy](../POLICY.md) and [project guide](../PROJECT.md). Record reusable decisions and improvements at the appropriate checkpoint.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# W24 Design and visual evidence
|
|
2
|
-
|
|
3
|
-
**Trigger**. Design or verify a visual change or export.
|
|
4
|
-
|
|
5
|
-
**Authority**. Read the approved design and supplied visual evidence. Editing, propagating, replacing a golden artifact and publication are separately scoped.
|
|
6
|
-
|
|
7
|
-
1. Resolve the design authority, exact saved revision, variants, states, accessibility needs and representative consumers. Locate the applicable native tool and permitted operations.
|
|
8
|
-
2. Use a small canary when testing propagation across files or components. Capture before and after evidence, native properties, actual rendered behavior and relevant interactions or exports.
|
|
9
|
-
3. Check affected consumers and verify the exact saved revision. Compare reproducible exports with accepted golden evidence where available. Keep a design proposal separate from an accepted or published design.
|
|
10
|
-
|
|
11
|
-
**Result and recovery**. Return verified design state, visual evidence and affected scope. If the native tool cannot establish parity, preserve the gap and a reproducible checkpoint.
|
|
12
|
-
|
|
13
|
-
Apply the [operating policy](../POLICY.md) and [project guide](../PROJECT.md). Record reusable decisions and improvements at the appropriate checkpoint.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# W25 Test design and execution
|
|
2
|
-
|
|
3
|
-
**Trigger**. Design, generate, count or run tests.
|
|
4
|
-
|
|
5
|
-
**Authority**. Prepare and run approved cases in the specified environment. CI queueing, real data writes and policy changes need the corresponding authority.
|
|
6
|
-
|
|
7
|
-
1. Map the accepted behavior to manual, API, browser or data-derived scenarios. Assign stable case IDs. For tabular inputs, parse and validate required fields and record skipped rows.
|
|
8
|
-
2. Resolve the native runner, exact selection, environment, fixture scope and pinned dependencies. Use an authorized browser or device profile where required and preserve the case-to-requirement link.
|
|
9
|
-
3. Run the scoped cases and reconcile discovery, executed, passed, failed, skipped and retry counts. Inspect a missing or empty result before making a coverage claim.
|
|
10
|
-
|
|
11
|
-
**Result and recovery**. Return case identities, command, environment and measured results. Keep unexecuted cases distinct from passes and use W26 for a failure.
|
|
12
|
-
|
|
13
|
-
Apply the [operating policy](../POLICY.md) and [project guide](../PROJECT.md). Record reusable decisions and improvements at the appropriate checkpoint.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# W26 Test failure diagnosis
|
|
2
|
-
|
|
3
|
-
**Trigger**. Diagnose or fix this test failure.
|
|
4
|
-
|
|
5
|
-
**Authority**. Start with read-only diagnosis and an approved reproduction. Fix only authorized local scope. Creating a bug or automation ticket is separate.
|
|
6
|
-
|
|
7
|
-
1. Identify the exact case, attempt, retries, revision, environment and failure signal. Read relevant original traces, reports and fixtures with a bounded format-aware tool.
|
|
8
|
-
2. Compare the assertions, setup and observed behavior with the accepted contract. Reproduce where authorized. Classify the cause as test, product, environment or insufficient evidence.
|
|
9
|
-
3. Correct the verified cause within scope and add a regression check. Rerun the relevant case and affected integration checks. Keep bug, fixture and pipeline actions separate.
|
|
10
|
-
|
|
11
|
-
**Result and recovery**. Return the cause, evidence, correction and measured rerun. For insufficient evidence, preserve failed attempts and the next discriminating check.
|
|
12
|
-
|
|
13
|
-
Apply the [operating policy](../POLICY.md) and [project guide](../PROJECT.md). Record reusable decisions and improvements at the appropriate checkpoint.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# W27 QA data, access and test framework
|
|
2
|
-
|
|
3
|
-
**Trigger**. Prepare QA data, access or a shared test framework release.
|
|
4
|
-
|
|
5
|
-
**Authority**. Treat fixture data, user roles, environments, publishing and consumer updates as distinct effects. Use approved test identities and isolated data.
|
|
6
|
-
|
|
7
|
-
1. Resolve the exact target, identities, roles, runtime artifact and authorized test data recipe. Prefer disposable, scoped fixtures and inventory existing state before writing.
|
|
8
|
-
2. Verify fixture state, roles and cleanup where applicable. For a framework release, inspect the exact artifact and its consumers, then record compatibility and the pins that need updating.
|
|
9
|
-
3. Preview the permitted write or publication separately, execute only the approved operation and verify identity, version and behavior in the actual consumer.
|
|
10
|
-
|
|
11
|
-
**Result and recovery**. Return verified fixture or artifact identities, exclusions and cleanup or rollback path. Keep any unresolved consumer or access gap visible.
|
|
12
|
-
|
|
13
|
-
Apply the [operating policy](../POLICY.md) and [project guide](../PROJECT.md). Record reusable decisions and improvements at the appropriate checkpoint.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# W28 Environment, migration and recovery
|
|
2
|
-
|
|
3
|
-
**Trigger**. Start or recover a local environment, migration or backup.
|
|
4
|
-
|
|
5
|
-
**Authority**. Identify user-owned processes and mutable state before acting. Starting services, migrating, backing up and restoring each use the exact applicable permission.
|
|
6
|
-
|
|
7
|
-
1. Resolve the checkout, service versions, resource owners, actual listeners, data store and target environment with finite read-only probes. Isolate temporary state and test credentials.
|
|
8
|
-
2. Plan the approved operation and its recovery. For migrations, inspect applied history and target schema. For recovery, verify backup identity, byte integrity, format and destination before replay.
|
|
9
|
-
3. Apply only the exact covered operation. Verify application readiness, migration state or restored data independently with the native tool. Preserve original evidence and failure causes.
|
|
10
|
-
|
|
11
|
-
**Result and recovery**. Return actual state, verified recovery or the precise blocker. Continue independent work if the target or owner remains uncertain.
|
|
12
|
-
|
|
13
|
-
Apply the [operating policy](../POLICY.md) and [project guide](../PROJECT.md). Record reusable decisions and improvements at the appropriate checkpoint.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# W29 Incident, security and performance triage
|
|
2
|
-
|
|
3
|
-
**Trigger**. Triage a live incident, security issue or performance problem.
|
|
4
|
-
|
|
5
|
-
**Authority**. Collect scoped evidence from authorized live or supplied sources. Remediation, traffic changes and outward notices require their own authority.
|
|
6
|
-
|
|
7
|
-
1. Establish actual serving revision, service, environment, time window and affected behavior. Preserve source locators and state when evidence is sampled, delayed or incomplete.
|
|
8
|
-
2. Use targeted logs, traces or metrics. Define baseline, comparison inputs and measurement method. Verify a claimed vulnerability or cause against representative evidence and applicable versions.
|
|
9
|
-
3. Separate diagnosis, mitigation and durable correction. Propose the smallest next action with verification and rollback. Independently review material technical claims.
|
|
10
|
-
|
|
11
|
-
**Result and recovery**. Return current impact, evidence, gaps and authorized next steps. Keep a hypothesis pending until a discriminating check confirms it.
|
|
12
|
-
|
|
13
|
-
Apply the [operating policy](../POLICY.md) and [project guide](../PROJECT.md). Record reusable decisions and improvements at the appropriate checkpoint.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# W30 Release, deployment and rollback
|
|
2
|
-
|
|
3
|
-
**Trigger**. Prepare, verify or roll back a release.
|
|
4
|
-
|
|
5
|
-
**Authority**. Resolve preparation, artifact publication, deployment, activation and rollback as separate effects. Obtain the exact applicable grant.
|
|
6
|
-
|
|
7
|
-
1. Pin the artifact hash, version, target environment, configuration and expected state. Verify applicable checks, signing or provenance and rollback prerequisites.
|
|
8
|
-
2. Preview the exact operation and impact. Run the authorized native route once, then verify actual saved artifact or serving revision and downstream readiness. Distinguish queued from completed work.
|
|
9
|
-
3. If verification fails, preserve observed state and use the approved rollback plan only where its scope covers the exact target. Verify actual recovered state before reporting completion.
|
|
10
|
-
|
|
11
|
-
**Result and recovery**. Return exact artifact, activation or rollback evidence. Keep preparation and unresolved live state explicit.
|
|
12
|
-
|
|
13
|
-
Apply the [operating policy](../POLICY.md) and [project guide](../PROJECT.md). Record reusable decisions and improvements at the appropriate checkpoint.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# W31 Cost, context and model qualification
|
|
2
|
-
|
|
3
|
-
**Trigger**. Check cost, tune context or qualify a model.
|
|
4
|
-
|
|
5
|
-
**Authority**. Use approved telemetry, profiles and budget. Provider calls, paid evaluations and configuration changes require applicable scope.
|
|
6
|
-
|
|
7
|
-
1. Resolve the model, runtime, tools, task, budget, data set and measurement method. Fix comparable inputs, versions and criteria before comparing results.
|
|
8
|
-
2. Collect measured input, output, cache, workers and reserve accounting with deterministic tools where available. Separate provider-reported values, offline estimates and unavailable values.
|
|
9
|
-
3. Compare quality, cost and latency against the accepted criteria. Verify source dates, units and inference boundaries independently. Keep budget and provider effects explicit.
|
|
10
|
-
|
|
11
|
-
**Result and recovery**. Return comparable results with denominators and coverage. If telemetry or a provider route is unavailable, label the estimate and keep qualification pending.
|
|
12
|
-
|
|
13
|
-
Apply the [operating policy](../POLICY.md) and [project guide](../PROJECT.md). Record reusable decisions and improvements at the appropriate checkpoint.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# W32 Application-agent workflow and learning
|
|
2
|
-
|
|
3
|
-
**Trigger**. Build an application-agent workflow or learn from review corrections.
|
|
4
|
-
|
|
5
|
-
**Authority**. Use the accepted implementation definition and permission model. Changes to stored state, prompts, provider configuration and outward effects require their corresponding authority.
|
|
6
|
-
|
|
7
|
-
1. Define input, tool permissions, expected output, durable state and authorization boundaries. Combine scoped policy and task instructions with deterministic preparation and explicit effect previews.
|
|
8
|
-
2. Implement recovery with exact checkpoints, correlation, failure handling and readback. Keep private tool payloads in the approved store and verify who owns human edits and review decisions.
|
|
9
|
-
3. Capture confirmed corrections with provenance, scope, supersession and retirement rules. Route accepted actions to an authorized local list. Test repeat, retry and scope isolation and update discovery.
|
|
10
|
-
|
|
11
|
-
**Result and recovery**. Return working behavior and evidence for each state transition, or a design clearly marked pending. Preserve verified lessons and distinct human decisions.
|
|
12
|
-
|
|
13
|
-
Apply the [operating policy](../POLICY.md) and [project guide](../PROJECT.md). Record reusable decisions and improvements at the appropriate checkpoint.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# W33 Reusable prompt forms
|
|
2
|
-
|
|
3
|
-
**Trigger**. Choose or design a reusable prompt.
|
|
4
|
-
|
|
5
|
-
**Authority**. Prepare a prompt and bounded inputs for the current task. Running tools, delegating and external effects still follow their own permissions.
|
|
6
|
-
|
|
7
|
-
1. Choose the request form that best fits the task. Use examples for input and output behavior, plan-first for unresolved requirements, constrained-source for bounded evidence, and compare-and-decide for explicit tradeoffs.
|
|
8
|
-
2. State the target, output, authority, allowed sources and tools, constraints, evidence and completion checks. Mark unresolved choices and required capabilities explicitly.
|
|
9
|
-
3. Test the prompt on a representative case, inspect where it overreaches or leaves gaps, and catalog a verified improvement with the intended trigger and limits.
|
|
10
|
-
|
|
11
|
-
**Result and recovery**. Return the reusable prompt and a concrete example. If inputs or permissions are missing, preserve the form and leave dependent execution pending.
|
|
12
|
-
|
|
13
|
-
Apply the [operating policy](../POLICY.md) and [project guide](../PROJECT.md). Record reusable decisions and improvements at the appropriate checkpoint.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# W34 Application changes and integrations
|
|
2
|
-
|
|
3
|
-
**Trigger**. Implement a route, API field, component or external integration.
|
|
4
|
-
|
|
5
|
-
**Authority**. Use the accepted W16 scope. Discover uncertain external contracts read-only. Live mutations, schema changes and release effects need the appropriate grant.
|
|
6
|
-
|
|
7
|
-
1. Locate current architecture, authoritative contract, generated boundaries and exact application path. Follow data, authentication and authorization through each applicable layer.
|
|
8
|
-
2. Inspect local examples and native interfaces. Verify required external fields, capabilities, environments and failure modes before coding. Resolve material discrepancies through W16.
|
|
9
|
-
3. Implement within the approved boundary. Exercise the relevant interface, domain, persistence and consumer behavior, including failure paths. Run W23 and preserve any migration or release prerequisites.
|
|
10
|
-
|
|
11
|
-
**Result and recovery**. Return exact code, contract and verification evidence. Keep deployment, unresolved integration behavior and out-of-scope layers visible.
|
|
12
|
-
|
|
13
|
-
Apply the [operating policy](../POLICY.md) and [project guide](../PROJECT.md). Record reusable decisions and improvements at the appropriate checkpoint.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# W35 Test traceability and QA documentation
|
|
2
|
-
|
|
3
|
-
**Trigger**. Update test traceability or sync QA documentation.
|
|
4
|
-
|
|
5
|
-
**Authority**. Read the approved test and documentation sources and prepare a scoped diff. Tracker field edits, document creation and posting have separate effects.
|
|
6
|
-
|
|
7
|
-
1. Resolve the canonical test and issue IDs, document section and version. Verify the project's artifact routing, native fields and update rules.
|
|
8
|
-
2. Prepare the smallest exact patch. Validate identifiers, links, required fields, headings and current content and avoid overwriting unrelated edits.
|
|
9
|
-
3. Preview each requested effect and apply only the approved changes. Read back exact persisted fields or section text and verify related links or index entries.
|
|
10
|
-
|
|
11
|
-
**Result and recovery**. Return the approved diff or exact verified revision. Report version conflicts and destinations that transformed or rejected a submitted payload.
|
|
12
|
-
|
|
13
|
-
Apply the [operating policy](../POLICY.md) and [project guide](../PROJECT.md). Record reusable decisions and improvements at the appropriate checkpoint.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# W36 Service identity and shared evidence
|
|
2
|
-
|
|
3
|
-
**Trigger**. Verify a service identity, change a shared file or manage an evidence store.
|
|
4
|
-
|
|
5
|
-
**Authority**. Resolve identity and capability read-only. Shared edits, resets, repository registration and cache changes have separate scope and permission.
|
|
6
|
-
|
|
7
|
-
1. Verify the service, account, exact resource, environment, expected revision and allowed operation. Confirm credential references without reading or exposing secrets unnecessarily.
|
|
8
|
-
2. Prepare exact changes and confirm concurrency and recovery controls such as conditional writes or supported history. Present payload, target and expected result before a write.
|
|
9
|
-
3. Apply the authorized operation with the native protection and read back the exact result. Reconcile unexpected state or partial failure before any retry. Preserve earlier versions and audit evidence where applicable.
|
|
10
|
-
|
|
11
|
-
**Result and recovery**. Return identity and revision-bound proof. If the route cannot guard concurrent changes or verify the required outcome, keep the effect pending and offer a local draft.
|
|
12
|
-
|
|
13
|
-
Apply the [operating policy](../POLICY.md) and [project guide](../PROJECT.md). Record reusable decisions and improvements at the appropriate checkpoint.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# W37 Scheduler and queue work
|
|
2
|
-
|
|
3
|
-
**Trigger**. Add or diagnose a scheduled job or queue worker.
|
|
4
|
-
|
|
5
|
-
**Authority**. Inspect scoped scheduler, producer and consumer evidence first. Registration, replay and downstream writes each require their own authority.
|
|
6
|
-
|
|
7
|
-
1. Resolve schedule, tenant, producer, queue, consumer, payload references and actual serving revision. Collect bounded structured evidence for timing, delivery, attempts and results.
|
|
8
|
-
2. Distinguish scheduler registration, enqueue, delivery, processing and downstream effects. Verify retry, deduplication and isolation behavior before considering a replay or local fix.
|
|
9
|
-
3. Implement or replay only the authorized scope. Verify the actual event and resulting state separately at each applicable boundary. Preserve correlation and failure evidence.
|
|
10
|
-
|
|
11
|
-
**Result and recovery**. Return the exact job or event, observed states and next step. If an effect remains uncertain, preserve the checkpoint before retrying to avoid duplicates.
|
|
12
|
-
|
|
13
|
-
Apply the [operating policy](../POLICY.md) and [project guide](../PROJECT.md). Record reusable decisions and improvements at the appropriate checkpoint.
|
package/dist/npm/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
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/dist/npm/README.md
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# AppToolkit Harness
|
|
2
|
-
|
|
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
|
-
|
|
5
|
-
Use macOS or Linux with Bun, Node.js 24 or later, Git for versioned projects and RTK for project tooling. Run the installer from the target directory.
|
|
6
|
-
|
|
7
|
-
```sh
|
|
8
|
-
rtk proxy bunx @apptoolkit/harness install
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
Review the proposed files, then select which agents, repositories and optional services to configure. 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.
|
|
12
|
-
|
|
13
|
-
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.
|
|
14
|
-
|
|
15
|
-
To preview an installation in a noninteractive session, inspect the target and supply the explicit choices.
|
|
16
|
-
|
|
17
|
-
```sh
|
|
18
|
-
rtk proxy bunx @apptoolkit/harness inspect --root /absolute/workspace --json
|
|
19
|
-
rtk proxy bunx @apptoolkit/harness install --root /absolute/workspace --hosts codex,claude,opencode --local --repo-mode .=local --plan --json
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
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.
|
|
23
|
-
|
|
24
|
-
Use `rtk proxy bunx @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.
|
|
25
|
-
|
|
26
|
-
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. The default author style profile includes its own Biome dependency and requires its isolated install before first use.
|
|
27
|
-
|
|
28
|
-
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.
|
|
29
|
-
|
|
30
|
-
Distributed under the MIT license.
|