1.5 KiB
1.5 KiB
G8 Local Doc Pipeline Runtime Contract Report
Scope
This round upgrades G8 / local_doc_pipeline from safe-slice classification to a minimal runnable runtime contract.
Representative fixture:
tests/fixtures/generated_scene/g8_local_doc_pipeline
Delivered
- Added a minimal
G8runtime contract in the generator. - Promoted
g8_fail_closedfrom unconditional block to conditional pass when the local document pipeline contract is complete. - Added a dedicated browser compiler path for
local_doc_pipeline. - Extended automatic scene recovery so localhost pipeline dependencies become formal
api_endpoints. - Replaced the old positive fail-closed test with:
- runnable generation test
- incomplete-contract negative test
Minimal Contract
G8 is treated as complete when all of the following are present:
- At least one
local_doc_pipelinestep - At least one
sql_queryordoc_querystep - At least one
doc_exportstep - At least one localhost API endpoint
Generated Runtime Shape
The generated browser script now includes:
localDataEndpoints()sqlQueryEntry()docExportEntry()- local-stage request execution
- artifact payload with
workflow_archetype = local_doc_pipeline
Validation
Passed:
cargo test --test scene_generator_test g8 -- --nocapturecargo test --test scene_generator_test -- --nocapture
Outcome
G8 no longer remains classification-only. It now supports a minimal runtime contract while preserving fail-closed behavior for incomplete manual SceneIr inputs.