Files
riotpiao.com/public/poimen-memory/architecture.json
T
rockandpoimen 4640935993
CI / CI (push) Successful in 5m52s
feat: recruiter-scannable cards + Poimen Memory deep dive page (#14)
## Summary

   Rewrite all portfolio cards for 6-second HR scannability and add a dedicated Poimen Memory deep dive page.

   ## Changes

   ### Timeline Cards (all 6 rewritten)
   - **Poimen (Ποιμήν)** — NEW card. Graph-RAG memory + Temporal workflow pillars
   - **riotpiao.com** — 5 sections: Infrastructure, GitOps, Security, Observability, AI/ML
   - **RBC** — State migration (500+ files, zero corruption), drift detection (3wk → <24hr), 3× velocity
   - **AWS** — Distributed-Map ownership (57+ regions, sub-100ms P99), Redrive Execution launch
   - **Titus** — 97.8% accuracy, 28% P99 improvement, 5× deployment speed
   - **NAV Canada** — ATC weather briefing (ReactJS), Django, SonarQube

   ### Project Cards
   - Reorder: **Poimen Orchestration → Memory → Homelab** → RBC → AWS
   - Homelab: production-grade framing, "Explore the Architecture →"
   - Poimen: etymology intro ("shepherd"), connected narrative across cards
   - All cards use `dangerouslySetInnerHTML` for **bold** framework names

   ### Poimen Memory Page (`/poimen/memory`)
   - Hero: "Teaching the Shepherd to Remember"
   - 🏗️ Architecture diagram — Rust microservice, actix-web, Authentik JWT, pgvector
   - 🔄 Dataflow diagram — episode → entity/fact extraction → temporal graph
   -  Sequence diagram — async ingest lifecycle (202 accepted, background LLM pipeline)
   - Three-tier retrieval cards: signature match (50ms), graph-boosted hybrid, Obsidian fallback
   - Technology stack grid (Rust, pgvector, Ollama, TEI, Authentik, K8s)

   ### CI & Build Fixes
   - API allowlist updated for `riotpiao-poimen/` org repos
   - Commit SHA: `NEXT_PUBLIC_COMMIT_SHA` in Dockerfile + `--build-arg` in CI workflow
   - ExperienceTimeline CI badges wired for Poimen + Homelab repos

   ## Files Changed
   - `lib/translations.json` — all card content (EN + ZH)
   - `app/page.tsx` — project order, deepDive links, ciRepos mapping
   - `app/poimen/memory/page.tsx` — NEW deep dive page
   - `components/ExperienceTimeline.tsx` — Poimen card, HTML rendering, CI badges
   - `app/api/ci-status/route.ts` — allowlist for riotpiao-poimen org
   - `Dockerfile` + `.gitea/workflows/build-push.yml` — SHA fix
   - `public/poimen-memory/` — 3 archify diagrams (architecture, dataflow, sequence)

---------

Co-authored-by:  poimen <[email protected]>
Reviewed-on: #14
2026-09-09 23:29:14 +00:00

36 lines
2.3 KiB
JSON

{
"schema_version": 1,
"diagram_type": "architecture",
"meta": {
"title": "Poimen Memory System",
"quality_profile": "showcase",
"viewBox": [1060, 560]
},
"components": [
{ "id": "agent", "type": "external", "label": "AI Agent", "sublabel": "LLM client", "pos": [40, 220], "size": [130, 60] },
{ "id": "api", "type": "backend", "label": "Memory API", "sublabel": "actix-web :8080", "pos": [270, 220], "size": [140, 60], "tag": "Rust" },
{ "id": "auth", "type": "security", "label": "Authentik", "sublabel": "OIDC / JWT", "pos": [270, 60], "size": [140, 60] },
{ "id": "worker", "type": "backend", "label": "Ingest Worker", "sublabel": "LLM pipeline", "pos": [540, 220], "size": [140, 60] },
{ "id": "llm", "type": "external", "label": "LLM", "sublabel": "ornith:35b", "pos": [540, 380], "size": [140, 60] },
{ "id": "pgvector", "type": "database", "label": "pgvector", "sublabel": "CNPG cluster", "pos": [540, 60], "size": [140, 60], "tag": "HNSW" },
{ "id": "embed", "type": "external", "label": "Embeddings", "sublabel": "nomic-embed", "pos": [810, 220], "size": [140, 60] }
],
"boundaries": [
{ "kind": "region", "label": "K8s: poimen", "wraps": ["api", "auth", "worker", "pgvector", "embed"] }
],
"connections": [
{ "id": "c1", "from": "agent", "to": "api", "label": "HTTP", "variant": "emphasis" },
{ "id": "c2", "from": "api", "to": "auth", "label": "verify JWT", "variant": "security" },
{ "id": "c3", "from": "api", "to": "worker", "label": "enqueue", "labelAt": [445, 178] },
{ "id": "c4", "from": "worker", "to": "llm", "label": "extract", "labelAt": [630, 356] },
{ "id": "c5", "from": "worker", "to": "pgvector", "label": "persist" },
{ "id": "c6", "from": "worker", "to": "embed", "label": "embed", "variant": "dashed" },
{ "id": "c7", "from": "api", "to": "pgvector", "label": "search", "variant": "emphasis" }
],
"cards": [
{ "dot": "emerald", "title": "Ingest", "items": ["Conversations ingested via HTTP", "LLM extracts entities + relationships", "Temporal graph persisted to pgvector"] },
{ "dot": "cyan", "title": "Retrieval", "items": ["HNSW cosine similarity search", "BFS graph traversal for context"] },
{ "dot": "rose", "title": "Auth", "items": ["Authentik OIDC JWT verification", "SOPS-encrypted K8s secrets"] }
]
}