CI / CI (push) Successful in 5m52s
## 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
52 lines
3.5 KiB
JSON
52 lines
3.5 KiB
JSON
{
|
|
"schema_version": 1,
|
|
"diagram_type": "sequence",
|
|
"meta": {
|
|
"title": "Poimen Ingest Request Lifecycle",
|
|
"quality_profile": "showcase",
|
|
"viewBox": [1020, 620],
|
|
"column_fit": "spread"
|
|
},
|
|
"participants": [
|
|
{ "id": "agent", "type": "external", "label": "AI Agent", "sublabel": "client" },
|
|
{ "id": "api", "type": "backend", "label": "Memory API", "sublabel": "actix-web" },
|
|
{ "id": "queue", "type": "messagebus", "label": "Queue", "sublabel": "ingest jobs" },
|
|
{ "id": "worker", "type": "backend", "label": "Worker", "sublabel": "pipeline" },
|
|
{ "id": "llm", "type": "external", "label": "LLM", "sublabel": "Ollama" },
|
|
{ "id": "db", "type": "database", "label": "pgvector", "sublabel": "postgres" }
|
|
],
|
|
"segments": [
|
|
{ "from": 150, "to": 240, "label": "Ingest" },
|
|
{ "from": 250, "to": 440, "label": "Extraction" },
|
|
{ "from": 450, "to": 560, "label": "Persist" }
|
|
],
|
|
"messages": [
|
|
{ "id": "ingest-req", "from": "agent", "to": "api", "y": 160, "label": "POST /memory/ingest", "variant": "emphasis" },
|
|
{ "id": "enqueue", "from": "api", "to": "queue", "y": 185, "label": "enqueue job", "variant": "default" },
|
|
{ "id": "accept", "from": "api", "to": "agent", "y": 210, "label": "202 pending", "variant": "return" },
|
|
{ "id": "poll", "from": "worker", "to": "queue", "y": 258, "label": "poll job", "variant": "default" },
|
|
{ "id": "job", "from": "queue", "to": "worker", "y": 290, "label": "episode records", "variant": "return" },
|
|
{ "id": "extract-entities", "from": "worker", "to": "llm", "y": 315, "label": "extract entities", "variant": "emphasis" },
|
|
{ "id": "entities-resp", "from": "llm", "to": "worker", "y": 345, "label": "JSON entities", "variant": "return" },
|
|
{ "id": "extract-facts", "from": "worker", "to": "llm", "y": 375, "label": "extract facts (entity pairs)", "variant": "emphasis" },
|
|
{ "id": "facts-resp", "from": "llm", "to": "worker", "y": 405, "label": "JSON edges", "variant": "return" },
|
|
{ "id": "save-entities", "from": "worker", "to": "db", "y": 460, "label": "INSERT memory_entity", "variant": "default" },
|
|
{ "id": "save-edges", "from": "worker", "to": "db", "y": 490, "label": "INSERT memory_edge", "variant": "default" },
|
|
{ "id": "embed", "from": "worker", "to": "db", "y": 520, "label": "store embeddings", "variant": "dashed" },
|
|
{ "id": "done", "from": "worker", "to": "queue", "y": 535, "label": "mark done", "variant": "return" }
|
|
],
|
|
"activations": [
|
|
{ "participant": "api", "from": 155, "to": 220, "type": "backend" },
|
|
{ "participant": "queue", "from": 180, "to": 295, "type": "messagebus" },
|
|
{ "participant": "worker", "from": 255, "to": 555, "type": "backend" },
|
|
{ "participant": "llm", "from": 310, "to": 350, "type": "external" },
|
|
{ "participant": "llm", "from": 370, "to": 410, "type": "external" },
|
|
{ "participant": "db", "from": 455, "to": 530, "type": "database" }
|
|
],
|
|
"cards": [
|
|
{ "dot": "emerald", "title": "Async Ingest", "items": ["Agent gets 202 immediately, no blocking", "Worker polls jobs from queue independently", "Decoupled ingest from extraction latency"] },
|
|
{ "dot": "cyan", "title": "LLM Extraction", "items": ["First call: extract named entities with types", "Second call: extract relationships between entity pairs", "JSON response cleaned of thinking tags and fences"] },
|
|
{ "dot": "orange", "title": "Persistence", "items": ["Entities saved with type, summary, confidence", "Edges saved with temporal fields (t_valid, t_invalid)", "Embeddings stored for vector similarity search"] }
|
|
]
|
|
}
|