Skip to content

Commit cdf5272

Browse files
author
codejunkie99
committed
Build Agentic Harness coding control plane
1 parent fe7ddeb commit cdf5272

16 files changed

Lines changed: 2712 additions & 229 deletions

README.md

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ Native Rust end to end: SDK, CLI, runtime, HTTP dispatch, sessions, tools, works
1111
</p>
1212

1313
> 📚 **Documentation lives in [`docs/`](docs/).**
14-
> Architecture, execution targets, runtime config, HTTP SessionEnv protocol, Cloudflare runtime, feature status, and release notes — all there.
14+
> Architecture, execution targets, runtime config, HTTP SessionEnv protocol,
15+
> Cloudflare runtime, deployment guides, feature status, and release notes —
16+
> all there.
1517
1618
## Workspace
1719

@@ -85,17 +87,30 @@ agentic-harness run hello --workspace ./my-agent --id demo \
8587

8688
### Coding Agent (Local Repo)
8789

88-
The flagship workflow. `agentic-harness code` inspects the repo, reads `AGENTS.md` / `CLAUDE.md`, captures git diff context, drafts a plan, hands the brief to your installed coding LLM, then runs detected checks (`cargo test`, etc.) and optionally commits or opens a PR. No prompt? It defaults to a sensible "smallest safe step" brief.
90+
The flagship workflow. `agentic-harness start` opens the guided TUI front door;
91+
`agentic-harness code` is the direct automation path. The coding loop inspects
92+
the repo, reads `AGENTS.md` / `CLAUDE.md`, captures git diff context, drafts a
93+
plan, hands the brief to your installed coding LLM, runs detected checks
94+
(`cargo test`, etc.), and optionally commits or opens a PR. No prompt? It
95+
defaults to a sensible "smallest safe step" brief.
8996

9097
```bash
9198
# Detects whichever of claude / codex / cursor / wind-server you have
9299
agentic-harness code --workspace . --llm auto \
93100
--prompt "Add a flag to skip the network call in test mode" \
101+
--deny-path .env \
102+
--approve-dependencies \
94103
--commit "feat: --offline flag" \
95104
--pr
96105
```
97106

98-
The harness writes a run-scoped brief to `.agentic-harness/runs/<id>/coding-brief.md`, streams progress, captures the agent result, and saves a structured summary at `.agentic-harness/runs/latest.{md,json}` so a person or another agent can read what happened.
107+
The harness writes a run-scoped brief to
108+
`.agentic-harness/runs/<id>/coding-brief.md`, streams progress, captures the
109+
agent result, and saves both latest summaries and a durable bundle under
110+
`.agentic-harness/runs/<id>/` (`summary.md`, `run.json`, `events.jsonl`,
111+
`diff.patch`, `checks.json`, `agent-instructions.md`). Policy flags such as
112+
`--allow-path`, `--deny-path`, `--max-command-risk`, and
113+
`--approve-dependencies` gate code mutation before commit or PR handoff.
99114

100115
### Snapshot Repair (CI)
101116

@@ -415,7 +430,7 @@ agentic-harness run hello --workspace . --id test-1 \
415430

416431
```bash
417432
agentic-harness build --workspace . --target native # self-contained Rust binary + manifest.json
418-
agentic-harness build --workspace . --target node # alias — still emits the native binary
433+
agentic-harness build --workspace . --target node # Node host package around the native binary
419434
agentic-harness build --workspace . --target cloudflare # Worker adapter + Durable Object bindings
420435
```
421436

@@ -429,6 +444,18 @@ agentic-harness smoke --json # post-install end-to-end chec
429444
agentic-harness dashboard --workspace . --json # status, templates, recent runs, next steps
430445
```
431446

447+
### Release Packaging
448+
449+
```bash
450+
agentic-harness package --output dist/packages --json
451+
agentic-harness release-check --json
452+
```
453+
454+
`package` stages the current CLI binary into a versioned OS/architecture folder
455+
with `manifest.json` and `SHA256SUMS`; `release-check` verifies the install
456+
script, Homebrew formula, changelog, binary-package docs, and release smoke
457+
checklist before publishing.
458+
432459
## Why Native Rust
433460

434461
- Single toolchain — `cargo` builds, tests, ships, and runs everything. No bundler, no transpile step, no language runtime to install.
@@ -447,6 +474,9 @@ Long-form docs live in [`docs/`](docs/):
447474
- [Runtime Config](docs/runtime-config.md) — provider defaults, model registration
448475
- [HTTP SessionEnv Protocol](docs/http-session-env.md) — exact wire format for remote sandboxes
449476
- [Cloudflare Runtime](docs/cloudflare-runtime.md) — Worker boundary build, Durable Objects, adapter ABI
477+
- [Node Hosts](docs/deploy-node.md)`node server.mjs` hosting around the native binary
478+
- [Sandbox Connectors](docs/connectors.md) — provider-scoped HTTP sandbox connector helpers
479+
- [Virtual Sandbox](docs/virtual-sandbox.md) — hostless in-memory filesystem and shell subset
450480
- [Feature Status](docs/feature-status.md) — what's shipped, with code/test/doc evidence
451481
- [Roadmap](docs/immediate-goals.md) — the next product slice and explicit non-goals
452482
- [Release Smoke Test](docs/release-smoke-test.md) — clean-machine pre-publish checklist

0 commit comments

Comments
 (0)