This document defines the shared internal contract for deterministic governed AI tasks that run through the T81 AI task subsystem.
Canonical runnable example:
Assess-Fixed OS-Object Chain
section in examples/ai-and-inference/model-load-canonfs/README.md
and the companion script
run_assess_fixed_host_action.sh.The shared runner is responsible for:
t81_reference_vm lane onlyresult_summaryresult_classresult_refprovenance_refpolicy_resulttermination_reasonEach task must provide a descriptor that defines:
cli_nametask_kindtask_nameresult_schemaFixed-label tasks may additionally provide a closed vocabulary mapping through the descriptor.
The materializer is the only task-specific step after deterministic execution.
It must:
It must not:
Result artifacts:
schematasktermination_reasonProvenance artifacts:
t81.ai.task.provenance.v1Retrieval:
t81 canonfs get <result_ref>t81 canonfs get <provenance_ref>t81 ai task read-field <artifact-file|sha3-256:ref> --field <name>t81 artifact validate-record <file|sha3-256:hash> --schema <schema-id>t81 artifact write-store-record --schema <schema-id> --field key=value ... [--canonfs-root <path>]t81 artifact read-field <file|sha3-256:hash> --schema <schema-id> --field <name> [--canonfs-root <path>]t81 artifact store-bundle --schema <schema-id> --field key=value ... [--canonfs-root <path>]t81 artifact read-field <file|sha3-256:hash> --schema <schema-id> --field <name> [--canonfs-root <path>]The current downstream bundle family is intentionally narrow and exists only to persist completed fixed-chain compositions as one top-level CanonFS object.
Supported bundle schemas:
t81.ai.task.assess-fixed.bundle.v1t81.ai.task.route-fixed.bundle.v1t81.ai.task.classify-fixed.bundle.v1Required fixed fields:
source_result_refsource_provenance_refaction_refrecord_refCanonical field ordering:
schemasource_result_refsource_provenance_refaction_refrecord_refWhat the bundle represents:
What the bundle must contain:
source_result_ref: CanonFS ref to the canonical AI task result artifact for the chainsource_provenance_ref: CanonFS ref to the canonical AI task provenance artifactaction_ref: CanonFS ref to the non-AI action artifact selected from the AI resultrecord_ref: CanonFS ref to the validated downstream record for the chainWhat is intentionally out of scope:
Supported helpers for the current downstream schema family:
t81 artifact write-store-record
t81.ai.task.assess-fixed.host-action-record.v1t81.ai.task.route-fixed.path-selection-record.v1t81.ai.task.classify-fixed.rule-selection-record.v1t81 artifact validate-record
t81 artifact store-record
t81 artifact store-bundle
t81.ai.task.assess-fixed.bundle.v1t81.ai.task.route-fixed.bundle.v1t81.ai.task.classify-fixed.bundle.v1t81 artifact read-field
CanonFS retrieval expectations:
t81 canonfs get <ref>t81 artifact read-field ... --schema <schema-id> --field <name>route-fixed path-selection chainclassify-fixed rule-selection chainCurrent convergence point:
tests/cpp/cli_contract_test.cpptests/cpp/ai_task_assess_fixed_composition_test.cpptests/cpp/ai_task_route_fixed_composition_test.cpptests/cpp/ai_task_classify_fixed_composition_test.cppschematasktermination_reasonFixed-label tasks:
answer_fixed.v1classify_fixed.v1route_fixed.v1Fixed-schema task:
assess_fixed.v1Current downstream schema family:
t81.ai.task.assess-fixed.host-action-record.v1t81.ai.task.assess-fixed.bundle.v1t81.ai.task.route-fixed.path-selection-record.v1t81.ai.task.route-fixed.bundle.v1t81.ai.task.classify-fixed.rule-selection-record.v1t81.ai.task.classify-fixed.bundle.v1