Skip to content

reference

bondiano edited this page Nov 12, 2026 · 1 revision

Reference

This section indexes source-backed configuration, data contracts and dependency inventories for Sych 0.2.0 at revision 00dc7637f89a47ee6fd4713204f8331418428370. Rust definitions and route handlers are authoritative; generated schemas and older guides are supporting references.

Need Page Primary source
Trusted layers, defaults, budgets, models, tools and rules Configuration crates/sych-core/src/config/mod.rs
Snapshot, evidence, result, API and storage relationships Data models crates/sych-core/src/schema.rs
Direct/transitive counts and pinned external tools Dependencies Cargo.toml, Cargo.lock, web/package.json, web/pnpm-lock.yaml, site/package-lock.json
HTTP routes, permissions, retries and bounds API crates/sych-app/src/server/mod.rs
Trust and execution boundaries Security crates/sych-app/src/review/mod.rs, crates/sych-app/src/server/caller.rs
Why statuses and boundaries are separate Background docs/adr/0001-execution-outcome-values.md

Reading contracts safely

  • schema_version is the external document major, currently 1, not the Cargo package version (crates/sych-core/src/version.rs).
  • schemas/ contains 14 document schemas plus OpenAPI, generated through crates/sych-core/src/schema.rs and crates/sych-core/src/api.rs.
  • Configuration validation reads typed YAML; it is not equivalent to accepting proposed HEAD policy into a review (crates/sych-app/src/config.rs).
  • Database migrations and serialized artifact schemas are separate compatibility surfaces (crates/sych-storage/src/connection.rs).

See Getting started for runnable commands and Conventions before changing these contracts.

Clone this wiki locally