Workspace → runtime → delivery
Một engine, nhiều Knowledge Packs, cùng validation và projection contract.
Knowledge Graph là canvas engine dùng chung. Fullstack Engineering chỉ là built-in Knowledge Pack; research hoặc curriculum khác có thể import thành workspace riêng, lưu local và dùng cùng projection/runtime.
Read path, import/export path, local authoring và deployment được tách thành các boundary rõ ràng để sau này thay IndexedDB bằng authenticated API mà không phải viết lại canvas engine.
Một engine, nhiều Knowledge Packs, cùng validation và projection contract.
Portable contract gồm manifest, canonical graph, overlay, optional profiles, view hints và inbox. Pack có thể import/export độc lập.
Built-in pack đọc từ static JSON; personal packs persist trong IndexedDB. Active workspace được resolve qua một data bridge trước renderer.
Không biết pack thuộc Fullstack, AI hay domain nào. Nó chỉ đọc graph contract và render các projection chung.
Knowledge Pack (.kg.json) ├── schemaVersion: 1.0 ├── manifest ├── graph │ ├── nodes │ └── edges ├── overlay ├── profiles[] ├── views └── inbox[]
site/ ├── workspace-runtime.js ├── workspace-manager.js ├── templates/ │ ├── minimal.kg.json │ └── example.kg.json ├── data/ # built-in pack │ ├── graph.json │ ├── overlays/huy.public.json │ └── profiles/backend-engineer.json ├── app.js # canvas engine ├── focus-mode.js ├── capture.js └── changelog/
IndexedDB: imported/local Knowledge Packs.localStorage: active workspace ID and lightweight preferences.| Attribute | Current strategy | Evolution trigger |
|---|---|---|
| Portability | Versioned `.kg.json` contract + templates | Schema migrations need dedicated registry/tooling |
| Personal adaptation | Multiple IndexedDB workspaces on one device | Cross-device sync or collaboration |
| Security | No runtime secret; import validates before persist | Authenticated cloud repository |
| Reliability | Deep Dive + Workspace browser regression gates | Broader E2E matrix / visual regression |
| Maintainability | Repository adapter separates data source from canvas | Component pressure justifies framework migration |
| Auditability | Git history + public changelog for product; exported packs for local data | Multi-editor event audit log |
Generic canvas engine, built-in Fullstack pack, portable imports/exports, IndexedDB workspaces and browser QA.
Schema migration helpers, richer pack authoring, private overlays, pack metadata/share previews and curriculum projections.
Swap the local repository for an authenticated API supporting users, teams, tenants, sync and collaborative mentoring.