From a9195ddd021a9dcab6b27ae9a3bd98ca1fce159f Mon Sep 17 00:00:00 2001 From: nealsolves Date: Wed, 29 Apr 2026 09:27:30 -0500 Subject: [PATCH 1/2] chore(demo): clean up portal page for v0.9.0 / AEGIS rebrand Removes the not-yet-ready Lab 11 card, the inline demo-app link from the labs intro copy, reorders the version timeline so v0.9.0 sits at the bottom (newest), and updates the GovernanceSession code snippet to match the AEGIS API surface (from aegis import AEGIS, open_session instance-scoped, enforce_step_pre_call / enforce_step_post_call). Co-Authored-By: Claude Sonnet 4.6 --- demo-app-react/public/index.html | 64 +++++++++++++++----------------- 1 file changed, 29 insertions(+), 35 deletions(-) diff --git a/demo-app-react/public/index.html b/demo-app-react/public/index.html index bfbdc66..9062f4f 100644 --- a/demo-app-react/public/index.html +++ b/demo-app-react/public/index.html @@ -1593,7 +1593,6 @@

warn_only

Try AIGC in the browser

Eleven interactive labs walk you through every AIGC capability. No model API key required for the core labs. - Open the demo app →

@@ -1710,31 +1702,31 @@

Get started in
-
+
-
v0.3.3 · current stable
-
Split enforcement, audit schema v1.4, AuditLineage, ProvenanceGate, RiskHistory, policy composition with extends.
+
v0.2.x · legacy
+
Original enforcement engine. Superseded by v0.3.3 audit schema and split enforcement.
-
+
-
v0.9.0 · beta on develop
-
GovernanceSession, workflow CLI (init / lint / doctor / trace / export), adapter layer for Bedrock, A2A, and OpenAI Agents. Renamed to AEGIS on release.
+
v0.3.3 · current stable
+
Split enforcement, audit schema v1.4, AuditLineage, ProvenanceGate, RiskHistory, policy composition with extends.
-
+
-
v0.2.x · legacy
-
Original enforcement engine. Superseded by v0.3.3 audit schema and split enforcement.
+
v0.9.0 · AEGIS beta on develop
+
GovernanceSession, workflow CLI (init / lint / doctor / trace / export), adapter layer for Bedrock, A2A, and OpenAI Agents. Renamed to AEGIS on release.
@@ -1849,33 +1841,35 @@

v0.9.0 · GovernanceSession usage (preview)
-
import AIGC
+
from aegis import AEGIS
+
+governance = AEGIS()
 
-# AIGC.open_session()  (always instance-scoped)
-with AIGC.open_session(
-    manifest="workflows/review.yaml",
-    context={"user_id": user_id},
+# open_session() is always instance-scoped
+with governance.open_session(
+    policy_file="policies/review.yaml",
 ) as session:
 
-    # Step 1: pre-call authorization
-    pre = session.enforce_pre_call({
-        "policy_file": "policies/review.yaml",
-        "input":       {"document": doc},
-        "role":        "reviewer",
+    # Phase A: pre-call authorization
+    pre = session.enforce_step_pre_call({
+        "policy_file":      "policies/review.yaml",
+        "input":            {"prompt": prompt},
+        "output":           {},
+        "context":          {"caller_id": "demo"},
         "model_provider":   "anthropic",
-        "model_identifier": "claude-3-5-sonnet",
+        "model_identifier": "claude-sonnet-4-6",
+        "role":             "ai-assistant",
     })
 
     # You call the model
-    response = your_model_client.call(doc)
+    response = your_model_client.call(prompt)
 
-    # Step 2: post-call validation + audit
-    result = pre.complete({
-        "output":  {"response": response},
-        "context": {"latency_ms": 312},
-    })
+    # Phase B: post-call validation + audit
+    session.enforce_step_post_call(pre, {"result": response})
+
+    session.complete()
 
-# Workflow artifact produced on __exit__
+# Workflow artifact on session.workflow_artifact after __exit__
 # Source: github.com/nealsolves/aegis/tree/develop
From 68f5155f8aee150b37c99582420db9ee8905471e Mon Sep 17 00:00:00 2001 From: nealsolves Date: Wed, 29 Apr 2026 09:31:39 -0500 Subject: [PATCH 2/2] fix(demo): correct lab count to 10, fix AIGC import, add copy button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit After removing Lab 11, three stale references still said 11 — nav dropdown, stats block, and section lead. Fixed all to 10. The GovernanceSession snippet used `from aegis import AEGIS` which is a future package rename not yet shipped; corrected to `from aigc import AIGC` which matches the actual public API on develop. Added a copy button to the workflow preview code block, matching the pattern used by other code blocks on the page. Co-Authored-By: Claude Sonnet 4.6 --- demo-app-react/public/index.html | 46 +++++++++++++++++++++++++++----- 1 file changed, 39 insertions(+), 7 deletions(-) diff --git a/demo-app-react/public/index.html b/demo-app-react/public/index.html index 9062f4f..446ae52 100644 --- a/demo-app-react/public/index.html +++ b/demo-app-react/public/index.html @@ -1204,7 +1204,7 @@ 04 Audit & Evidence 05 Custom Gates 06 Risk Scoring - 07 Labs (11) + 07 Labs (10) 08 Install 09 Workflow v0.9.0 ↗ Open Demo → @@ -1271,7 +1271,7 @@

Why AIGCgate insertion points
-
11
+
10
interactive labs
@@ -1592,7 +1592,7 @@

warn_only

Try AIGC in the browser

- Eleven interactive labs walk you through every AIGC capability. No model API key required for the core labs. + Ten interactive labs walk you through every AIGC capability. No model API key required for the core labs.

@@ -1839,11 +1839,43 @@

-
v0.9.0 · GovernanceSession usage (preview)
+
+ v0.9.0 · GovernanceSession usage (preview) + +
-
from aegis import AEGIS
+
from aigc import AIGC
 
-governance = AEGIS()
+governance = AIGC()
 
 # open_session() is always instance-scoped
 with governance.open_session(
@@ -1870,7 +1902,7 @@ 

complete() # Workflow artifact on session.workflow_artifact after __exit__ -# Source: github.com/nealsolves/aegis/tree/develop

+# Source: github.com/nealsolves/aigc/tree/develop