docs: move the auth endpoint contract to docs so the public tree builds without tasks/

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-14 19:21:21 +07:00
parent e421c13859
commit 37a319680c
5 changed files with 5 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
//! Authorization matrix, generated from `tasks/auth-endpoint-contract.md`.
//! Authorization matrix, generated from `docs/auth-endpoint-contract.md`.
//!
//! Every `human` route in the contract is exercised against real resources in two
//! orbits with six kinds of caller. A route added to the contract without a
@@ -18,7 +18,7 @@ use tessera_core::restore::{DatabaseIdentity, Engine, RestoreTarget};
use tower::ServiceExt;
use uuid::Uuid;
const CONTRACT: &str = include_str!("../../../../tasks/auth-endpoint-contract.md");
const CONTRACT: &str = include_str!("../../../../docs/auth-endpoint-contract.md");
const ISSUER: &str = "https://idp.example";
struct Fixture {

View File

@@ -8,7 +8,7 @@ use axum::{
use std::net::SocketAddr;
use tower::ServiceExt;
const CONTRACT: &str = include_str!("../../../../tasks/auth-endpoint-contract.md");
const CONTRACT: &str = include_str!("../../../../docs/auth-endpoint-contract.md");
#[test]
fn every_registered_path_has_an_authorization_contract() {