Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 25 additions & 17 deletions .derived/codebase-index/by-spec/003-auth-api-client.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"diagnostics": {
"errors": [],
"warnings": [
{
"code": "W-001",
"message": "spec '003-auth-api-client' symbol unit 'stagecraft_cli::api' did not resolve"
},
{
"code": "W-001",
"message": "spec '003-auth-api-client' symbol unit 'stagecraft_cli::auth' did not resolve"
}
]
},
"mapping": {
"dependsOn": [
"002-crate-scaffold"
],
"implementingPaths": [],
"implementingPaths": [
{
"path": "src/main.rs",
"source": "spec-edge"
}
],
"resolvedUnits": [
{
"locations": [],
"locations": [
{
"file": "src/main.rs",
"span": {
"endLine": 5,
"startLine": 5
}
}
],
"ownership": true,
"sourceField": "establishes",
"unit": {
Expand All @@ -28,7 +28,15 @@
}
},
{
"locations": [],
"locations": [
{
"file": "src/main.rs",
"span": {
"endLine": 6,
"startLine": 6
}
}
],
"ownership": true,
"sourceField": "establishes",
"unit": {
Expand All @@ -41,5 +49,5 @@
"specStatus": "approved"
},
"schemaVersion": "1.1.0",
"shardHash": "f4fb107776f2e575bc5601766bdb66a8c65e0c104d65d0b927f806d446b03be7"
"shardHash": "e6fd7efd240ef302be413f7448761f2261659e888da91930484cbc6439de53bb"
}
8 changes: 5 additions & 3 deletions .derived/spec-registry/by-spec/003-auth-api-client.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,21 @@
}
],
"id": "003-auth-api-client",
"implementation": "pending",
"implementation": "in-progress",
"sectionHeadings": [
"003: Auth + API client",
"1. Cross-repo dependency",
"2. Behavior",
"Auth mechanism decision (2026-07-14 amendment)",
"3. Acceptance",
"4. Out of scope"
"4. Out of scope",
"5. Status (2026-07-14)"
],
"specPath": "specs/003-auth-api-client/spec.md",
"status": "approved",
"summary": "The binary learns to authenticate against a Stagecraft control plane and speak its API. Auth v1 is a browser-assisted session-cookie handoff (the control plane's chassis auth is cookie based, and the embedded rauthy exposes OIDC; the exact mechanism is DECIDE-AT-IMPLEMENTATION between OAuth device-flow-style polling and a localhost callback, constrained below). Tokens/cookies are stored in a 0600 credentials file, never in the config file. An api module gives every later verb a typed, authenticated request path with consistent error mapping.\n",
"title": "Auth + control-plane API client"
},
"shardHash": "52751edf74cf1cfe466235156a7023210ce7fd6ad29c294b63c0bc33ae43963e",
"shardHash": "6468f4075cab0994b5c4bd86701bf2f1fe0198df6c066cd60cfc4210bda375b4",
"specVersion": "1.1.0"
}
Loading
Loading