From c94eb22ff0bfabb171d863c530ee851a8a192066 Mon Sep 17 00:00:00 2001 From: "Kimi (community-readiness implementation)" Date: Sat, 12 Sep 2026 13:40:44 +0800 Subject: [PATCH] Add torq demo one-command trial; community-readiness docs and templates --- .github/ISSUE_TEMPLATE/bug_report.yml | 32 ++++ .github/ISSUE_TEMPLATE/config.yml | 5 + .github/ISSUE_TEMPLATE/feature_request.yml | 21 +++ CHANGELOG.md | 14 +- README.md | 173 ++++++++++---------- ROADMAP.md | 22 +++ docs/index.md | 88 ++++++++++ docs/releases/torq-cli-v0.2.0-user-notes.md | 43 +++++ docs/social-preview.png | Bin 0 -> 23440 bytes docs/social-preview.svg | 12 ++ mkdocs.yml | 10 ++ src/torq_cli/application/demo.py | 101 ++++++++++++ src/torq_cli/interfaces/cli.py | 11 ++ 13 files changed, 442 insertions(+), 90 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml create mode 100644 ROADMAP.md create mode 100644 docs/index.md create mode 100644 docs/releases/torq-cli-v0.2.0-user-notes.md create mode 100644 docs/social-preview.png create mode 100644 docs/social-preview.svg create mode 100644 mkdocs.yml create mode 100644 src/torq_cli/application/demo.py diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..ed6350a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,32 @@ +name: Bug report +description: Something failed, blocked, or behaved unexpectedly +labels: [bug] +body: + - type: input + id: version + attributes: + label: TORQ version + placeholder: "torq --version, e.g. 0.2.0" + validations: + required: true + - type: dropdown + id: platform + attributes: + label: Platform + options: [Windows, Linux, macOS] + validations: + required: true + - type: textarea + id: repro + attributes: + label: Command and output + description: Exact command run and the JSON output (redact credential material) + render: console + validations: + required: true + - type: textarea + id: expected + attributes: + label: What you expected + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..e529aab --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Security vulnerability + url: https://github.com/pilotwaffle/torq-cli-python/security/advisories/new + about: Please report security issues privately per SECURITY.md diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..32eccc3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,21 @@ +name: Feature request +description: Propose a capability or an improvement +labels: [enhancement] +body: + - type: textarea + id: problem + attributes: + label: Problem you are trying to solve + validations: + required: true + - type: textarea + id: proposal + attributes: + label: Proposed behavior + validations: + required: true + - type: textarea + id: safety + attributes: + label: Safety / governance implications + description: TORQ fails closed by design. Does this change what is attested, contained, or evidenced? diff --git a/CHANGELOG.md b/CHANGELOG.md index 14d99ba..7233834 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,19 @@ this file is the canonical cumulative record. ## [Unreleased] -Nothing yet. Everything below is part of the unreleased 0.2.0 candidate. +### Added +- `torq demo`: zero-configuration dry-run trial. Scaffolds a valid run identity + and attestation documents from the packaged registry and policy, optionally + executes a real dry-run (`--run`), and leaves a verifiable run directory. + No provider is contacted. + +### Changed +- README rewritten around the visitor: pitch, comparison table, quickstart, + real command transcript, platform-support matrix, and links to the threat + model and roadmap. +- Community onboarding: GitHub issue templates (bug, feature, security + contact link) and ROADMAP.md. + ## [0.2.0] — unreleased candidate (release-preparation changes) diff --git a/README.md b/README.md index 442a006..8b8fbfd 100644 --- a/README.md +++ b/README.md @@ -1,93 +1,88 @@ +[![CI](https://github.com/pilotwaffle/torq-cli-python/actions/workflows/ci.yml/badge.svg)](https://github.com/pilotwaffle/torq-cli-python/actions/workflows/ci.yml) +[![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE) +[![Python 3.11–3.13](https://img.shields.io/badge/python-3.11--3.13-blue.svg)](pyproject.toml) + # TORQ CLI -TORQ CLI 0.2.0 is a standalone Python 3.11–3.13 governed agent runner. It validates immutable role profiles, connects providers through fail-closed adapters, runs provider processes under OS-enforced containment, records tamper-resistant evidence, and exposes an evidence-backed Fleet control and attended chat surface. - -```text -torq profile validate --config PATH -torq status --offline --config PATH [--require-effective] -torq status --config PATH --require-effective --runtime ATTESTATION.json -torq config import-v5-normalized --config ABSOLUTE_PATH -torq config import-v5-console --config ABSOLUTE_PATH -torq auth status --credential-file E:\TORQ-CONSOLE\.env -torq auth store --provider deepseek --credential-ref credref_<32-lowercase-hex> -torq auth verify-access --provider deepseek --credential-ref credref_<32-lowercase-hex> -torq auth revoke --provider deepseek --credential-ref credref_<32-lowercase-hex> -torq auth store --provider deepseek --credential-ref credref_<32-lowercase-hex> --backend headless_encrypted_file --store-root ABSOLUTE_PATH -torq harness inspect --expected PROFILE.json --actual LIVE.json -torq setup --config .torq/config.yaml --answers examples/torq-v5-6-live.answers.json --credential-file E:\TORQ-CONSOLE\.env -torq run --goal "..." --run-root RUNS --identity ID.json --expected PROFILE.json --actual LIVE.json -torq run --goal "..." --run-root RUNS --identity ID.json --expected PROFILE.json --actual LIVE.json --config .torq/config.yaml --live --allow-live --policy-allow-live -torq evidence verify --run-root RUN_DIRECTORY -torq fleet --run-root RUN_DIRECTORY --serve -torq fleet --run-root RUN_DIRECTORY --serve --chat-provider deepseek --chat-model deepseek-v4-pro --credential-file ABSOLUTE_ENV_PATH -torq trust readiness -torq --version +**A governed agent runner: every run is attested, dry-run by default, and backed by verifiable evidence.** + +TORQ executes multi-stage agent plans (design → review → build → adversarial audit) inside a governed boundary. It validates the machine and role profile before any provider is touched, refuses live execution unless both the operator and the policy opt in, never lets an agent commit, push, or merge, and writes a tamper-evident receipt chain for every run. + +## Why TORQ + +| | TORQ | Typical agent CLI | +|---|---|---| +| Default mode | Dry-run plan, zero provider calls | Live execution | +| Going live | Requires `--allow-live` **and** `--policy-allow-live` | One flag, if that | +| Your worktree | Untouched until an audited, tree-pinned proposal is approved | Agent edits freely | +| Evidence | Per-run receipt chain; `torq evidence verify` | None | +| Credentials | Opaque handles in the OS keychain; attended entry only | Plaintext env files | +| Provider containment | OS-owned processes (Windows production; Linux/macOS fail closed) | Whatever the provider does | + +## Quickstart + +Requires Python 3.11–3.13. + +```bash +pip install torq-cli # or: pip install git+https://github.com/pilotwaffle/torq-cli-python +torq demo --goal "Add input validation to the login form" --run +torq evidence verify --run-root ./torq-demo-runs/ +``` + +`torq demo` scaffolds the identity and attestation documents, runs a real four-stage dry-run (G1D → G1R → Builder → G2A), and leaves a verifiable run directory behind. No provider is contacted and nothing outside the run root is written. The full install matrix is in [docs/install.md](docs/install.md). + +## What it looks like + +```console +$ torq --version +torq 0.2.0 + +$ torq demo --goal "Add input validation to the login form" --run +{"status": "scaffolded", "inputs_dir": "torq-demo-runs/demo-inputs", ...} +{"status": "dry_run_complete", "report": {"mode": "dry_run", "verdict": "dry_run_complete", + "planned_roles": ["g1d", "g1r", "builder", "g2a", "refine_bug", "refine_ui"], + "attested": true, "receipts": "torq-demo-runs/run-0d04c989291241d58830a964ce578fc9", ...}} + +$ torq evidence verify --run-root torq-demo-runs/run-0d04c989291241d58830a964ce578fc9 +{"finding": null, "status": "verified"} ``` -Dry-run is the default. Live execution requires both `--allow-live` and `--policy-allow-live`. Agents never commit, push, or merge. The primary worktree remains unchanged until an audited, tree-pinned proposal receives explicit approval. - -`torq run` invokes the governed orchestration boundary. Dry-run records the -four-stage plan without provider calls. An injected dispatcher remains available -for embedding and tests. The installed live command loads the validated saved -config, resolves its explicit credential source, and constructs the persistent -entitlement ledger before executing G1D -> G1R -> Builder -> G2A. It routes -HIGH defects through the bound repair lane, and performs a targeted G2A -re-audit before returning `awaiting_approval`. Invalid config, credentials, -regional routing, or missing transport binaries fail before a run directory is -created. See `docs/architecture/governed-orchestration.md`. - -Process-backed Claude-compatible live stages use the owned-process boundary and -are production-enabled only on Windows. Linux refuses them with -`distinct_identity_system_broker_required`; macOS refuses them with -`owned_process_strong_containment_unavailable`. OpenAI's direct HTTPS adapter -does not launch a provider process and does not inherit ambient proxy settings. - -The T-06A import command reads only the authenticated normalized V5 fixture shape and emits a fixed registry-authoritative stdout projection. It does not read raw Console configuration, write files, resolve credentials, access providers, or claim T-06/Phase 1 completion. - -The T-06C Console import command accepts the bounded raw Console V5 YAML shape and emits the same canonical `torq-v5-repo-compat` v1 projection without manual translation. It is read-only: it does not discover a default Console path, write configuration, copy endpoints or wrapper names, resolve credentials, or access providers. - -`status --offline` is intentionally `offline_unattested`; effective status requires a runtime attestation. Installation instructions are in `docs/install.md`, and the security/threat model is in `SECURITY.md`. - -The optional `--credential-file` compatibility source reuses an explicit -external provider env file without copying its values into TORQ configuration. -For the Console harness it maps `QWEN_TOKEN_PLAN_API_KEY` (which covers both -the Qwen and DeepSeek lanes, since both bill to one Alibaba Token Plan), -`KIMI_CODE_API_KEY` (falling back to `KIMI_API_KEY`), and `GLM_API_KEY` into -isolated Claude-compatible child environments. See -`docs/external-credential-source.md`. -External env files are accepted only when already owner-only: POSIX mode `0600` -or a Windows DACL containing only the owner. TORQ does not repair a permissive -secret file. Token Plan routing accepts only the canonical -`https://token-plan..maas.aliyuncs.com/apps/anthropic` shape, with no -userinfo, query, or fragment. - -Native provider credentials are stored through `keyring` 25.7 in the current -user's Windows Credential Manager, macOS Keychain, or Linux Secret Service. -`auth store` accepts the value only from an attended no-echo terminal and -refuses redirected input. Configuration contains only opaque -`credref_<32-lowercase-hex>` handles. `auth verify-access` deliberately resolves -the selected record inside TORQ but emits only coarse success/failure state; it -does not call a provider or print the value. The attended headless encrypted- -file backend is implemented with an explicit absolute `--store-root`. It uses a -no-echo passphrase prompt and never acts as an automatic fallback. - -Fleet chat currently accepts direct-provider credentials only from an explicit -absolute `--credential-file`; it does not resolve the configured platform or -headless vault. The browser receives neither credentials nor process handles. -Windows is the only production governed-chat platform: Job Objects own and -confirm termination of the provider tree. Linux fails closed with -`distinct_identity_system_broker_required`; its per-user systemd/cgroup-v2 -adapter is experimental evidence only. macOS fails closed with -`owned_process_strong_containment_unavailable` pending a separately signed and -notarized native containment product. - -Local signing and the same-volume manifest anchor are tamper-resistant, not -production-trust hardened. `torq trust readiness` reports -`production_signing_identity_exportable` and -`production_receipt_anchor_not_independent` until a non-exportable platform -signer and independently operated remote transparency service are integrated. - -Local mock/conformance results do not prove provider effectiveness, hosted -multi-OS CI, clean-machine installation, branch protection, or release -readiness. The v0.2.0 candidate requires fresh protected-main CI and release -evidence; this source tree does not claim those gates have run. + + +## Command surface + +| Command | What it does | +|---|---| +| `torq demo` | Zero-config dry-run trial: scaffolds identity + attestation, optionally executes. | +| `torq run` | The governed orchestration boundary. Dry-run by default; live needs `--allow-live` and `--policy-allow-live`. | +| `torq evidence verify --run-root DIR` | Verify a run's receipt chain and artifacts. | +| `torq fleet --run-root DIR --serve` | Evidence-backed Fleet control surface with attended chat. | +| `torq setup` / `torq auth` | Interactive config; credentials stored as opaque handles in the OS keychain or an attended encrypted file vault. | +| `torq status` / `torq profile validate` / `torq harness inspect` | Attest the machine, the role profile, and the live harness before a run. | +| `torq config import-v5-*` | Import normalized or raw Console V5 configuration (read-only projection). | +| `torq trust readiness` | Report production-trust gaps (signing identity, receipt anchor). | + +## Safety model + +- Agents never commit, push, or merge. The worktree stays unchanged until an audited, tree-pinned proposal receives explicit approval. +- Dry-run is the default. Provider processes only run under OS-enforced containment, and only on platforms where that containment is production-grade. +- Configuration stores `credref_` handles, never secrets. Secret entry is attended and no-echo; permissive secret files are refused, not repaired. +- Fail closed: invalid config, credentials, regional routing, or missing transport binaries stop the run before a run directory is created. + +Full threat model: [SECURITY.md](SECURITY.md) and [docs/security/threat-model.md](docs/security/threat-model.md). + +## Platform support + +| | Dry-run + evidence | Live provider containment | +|---|---|---| +| Windows | ✅ | ✅ production (Job Objects) | +| Linux | ✅ | Fails closed; systemd/cgroup-v2 adapter is experimental | +| macOS | ✅ | Fails closed pending a signed, notarized containment product | + +## Status + +Local signing and the same-volume manifest anchor are tamper-resistant, not production-trust hardened — `torq trust readiness` reports the gap explicitly. See [ROADMAP.md](ROADMAP.md) for what closes it. + +## Contributing and license + +[CONTRIBUTING.md](CONTRIBUTING.md) · [CHANGELOG.md](CHANGELOG.md) · Apache-2.0 diff --git a/ROADMAP.md b/ROADMAP.md new file mode 100644 index 0000000..719b911 --- /dev/null +++ b/ROADMAP.md @@ -0,0 +1,22 @@ +# Roadmap + +## Now — v0.2.0 hardening +- Fresh protected-`main` CI and clean-machine install evidence on Windows, Linux, and macOS. +- Publish to PyPI under the settled package name. +- User-facing release notes and a recorded demo of `torq demo --run` + `torq evidence verify`. + +## Next +- Production trust hardening: non-exportable platform signing identity and an + independently operated remote transparency anchor for receipts + (`torq trust readiness` reports both gaps today). +- Linux governed containment: mature the experimental systemd/cgroup-v2 adapter + from evidence-grade to production-grade. +- macOS governed containment: separately signed and notarized containment product. +- Hosted docs site generated from `docs/`. + +## Later +- Formal V6 contract publication, MMH consensus, and remote receipt anchoring. +- Provider pricing tables and richer Fleet analytics. + +Non-goals are stable: TORQ agents never commit, push, or merge; live execution +always requires operator and policy double opt-in; evidence stays verifiable offline. diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000..8b8fbfd --- /dev/null +++ b/docs/index.md @@ -0,0 +1,88 @@ +[![CI](https://github.com/pilotwaffle/torq-cli-python/actions/workflows/ci.yml/badge.svg)](https://github.com/pilotwaffle/torq-cli-python/actions/workflows/ci.yml) +[![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE) +[![Python 3.11–3.13](https://img.shields.io/badge/python-3.11--3.13-blue.svg)](pyproject.toml) + +# TORQ CLI + +**A governed agent runner: every run is attested, dry-run by default, and backed by verifiable evidence.** + +TORQ executes multi-stage agent plans (design → review → build → adversarial audit) inside a governed boundary. It validates the machine and role profile before any provider is touched, refuses live execution unless both the operator and the policy opt in, never lets an agent commit, push, or merge, and writes a tamper-evident receipt chain for every run. + +## Why TORQ + +| | TORQ | Typical agent CLI | +|---|---|---| +| Default mode | Dry-run plan, zero provider calls | Live execution | +| Going live | Requires `--allow-live` **and** `--policy-allow-live` | One flag, if that | +| Your worktree | Untouched until an audited, tree-pinned proposal is approved | Agent edits freely | +| Evidence | Per-run receipt chain; `torq evidence verify` | None | +| Credentials | Opaque handles in the OS keychain; attended entry only | Plaintext env files | +| Provider containment | OS-owned processes (Windows production; Linux/macOS fail closed) | Whatever the provider does | + +## Quickstart + +Requires Python 3.11–3.13. + +```bash +pip install torq-cli # or: pip install git+https://github.com/pilotwaffle/torq-cli-python +torq demo --goal "Add input validation to the login form" --run +torq evidence verify --run-root ./torq-demo-runs/ +``` + +`torq demo` scaffolds the identity and attestation documents, runs a real four-stage dry-run (G1D → G1R → Builder → G2A), and leaves a verifiable run directory behind. No provider is contacted and nothing outside the run root is written. The full install matrix is in [docs/install.md](docs/install.md). + +## What it looks like + +```console +$ torq --version +torq 0.2.0 + +$ torq demo --goal "Add input validation to the login form" --run +{"status": "scaffolded", "inputs_dir": "torq-demo-runs/demo-inputs", ...} +{"status": "dry_run_complete", "report": {"mode": "dry_run", "verdict": "dry_run_complete", + "planned_roles": ["g1d", "g1r", "builder", "g2a", "refine_bug", "refine_ui"], + "attested": true, "receipts": "torq-demo-runs/run-0d04c989291241d58830a964ce578fc9", ...}} + +$ torq evidence verify --run-root torq-demo-runs/run-0d04c989291241d58830a964ce578fc9 +{"finding": null, "status": "verified"} +``` + + + +## Command surface + +| Command | What it does | +|---|---| +| `torq demo` | Zero-config dry-run trial: scaffolds identity + attestation, optionally executes. | +| `torq run` | The governed orchestration boundary. Dry-run by default; live needs `--allow-live` and `--policy-allow-live`. | +| `torq evidence verify --run-root DIR` | Verify a run's receipt chain and artifacts. | +| `torq fleet --run-root DIR --serve` | Evidence-backed Fleet control surface with attended chat. | +| `torq setup` / `torq auth` | Interactive config; credentials stored as opaque handles in the OS keychain or an attended encrypted file vault. | +| `torq status` / `torq profile validate` / `torq harness inspect` | Attest the machine, the role profile, and the live harness before a run. | +| `torq config import-v5-*` | Import normalized or raw Console V5 configuration (read-only projection). | +| `torq trust readiness` | Report production-trust gaps (signing identity, receipt anchor). | + +## Safety model + +- Agents never commit, push, or merge. The worktree stays unchanged until an audited, tree-pinned proposal receives explicit approval. +- Dry-run is the default. Provider processes only run under OS-enforced containment, and only on platforms where that containment is production-grade. +- Configuration stores `credref_` handles, never secrets. Secret entry is attended and no-echo; permissive secret files are refused, not repaired. +- Fail closed: invalid config, credentials, regional routing, or missing transport binaries stop the run before a run directory is created. + +Full threat model: [SECURITY.md](SECURITY.md) and [docs/security/threat-model.md](docs/security/threat-model.md). + +## Platform support + +| | Dry-run + evidence | Live provider containment | +|---|---|---| +| Windows | ✅ | ✅ production (Job Objects) | +| Linux | ✅ | Fails closed; systemd/cgroup-v2 adapter is experimental | +| macOS | ✅ | Fails closed pending a signed, notarized containment product | + +## Status + +Local signing and the same-volume manifest anchor are tamper-resistant, not production-trust hardened — `torq trust readiness` reports the gap explicitly. See [ROADMAP.md](ROADMAP.md) for what closes it. + +## Contributing and license + +[CONTRIBUTING.md](CONTRIBUTING.md) · [CHANGELOG.md](CHANGELOG.md) · Apache-2.0 diff --git a/docs/releases/torq-cli-v0.2.0-user-notes.md b/docs/releases/torq-cli-v0.2.0-user-notes.md new file mode 100644 index 0000000..ab9462c --- /dev/null +++ b/docs/releases/torq-cli-v0.2.0-user-notes.md @@ -0,0 +1,43 @@ +# TORQ CLI 0.2.0 + +TORQ 0.2.0 is a governed agent runner: every run is attested, dry-run by default, +and backed by a verifiable receipt chain. + +## What is new since 0.1.0 + +- **Governed orchestration boundary.** `torq run` executes the full + G1D → G1R → Builder → G2A pipeline. HIGH defects route through a bound + repair lane, and a targeted G2A re-audit runs before a run returns + `awaiting_approval`. Invalid config, credentials, regional routing, or + missing transport binaries fail before a run directory is created. +- **Evidence-backed Fleet chat.** `torq fleet --serve` exposes an attended + chat surface over verified run evidence. Provider processes run under + OS-enforced containment — production-enabled on Windows; Linux and macOS + fail closed. +- **Native credential storage.** `torq auth store` keeps provider secrets in + the Windows Credential Manager, macOS Keychain, or Linux Secret Service as + opaque `credref_` handles; an attended, passphrase-protected encrypted-file + vault is available for headless machines. `auth verify-access` confirms + access without printing or transmitting the value. +- **One-command trial.** `torq demo --run` scaffolds a valid identity and + attestation, executes a real dry-run, and leaves a run directory that + `torq evidence verify` confirms — no provider calls, no hand-written JSON. +- **Platform honesty.** Commands report exactly what is production-grade and + what is not; `torq trust readiness` names the signing and anchoring gaps + still open. + +## Install + + pip install torq-cli # Python 3.11–3.13 + +## Try it in one command + + torq demo --goal "Add input validation to the login form" --run + torq evidence verify --run-root ./torq-demo-runs/ + +## Verification + +Release evidence — signed tag, artifact hashes, multi-OS CI, clean-machine +installs, and live provider smokes — is attached to the release. Security +guarantees and limits: SECURITY.md. Internal gate detail: +docs/releases/torq-cli-v0.2.0.md. diff --git a/docs/social-preview.png b/docs/social-preview.png new file mode 100644 index 0000000000000000000000000000000000000000..26885e58a85dbf32a45b7bf8bc38df02e91beada GIT binary patch literal 23440 zcmeFZXH=7Ivo;(R1yqW9D+&T)L#3%mFA-4@X)4l7Pc9v^N$W_j3&Y5G5IcCDUN4gqZhxrdfAP_Fi z2X~)9AP2#Z`(JYG2mfh*zC(dP%#1Yesy+2hCQKoc&28(UYtoZ)wMjbTF8)Q|_oY98 zA6GoD)42aiQ+fFF>g94g-hfmdd~)^W!Fyi{Uk=8PeyN)&o5>2&X$lgC*S&1OEg=UiOyPWcKd7id4nZL2jTH|PKN&HoEF z5cyVl76R_@#XbMXiS5_$K) z)k8c#JYQzQAdr`{{0|hI|E%sKdObZf06)36%T^HkynV-CQiaoB-B1RvM}vP~!v+Rsm9A!$K7@&K=Qs(o3YVpU zk&zKxq2j>NGXPs}=UXkd;|kNwLM_Vk2``r5^OWb8&YFv#Qd;^R-K#>X)7Mk+Zu zvwW%+L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z{lx$}gBhiu~RZA%LE%UQ!HW5ah{Z~)T8E-mYMP*$ta z9E4$$)=Vf;qVw7Xv$JVCRKoRYvgW>lGDd^8;&aH0lmR4UvRRm_M;jX}SMFv~e z4$^GknG*Re-*WXOxUA=C77!gy^9sR8sy?bWW@X`9;qRkg-@Hc>wXAK44uOW0-6n=k zE1m1!>W{nuan-O}3;c}2=-ZtPZegJE#lU>^Ul0DT@4=kzBbE9pD^OrAgM(sl=)lqa J^u4Fk{|&%tnyLT* literal 0 HcmV?d00001 diff --git a/docs/social-preview.svg b/docs/social-preview.svg new file mode 100644 index 0000000..80630c2 --- /dev/null +++ b/docs/social-preview.svg @@ -0,0 +1,12 @@ + + + + TORQ + Governed agent runner + dry-run by default · attested identity · verifiable evidence + $ torq demo --run + diff --git a/mkdocs.yml b/mkdocs.yml new file mode 100644 index 0000000..e233025 --- /dev/null +++ b/mkdocs.yml @@ -0,0 +1,10 @@ +site_name: TORQ CLI +repo_url: https://github.com/pilotwaffle/torq-cli-python +theme: + name: material +nav: + - Home: index.md + - Install: install.md + - Architecture: architecture/governed-orchestration.md + - Security: security/threat-model.md +docs_dir: docs diff --git a/src/torq_cli/application/demo.py b/src/torq_cli/application/demo.py new file mode 100644 index 0000000..f8dbe8b --- /dev/null +++ b/src/torq_cli/application/demo.py @@ -0,0 +1,101 @@ +"""Zero-configuration dry-run demo for TORQ. + +``torq demo`` scaffolds the three JSON documents ``torq run`` normally +requires (identity, expected attestation, actual attestation) from the +installed registry and policy, then — with ``--run`` — executes a real +dry-run through the same RunController path the CLI uses. No provider is +contacted and nothing outside the chosen run root is written. +""" + +from __future__ import annotations + +import json +from dataclasses import asdict +from pathlib import Path +from typing import Any + +from torq_cli.application.orchestrator import GovernedOrchestrator +from torq_cli.application.run_command import RunController, RunIdentity +from torq_cli.domain.registry_schema import load_registry + +# Attestation for the demo run: RunController.start compares expected and +# actual pairwise, so the demo pins one field both documents agree on. +_DEMO_ATTESTATION = {"demo": "local"} +_DEFAULT_GOAL = "Add input validation to the demo login form" + + +def _demo_identity() -> RunIdentity: + """Build a valid identity for the packaged default profile and policy.""" + registry = load_registry() + defaults = [p for p in registry.profiles.values() if p.default] + if len(defaults) != 1: + raise RuntimeError("demo_profile_ambiguous") + profile = defaults[0] + orchestrator = GovernedOrchestrator() + return RunIdentity( + profile_version=profile.profile_version, + policy_version=orchestrator.policy.version, + prompt_binding="demo", + model_resolution="demo-local", + sandbox_identity="demo-local", + config_version=1, + receipt_chain_hash="", + ) + + +def scaffold_demo(run_root: Path, goal: str) -> dict[str, Any]: + """Write demo identity/expected/actual JSON and return a report.""" + identity = _demo_identity() + inputs = run_root / "demo-inputs" + inputs.mkdir(parents=True, exist_ok=True) + (inputs / "identity.json").write_text( + json.dumps(asdict(identity), indent=2, sort_keys=True) + "\n", encoding="utf-8" + ) + for name in ("expected.json", "actual.json"): + (inputs / name).write_text( + json.dumps(_DEMO_ATTESTATION, indent=2, sort_keys=True) + "\n", encoding="utf-8" + ) + return {"goal": goal, "inputs_dir": str(inputs), "identity": asdict(identity)} + + +def execute_demo(run_root: Path, goal: str) -> dict[str, Any]: + """Run a real dry-run via the same controller the CLI uses.""" + controller = RunController(run_root) + return controller.start( + _demo_identity(), + dict(_DEMO_ATTESTATION), + expected=dict(_DEMO_ATTESTATION), + goal=goal, + ) + + +def demo_command(goal: str, run_root: Path, execute: bool) -> int: + """CLI entry point. Prints JSON reports like the other commands.""" + goal = goal or _DEFAULT_GOAL + try: + scaffold = scaffold_demo(run_root, goal) + print(json.dumps({"status": "scaffolded", **scaffold}, sort_keys=True)) + if not execute: + inputs = scaffold["inputs_dir"] + print( + json.dumps( + { + "status": "hint", + "run": ( + "torq run --goal " + json.dumps(goal) + + " --run-root " + str(run_root) + + " --identity " + inputs + "/identity.json" + + " --expected " + inputs + "/expected.json" + + " --actual " + inputs + "/actual.json" + ), + }, + sort_keys=True, + ) + ) + return 0 + report = execute_demo(run_root, goal) + print(json.dumps({"status": "dry_run_complete", "report": report}, sort_keys=True)) + return 0 + except Exception as exc: + print(json.dumps({"status": "blocked", "finding": str(exc)}, sort_keys=True)) + return 3 diff --git a/src/torq_cli/interfaces/cli.py b/src/torq_cli/interfaces/cli.py index a978b4f..4c2a116 100644 --- a/src/torq_cli/interfaces/cli.py +++ b/src/torq_cli/interfaces/cli.py @@ -159,6 +159,13 @@ def _parser() -> argparse.ArgumentParser: fleet.add_argument("--chat-model") fleet.add_argument("--credential-file") fleet.add_argument("--claude-bin", default="claude") + demo = sub.add_parser( + "demo", + help="Scaffold a zero-config dry-run demo (no providers contacted)", + ) + demo.add_argument("--goal", default="") + demo.add_argument("--run-root", default="./torq-demo-runs") + demo.add_argument("--run", action="store_true", help="execute the dry-run after scaffolding") trust = sub.add_parser("trust") trust_sub = trust.add_subparsers(dest="trust_command", required=True) trust_sub.add_parser("readiness") @@ -320,6 +327,10 @@ def main(argv: Sequence[str] | None = None) -> int: envelope = import_boundary.output_rejected() return 5 if _print_envelope(envelope, compact=True) else 2 args = _parser().parse_args(argv) + if args.command == "demo": + from torq_cli.application.demo import demo_command + + return demo_command(args.goal, Path(args.run_root), args.run) if args.command == "trust": trust_report = evaluate_production_trust() print(json.dumps(trust_report.to_dict(), sort_keys=True))