generated from coulomb/repo-seed
Add guide-board pilot ingestion
This commit is contained in:
@@ -3,8 +3,9 @@
|
||||
Status: v0.1 (WP-0003 baseline)
|
||||
Updated: 2026-05-16
|
||||
|
||||
This guide is the user manual for running `artifact-store` v0.1 — the
|
||||
library, CLI, HTTP ingestion API, manifest surface, and retention lifecycle.
|
||||
This guide is the user manual for running `artifact-store` v0.1: the library,
|
||||
CLI, HTTP ingestion API, manifest surface, retention lifecycle, storage checks,
|
||||
and the guide-board pilot path.
|
||||
|
||||
For architectural background see
|
||||
[ARCHITECTURE-BLUEPRINT.md](ARCHITECTURE-BLUEPRINT.md), the ADRs under
|
||||
@@ -52,6 +53,7 @@ All settings are prefixed with ``ARTIFACTSTORE_`` and read by
|
||||
| `ARTIFACTSTORE_ANON_READ` | `false` | Set `true` only for local demos where read endpoints may be anonymous. |
|
||||
| `ARTIFACTSTORE_API_URL` | `http://127.0.0.1:8000` | Default API base URL used by HTTP-backed CLI commands. |
|
||||
| `ARTIFACTSTORE_API_TOKEN` | empty | Default bearer token used by HTTP-backed CLI commands. |
|
||||
| `ARTIFACTSTORE_GUIDE_BOARD_SCHEMA` | `schemas/guide-board.run.v1.json` | Schema path used by guide-board pilot bootstrap helpers. |
|
||||
| `ARTIFACTSTORE_RETENTION_CONFIG_PATH` | empty | Optional TOML file overriding retention-class default durations. |
|
||||
| `ARTIFACTSTORE_RETENTION_SWEEP_INTERVAL_SECONDS` | `3600` | Default interval for external schedulers that invoke the retention sweeper. |
|
||||
| `ARTIFACTSTORE_STORAGE_BACKENDS` | `local` | Comma-separated backend IDs to configure (`local`, `s3`). |
|
||||
@@ -67,6 +69,9 @@ All settings are prefixed with ``ARTIFACTSTORE_`` and read by
|
||||
| `ARTIFACTSTORE_S3_SSE` | empty | Optional server-side encryption value, e.g. `AES256`. |
|
||||
| `ARTIFACTSTORE_S3_MULTIPART_THRESHOLD_BYTES` | `67108864` | Multipart threshold for the S3 backend. |
|
||||
| `ARTIFACTSTORE_S3_MULTIPART_CHUNK_BYTES` | `8388608` | Multipart part size for the S3 backend. |
|
||||
| `STATE_HUB_URL` | `http://127.0.0.1:8000` | State Hub base URL used by guide-board linkage helpers. |
|
||||
| `STATE_HUB_WORKSTREAM_ID` | empty | Optional workstream id for State Hub linkage events. |
|
||||
| `STATE_HUB_TASK_ID` | empty | Optional task id for State Hub linkage events. |
|
||||
|
||||
See [`.env.example`](../.env.example) for the canonical template.
|
||||
|
||||
@@ -201,6 +206,7 @@ digest, emits `v1.storage.location_verified`, and marks failed locations as
|
||||
| `artifactstore manifest <package_id>` | Fetch the JSON manifest projection through the HTTP API. |
|
||||
| `artifactstore retention sweep` | Run one deletion-eligibility sweep against the configured DB. |
|
||||
| `artifactstore storage verify --backend <id>` | Re-read stored objects for a backend and record verification events. |
|
||||
| `artifactstore guide-board ingest <run-dir>` | Ingest one guide-board run directory as an artifact package. |
|
||||
|
||||
The CLI is a thin client over `artifactstore.registry.Registry`
|
||||
(see [ADR-0005](adr/0005-v1-tech-stack.md)).
|
||||
@@ -215,6 +221,7 @@ The CLI is a thin client over `artifactstore.registry.Registry`
|
||||
| `/files...` | File metadata and byte downloads, including single-range reads. |
|
||||
| `/uploads...` | Upload-session wire shape for whole-body v1 uploads. |
|
||||
| `/packages/{id}/retention...` | Extend retention, apply/release holds, and read retention history. |
|
||||
| `POST /metadata-schemas` | Register package metadata schemas by slug. |
|
||||
| `GET /events` | Long-poll event feed, CBOR by default or JSON with `Accept: application/json`. |
|
||||
|
||||
All non-health routes require a bearer token unless
|
||||
@@ -267,6 +274,14 @@ asyncio.run(main())
|
||||
Prerequisites: `make migrate-fresh` has been run so the schema and the
|
||||
retention class seeds exist.
|
||||
|
||||
## Guide-board pilot
|
||||
|
||||
The guide-board pilot stores a run directory as one artifact package and records
|
||||
only package identifiers in State Hub. See
|
||||
[docs/pilots/guide-board.md](pilots/guide-board.md) for schema registration,
|
||||
the real `~/guide-board` plus `~/open-cmis-tck` smoke procedure, and the exact
|
||||
`POST /progress/` linkage payload.
|
||||
|
||||
## Replay / disaster recovery
|
||||
|
||||
Every state-changing operation writes one row to `events` and updates the
|
||||
@@ -303,6 +318,8 @@ sequence order through the canonical view writer. The result is
|
||||
and the v1 schema commitments.
|
||||
- [ROADMAP.md](ROADMAP.md) — workplan sequencing.
|
||||
- [ASSEMBLY-EXPERIMENT.md](ASSEMBLY-EXPERIMENT.md) — opt-in asm research line.
|
||||
- [pilots/guide-board.md](pilots/guide-board.md) — guide-board pilot ingestion
|
||||
and State Hub linkage.
|
||||
|
||||
### Architecture Decision Records
|
||||
|
||||
|
||||
Reference in New Issue
Block a user