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
2 changes: 2 additions & 0 deletions docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The **CAS Contracts** architecture is designed to govern and trace the interacti

The lifecycle operates strictly sequentially for every given unit of work. Below is a rich architectural visualization of how data flows through the lifecycle from the initial prompt to final evaluation.

![Visual Diagram](assets/cas_contracts_architecture.png)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Use a lifecycle-accurate diagram

In contexts where readers rely on the rendered visual instead of the Mermaid source below, this new image contradicts the documented CAS lifecycle: it is titled “AI Policy Engine Lifecycle”, omits the Agent Execution Runtime, RunEvent[], and ArtifactManifest stages, and shows PolicyDecision flowing directly toward verification/evaluation rather than the strict PromptEnvelope → PolicyDecision → WorkRequest → RunEvent[] → ArtifactManifest → VerificationResult → EvaluationResult sequence. Since these docs are the public contract reference, the asset should be regenerated or removed so it does not mislead integrators about the required lifecycle records.

Useful? React with 👍 / 👎.


```mermaid
graph TD
%% Core Entities
Expand Down
Binary file added docs/assets/cas_contracts_architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.