Skip to content

feat(training): attest configured loss execution - #22

Draft
GBeurier wants to merge 5 commits into
agent/loss-native-contractsfrom
agent/loss-controller-protocol
Draft

feat(training): attest configured loss execution#22
GBeurier wants to merge 5 commits into
agent/loss-native-contractsfrom
agent/loss-controller-protocol

Conversation

@GBeurier

Copy link
Copy Markdown
Owner

Summary

  • project authoritative training-loss roles from TrainingRequest into node plans and tasks
  • validate controller capabilities and configured-loss requirements during planning
  • require exact ordered LossExecutionAttestation records for FIT_CV and REFIT results
  • bind FIT_CV cache namespaces, REFIT artifact materialization, replay and provenance to the resolved loss fingerprint
  • document the normative multi-output attestation ordering and add a reversed-order regression test

This PR is stacked on #21.

Validation

  • cargo test -p dag-ml-core: 639 passed, 2 ignored
  • cargo clippy -p dag-ml-core --all-targets -- -D warnings
  • focused result/attestation regression test
  • contract and training-replay validators
  • affected criteria/training/replay/conformal parity suites
  • conformance pack artifact hash audit
  • cargo fmt --all -- --check
  • git diff --check

Independent review

The complete protocol implementation was independently approved with no actionable defects. A focused follow-up review confirmed that node-plan ordering, phase filtering, documentation and reversed-attestation rejection are consistent; generated pack integrity was also validated locally.

Scope note

This establishes the native controller protocol. Process-local executable registries for Rust and language bindings remain a separate stacked implementation.

GBeurier added 3 commits July 16, 2026 02:08
…-protocol

# Conflicts:
#	crates/dag-ml-py/python/dag_ml/_dag_ml.abi3.so
#	docs/contracts/conformal_robustness_conformance_pack.v1.json
#	docs/contracts/training_contract_conformance_pack.v1.json
#	docs/contracts/training_replay_contract_conformance_pack.v1.json
#	parity/training/generate_training_replay_fixtures.py
#	parity/training/tests/test_training_replay_contracts.py
#	scripts/validate_training_replay_contracts.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant