@aihq/harness 0.2.0 → 0.3.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 +11 -6
- package/dist/chunk-EAFL7TH3.js +3002 -0
- package/dist/cli.js +2 -11
- package/dist/index.d.ts +76 -5
- package/dist/index.js +1 -131
- package/package.json +3 -1
- package/dist/chunk-2P5QRFQK.js +0 -25878
- package/dist/chunk-2P5QRFQK.js.map +0 -1
- package/dist/cli.js.map +0 -1
- package/dist/index.js.map +0 -1
package/README.md
CHANGED
|
@@ -7,18 +7,22 @@
|
|
|
7
7
|
[](package.json)
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
|
-
<img src="docs/assets/aih-overview.svg" alt="aih — extract corporate trust, self-heal the runtime, tune the workstation, bootstrap a governed repo, and run AI coding
|
|
10
|
+
<img src="docs/assets/aih-overview.svg" alt="aih — extract corporate trust, self-heal the runtime, tune the workstation, bootstrap a governed repo, and run AI-assisted coding behind a proxy" width="100%">
|
|
11
11
|
</p>
|
|
12
12
|
|
|
13
|
-
A cross-platform CLI that
|
|
14
|
-
**
|
|
15
|
-
corporate trust, tunes local inference,
|
|
13
|
+
A cross-platform CLI that helps prepare developer workstations and repositories for
|
|
14
|
+
**reviewable, governed AI-assisted coding behind a corporate proxy**. It extracts
|
|
15
|
+
corporate trust, tunes local inference, adds repo guardrails, wires up
|
|
16
16
|
MCP / observability / sandboxing, and lays down a tool-agnostic context
|
|
17
17
|
architecture — all from one command surface.
|
|
18
18
|
|
|
19
|
-
>
|
|
19
|
+
> Implements the architectural blueprint *"Enterprise DevSecOps AI Bootstrapping:
|
|
20
20
|
> Cryptographic Trust, Local Performance Optimization, and Unified Observability"*
|
|
21
|
-
>
|
|
21
|
+
> as a tested CLI.
|
|
22
|
+
|
|
23
|
+
> **Provided as open-source software under Apache-2.0 on an "AS IS" basis.** No warranty,
|
|
24
|
+
> support obligation, SLA, indemnity, consulting, or professional advice is provided. `aih`
|
|
25
|
+
> is dry-run by default — review the plan before running `--apply`. See [DISCLAIMER.md](DISCLAIMER.md).
|
|
22
26
|
|
|
23
27
|
## Design posture
|
|
24
28
|
|
|
@@ -90,6 +94,7 @@ aih init . --apply # apply it
|
|
|
90
94
|
| `aih crispy` | Run the CRISPY context-engineering stage machine (deterministic, gate-ordered). |
|
|
91
95
|
| `aih bootstrap` | Orchestrate the workstation 4-phase rollout (certs → hardware/vdi → telemetry). |
|
|
92
96
|
| `aih bootstrap-ai` | Emit + verify the repo's Layer-2 `ai-coding/` canon: `RULE_ROUTER.md`, per-CLI adapters, and root bootloaders (tool preamble + a regenerated shared block). `--verify` is the drift gate **and a weak-model-safety lint of the generated canon** — every `#[[file:…]]`/backtick reference must resolve and no leftover `<insert>`/`TODO` scaffolding ships (a dangling reference fails the gate; soft-imperative/taste-word prose is advisory). |
|
|
97
|
+
| `aih prune` | Remove the stale per-CLI artifacts a repo still carries for a CLI it no longer targets (the inverse of `bootstrap-ai`). Dry-run preview by default; `--apply` moves aih-owned files to gitignored `.aih/legacy/` (reversible), subtracts aih's managed block **in place** from co-owned bootloaders (never deletes them), and leaves unmarked MCP/settings as manual advisories. Diffed against **committed intent only** (`.aih-config.json`), so a bare run is safe anywhere; a dirty/untracked target refuses without `--force`. `--delete` hard-deletes to a gitignored `*.aih.bak` sibling (never overwriting a prior backup) instead of archiving; `--unrunnable` also prunes a still-targeted CLI whose binary is absent from `PATH` (loud warning; never the default). |
|
|
93
98
|
| `aih init` | Initialize a repo: profile + superpowers + bootstrap-ai + scaffold + secrets + guardrails + mcp + sandbox in one pass (one writer per file). ECC is a separate gated network step — run `aih ecc` when ready (it points at ECC's own installer). |
|
|
94
99
|
| `aih workspace` | Scaffold a **multi-repo** workspace (parent-only): cross-repo architecture map (write-once) + per-repo discipline, a VS Code `.code-workspace`, combined graph/filesystem MCP spanning every child repo, and a `.aih-workspace.json` marker. |
|
|
95
100
|
| `aih doctor` | Fail-closed verification of the workstation/repo configuration (+ workspace mode: validates each child repo). Includes a **canon markdown lint** (read-only) over the scaffolded `ai-coding/` tree. |
|