Documentation / Reference

Contribute Changes

06 - Reference · Explore documentation

Start with component ownership, public contracts and the support matrix. The Rust authority owns domain correctness. Python translates its contracts. Frameworks own orchestration; providers own bounded execution through reviewed native interfaces. Keep changes at the component that owns the behavior.

Report and Propose Changes

Use the issue chooser for a bug report, feature request or coherence design discussion. Include a minimal synthetic example, affected version and relevant trust or compatibility boundaries. Report vulnerabilities privately through the security policy.

Use the pull request template to record the behavior change, validation, compatibility and effects on coherence or trust boundaries.

Preserve Correctness

Retain full-snapshot validation before publication, explicit immutable provenance, replay/ABA fencing and conservative dependency fallback. Do not infer completeness from framework state or resource reads. Plans classify work; the host chooses and executes it. Human decisions, side effects and irreversible work retain their revalidation/block/escalation rules.

Do not serialize dependency-engine internals or restore provider trust from stored metadata. New platform claims require native process/filesystem evidence, not cross-compilation alone. Do not silently increase minimum versions, relax storage checks or change dependency assurance.

Validate Relevant Boundaries

cargo test --locked
cargo fmt --check
cargo clippy --locked --all-targets -- -D warnings
python -m unittest tools.test_ci_changes tools.test_release -v
python tools/check_release.py

Use the SDK installation guide for an isolated wheel build and run python -m unittest discover -s python_tests -v against the installed SDK. Build the Rust parity fixture when running cross-language tests. Optional framework suites retain independent test commands.

On qualified durable storage, also run:

cargo test --locked --features persistence-sqlite,provider-admission
cargo clippy --locked --all-targets --features persistence-sqlite,provider-admission -- -D warnings

Keep the small-stack deep-chain and exponential explanation-budget tests. Use synthetic inputs; routine validation must not require model credentials. Optional live-provider tests require explicit opt-in and bounded usage.

Understand CI Selection

CI runs on pull requests and pushes to main; feature-branch pushes avoid a duplicate run. Branches without a pull request can run CI manually. It selects suites from changed paths and their shared/transitive inputs. Documentation-only changes and verified descriptive-only pyproject.toml changes run source/artifact checks; shared Rust/SDK changes fan out to their consumers. Package identity, dependencies, Python requirements and build configuration retain every Python consumer. Unknown files or unavailable diff history run every routine suite. Update tools/ci_changes.py and its representative tests when adding a consumer or workflow.

Require the final CI status check, which reports even when unrelated suites are skipped. Avoid requiring conditional matrix jobs. Individual suites remain manually runnable; manual CI and release candidates run all suites without filtering. Release qualification remains bound to its exact source commit, complete full-CI/native/platform/audit matrix and explicit approvals. Routine cancellation cannot cancel release or publication runs.

Review Dependencies and Artifacts

Keep exact native dependency locks and versioned provider contracts. Review any dependency update with its advisory/licence impact, minimum compiler compatibility and relevant regressions. Refresh attribution texts and the reviewed release manifest deliberately. Proposed wheel variants must have distinct full versions and matching native-feature evidence.

Include the concrete behavior change, compatibility implications and actual validation results in a contribution. Clearly identify tests that were unavailable or skipped. Do not include secrets, private engineering evidence, generated binaries or unreviewed files. Follow the security reporting policy for vulnerabilities.

Changes are licensed under the project's Apache-2.0 licence; preserve applicable copyright and upstream notices. Publication, release tagging and release-environment approval remain maintainer decisions.