Artifacts: runner-internal turn files move to a Debugging files group
Each recorded artifact now carries a server group (deliverable or debug). public/ files are deliverables; input/memory/history/output.md, session exports and private/ scratch are debugging files. The app's Artifacts tab lists deliverables and the Debug toggle reveals a separate Debugging files group (older servers fall back to the filename rule); the TUI lists deliverables first and marks debug rows; artifact search excludes debug files unless include_debug / --debug-files is set.
This commit is contained in:
+4
-1
@@ -93,12 +93,15 @@ never returned. Missing public phone configuration is labeled explicitly.
|
||||
|
||||
## Search
|
||||
|
||||
`pipelines search QUERY [--type KIND] [--limit N] [--json]` runs one read-only
|
||||
`pipelines search QUERY [--type KIND] [--limit N] [--debug-files] [--json]` runs one read-only
|
||||
query across the whole system: pipeline names and their versions, run identity,
|
||||
status and dates, stage and visit identifiers, artifact names and types, and the
|
||||
text of stage inputs, outputs, evidence and transcripts. It never reads
|
||||
artifact contents, never makes a per-result follow-up request, and asks for no
|
||||
confirmation.
|
||||
Artifact hits are deliverables only: runner-internal debugging files (see
|
||||
[Stage artifacts](stage-artifacts.md#deliverables-and-debugging-files)) match
|
||||
only with `--debug-files` (`include_debug` on the request).
|
||||
|
||||
- Free text matches case-insensitively. A bare status word (`queued`, `running`,
|
||||
`succeeded`, `failed`, `canceled`, `interrupted`) selects those runs, and a lone
|
||||
|
||||
+28
-3
@@ -55,9 +55,34 @@ server-relative `url`. Public entries carry a `public/` name prefix. The same
|
||||
fields appear under each step's `artifacts` in `pipelines inspect RUN_ID --json`
|
||||
and in the TUI.
|
||||
|
||||
`input.md`, `memory.md`, `history.md` and `output.md` are the primary artifacts of every model
|
||||
visit. `private/` files are listed without a prefix; shared files are listed as
|
||||
`public/...` on every visit that can see them.
|
||||
`input.md`, `memory.md`, `history.md` and `output.md` are always inventoried
|
||||
first, so they are never crowded out by captures. `private/` files are listed
|
||||
as `private/...`; shared files are listed as `public/...` on every visit that
|
||||
can see them.
|
||||
|
||||
## Deliverables and debugging files
|
||||
|
||||
Every recorded artifact carries a `group` (`protocol.ClassifyArtifacts`):
|
||||
|
||||
- `deliverable`: a file the stage published to `public/`. For a visit recorded
|
||||
before the turn layout (no turn files), every other file is a deliverable too.
|
||||
- `debug`: runner-internal files - `input.md`, `memory.md`, `history.md`,
|
||||
`output.md`, `session.html` and session repairs, the visit's `private/`
|
||||
scratch, and any other unprefixed file of a turn-layout visit.
|
||||
|
||||
The group is derived from the recorded names on every read, so runs stored
|
||||
before the field existed are classified the same way. Clients present only
|
||||
deliverables by default:
|
||||
|
||||
- App: the run's Artifacts tab lists deliverables; the Debug (bug) toggle
|
||||
reveals a separate "Debugging files" group under each visit. The parsed
|
||||
stage result stays on Summary, and the visit's Session page still shows its
|
||||
turn documents. An older server records no `group`, so the app falls back to
|
||||
the names above (`input.md`, `memory.md`, `history.md`, `output.md`,
|
||||
`session.html`, `private/...`).
|
||||
- TUI: deliverables first, debugging files after them marked `[dbg]`.
|
||||
- Search: artifact hits are deliverables only; `include_debug` on the request
|
||||
(`pipelines search --debug-files`) also matches debugging files.
|
||||
|
||||
- Limits: 200 files per step, 8 MiB per file and 64 MiB total. Over-cap files are
|
||||
skipped and the skipped/truncated counts are recorded with the step.
|
||||
|
||||
Reference in New Issue
Block a user