Skip to content

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

Rust

fix(wiki-ux): stop machinery from drowning knowledge in the human wiki

AkitaOnRails01ef4fed6f8d
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5badd9eb..a6311f0b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+### Fixed
+- The human-readable wiki no longer drowns knowledge in machinery
+ (UX audit after the 2.0 deploy). Three changes:
+ the lint pass now supersedes a single `_lint/report.md` per project
+ instead of minting a dated page every day (a long-lived store had
+ accumulated 2,000+ lint pages — indexed, searched, and embedded;
+ each pass now also prunes the legacy dated pile, and a clean pass
+ removes the report entirely, so existing stores self-heal without a
+ migration); the web project view splits machinery (lint reports,
+ session captures, monthly logs, bundle indexes, `_meta`) into a
+ collapsed System sidebar section and keeps Recent Activity to
+ knowledge pages only — `_rules` stay with knowledge; and the
+ homepage's LLM-optimised-memory explainer is now dismissible
+ (persisted per browser) while the redundant always-on backup banner
+ is gone — the migration dialog and `ai-memory status` carry that
+ information.
+
## [2.0.0] - 2026-09-02
### Added
diff --git a/crates/ai-memory-cli/src/cli.rs b/crates/ai-memory-cli/src/cli.rs
index ed613b04..77d16862 100644
--- a/crates/ai-memory-cli/src/cli.rs
+++ b/crates/ai-memory-cli/src/cli.rs
@@ -1692,7 +1692,7 @@ pub struct ForgetSweepArgs {
/// Arguments for `lint`.
#[derive(Debug, Args)]
pub struct LintArgs {
- /// Compute findings but don't write `wiki/_lint/<date>.md`.
+ /// Compute findings but don't write `wiki/_lint/report.md`.
#[arg(long)]
pub dry_run: bool,
/// Run only rule-based checks; skip the LLM contradiction pass.
diff --git a/crates/ai-memory-consolidate/src/lint.rs b/crates/ai-memory-consolidate/src/lint.rs
index 9a194247..ffcadf3e 100644
--- a/crates/ai-memory-consolidate/src/lint.rs
+++ b/crates/ai-memory-consolidate/src/lint.rs
@@ -10,7 +10,7 @@
//! semantic pages, feeds them to the LLM with a structured-output
//! prompt asking for contradictions / stale claims.
//!
-//! Findings are written to `wiki/_lint/<YYYY-MM-DD>.md` so they're
+//! Findings are written to `wiki/_lint/report.md` so they're
//! grep-able and tracked in git.
/// System prompt for the contradiction-detection lint pass. Loaded
@@ -105,8 +105,10 @@ const STALE_SCORE_LN: f64 = 0.6;
///
/// Concretely, at `lambda = 0.008` real eviction lands near day 201 while a
/// fixed threshold still called the page stale on day 31 — and because the
-/// lint writes `_lint/<date>.md` whenever any finding exists, one page
+/// lint wrote `_lint/<date>.md` whenever any finding exists, one page
/// nobody intends to read produced a new page every day, forever (#426).
+/// (The report now supersedes a single `_lint/report.md`, so even a
+/// permanently-stale page costs one page, not one per day.)
///
/// `lambda = 0.02` (the default) yields exactly 30 days, so an operator who
/// never touched decay sees no change.
@@ -129,7 +131,8 @@ pub fn stale_days_for(lambda: f64) -> f64 {
/// input has to travel alongside them.
#[derive(Debug, Clone, Copy)]
pub struct LintOptions {
- /// When `true`, no `_lint/<date>.md` page is written.
+ /// When `true`, no `_lint/report.md` page is written (and no legacy
+ /// dated reports are pruned).
pub dry_run: bool,
/// When `false`, the LLM contradiction pass is skipped even if a
/// provider was supplied.
@@ -283,8 +286,21 @@ pub async fn run_lint(
let report = LintReport { findings };
- if !dry_run && !report.findings.is_empty() {
- write_report_page(wiki, workspace_id, project_id, &report).await?;
+ if !dry_run {
+ if report.findings.is_empty() {
+ // A clean project carries no lint page at all: a stale
+ // report claiming findings that no longer exist is itself
+ // the kind of noise the lint exists to flag.
+ remove_report_page(wiki, workspace_id, project_id, &candidates).await;
+ } else {
+ write_report_page(wiki, workspace_id, project_id, &report).await?;
+ }
+ // One report per project: the daily `_lint/<YYYY-MM-DD>.md`
+ // pages the pre-2.0.1 lint accumulated (thousands across a
+ // long-lived store — indexed, searched, and embedded) are
+ // machinery, not knowledge. Each pass prunes any it finds, so
+ // existing stores self-heal without a migration.
+ prune_legacy_dated_reports(wiki, workspace_id, project_id, &candidates).await;
}
Ok(report)
@@ -437,6 +453,87 @@ async fn contradiction_pass(
Ok(report.findings)
}
+/// Stable per-project lint report path — superseded in place each run.
+const REPORT_PATH: &str = "_lint/report.md";
+
+/// Matches the legacy daily report naming: `_lint/YYYY-MM-DD.md`.
+fn is_legacy_dated_report(path: &str) -> bool {
+ let Some(name) = path
+ .strip_prefix("_lint/")
+ .and_then(|rest| rest.strip_suffix(".md"))
+ else {
+ return false;
+ };
+ name.len() == 10
+ && name.bytes().enumerate().all(|(i, b)| match i {
+ 4 | 7 => b == b'-',
+ _ => b.is_ascii_digit(),
+ })
+}
+
+/// Delete `_lint/report.md` when the current pass found nothing.
+/// Best-effort: a delete rejected by an admission webhook or racing
+/// write only leaves a stale report for the next pass to retry.
+async fn remove_report_page(
+ wiki: &Wiki,
+ workspace_id: WorkspaceId,
+ project_id: ProjectId,
+ candidates: &[ai_memory_store::DecayCandidate],
+) {
+ if !candidates.iter().any(|c| c.path.as_str() == REPORT_PATH) {
+ return;
+ }
+ let Ok(path) = PagePath::new(REPORT_PATH) else {
+ return;
+ };
+ if let Err(e) = wiki
+ .delete_page(
+ workspace_id,
+ project_id,
+ &path,
+ Some(AdmissionContext {
+ op: AdmissionOp::Consolidate,
+ ..Default::default()
+ }),
+ None,
+ )
+ .await
+ {
+ warn!(error = %e, "lint: could not remove clean project's stale report");
+ }
+}
+
+/// Delete the accumulated pre-2.0.1 daily reports. Best-effort per
+/// page; anything that survives is retried by the next pass.
+async fn prune_legacy_dated_reports(
+ wiki: &Wiki,
+ workspace_id: WorkspaceId,
+ project_id: ProjectId,
+ candidates: &[ai_memory_store::DecayCandidate],
+) {
+ for cand in candidates {
+ if !is_legacy_dated_report(cand.path.as_str()) {
+ continue;
+ }
+ let path = cand.path.clone();
+ if let Err(e) = wiki
+ .delete_page(
+ workspace_id,
+ project_id,
+ &path,
+ Some(AdmissionContext {
+ op: AdmissionOp::Consolidate,
+ ..Default::default()
+ }),
+ None,
+ )
+ .await
+ {
+ warn!(path = %cand.path, error = %e, "lint: could not prune legacy dated report");
+ }
+ }
+}
+
async fn write_report_page(
wiki: &Wiki,
workspace_id: WorkspaceId,
@@ -447,7 +544,10 @@ async fn write_report_page(
.to_zoned(TimeZone::UTC)
.strftime("%Y-%m-%d")
.to_string();
- let path = PagePath::new(format!("_lint/{date}.md"))?;
+ // One stable path per project: each run supersedes the previous
+ // report (history stays in the version chain) instead of minting a
+ // new page per day.
+ let path = PagePath::new(REPORT_PATH)?;
let title = format!("Lint report {date}");
let body = render_markdown(report);
wiki.write_page(WritePageRequest {
diff --git a/crates/ai-memory-consolidate/tests/typed_edges.rs b/crates/ai-memory-consolidate/tests/typed_edges.rs
index 7efc1313..7b6ac511 100644
--- a/crates/ai-memory-consolidate/tests/typed_edges.rs
+++ b/crates/ai-memory-consolidate/tests/typed_edges.rs
@@ -180,3 +180,137 @@ async fn a_contradiction_to_a_deleted_page_reports_the_stale_declaration() {
.expect("unresolved contradicts still lints");
assert!(finding.message.contains("does not resolve"));
}
+
+// ── 2.0.1: lint reports are one superseding page, not a daily pile ──
+
+/// A page old enough (and cold enough) to trigger the rule-based
+/// `stale` finding, so a non-dry run has something to report.
+fn stale_page_req(ws: WorkspaceId, proj: ProjectId) -> WritePageRequest {
+ let mut r = req(
+ ws,
+ proj,
+ "sessions/ancient.md",
+ "long-forgotten episodic capture",
+ serde_json::json!({}),
+ );
+ r.tier = Tier::Episodic;
+ r
+}
+
+async fn backdate_page(tmp: &TempDir, path: &str, days: i64) {
+ let db = rusqlite::Connection::open(tmp.path().join("db").join("memory.sqlite")).unwrap();
+ let cutoff = jiff::Timestamp::now().as_microsecond() - days * 86_400 * 1_000_000;
+ db.execute(
+ "UPDATE pages SET updated_at = ?1, created_at = ?1 WHERE path = ?2",
+ rusqlite::params![cutoff, path],
+ )
+ .unwrap();
+}
+
+#[tokio::test]
+async fn lint_supersedes_one_report_and_prunes_the_legacy_daily_pile() {
+ let tmp = TempDir::new().unwrap();
+ let store = Store::open(tmp.path()).unwrap();
+ let (ws, proj) = scope(&store).await;
+ let wiki = Wiki::new(tmp.path(), store.writer.clone()).unwrap();
+
+ // The pre-2.0.1 accumulation: dated daily reports.
+ for date in ["2026-07-01", "2026-07-02", "2026-08-15"] {
+ wiki.write_page(req(
+ ws,
+ proj,
+ &format!("_lint/{date}.md"),
+ "1 finding(s).",
+ serde_json::json!({"kind": "lint-report"}),
+ ))
+ .await
+ .unwrap();
+ }
+ // Something for the current pass to find.
+ wiki.write_page(stale_page_req(ws, proj)).await.unwrap();
+ backdate_page(&tmp, "sessions/ancient.md", 90).await;
+
+ let opts = LintOptions {
+ dry_run: false,
+ use_llm: false,
+ decay_lambda: 0.02,
+ };
+ let report = run_lint(&store.reader, &wiki, None, ws, proj, opts)
+ .await
+ .unwrap();
+ assert!(!report.findings.is_empty(), "the stale page must be found");
+
+ let db = rusqlite::Connection::open(tmp.path().join("db").join("memory.sqlite")).unwrap();
+ let lint_paths: Vec<String> = db
+ .prepare("SELECT path FROM pages WHERE is_latest = 1 AND path LIKE '\\_lint/%' ESCAPE '\\' ORDER BY path")
+ .unwrap()
+ .query_map([], |r| r.get(0))
+ .unwrap()
+ .collect::<Result<_, _>>()
+ .unwrap();
+ assert_eq!(
+ lint_paths,
+ vec!["_lint/report.md".to_string()],
+ "one superseding report; every legacy dated page pruned"
+ );
+
+ // A second run with findings still present supersedes in place —
+ // still exactly one latest lint page.
+ run_lint(&store.reader, &wiki, None, ws, proj, opts)
+ .await
+ .unwrap();
+ let latest_count: i64 = db
+ .query_row(
+ "SELECT COUNT(*) FROM pages WHERE is_latest = 1 AND path LIKE '\\_lint/%' ESCAPE '\\'",
+ [],
+ |r| r.get(0),
+ )
+ .unwrap();
+ assert_eq!(latest_count, 1, "reruns supersede, never accumulate");
+}
+
+#[tokio::test]
+async fn a_clean_pass_removes_the_stale_report() {
+ let tmp = TempDir::new().unwrap();
+ let store = Store::open(tmp.path()).unwrap();
+ let (ws, proj) = scope(&store).await;
+ let wiki = Wiki::new(tmp.path(), store.writer.clone()).unwrap();
+
+ // Findings exist -> a report is written.
+ wiki.write_page(stale_page_req(ws, proj)).await.unwrap();
+ backdate_page(&tmp, "sessions/ancient.md", 90).await;
+ let opts = LintOptions {
+ dry_run: false,
+ use_llm: false,
+ decay_lambda: 0.02,
+ };
+ run_lint(&store.reader, &wiki, None, ws, proj, opts)
+ .await
+ .unwrap();
+
+ // The offending page goes away; the next clean pass must take the
+ // now-false report with it.
+ wiki.delete_page(
+ ws,
+ proj,
+ &PagePath::new("sessions/ancient.md").unwrap(),
+ None,
+ None,
+ )
+ .await
+ .unwrap();
+ let report = run_lint(&store.reader, &wiki, None, ws, proj, opts)
+ .await
+ .unwrap();
+ assert!(report.findings.is_empty(), "nothing left to find");
+
+ let db = rusqlite::Connection::open(tmp.path().join("db").join("memory.sqlite")).unwrap();
+ let latest_count: i64 = db
+ .query_row(
+ "SELECT COUNT(*) FROM pages WHERE is_latest = 1 AND path LIKE '\\_lint/%' ESCAPE '\\'",
+ [],
+ |r| r.get(0),
+ )
+ .unwrap();
+ assert_eq!(latest_count, 0, "a clean project carries no lint page");
+}
diff --git a/crates/ai-memory-mcp/src/server.rs b/crates/ai-memory-mcp/src/server.rs
index 6d772bea..d1ee6d97 100644
--- a/crates/ai-memory-mcp/src/server.rs
+++ b/crates/ai-memory-mcp/src/server.rs
@@ -868,7 +868,7 @@ struct SweepArgs {
#[derive(Debug, Serialize, Deserialize, schemars::JsonSchema)]
struct LintArgs {
- /// If true, don't write wiki/_lint/<date>.md. Default false.
+ /// If true, don't write wiki/_lint/report.md. Default false.
#[serde(default)]
dry_run: Option<bool>,
/// If true, skip the LLM contradiction pass (rule-based only).
@@ -2492,7 +2492,7 @@ impl AiMemoryServer {
#[tool(description = "Audit the wiki for stale episodic pages, \
duplicate titles, broken cross-references, and (if an LLM \
provider is configured) contradictions across semantic pages. \
- Findings land in wiki/_lint/<date>.md unless dry_run=true.")]
+ Findings land in wiki/_lint/report.md unless dry_run=true.")]
async fn memory_lint(
&self,
Parameters(args): Parameters<LintArgs>,
diff --git a/crates/ai-memory-web/src/mount.rs b/crates/ai-memory-web/src/mount.rs
index a8b1eb01..6100b6f5 100644
--- a/crates/ai-memory-web/src/mount.rs
+++ b/crates/ai-memory-web/src/mount.rs
@@ -608,8 +608,11 @@ mod tests {
/// The homepage shows the pre-migration backup notice while the
/// archive exists, and drops it once the archive is deleted
/// (docs/okf.md).
+ /// 2.0.1: the always-on backup banner is gone — the migration
+ /// dialog is the single carrier of the archive path and restore
+ /// pointer (and `ai-memory status` keeps the durable reminder).
#[tokio::test]
- async fn homepage_backup_notice_tracks_the_archive() {
+ async fn homepage_has_no_backup_banner_and_dialog_carries_the_archive() {
let (tmp, router) = based_web_router("", "/web");
async fn body_of(router: &axum::Router) -> String {
@@ -625,14 +628,13 @@ mod tests {
String::from_utf8(bytes.to_vec()).unwrap()
}
- // No receipt → no notice.
- assert!(
- !body_of(&router)
- .await
- .contains("pre-migration backup of your memory")
- );
+ // No receipt: neither banner nor dialog.
+ let body = body_of(&router).await;
+ assert!(!body.contains("pre-migration backup of your memory"));
+ assert!(!body.contains("okf-dialog-overlay"));
- // Receipt + archive present → notice with the path.
+ // Receipt + archive present: still no banner — the dialog holds
+ // the archive path and the restore pointer instead.
let archive = tmp.path().join("fake-archive.tar.gz");
std::fs::write(&archive, b"gz").unwrap();
let receipt = ai_memory_wiki::backup::BackupReceipt {
@@ -649,20 +651,12 @@ mod tests {
.unwrap();
let body = body_of(&router).await;
assert!(
- body.contains("pre-migration backup of your memory"),
- "notice missing"
+ !body.contains("pre-migration backup of your memory"),
+ "the redundant banner must never render"
);
+ assert!(body.contains("okf-dialog-overlay"), "dialog missing");
assert!(body.contains("fake-archive.tar.gz"), "archive path missing");
assert!(body.contains("MIGRATION-2.0.md"), "restore pointer missing");
-
- // Archive deleted → notice gone, receipt or not (the explainer
- // dialog may still render; only the banner must clear).
- std::fs::remove_file(&archive).unwrap();
- assert!(
- !body_of(&router)
- .await
- .contains("pre-migration backup of your memory")
- );
}
/// The one-time 2.0 explainer dialog renders whenever a migration
diff --git a/crates/ai-memory-web/src/routes/index.rs b/crates/ai-memory-web/src/routes/index.rs
index 426538bc..51cc22a7 100644
--- a/crates/ai-memory-web/src/routes/index.rs
+++ b/crates/ai-memory-web/src/routes/index.rs
@@ -8,9 +8,7 @@ use axum::http::StatusCode;
use axum::response::Html;
use crate::state::WebState;
-use crate::templates::{
- BackupNotice, OkfDialog, ProjectCard, ProjectsView, humanize, project_href,
-};
+use crate::templates::{OkfDialog, ProjectCard, ProjectsView, humanize, project_href};
/// Handler for `GET /`.
pub(crate) async fn handler(
@@ -37,11 +35,9 @@ pub(crate) async fn handler(
})
.collect();
- let backup_notice = backup_notice(&state);
let okf_dialog = okf_dialog(&state);
let html = ProjectsView {
projects,
- backup_notice,
okf_dialog,
}
.render()
@@ -62,21 +58,6 @@ fn okf_dialog(state: &WebState) -> Option<OkfDialog> {
})
}
-/// The migration's backup receipt, surfaced while the archive is still
-/// on disk; the notice disappears on its own once the user deletes the
-/// file (docs/okf.md).
-fn backup_notice(state: &WebState) -> Option<BackupNotice> {
- let receipt = ai_memory_wiki::backup::BackupReceipt::load(state.wiki.data_dir())?;
- if !receipt.archive_present() {
- return None;
- }
- Some(BackupNotice {
- archive_path: receipt.archive_path.display().to_string(),
- size_human: human_bytes(receipt.size_bytes),
- created_at: receipt.created_at,
- })
-}
-
fn human_bytes(bytes: u64) -> String {
const UNITS: [&str; 4] = ["B", "KB", "MB", "GB"];
let mut value = bytes as f64;
diff --git a/crates/ai-memory-web/src/routes/project.rs b/crates/ai-memory-web/src/routes/project.rs
index 4486b7b1..249a7ec2 100644
--- a/crates/ai-memory-web/src/routes/project.rs
+++ b/crates/ai-memory-web/src/routes/project.rs
@@ -22,8 +22,14 @@ pub(crate) async fn handler(
.await
.map_err(|_| StatusCode::INTERNAL_SERVER_ERROR)?;
- // Build sidebar folder tree (group by first path segment).
- let mut folder_map: BTreeMap<String, Vec<PageRow>> = BTreeMap::new();
+ // Build sidebar folder trees (group by first path segment), split
+ // into knowledge and machinery. A store accumulates far more
+ // machinery pages (lint reports, session captures, monthly logs,
+ // bundle indexes) than curated knowledge; listing them as peers
+ // buried the concepts/decisions/rules a human actually opens this
+ // UI for.
+ let mut knowledge_map: BTreeMap<String, Vec<PageRow>> = BTreeMap::new();
+ let mut system_map: BTreeMap<String, Vec<PageRow>> = BTreeMap::new();
for p in &pages {
let folder = p
.path
@@ -38,7 +44,12 @@ pub(crate) async fn handler(
}
})
.unwrap_or_else(|| "(root)".to_owned());
- folder_map.entry(folder).or_default().push(PageRow {
+ let map = if is_system_page(&p.path) {
+ &mut system_map
+ } else {
+ &mut knowledge_map
+ };
+ map.entry(folder).or_default().push(PageRow {
path: p.path.clone(),
href: page_href(&workspace, &project, &p.path),
title: p.title.clone(),
@@ -46,13 +57,24 @@ pub(crate) async fn handler(
updated_relative: humanize(&p.updated_at),
});
}
- let folders: Vec<Folder> = folder_map
+ let folders: Vec<Folder> = knowledge_map
+ .into_iter()
+ .map(|(name, pages)| Folder { name, pages })
+ .collect();
+ let system: Vec<Folder> = system_map
.into_iter()
.map(|(name, pages)| Folder { name, pages })
.collect();
- // Recent pages: sort by updated_at desc, take 20.
- let mut sorted = pages.clone();
+ // Recent pages: knowledge only, sorted by updated_at desc, take 20.
+ // Machinery updates constantly (logs append every consolidation,
+ // lint reruns daily), so an unfiltered recency sort would show
+ // nothing else.
+ let mut sorted: Vec<_> = pages
+ .iter()
+ .filter(|p| !is_system_page(&p.path))
+ .cloned()
+ .collect();
sorted.sort_by(|a, b| b.updated_at.cmp(&a.updated_at));
sorted.truncate(20);
let recent: Vec<PageRow> = sorted
@@ -70,9 +92,28 @@ pub(crate) async fn handler(
workspace,
project,
folders,
+ system,
recent,
}
.render()
.map_err(|_| StatusCode::INTERNAL_SERVER_ERROR)?;
Ok(Html(html))
}
+
+/// Machinery rather than knowledge: hidden from Recent Activity and
+/// collapsed into the sidebar's System section. Underscore-prefixed
+/// trees are system surfaces — except `_rules`, which holds standing
+/// human-authored rules — as are session captures and the root-level
+/// bookkeeping pages (monthly logs, the OKF bundle index, `_meta.md`).
+fn is_system_page(path: &str) -> bool {
+ if path.starts_with("_rules/") {
+ return false;
+ }
+ if path.starts_with('_') || path.starts_with("sessions/") {
+ return true;
+ }
+ if path.contains('/') {
+ return false;
+ }
+ path == "index.md" || path == "_meta.md" || (path.starts_with("log-") && path.ends_with(".md"))
+}
diff --git a/crates/ai-memory-web/src/templates.rs b/crates/ai-memory-web/src/templates.rs
index fd93c74f..e44c6cac 100644
--- a/crates/ai-memory-web/src/templates.rs
+++ b/crates/ai-memory-web/src/templates.rs
@@ -112,18 +112,6 @@ pub(crate) struct ProjectCard {
pub href: String,
}
-/// The pre-migration backup notice shown on the homepage while the
-/// archive still exists (docs/okf.md): where it is, how big, and the
-/// two exits — delete it, or restore from it.
-pub(crate) struct BackupNotice {
- /// Absolute archive path, displayed verbatim.
- pub archive_path: String,
- /// Human-readable size (e.g. "12.4 MB").
- pub size_human: String,
- /// ISO date of the backup.
- pub created_at: String,
-}
-
/// The one-time 2.0 migration explainer dialog (docs/okf.md): shown
/// whenever a migration receipt exists, dismissed per browser via a
/// "do not show me again" checkbox persisted in localStorage keyed by
@@ -145,8 +133,6 @@ pub(crate) struct OkfDialog {
pub(crate) struct ProjectsView {
/// All project cards, sorted by most recently active first.
pub projects: Vec<ProjectCard>,
- /// Present while a pre-migration backup archive still exists.
- pub backup_notice: Option<BackupNotice>,
/// Present whenever a migration receipt exists (dialog dismissal is
/// client-side, per browser).
pub okf_dialog: Option<OkfDialog>,
@@ -186,9 +172,12 @@ pub(crate) struct ProjectView {
pub workspace: String,
/// Project name.
pub project: String,
- /// Sidebar folder tree.
+ /// Sidebar folder tree — knowledge pages only.
pub folders: Vec<Folder>,
- /// N most-recent pages for the right column.
+ /// Machinery pages (lint reports, sessions, logs, indexes),
+ /// rendered collapsed below the knowledge tree.
+ pub system: Vec<Folder>,
+ /// N most-recent knowledge pages for the right column.
pub recent: Vec<PageRow>,
}
diff --git a/crates/ai-memory-web/static/tailwind.css b/crates/ai-memory-web/static/tailwind.css
index 142ef053..a5f37cd4 100644
--- a/crates/ai-memory-web/static/tailwind.css
+++ b/crates/ai-memory-web/static/tailwind.css
@@ -1 +1 @@
-*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.fixed{position:fixed}.sticky{position:sticky}.inset-0{inset:0}.top-0{top:0}.z-10{z-index:10}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.mt-1{margin-top:.25rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-14{height:3.5rem}.h-7{height:1.75rem}.h-full{height:100%}.min-h-full{min-height:100%}.w-40{width:10rem}.w-auto{width:auto}.w-full{width:100%}.min-w-0{min-width:0}.max-w-3xl{max-width:48rem}.max-w-7xl{max-width:80rem}.max-w-md{max-width:28rem}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.125rem*var(--tw-space-y-reverse));margin-top:calc(.125rem*(1 - var(--tw-space-y-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.25rem*var(--tw-space-y-reverse));margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.75rem*var(--tw-space-y-reverse));margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))}.divide-slate-100>:not([hidden])~:not([hidden]){--tw-divide-opacity:1;border-color:rgb(241 245 249/var(--tw-divide-opacity,1))}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-amber-200{--tw-border-opacity:1;border-color:rgb(253 230 138/var(--tw-border-opacity,1))}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity,1))}.border-sky-200{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity,1))}.border-slate-100{--tw-border-opacity:1;border-color:rgb(241 245 249/var(--tw-border-opacity,1))}.border-slate-200{--tw-border-opacity:1;border-color:rgb(226 232 240/var(--tw-border-opacity,1))}.border-slate-300{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.bg-amber-100{--tw-bg-opacity:1;background-color:rgb(254 243 199/var(--tw-bg-opacity,1))}.bg-amber-50{--tw-bg-opacity:1;background-color:rgb(255 251 235/var(--tw-bg-opacity,1))}.bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity,1))}.bg-blue-600{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity,1))}.bg-sky-100{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity,1))}.bg-sky-50{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity,1))}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.bg-slate-50{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.bg-slate-900{--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity,1))}.bg-slate-900\/50{background-color:rgba(15,23,42,.5)}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-12{padding:3rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0\.5{padding-bottom:.125rem;padding-top:.125rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-1\.5{padding-bottom:.375rem;padding-top:.375rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-20{padding-bottom:5rem;padding-top:5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-4{padding-bottom:1rem;padding-top:1rem}.py-8{padding-bottom:2rem;padding-top:2rem}.pl-2{padding-left:.5rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-6xl{font-size:3.75rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-relaxed{line-height:1.625}.tracking-wide{letter-spacing:.025em}.text-amber-700{--tw-text-opacity:1;color:rgb(180 83 9/var(--tw-text-opacity,1))}.text-amber-800{--tw-text-opacity:1;color:rgb(146 64 14/var(--tw-text-opacity,1))}.text-amber-900{--tw-text-opacity:1;color:rgb(120 53 15/var(--tw-text-opacity,1))}.text-blue-600{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity,1))}.text-blue-700{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity,1))}.text-sky-800{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity,1))}.text-sky-900{--tw-text-opacity:1;color:rgb(12 74 110/var(--tw-text-opacity,1))}.text-slate-200{--tw-text-opacity:1;color:rgb(226 232 240/var(--tw-text-opacity,1))}.text-slate-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}.text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.text-slate-600{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}.text-slate-700{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.text-slate-800{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity,1))}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.underline{text-decoration-line:underline}.placeholder-slate-400::-moz-placeholder{--tw-placeholder-opacity:1;color:rgb(148 163 184/var(--tw-placeholder-opacity,1))}.placeholder-slate-400::placeholder{--tw-placeholder-opacity:1;color:rgb(148 163 184/var(--tw-placeholder-opacity,1))}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:border-blue-400:hover{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity,1))}.hover\:bg-blue-700:hover{--tw-bg-opacity:1;background-color:rgb(29 78 216/var(--tw-bg-opacity,1))}.hover\:bg-slate-700:hover{--tw-bg-opacity:1;background-color:rgb(51 65 85/var(--tw-bg-opacity,1))}.hover\:text-blue-600:hover{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity,1))}.hover\:underline:hover{text-decoration-line:underline}.hover\:shadow-sm:hover{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-blue-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(59 130 246/var(--tw-ring-opacity,1))}@media (min-width:640px){.sm\:inline{display:inline}.sm\:w-64{width:16rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}}@media (min-width:768px){.md\:w-56{width:14rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}}@media (min-width:1024px){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:px-8{padding-left:2rem;padding-right:2rem}}@media (prefers-color-scheme:dark){.dark\:divide-slate-800>:not([hidden])~:not([hidden]){--tw-divide-opacity:1;border-color:rgb(30 41 59/var(--tw-divide-opacity,1))}.dark\:border-amber-800{--tw-border-opacity:1;border-color:rgb(146 64 14/var(--tw-border-opacity,1))}.dark\:border-amber-900\/50{border-color:rgba(120,53,15,.5)}.dark\:border-blue-800{--tw-border-opacity:1;border-color:rgb(30 64 175/var(--tw-border-opacity,1))}.dark\:border-sky-900\/50{border-color:rgba(12,74,110,.5)}.dark\:border-slate-600{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.dark\:border-slate-700{--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}.dark\:border-slate-800{--tw-border-opacity:1;border-color:rgb(30 41 59/var(--tw-border-opacity,1))}.dark\:bg-amber-900\/40{background-color:rgba(120,53,15,.4)}.dark\:bg-amber-950{--tw-bg-opacity:1;background-color:rgb(69 26 3/var(--tw-bg-opacity,1))}.dark\:bg-amber-950\/30{background-color:rgba(69,26,3,.3)}.dark\:bg-blue-950{--tw-bg-opacity:1;background-color:rgb(23 37 84/var(--tw-bg-opacity,1))}.dark\:bg-sky-900\/40{background-color:rgba(12,74,110,.4)}.dark\:bg-sky-950\/30{background-color:rgba(8,47,73,.3)}.dark\:bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.dark\:bg-slate-800{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}.dark\:bg-slate-800\/60{background-color:rgba(30,41,59,.6)}.dark\:bg-slate-900{--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity,1))}.dark\:bg-slate-950{--tw-bg-opacity:1;background-color:rgb(2 6 23/var(--tw-bg-opacity,1))}.dark\:text-amber-200{--tw-text-opacity:1;color:rgb(253 230 138/var(--tw-text-opacity,1))}.dark\:text-amber-300{--tw-text-opacity:1;color:rgb(252 211 77/var(--tw-text-opacity,1))}.dark\:text-amber-300\/90{color:rgba(252,211,77,.9)}.dark\:text-blue-300{--tw-text-opacity:1;color:rgb(147 197 253/var(--tw-text-opacity,1))}.dark\:text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity,1))}.dark\:text-sky-200{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity,1))}.dark\:text-sky-300\/90{color:rgba(125,211,252,.9)}.dark\:text-slate-100{--tw-text-opacity:1;color:rgb(241 245 249/var(--tw-text-opacity,1))}.dark\:text-slate-200{--tw-text-opacity:1;color:rgb(226 232 240/var(--tw-text-opacity,1))}.dark\:text-slate-300{--tw-text-opacity:1;color:rgb(203 213 225/var(--tw-text-opacity,1))}.dark\:text-slate-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}.dark\:text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.dark\:text-slate-600{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}.dark\:text-slate-800{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity,1))}.dark\:text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity,1))}.dark\:hover\:border-blue-600:hover{--tw-border-opacity:1;border-color:rgb(37 99 235/var(--tw-border-opacity,1))}.dark\:hover\:bg-slate-300:hover{--tw-bg-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity,1))}.dark\:hover\:text-blue-400:hover{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity,1))}}.\[\&_a\]\:text-blue-600 a{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity,1))}.\[\&_a\]\:underline a{text-decoration-line:underline}@media (prefers-color-scheme:dark){.\[\&_a\]\:dark\:text-blue-400 a{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity,1))}}.\[\&_blockquote\]\:my-3 blockquote{margin-bottom:.75rem;margin-top:.75rem}.\[\&_blockquote\]\:border-l-4 blockquote{border-left-width:4px}.\[\&_blockquote\]\:border-slate-300 blockquote{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.\[\&_blockquote\]\:pl-4 blockquote{padding-left:1rem}.\[\&_blockquote\]\:italic blockquote{font-style:italic}.\[\&_blockquote\]\:text-slate-600 blockquote{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}@media (prefers-color-scheme:dark){.\[\&_blockquote\]\:dark\:border-slate-700 blockquote{--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}.\[\&_blockquote\]\:dark\:text-slate-400 blockquote{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}}.\[\&_code\]\:rounded code{border-radius:.25rem}.\[\&_code\]\:bg-slate-100 code{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.\[\&_code\]\:px-1 code{padding-left:.25rem;padding-right:.25rem}.\[\&_code\]\:py-0\.5 code{padding-bottom:.125rem;padding-top:.125rem}.\[\&_code\]\:font-mono code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.\[\&_code\]\:text-sm code{font-size:.875rem;line-height:1.25rem}@media (prefers-color-scheme:dark){.\[\&_code\]\:dark\:bg-slate-800 code{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}}.\[\&_h1\]\:mb-3 h1{margin-bottom:.75rem}.\[\&_h1\]\:mt-6 h1{margin-top:1.5rem}.\[\&_h1\]\:text-3xl h1{font-size:1.875rem;line-height:2.25rem}.\[\&_h1\]\:font-bold h1{font-weight:700}.\[\&_h2\]\:mb-2 h2{margin-bottom:.5rem}.\[\&_h2\]\:mt-5 h2{margin-top:1.25rem}.\[\&_h2\]\:text-2xl h2{font-size:1.5rem;line-height:2rem}.\[\&_h2\]\:font-semibold h2{font-weight:600}.\[\&_h3\]\:mb-2 h3{margin-bottom:.5rem}.\[\&_h3\]\:mt-4 h3{margin-top:1rem}.\[\&_h3\]\:text-xl h3{font-size:1.25rem;line-height:1.75rem}.\[\&_h3\]\:font-semibold h3{font-weight:600}.\[\&_h4\]\:mb-1 h4{margin-bottom:.25rem}.\[\&_h4\]\:mt-3 h4{margin-top:.75rem}.\[\&_h4\]\:text-lg h4{font-size:1.125rem;line-height:1.75rem}.\[\&_h4\]\:font-semibold h4{font-weight:600}.\[\&_hr\]\:my-6 hr{margin-bottom:1.5rem;margin-top:1.5rem}.\[\&_hr\]\:border-slate-200 hr{--tw-border-opacity:1;border-color:rgb(226 232 240/var(--tw-border-opacity,1))}@media (prefers-color-scheme:dark){.\[\&_hr\]\:dark\:border-slate-800 hr{--tw-border-opacity:1;border-color:rgb(30 41 59/var(--tw-border-opacity,1))}}.\[\&_li\]\:my-1 li{margin-bottom:.25rem;margin-top:.25rem}.\[\&_mark\]\:bg-yellow-200 mark{--tw-bg-opacity:1;background-color:rgb(254 240 138/var(--tw-bg-opacity,1))}.\[\&_mark\]\:px-0\.5 mark{padding-left:.125rem;padding-right:.125rem}@media (prefers-color-scheme:dark){.\[\&_mark\]\:dark\:bg-yellow-800 mark{--tw-bg-opacity:1;background-color:rgb(133 77 14/var(--tw-bg-opacity,1))}}.\[\&_ol\]\:my-3 ol{margin-bottom:.75rem;margin-top:.75rem}.\[\&_ol\]\:list-decimal ol{list-style-type:decimal}.\[\&_ol\]\:pl-5 ol{padding-left:1.25rem}.\[\&_p\]\:my-3 p{margin-bottom:.75rem;margin-top:.75rem}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_pre\]\:my-3 pre{margin-bottom:.75rem;margin-top:.75rem}.\[\&_pre\]\:overflow-x-auto pre{overflow-x:auto}.\[\&_pre\]\:rounded pre{border-radius:.25rem}.\[\&_pre\]\:bg-slate-100 pre{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.\[\&_pre\]\:p-3 pre{padding:.75rem}@media (prefers-color-scheme:dark){.\[\&_pre\]\:dark\:bg-slate-800 pre{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}}.\[\&_pre_code\]\:bg-transparent pre code{background-color:transparent}.\[\&_pre_code\]\:p-0 pre code{padding:0}.\[\&_table\]\:my-3 table{margin-bottom:.75rem;margin-top:.75rem}.\[\&_table\]\:w-full table{width:100%}.\[\&_table\]\:border-collapse table{border-collapse:collapse}.\[\&_td\]\:border td{border-width:1px}.\[\&_td\]\:border-slate-300 td{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.\[\&_td\]\:px-3 td{padding-left:.75rem;padding-right:.75rem}.\[\&_td\]\:py-2 td{padding-bottom:.5rem;padding-top:.5rem}@media (prefers-color-scheme:dark){.\[\&_td\]\:dark\:border-slate-700 td{--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}}.\[\&_th\]\:border th{border-width:1px}.\[\&_th\]\:border-slate-300 th{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.\[\&_th\]\:bg-slate-50 th{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.\[\&_th\]\:px-3 th{padding-left:.75rem;padding-right:.75rem}.\[\&_th\]\:py-2 th{padding-bottom:.5rem;padding-top:.5rem}.\[\&_th\]\:text-left th{text-align:left}@media (prefers-color-scheme:dark){.\[\&_th\]\:dark\:border-slate-700 th{--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}.\[\&_th\]\:dark\:bg-slate-800 th{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}}.\[\&_ul\]\:my-3 ul{margin-bottom:.75rem;margin-top:.75rem}.\[\&_ul\]\:list-disc ul{list-style-type:disc}.\[\&_ul\]\:pl-5 ul{padding-left:1.25rem}
\ No newline at end of file
+*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.right-2{right:.5rem}.top-0{top:0}.top-2{top:.5rem}.z-10{z-index:10}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.mt-1{margin-top:.25rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-14{height:3.5rem}.h-4{height:1rem}.h-7{height:1.75rem}.h-full{height:100%}.min-h-full{min-height:100%}.w-4{width:1rem}.w-40{width:10rem}.w-auto{width:auto}.w-full{width:100%}.min-w-0{min-width:0}.max-w-3xl{max-width:48rem}.max-w-7xl{max-width:80rem}.max-w-md{max-width:28rem}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.125rem*var(--tw-space-y-reverse));margin-top:calc(.125rem*(1 - var(--tw-space-y-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.25rem*var(--tw-space-y-reverse));margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.75rem*var(--tw-space-y-reverse));margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))}.divide-slate-100>:not([hidden])~:not([hidden]){--tw-divide-opacity:1;border-color:rgb(241 245 249/var(--tw-divide-opacity,1))}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-amber-200{--tw-border-opacity:1;border-color:rgb(253 230 138/var(--tw-border-opacity,1))}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity,1))}.border-slate-100{--tw-border-opacity:1;border-color:rgb(241 245 249/var(--tw-border-opacity,1))}.border-slate-200{--tw-border-opacity:1;border-color:rgb(226 232 240/var(--tw-border-opacity,1))}.border-slate-300{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.bg-amber-100{--tw-bg-opacity:1;background-color:rgb(254 243 199/var(--tw-bg-opacity,1))}.bg-amber-50{--tw-bg-opacity:1;background-color:rgb(255 251 235/var(--tw-bg-opacity,1))}.bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity,1))}.bg-blue-600{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity,1))}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.bg-slate-50{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.bg-slate-900{--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity,1))}.bg-slate-900\/50{background-color:rgba(15,23,42,.5)}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-1{padding:.25rem}.p-12{padding:3rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0\.5{padding-bottom:.125rem;padding-top:.125rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-1\.5{padding-bottom:.375rem;padding-top:.375rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-20{padding-bottom:5rem;padding-top:5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-4{padding-bottom:1rem;padding-top:1rem}.py-8{padding-bottom:2rem;padding-top:2rem}.pl-2{padding-left:.5rem}.pr-10{padding-right:2.5rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-6xl{font-size:3.75rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-relaxed{line-height:1.625}.tracking-wide{letter-spacing:.025em}.text-amber-700{--tw-text-opacity:1;color:rgb(180 83 9/var(--tw-text-opacity,1))}.text-amber-800{--tw-text-opacity:1;color:rgb(146 64 14/var(--tw-text-opacity,1))}.text-amber-900{--tw-text-opacity:1;color:rgb(120 53 15/var(--tw-text-opacity,1))}.text-blue-600{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity,1))}.text-blue-700{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity,1))}.text-slate-200{--tw-text-opacity:1;color:rgb(226 232 240/var(--tw-text-opacity,1))}.text-slate-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}.text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.text-slate-600{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}.text-slate-700{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.text-slate-800{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity,1))}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.underline{text-decoration-line:underline}.placeholder-slate-400::-moz-placeholder{--tw-placeholder-opacity:1;color:rgb(148 163 184/var(--tw-placeholder-opacity,1))}.placeholder-slate-400::placeholder{--tw-placeholder-opacity:1;color:rgb(148 163 184/var(--tw-placeholder-opacity,1))}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:border-blue-400:hover{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity,1))}.hover\:bg-amber-100:hover{--tw-bg-opacity:1;background-color:rgb(254 243 199/var(--tw-bg-opacity,1))}.hover\:bg-blue-700:hover{--tw-bg-opacity:1;background-color:rgb(29 78 216/var(--tw-bg-opacity,1))}.hover\:bg-slate-700:hover{--tw-bg-opacity:1;background-color:rgb(51 65 85/var(--tw-bg-opacity,1))}.hover\:text-blue-600:hover{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity,1))}.hover\:underline:hover{text-decoration-line:underline}.hover\:shadow-sm:hover{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-blue-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(59 130 246/var(--tw-ring-opacity,1))}@media (min-width:640px){.sm\:inline{display:inline}.sm\:w-64{width:16rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}}@media (min-width:768px){.md\:w-56{width:14rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}}@media (min-width:1024px){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:px-8{padding-left:2rem;padding-right:2rem}}@media (prefers-color-scheme:dark){.dark\:divide-slate-800>:not([hidden])~:not([hidden]){--tw-divide-opacity:1;border-color:rgb(30 41 59/var(--tw-divide-opacity,1))}.dark\:border-amber-800{--tw-border-opacity:1;border-color:rgb(146 64 14/var(--tw-border-opacity,1))}.dark\:border-amber-900\/50{border-color:rgba(120,53,15,.5)}.dark\:border-blue-800{--tw-border-opacity:1;border-color:rgb(30 64 175/var(--tw-border-opacity,1))}.dark\:border-slate-600{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.dark\:border-slate-700{--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}.dark\:border-slate-800{--tw-border-opacity:1;border-color:rgb(30 41 59/var(--tw-border-opacity,1))}.dark\:bg-amber-900\/40{background-color:rgba(120,53,15,.4)}.dark\:bg-amber-950{--tw-bg-opacity:1;background-color:rgb(69 26 3/var(--tw-bg-opacity,1))}.dark\:bg-amber-950\/30{background-color:rgba(69,26,3,.3)}.dark\:bg-blue-950{--tw-bg-opacity:1;background-color:rgb(23 37 84/var(--tw-bg-opacity,1))}.dark\:bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.dark\:bg-slate-800{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}.dark\:bg-slate-800\/60{background-color:rgba(30,41,59,.6)}.dark\:bg-slate-900{--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity,1))}.dark\:bg-slate-950{--tw-bg-opacity:1;background-color:rgb(2 6 23/var(--tw-bg-opacity,1))}.dark\:text-amber-200{--tw-text-opacity:1;color:rgb(253 230 138/var(--tw-text-opacity,1))}.dark\:text-amber-300{--tw-text-opacity:1;color:rgb(252 211 77/var(--tw-text-opacity,1))}.dark\:text-amber-300\/90{color:rgba(252,211,77,.9)}.dark\:text-blue-300{--tw-text-opacity:1;color:rgb(147 197 253/var(--tw-text-opacity,1))}.dark\:text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity,1))}.dark\:text-slate-100{--tw-text-opacity:1;color:rgb(241 245 249/var(--tw-text-opacity,1))}.dark\:text-slate-200{--tw-text-opacity:1;color:rgb(226 232 240/var(--tw-text-opacity,1))}.dark\:text-slate-300{--tw-text-opacity:1;color:rgb(203 213 225/var(--tw-text-opacity,1))}.dark\:text-slate-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}.dark\:text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.dark\:text-slate-600{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}.dark\:text-slate-800{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity,1))}.dark\:text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity,1))}.dark\:hover\:border-blue-600:hover{--tw-border-opacity:1;border-color:rgb(37 99 235/var(--tw-border-opacity,1))}.dark\:hover\:bg-amber-900\/40:hover{background-color:rgba(120,53,15,.4)}.dark\:hover\:bg-slate-300:hover{--tw-bg-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity,1))}.dark\:hover\:text-blue-400:hover{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity,1))}}.\[\&_a\]\:text-blue-600 a{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity,1))}.\[\&_a\]\:underline a{text-decoration-line:underline}@media (prefers-color-scheme:dark){.\[\&_a\]\:dark\:text-blue-400 a{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity,1))}}.\[\&_blockquote\]\:my-3 blockquote{margin-bottom:.75rem;margin-top:.75rem}.\[\&_blockquote\]\:border-l-4 blockquote{border-left-width:4px}.\[\&_blockquote\]\:border-slate-300 blockquote{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.\[\&_blockquote\]\:pl-4 blockquote{padding-left:1rem}.\[\&_blockquote\]\:italic blockquote{font-style:italic}.\[\&_blockquote\]\:text-slate-600 blockquote{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}@media (prefers-color-scheme:dark){.\[\&_blockquote\]\:dark\:border-slate-700 blockquote{--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}.\[\&_blockquote\]\:dark\:text-slate-400 blockquote{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}}.\[\&_code\]\:rounded code{border-radius:.25rem}.\[\&_code\]\:bg-slate-100 code{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.\[\&_code\]\:px-1 code{padding-left:.25rem;padding-right:.25rem}.\[\&_code\]\:py-0\.5 code{padding-bottom:.125rem;padding-top:.125rem}.\[\&_code\]\:font-mono code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.\[\&_code\]\:text-sm code{font-size:.875rem;line-height:1.25rem}@media (prefers-color-scheme:dark){.\[\&_code\]\:dark\:bg-slate-800 code{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}}.\[\&_h1\]\:mb-3 h1{margin-bottom:.75rem}.\[\&_h1\]\:mt-6 h1{margin-top:1.5rem}.\[\&_h1\]\:text-3xl h1{font-size:1.875rem;line-height:2.25rem}.\[\&_h1\]\:font-bold h1{font-weight:700}.\[\&_h2\]\:mb-2 h2{margin-bottom:.5rem}.\[\&_h2\]\:mt-5 h2{margin-top:1.25rem}.\[\&_h2\]\:text-2xl h2{font-size:1.5rem;line-height:2rem}.\[\&_h2\]\:font-semibold h2{font-weight:600}.\[\&_h3\]\:mb-2 h3{margin-bottom:.5rem}.\[\&_h3\]\:mt-4 h3{margin-top:1rem}.\[\&_h3\]\:text-xl h3{font-size:1.25rem;line-height:1.75rem}.\[\&_h3\]\:font-semibold h3{font-weight:600}.\[\&_h4\]\:mb-1 h4{margin-bottom:.25rem}.\[\&_h4\]\:mt-3 h4{margin-top:.75rem}.\[\&_h4\]\:text-lg h4{font-size:1.125rem;line-height:1.75rem}.\[\&_h4\]\:font-semibold h4{font-weight:600}.\[\&_hr\]\:my-6 hr{margin-bottom:1.5rem;margin-top:1.5rem}.\[\&_hr\]\:border-slate-200 hr{--tw-border-opacity:1;border-color:rgb(226 232 240/var(--tw-border-opacity,1))}@media (prefers-color-scheme:dark){.\[\&_hr\]\:dark\:border-slate-800 hr{--tw-border-opacity:1;border-color:rgb(30 41 59/var(--tw-border-opacity,1))}}.\[\&_li\]\:my-1 li{margin-bottom:.25rem;margin-top:.25rem}.\[\&_mark\]\:bg-yellow-200 mark{--tw-bg-opacity:1;background-color:rgb(254 240 138/var(--tw-bg-opacity,1))}.\[\&_mark\]\:px-0\.5 mark{padding-left:.125rem;padding-right:.125rem}@media (prefers-color-scheme:dark){.\[\&_mark\]\:dark\:bg-yellow-800 mark{--tw-bg-opacity:1;background-color:rgb(133 77 14/var(--tw-bg-opacity,1))}}.\[\&_ol\]\:my-3 ol{margin-bottom:.75rem;margin-top:.75rem}.\[\&_ol\]\:list-decimal ol{list-style-type:decimal}.\[\&_ol\]\:pl-5 ol{padding-left:1.25rem}.\[\&_p\]\:my-3 p{margin-bottom:.75rem;margin-top:.75rem}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_pre\]\:my-3 pre{margin-bottom:.75rem;margin-top:.75rem}.\[\&_pre\]\:overflow-x-auto pre{overflow-x:auto}.\[\&_pre\]\:rounded pre{border-radius:.25rem}.\[\&_pre\]\:bg-slate-100 pre{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.\[\&_pre\]\:p-3 pre{padding:.75rem}@media (prefers-color-scheme:dark){.\[\&_pre\]\:dark\:bg-slate-800 pre{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}}.\[\&_pre_code\]\:bg-transparent pre code{background-color:transparent}.\[\&_pre_code\]\:p-0 pre code{padding:0}.\[\&_table\]\:my-3 table{margin-bottom:.75rem;margin-top:.75rem}.\[\&_table\]\:w-full table{width:100%}.\[\&_table\]\:border-collapse table{border-collapse:collapse}.\[\&_td\]\:border td{border-width:1px}.\[\&_td\]\:border-slate-300 td{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.\[\&_td\]\:px-3 td{padding-left:.75rem;padding-right:.75rem}.\[\&_td\]\:py-2 td{padding-bottom:.5rem;padding-top:.5rem}@media (prefers-color-scheme:dark){.\[\&_td\]\:dark\:border-slate-700 td{--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}}.\[\&_th\]\:border th{border-width:1px}.\[\&_th\]\:border-slate-300 th{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.\[\&_th\]\:bg-slate-50 th{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.\[\&_th\]\:px-3 th{padding-left:.75rem;padding-right:.75rem}.\[\&_th\]\:py-2 th{padding-bottom:.5rem;padding-top:.5rem}.\[\&_th\]\:text-left th{text-align:left}@media (prefers-color-scheme:dark){.\[\&_th\]\:dark\:border-slate-700 th{--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}.\[\&_th\]\:dark\:bg-slate-800 th{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}}.\[\&_ul\]\:my-3 ul{margin-bottom:.75rem;margin-top:.75rem}.\[\&_ul\]\:list-disc ul{list-style-type:disc}.\[\&_ul\]\:pl-5 ul{padding-left:1.25rem}
\ No newline at end of file
diff --git a/crates/ai-memory-web/templates/project.html b/crates/ai-memory-web/templates/project.html
index 86a44179..46c7d32c 100644
--- a/crates/ai-memory-web/templates/project.html
+++ b/crates/ai-memory-web/templates/project.html
@@ -38,6 +38,28 @@
{% endfor %}
</ul>
{% endif %}
+ {% if !system.is_empty() %}
+ <details class="mt-6">
+ <summary class="text-xs font-semibold uppercase tracking-wide text-slate-400 dark:text-slate-500 cursor-pointer select-none">System</summary>
+ <ul class="space-y-1 mt-3">
+ {% for folder in system %}
+ <li>
+ <div class="text-xs font-medium text-slate-500 dark:text-slate-400 py-1 border-b border-slate-100 dark:border-slate-800 mb-1">{{ folder.name }}/</div>
+ <ul class="space-y-0.5 pl-2">
+ {% for page in folder.pages %}
+ <li>
+ <a href="{{ page.href }}"
+ class="block truncate text-sm text-slate-500 dark:text-slate-400 hover:text-blue-600 dark:hover:text-blue-400 py-0.5">
+ {{ page.title }}
+ </a>
+ </li>
+ {% endfor %}
+ </ul>
+ </li>
+ {% endfor %}
+ </ul>
+ </details>
+ {% endif %}
</aside>
<!-- Main: recent pages -->
diff --git a/crates/ai-memory-web/templates/projects.html b/crates/ai-memory-web/templates/projects.html
index 7df969e4..c398d1df 100644
--- a/crates/ai-memory-web/templates/projects.html
+++ b/crates/ai-memory-web/templates/projects.html
@@ -8,7 +8,11 @@
<p class="mt-1 text-sm text-slate-500 dark:text-slate-400">All workspaces and projects in your wiki.</p>
</div>
-<div class="mb-6 rounded-md border border-amber-200 dark:border-amber-900/50 bg-amber-50 dark:bg-amber-950/30 p-4 text-sm text-amber-900 dark:text-amber-200">
+<div id="llm-notice" class="mb-6 hidden relative rounded-md border border-amber-200 dark:border-amber-900/50 bg-amber-50 dark:bg-amber-950/30 p-4 pr-10 text-sm text-amber-900 dark:text-amber-200">
+ <button id="llm-notice-close" type="button" aria-label="Dismiss permanently" title="Don't show this again"
+ class="absolute top-2 right-2 rounded p-1 text-amber-700 dark:text-amber-300 hover:bg-amber-100 dark:hover:bg-amber-900/40">
+ <svg class="w-4 h-4" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"><path d="M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z"/></svg>
+ </button>
<p class="font-medium mb-1">This is LLM-optimised memory, not hand-curated documentation.</p>
<p class="text-amber-800 dark:text-amber-300/90 leading-relaxed">
Pages are compiled from session observations by an LLM and revised as you work — they're shaped
@@ -21,6 +25,21 @@
documentation.
</p>
</div>
+<script>
+ (function () {
+ var notice = document.getElementById("llm-notice");
+ if (!notice) return;
+ var key = "ai-memory-llm-notice-dismissed";
+ try {
+ if (localStorage.getItem(key) === "1") return;
+ } catch (e) { /* storage blocked: still show the notice */ }
+ notice.classList.remove("hidden");
+ document.getElementById("llm-notice-close").addEventListener("click", function () {
+ try { localStorage.setItem(key, "1"); } catch (e) { /* best effort */ }
+ notice.classList.add("hidden");
+ });
+ })();
+</script>
{% if let Some(dialog) = okf_dialog %}
<div id="okf-dialog-overlay" class="hidden fixed inset-0 z-50 flex items-center justify-center bg-slate-900/50 p-4" data-dismiss-key="ai-memory-okf-dialog-{{ dialog.created_at }}">
@@ -49,8 +68,8 @@
<p class="mt-1 text-xs text-slate-500 dark:text-slate-400">Full steps, including the surgical git-checkpoint rollback: <code class="font-mono">docs/MIGRATION-2.0.md</code> in the ai-memory repository.</p>
</div>
<p>
- If everything looks right, you can delete the archive — the reminder banner on this
- page disappears once the file is gone.
+ If everything looks right, you can delete the archive — <code class="font-mono text-xs bg-slate-100 dark:bg-slate-800 px-1 py-0.5 rounded">ai-memory status</code>
+ shows it until the file is gone.
</p>
{% else %}
<p>
@@ -90,20 +109,6 @@
</script>
{% endif %}
-{% if let Some(notice) = backup_notice %}
-<div class="mb-6 rounded-md border border-sky-200 dark:border-sky-900/50 bg-sky-50 dark:bg-sky-950/30 p-4 text-sm text-sky-900 dark:text-sky-200">
- <p class="font-medium mb-1">A pre-migration backup of your memory is still on disk.</p>
- <p class="text-sky-800 dark:text-sky-300/90 leading-relaxed">
- Before the OKF format migration ran, the entire data directory was archived to
- <code class="font-mono text-xs bg-sky-100 dark:bg-sky-900/40 px-1 py-0.5 rounded">{{ notice.archive_path }}</code>
- ({{ notice.size_human }}, {{ notice.created_at }}).
- </p>
- <ul class="mt-2 list-disc list-inside text-sky-800 dark:text-sky-300/90 leading-relaxed">
- <li><span class="font-medium">Everything looks right?</span> Delete the archive file and this notice disappears.</li>
- <li><span class="font-medium">Something is missing?</span> Stop the server, unpack the archive over your data directory, and start the old version — see the restore section of <code class="font-mono text-xs bg-sky-100 dark:bg-sky-900/40 px-1 py-0.5 rounded">docs/MIGRATION-2.0.md</code>.</li>
- </ul>
-</div>
-{% endif %}
{% if projects.is_empty() %}
<div class="rounded-lg border border-dashed border-slate-300 dark:border-slate-700 p-12 text-center">
diff --git a/crates/ai-memory-web/tests/routes.rs b/crates/ai-memory-web/tests/routes.rs
index 18a9ae76..7a849be9 100644
--- a/crates/ai-memory-web/tests/routes.rs
+++ b/crates/ai-memory-web/tests/routes.rs
@@ -2962,3 +2962,122 @@ async fn api_v1_etag_differs_between_anonymous_and_attributed_writes() {
(would otherwise let stale caches hide attribution flips)"
);
}
+
+// ── 2.0.1: knowledge pages stay in front, machinery collapses ──
+
+#[tokio::test]
+async fn project_view_separates_machinery_from_knowledge() {
+ let (_tmp, store, wiki) = setup().await;
+ let ws = store
+ .writer
+ .get_or_create_workspace("default")
+ .await
+ .unwrap();
+ let proj = store
+ .writer
+ .get_or_create_project(ws, "scratch", None)
+ .await
+ .unwrap();
+ for (path, title) in [
+ ("concepts/retrieval.md", "Retrieval Concept"),
+ ("_rules/deploy-policy.md", "Deploy Policy Rule"),
+ ("_lint/report.md", "Lint report 2026-09-02"),
+ ("sessions/abc123.md", "Session abc123"),
+ ("log-2026-09.md", "log-2026-09"),
+ ("index.md", "Bundle index"),
+ ("_meta.md", "meta"),
+ ] {
+ store
+ .writer
+ .upsert_page(new_page(ws, proj, path, title, "body text"))
+ .await
+ .unwrap();
+ }
+
+ let app = router(store.reader.clone(), wiki.clone());
+ let req = Request::builder()
+ .uri("/w/default/scratch")
+ .body(Body::empty())
+ .unwrap();
+ let resp = app.oneshot(req).await.unwrap();
+ assert_eq!(resp.status(), StatusCode::OK);
+ let body = axum::body::to_bytes(resp.into_body(), usize::MAX)
+ .await
+ .unwrap();
+ let text = std::str::from_utf8(&body).unwrap();
+
+ // Recent Activity lists knowledge only. The list is the segment
+ // after its heading; machinery must not appear there.
+ let recent = &text[text.find("Recent Activity").expect("recent heading")..];
+ assert!(recent.contains("Retrieval Concept"));
+ assert!(
+ recent.contains("Deploy Policy Rule"),
+ "_rules are standing human-authored knowledge, not machinery"
+ );
+ for machinery in [
+ "Lint report 2026-09-02",
+ "Session abc123",
+ "log-2026-09",
+ "Bundle index",
+ ] {
+ assert!(
+ !recent.contains(machinery),
+ "machinery page {machinery:?} leaked into Recent Activity"
+ );
+ }
+
+ // The sidebar still reaches everything: machinery sits in the
+ // collapsed System section.
+ let sidebar = &text[..text.find("Recent Activity").unwrap()];
+ let system = &sidebar[sidebar.find("System").expect("system section")..];
+ assert!(system.contains("Lint report 2026-09-02"));
+ assert!(system.contains("Session abc123"));
+ assert!(system.contains("log-2026-09"));
+ // Knowledge renders BEFORE the System section.
+ let knowledge = &sidebar[..sidebar.find("System").unwrap()];
+ assert!(knowledge.contains("Retrieval Concept"));
+ assert!(knowledge.contains("Deploy Policy Rule"));
+ assert!(!knowledge.contains("Session abc123"));
+}
+
+#[tokio::test]
+async fn homepage_llm_notice_is_dismissible_and_backup_banner_is_gone() {
+ let (_tmp, store, wiki) = setup().await;
+ let ws = store
+ .writer
+ .get_or_create_workspace("default")
+ .await
+ .unwrap();
+ let proj = store
+ .writer
+ .get_or_create_project(ws, "scratch", None)
+ .await
+ .unwrap();
+ store
+ .writer
+ .upsert_page(new_page(ws, proj, "foo.md", "Foo Page", "Hello"))
+ .await
+ .unwrap();
+
+ let app = router(store.reader.clone(), wiki.clone());
+ let req = Request::builder().uri("/").body(Body::empty()).unwrap();
+ let resp = app.oneshot(req).await.unwrap();
+ assert_eq!(resp.status(), StatusCode::OK);
+ let body = axum::body::to_bytes(resp.into_body(), usize::MAX)
+ .await
+ .unwrap();
+ let text = std::str::from_utf8(&body).unwrap();
+
+ // The explainer ships hidden with a persistent dismissal control;
+ // client script reveals it unless previously dismissed.
+ assert!(text.contains(r#"id="llm-notice""#));
+ assert!(text.contains(r#"id="llm-notice-close""#));
+ assert!(text.contains("ai-memory-llm-notice-dismissed"));
+
+ // The old always-on backup banner is gone (the migration dialog
+ // carries that information; `status` keeps the durable reminder).
+ assert!(
+ !text.contains("pre-migration backup of your memory is still on disk"),
+ "redundant backup banner must not render"
+ );
+}