VoidscapeDocs
Current main
On this page Overview
Operate

Workflow and protocol

Voidscape exposes a guided product flow and a lower-level reader protocol.

Canonical sources: workflow, architecture, and CLI reference

Guided flow#

StepCommandAgent responsibility
1voidscape.py inspect <input>Read source facts and recommended scope; do not process media
2voidscape.py preview <input>Inspect cost, dependency, cloud, and model-download decisions
3approval gateStop when the preview requires a current approval or dependency action
4voidscape.py read <input>Pass only approvals granted for this previewed input and scope
5read evidenceUse the manifest and exact citation labels in the answer

The order is mandatory: inspect -> preview -> read. customize manages local preferences only; doctor reports readiness without installing or changing anything.

Approval fields#

After preview, an agent must independently check:

  • requires_cloud_approval
  • needs_model_download
  • needs_install
  • free

--allow-cloud and --allow-model-download apply only after a current explicit yes for the previewed job. An API key, configured backend, or previous run is not consent.

Raw reader protocol#

video.py, image.py, and article.py are focused siblings. Each exposes:

Protocol
manifest -> probe -> estimate -> run

The optional agent envelope is:

JSON
{"ok": true, "data": {}, "error": null, "meta": {"protocol_version": "1.0"}}

Use --envelope --compact for deterministic single-line JSON. The shared exit codes are:

ExitClassification
0success
1unexpected error
2usage error
3input error
4approval required
5dependency error
6operation failed

An error envelope includes code, message, retryable, and exit_code. Do not treat every non-zero result as retryable.

Evidence contracts#

ReaderEvidenceCitation
Image/carouselmanifest.json, ordered images/[image N]
Video/audiomanifest.json, optional frames/, optional transcript.txt[MM:SS]
Articlemanifest.json, ordered entries/[article N]
RSS/Atommanifest.json, ordered entries/[entry N]

The agent cites only evidence actually prepared. A focused rerun is preferable to inventing details outside the selected range.

Edit this page on GitHub ↗