Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@ Versioning after its first tagged release.

## Unreleased

## 0.1.0 - 2026-07-13

- Narrowed the supported surface to the local CLI/library runtime.
- Removed non-running API/worker services and unconnected dashboards from the
default Compose topology.
- Added persistent finalization-conflict accounting distinct from terminal-event
invariant violations.
- Added explicit, local-only destructive reset controls.
- Added Apache-2.0 licensing and bounded contribution/security surfaces.
- Published a content-addressed local smoke evidence bundle for the exact
release candidate revision.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ snapshots under [`docs/evidence/`](docs/evidence/) show report shape, while the
committed snapshot is illustrative until its command, source revision, inputs,
and checksums are independently verified.

The [`v0.1.0 release evidence`](docs/evidence/releases/v0.1.0/README.md) is a
content-addressed exception: it records a clean source revision, machine-readable
run data, the human-readable report, and a verifier manifest for a 20-job local
stub smoke run.

Important evidence terms:

- `idempotency replay` means the same submission key returned the existing job;
Expand Down
2 changes: 2 additions & 0 deletions docs/EVIDENCE_INDEX.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ Maintain this file for:
| Bounded routine contract | documentation/test | `docs/AUTONOMOUS_ROUTINE_CONTRACT.md`, `docs/TRIGGER_SECURITY.md`, `docs/evidence/routine-reliability-report.md`, `tests/test_routine_contract_docs.py` | Routine trigger/runtime contract, trigger security controls, and required reliability report metrics for manual/cron/webhook/event bounded routines | 2026-07-06 | Yes |
| T33 machine-readable evidence | implementation/tests | `src/agent_runtime_grid/evidence.py`, `tests/test_evidence_bundle.py` | Versioned JSON run record, portable paths, source/environment/config metadata, atomic writes, SHA-256 manifest, and modified/missing/extra/symlink/path-traversal rejection | 2026-07-13 | Yes |
| T34 database reset safety | implementation/tests | `src/agent_runtime_grid/storage/safety.py`, `tests/test_database_reset_safety.py` | Explicit reset flag and refusal of remote or unrelated database targets | 2026-07-13 | Yes |
| v0.1.0 release smoke | content-addressed local run | `docs/evidence/releases/v0.1.0/` | Exact clean source revision, 20 submitted/completed stub jobs, artifact integrity, queue state, zero model cost, and SHA-256 verification manifest | 2026-07-13 | Yes |

---

Expand All @@ -78,6 +79,7 @@ Maintain this file for:
| Full-stack live-local proof | `reports/full-stack/live_local_runtime_report.md` | implemented in T31 | Generated by selected Eval Lab/gdev cases run through Grid workers that call local gdev-agent `/webhook`; contents ignored by git. |
| Full-stack live-local snapshot | `docs/evidence/full-stack-live-local.md` | committed evidence snapshot | Stable summary, boundary notes, rerun command, and 2026-06-15 operator-run result for optional local HTTP proof mode. |
| Routine reliability report contract | `docs/evidence/routine-reliability-report.md` | committed starter evidence contract | Required fields for future generated routine reliability reports without adding a scheduler implementation. |
| v0.1.0 local smoke evidence | `docs/evidence/releases/v0.1.0/` | content-addressed release evidence | Machine-readable JSON and human-readable report from exact source revision `ddf533b36bbca0fd90a3093984d0b3f36e8ebeab`; verifier manifest covers both files. |

---

Expand Down
62 changes: 62 additions & 0 deletions docs/evidence/releases/v0.1.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Runtime Grid v0.1.0 release evidence

This directory records a deterministic, zero-model-cost local smoke run made
from clean source revision `ddf533b36bbca0fd90a3093984d0b3f36e8ebeab`.
It is release evidence for the supported local CLI/library boundary, not a
production throughput, availability, customer, or external-adoption claim.

## Observed result

- 20 jobs submitted and 20 completed;
- 20 of 20 recorded artifacts passed integrity validation;
- zero failed, timed-out, cancelled, queued, running, or DLQ jobs at report time;
- zero retries, finalization conflicts, duplicate terminal events, or
idempotency replays;
- estimated model cost: `$0` in `stub` mode;
- Postgres and Redis ran locally with four in-process workers.

The measured p95 execution and queue-wait values describe only this single
machine and run. They are retained in the report for reproducibility and must
not be interpreted as capacity or SLO evidence.

## Files and verification

- `runtime-smoke.md`: human-readable runtime report;
- `runtime-smoke.json`: schema-versioned run record with source, environment,
configuration, lifecycle, artifact, and backpressure fields;
- `runtime-smoke.manifest.json`: SHA-256 manifest covering both report files.

Verify the committed bytes from the repository root:

```bash
PATH=.venv/bin:$PATH agent-runtime-grid verify-evidence \
--manifest docs/evidence/releases/v0.1.0/runtime-smoke.manifest.json
```

Expected manifest entries:

```text
runtime-smoke.md dd755dd40c660218f8dd59f505d18e3ebbd3d900f75ceee0f9aca033c6289fd2
runtime-smoke.json 93863b224f7c07904b83883cd3c8e6a18c8983d2469216dbec87691d5529fbee
```

The manifest file itself has SHA-256
`07442b769fad42a1664cc3adc7a11d73cb2041ceb61f65e402087e096d5b12ed`.

## Reproduction boundary

The original run used Python 3.12.3 on Linux x86_64 and the following command
shape after starting the pinned Postgres and Redis Compose services:

```bash
PATH=.venv/bin:$PATH agent-runtime-grid smoke \
--jobs 20 \
--workers 4 \
--mode stub \
--reset-local-database \
--report docs/evidence/releases/v0.1.0/runtime-smoke.md
```

Run identifiers, timestamps, job identifiers, and timings are expected to
change on reproduction. The verifier proves the committed run has not changed;
the test suite and the runtime invariants determine whether a new run is valid.
287 changes: 287 additions & 0 deletions docs/evidence/releases/v0.1.0/runtime-smoke.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,287 @@
{
"command": "smoke",
"config": {
"artifact_root": "artifacts",
"failure_rate": 0.0,
"jobs": 20,
"mode": "stub",
"workers": 4
},
"environment": {
"implementation": "CPython",
"machine": "x86_64",
"platform": "Linux",
"python": "3.12.3"
},
"generated_at": "2026-07-13T11:16:36.494745+00:00",
"report": {
"artifact_completeness": 1.0,
"artifact_integrity": {
"artifacts": [
{
"attempt_number": 1,
"created_at": "2026-07-13T11:16:36.014302+00:00",
"eval_result_path": null,
"input_digest": "b8ba77e15f1334e56bf422a267b71e66d1bd1794964324fc0989ec8d2f2d898c",
"job_id": "60669a06-7a5f-40c3-8e0c-d725621d19f2",
"path": "artifact://60669a06-7a5f-40c3-8e0c-d725621d19f2/attempt-1.json",
"run_id": "6e837e20-dc6a-4053-a5bf-709302063939",
"sha256": "a1886993ac1b765cc70b52946953595d41d0907121495d05a2113f0cbc4d1ce4",
"size_bytes": 342
},
{
"attempt_number": 1,
"created_at": "2026-07-13T11:16:36.031177+00:00",
"eval_result_path": null,
"input_digest": "18164623b922b96c6a730a4dff8b2fe71a8d7bc23afc576de947f9a6d2aa5aba",
"job_id": "a96844a0-6f61-4a78-8b48-f1bf5354a775",
"path": "artifact://a96844a0-6f61-4a78-8b48-f1bf5354a775/attempt-1.json",
"run_id": "6e837e20-dc6a-4053-a5bf-709302063939",
"sha256": "c09363763be38ccd753322f3788a74bc03e71805d746eb495528b81ec39b7c55",
"size_bytes": 342
},
{
"attempt_number": 1,
"created_at": "2026-07-13T11:16:36.040160+00:00",
"eval_result_path": null,
"input_digest": "45d3f82968a1e539e8e8b0eed22415b3e6c75276758fa9b3cb02932a439d70eb",
"job_id": "da83c6b7-a8c5-4127-8bb5-2230ce43a6d8",
"path": "artifact://da83c6b7-a8c5-4127-8bb5-2230ce43a6d8/attempt-1.json",
"run_id": "6e837e20-dc6a-4053-a5bf-709302063939",
"sha256": "3a56f772e063612c832e2551b67a28bdd6025d5fd006b7d85a2127a32025de8a",
"size_bytes": 342
},
{
"attempt_number": 1,
"created_at": "2026-07-13T11:16:36.043717+00:00",
"eval_result_path": null,
"input_digest": "eae60959de2ad7c6ca7eb577df7ef41eec4d04ea2d907516b716593342124e94",
"job_id": "dba46681-146b-49a5-a48a-f6baa045bb75",
"path": "artifact://dba46681-146b-49a5-a48a-f6baa045bb75/attempt-1.json",
"run_id": "6e837e20-dc6a-4053-a5bf-709302063939",
"sha256": "2b27330fa3bad51a1650d488dd7aa54f3b232fb91b22f7f431f4b5c6e86ca1a2",
"size_bytes": 342
},
{
"attempt_number": 1,
"created_at": "2026-07-13T11:16:36.112278+00:00",
"eval_result_path": null,
"input_digest": "0cb8b0fd8adf83ef851eb78261ae00953bfe800aee3862880f28485bc16ed0f8",
"job_id": "c9cec405-e3db-4516-9990-7748887c3f51",
"path": "artifact://c9cec405-e3db-4516-9990-7748887c3f51/attempt-1.json",
"run_id": "6e837e20-dc6a-4053-a5bf-709302063939",
"sha256": "87aad93d6096623c2676dc7cc80cc11a9f6c71bbf283d6a117558814819e2bb6",
"size_bytes": 342
},
{
"attempt_number": 1,
"created_at": "2026-07-13T11:16:36.115490+00:00",
"eval_result_path": null,
"input_digest": "d3b97c22f90d401b30c6389fc5dc224688087b48f694861e7025d5de85f71a13",
"job_id": "78fed10d-4ed8-47f8-a4e6-3142bcb19d5c",
"path": "artifact://78fed10d-4ed8-47f8-a4e6-3142bcb19d5c/attempt-1.json",
"run_id": "6e837e20-dc6a-4053-a5bf-709302063939",
"sha256": "a0a8feaf71d7e0d59b0157aa56779dfccc05b4869d57aea5208debbd655ca695",
"size_bytes": 342
},
{
"attempt_number": 1,
"created_at": "2026-07-13T11:16:36.117770+00:00",
"eval_result_path": null,
"input_digest": "9b3ccdef1a894ffdfcf46f919d9df72fb7570fb271dcf6dc7d6d921e0086686f",
"job_id": "6363834a-bdda-4ea9-80a8-0b33389849a5",
"path": "artifact://6363834a-bdda-4ea9-80a8-0b33389849a5/attempt-1.json",
"run_id": "6e837e20-dc6a-4053-a5bf-709302063939",
"sha256": "8d31c6061a69d3651ca73825cd3f36d2da3651bf2af5d523df6e88147abe6b0a",
"size_bytes": 342
},
{
"attempt_number": 1,
"created_at": "2026-07-13T11:16:36.119681+00:00",
"eval_result_path": null,
"input_digest": "804e12d7dd7d6a78774b6da276785b0ea266644684827a5b2ff612d67107851f",
"job_id": "231dc03e-ef80-499c-bdb6-0fc5491ccb42",
"path": "artifact://231dc03e-ef80-499c-bdb6-0fc5491ccb42/attempt-1.json",
"run_id": "6e837e20-dc6a-4053-a5bf-709302063939",
"sha256": "79c8ec3157b2942f6a8e39478999caa26ba24e6ae8b9e316a640e8d08426de95",
"size_bytes": 342
},
{
"attempt_number": 1,
"created_at": "2026-07-13T11:16:36.163391+00:00",
"eval_result_path": null,
"input_digest": "265e4b80e912553e7ee58afd2e6664f377800a82b54b12239d38eff8922716c7",
"job_id": "47d76fa6-bac2-4ff3-a7d6-4331d965599c",
"path": "artifact://47d76fa6-bac2-4ff3-a7d6-4331d965599c/attempt-1.json",
"run_id": "6e837e20-dc6a-4053-a5bf-709302063939",
"sha256": "90787881e0c3a4dcdcda621bc2d8212fd9db922d581415a40ff89bb463006b00",
"size_bytes": 342
},
{
"attempt_number": 1,
"created_at": "2026-07-13T11:16:36.171940+00:00",
"eval_result_path": null,
"input_digest": "2e623f2c7441ff21054da1ca0159f05d3e1a385ad18238aa2448fb78a7bd120c",
"job_id": "9ed86eb1-8e07-47c2-9212-fe211f511e0e",
"path": "artifact://9ed86eb1-8e07-47c2-9212-fe211f511e0e/attempt-1.json",
"run_id": "6e837e20-dc6a-4053-a5bf-709302063939",
"sha256": "d9ad95b12322f26adfa0861fdc96ed6d75409383545f2852f4d7394f8dbfb974",
"size_bytes": 342
},
{
"attempt_number": 1,
"created_at": "2026-07-13T11:16:36.166780+00:00",
"eval_result_path": null,
"input_digest": "2bedb95b61095d549d089ebb0e11fb2b0240f54548ac7d06e07ffdcdca8b48ee",
"job_id": "fc4fc818-55ed-40c7-8a4b-3cee2fec6c62",
"path": "artifact://fc4fc818-55ed-40c7-8a4b-3cee2fec6c62/attempt-1.json",
"run_id": "6e837e20-dc6a-4053-a5bf-709302063939",
"sha256": "6fbbc03ac8f8f49b374cdedb313031fcade8fa21c12fc8eca7a4562acf00e48c",
"size_bytes": 342
},
{
"attempt_number": 1,
"created_at": "2026-07-13T11:16:36.169596+00:00",
"eval_result_path": null,
"input_digest": "b4bac29723537b1bb0c394766fe5cb165afe7d04a3c2e3162b912df7bd9aa32d",
"job_id": "6287b7da-6f95-47b1-9d5d-c5ab14d1e91b",
"path": "artifact://6287b7da-6f95-47b1-9d5d-c5ab14d1e91b/attempt-1.json",
"run_id": "6e837e20-dc6a-4053-a5bf-709302063939",
"sha256": "a566e16bd08ae9c258872b41cc65637868019efa39385d6911c572cb786e2aab",
"size_bytes": 342
},
{
"attempt_number": 1,
"created_at": "2026-07-13T11:16:36.212911+00:00",
"eval_result_path": null,
"input_digest": "31d204aeeac45a756cb15b8433ebbd9e5c9c6731e7faf9fe33acdf06e3ea59db",
"job_id": "b0ce0f08-4f4a-4875-9362-6402df5a1e53",
"path": "artifact://b0ce0f08-4f4a-4875-9362-6402df5a1e53/attempt-1.json",
"run_id": "6e837e20-dc6a-4053-a5bf-709302063939",
"sha256": "1f37d3a90b17448a2ffe069df913791e68915aa5246fc1c5f2525878a875ac31",
"size_bytes": 342
},
{
"attempt_number": 1,
"created_at": "2026-07-13T11:16:36.218140+00:00",
"eval_result_path": null,
"input_digest": "de8f5a0d047450d0ecd7e8b9fab9c2bc0cdecdb202943deb0e201bb53c40fad4",
"job_id": "af4d650c-bdd4-417d-a140-13d166e5a6a5",
"path": "artifact://af4d650c-bdd4-417d-a140-13d166e5a6a5/attempt-1.json",
"run_id": "6e837e20-dc6a-4053-a5bf-709302063939",
"sha256": "1ffecbdc3bcfe1b3bcaea4386e7fd69366f3c4d05c385a09cc83fa2000724a1b",
"size_bytes": 342
},
{
"attempt_number": 1,
"created_at": "2026-07-13T11:16:36.220064+00:00",
"eval_result_path": null,
"input_digest": "7c647808f5ab1af47b058c669b94828a0019cfaa90b92bbef16039c73f4af1a7",
"job_id": "09649b86-cd4d-419a-a078-61eaf111bb25",
"path": "artifact://09649b86-cd4d-419a-a078-61eaf111bb25/attempt-1.json",
"run_id": "6e837e20-dc6a-4053-a5bf-709302063939",
"sha256": "60cd988b96416fe0db29c48070691c9b8d573a03413b061fdf9056da9f9567c6",
"size_bytes": 342
},
{
"attempt_number": 1,
"created_at": "2026-07-13T11:16:36.215634+00:00",
"eval_result_path": null,
"input_digest": "2d114049e5865ccdec3037a18dac2c7ec9593c3e1bc1fe4c00fd35020d068b6a",
"job_id": "4e1ad559-af4a-4f2c-a2ab-055fe8ce24b9",
"path": "artifact://4e1ad559-af4a-4f2c-a2ab-055fe8ce24b9/attempt-1.json",
"run_id": "6e837e20-dc6a-4053-a5bf-709302063939",
"sha256": "054544fe653605edf4453f8cca9c3e2bc5fcdad80679b15ea52840654b9f6f32",
"size_bytes": 342
},
{
"attempt_number": 1,
"created_at": "2026-07-13T11:16:36.257454+00:00",
"eval_result_path": null,
"input_digest": "8fd83d129dc344d196302639870acecfe17a157d73e2853eb7c134858dda45a1",
"job_id": "7c2ad149-0038-42ff-a057-d85ebe26e4af",
"path": "artifact://7c2ad149-0038-42ff-a057-d85ebe26e4af/attempt-1.json",
"run_id": "6e837e20-dc6a-4053-a5bf-709302063939",
"sha256": "e6d77e367f86ea5e7d2e4fe7599e8f44329079c163d9c4e3cb2c7e1dc2645ebe",
"size_bytes": 342
},
{
"attempt_number": 1,
"created_at": "2026-07-13T11:16:36.264788+00:00",
"eval_result_path": null,
"input_digest": "418acf6e054b844a83b004dd9b2af3e35fdea14af6c7759edebb25b9a75b9144",
"job_id": "155e9458-ef5a-486f-a18f-621eb8f9e970",
"path": "artifact://155e9458-ef5a-486f-a18f-621eb8f9e970/attempt-1.json",
"run_id": "6e837e20-dc6a-4053-a5bf-709302063939",
"sha256": "f14a48c459ea1c995258a5e3a77830d1caec91029995b0596b96d9e9d901e9ab",
"size_bytes": 342
},
{
"attempt_number": 1,
"created_at": "2026-07-13T11:16:36.268181+00:00",
"eval_result_path": null,
"input_digest": "91c94b528925951fa8e81972aea1091a343aaaca9d56e53d49c9ec87b4a36817",
"job_id": "9ba08f74-971c-4c8f-a5c8-d5df021d7217",
"path": "artifact://9ba08f74-971c-4c8f-a5c8-d5df021d7217/attempt-1.json",
"run_id": "6e837e20-dc6a-4053-a5bf-709302063939",
"sha256": "e305e0b29d6350a8edd5d69a2343f16e620d2cc7fb4b9e9cd8907e0d4ba09648",
"size_bytes": 342
},
{
"attempt_number": 1,
"created_at": "2026-07-13T11:16:36.261011+00:00",
"eval_result_path": null,
"input_digest": "271ea72788698464c8edc3de23238ffeb69e200ec9306f369d42180f73e10eff",
"job_id": "52670aee-57c9-4e58-9850-6e231f17bbe1",
"path": "artifact://52670aee-57c9-4e58-9850-6e231f17bbe1/attempt-1.json",
"run_id": "6e837e20-dc6a-4053-a5bf-709302063939",
"sha256": "432a70348a10cf4d0595723503e9084bbf97cba9f6c64a19d008e494d0a1715a",
"size_bytes": 342
}
],
"checked_count": 20,
"valid_count": 20
},
"backpressure": {
"consumer_lag": 0,
"dlq_count": 0,
"leased_jobs": 0,
"oldest_pending_age_seconds": 0.0,
"p95_execution_seconds": 0.148772,
"p95_queue_wait_seconds": 0.493173,
"queue_depth": 0,
"retry_rate": 0.0,
"running_jobs": 0,
"worker_utilization": 0.0
},
"completion_rate": 1.0,
"duplicate_terminal_event_count": 0,
"estimated_cost_usd": "0",
"failure_classification": {},
"finalization_conflict_attempt_count": 0,
"idempotency_replay_count": 0,
"injected_failure_count": 0,
"lifecycle_counts": {
"cancelled": 0,
"completed": 20,
"dlq": 0,
"failed": 0,
"queued": 0,
"running": 0,
"timed_out": 0
},
"p95_duration_seconds": 0.148772,
"queue_lag_seconds": 0.493173,
"retry_count": 0,
"run_id": "6e837e20-dc6a-4053-a5bf-709302063939",
"source": "runtime_state:artifacts",
"submitted_jobs": 20,
"title": "Load Smoke Report"
},
"schema_version": "agent-runtime-grid.run-evidence.v1",
"seed": null,
"source_revision": {
"commit": "ddf533b36bbca0fd90a3093984d0b3f36e8ebeab",
"dirty": false
}
}
Loading