diff --git a/site/demo.html b/site/demo.html index d65337a..a16888a 100644 --- a/site/demo.html +++ b/site/demo.html @@ -1,7 +1,8 @@ -AgentScope Demo — Morning supervision scan
agentscopeview source ↗
interactive sample

Morning supervision scan

Sample data demonstrates the read-only experience. Use the filters below to see how a morning scan stays focused on signal instead of telemetry.

SAMPLE DATA · 08:02
8/10scheduled jobs on
2failed runs · 24h
46successful runs · 24h
14active sessions · 7d
Needs attention2 items
FAIL
Nightly enrichment is skipping

Model configuration drift was detected. The scheduler skipped the run.

WARN
Lead follow-up credentials rejected

Three recent attempts returned an authentication failure.

-
Scheduled jobs & health10 jobs
JobCadenceStateHealth
Research digestevery 6hON92%
Nightly enrichment02:00 dailyON41%
Lead follow-up09:00 dailyON67%
Weekly learningMon 09:00ON100%
Archive cleanupSun 03:00OFF—
Daily digest08:00 dailyON100%
Session activity7 days
-
Recent agent actions
Research digestCompleted
Nightly enrichmentSkipped — config drift
Lead follow-upFailed — credentials
Weekly learningCompleted
Daily digestCompleted
-
\ No newline at end of file +
Scheduled jobs & health10 jobs
JobCadenceStateHealth
Research digestevery 6hON92%
Nightly enrichment02:00 dailyON41%
Lead follow-up09:00 dailyON67%
Weekly learningMon 09:00ON100%
Archive cleanupSun 03:00OFF—
Daily digest08:00 dailyON100%
Session activity7 days
+
Recent agent actions
Research digestCompleted
Nightly enrichmentSkipped — config drift
Lead follow-upFailed — credentials
Weekly learningCompleted
Daily digestCompleted
+ \ No newline at end of file diff --git a/site/proofs.html b/site/proofs.html index ea427a3..2778aa0 100644 --- a/site/proofs.html +++ b/site/proofs.html @@ -35,7 +35,67 @@

Habitat · portable evidence

Proof snapshots.

Historical Habitat proof exports copied into AgentScope. Each bundle is checked in your browser for its embedded SHA-256 content digest and claim/action consistency.

Important: a matching content hash detects changes to the exported bundle, but does not authenticate who published it. These are historical records, not live status. An unsigned proof does not independently establish that the claimed work happened in the outside world.
Loading proof index…
\ No newline at end of file diff --git a/test_generate.py b/test_generate.py index 3522714..60941e1 100644 --- a/test_generate.py +++ b/test_generate.py @@ -214,5 +214,26 @@ def test_generated_dashboard_uses_shared_ui_and_keyboard_landmarks(self): self.assertIn("prefers-reduced-motion", rendered) + def test_demo_mobile_tables_keep_cadence_and_action_status_visible(self): + root = Path(__file__).resolve().parent + demo = (root / "site" / "demo.html").read_text(encoding="utf-8") + self.assertIn('class="table-scroll" role="region"', demo) + self.assertNotIn(".table th:nth-child(2),.table td:nth-child(2){display:none}", demo) + self.assertNotIn(".act span:last-child{display:none}", demo) + self.assertIn('aria-pressed="true"', demo) + self.assertIn("setAttribute('aria-pressed','false')", demo) + self.assertIn("setAttribute('aria-pressed','true')", demo) + + def test_proof_explorer_checks_manifest_pinned_digest_and_handles_bad_ledger(self): + root = Path(__file__).resolve().parent + proofs = (root / "site" / "proofs.html").read_text(encoding="utf-8") + self.assertIn("async function verify(bundle,expectedDigest)", proofs) + self.assertIn("Manifest-pinned content hash mismatch", proofs) + self.assertIn("Embedded content hash mismatch", proofs) + self.assertIn('bundle.ledger&&bundle.ledger.integrity', proofs) + self.assertIn("Proof URL must remain on this site", proofs) + self.assertIn("Proof could not be verified:", proofs) + + if __name__ == "__main__": unittest.main()