11 KiB
A visual second brain across the ecosystem
Status: the owner approved starting the working map in Loki on 2026-11-15. The first authenticated implementation is tracked by the continuation record. The broader lenses and public/investor projection below remain an implementation sequence, not a claim that every source and view is already built.
The dated concept source is a small interactive snapshot for design discussion, not the future data source. It demonstrates selecting a product, inspecting relationship evidence and opening the development handoff view.
Purpose
Help a person and their agents answer: what exists, how is it connected, where does this piece belong, what changed, and what should happen next? The result should be attractive, easy to understand and useful for taking action.
The visual map, project workspace, calendar, task list and agent context should be views of connected records. They must not become separately maintained copies of the same facts. Breadth of capability is a reason to reveal context progressively, not to force everything onto the first screen.
Sources before a new graph
Use the producers in AGENTS.md. In particular:
- The fleet map exposes public project definitions, roadmap/changelog and linked surfaces.
- The project register joins public project identities and registered links. Its availability flags matter: a failed source lookup is unknown, not proof that a relationship is absent.
- Hosting comes from the existing serve register; it does not establish ownership, product identity, customer consent or integration.
- Shared dependencies come from the package registers and actual runtime bindings, not the fact that a package is installed somewhere.
- Private work, people, tasks, events and decisions require their existing authenticated domain APIs and permissions. The public fleet endpoints are not an adequate source for the owner's private second brain.
Inventory current capabilities and their canonical owners before proposing any move between applications. A capability appearing on two screens can be one record rendered twice; it need not be implemented and stored twice.
Placement recommendation
Status: recommendation awaiting the owner's decision, not a shipped architecture. Build the first authenticated working map in Loki as connected views of projects, memory and work. Preserve the existing owners of source records. Expose public or purpose-specific projections through Bitbaum and OrangeCat, rather than moving their records or experiences into Loki.
The relevant code and current product boundaries were inspected:
- Loki's Memory page reads the signed-in user's entities, relationships, interactions and knowledge index. Projects, ongoing work and development handoffs are adjacent concerns. Extend the authenticated project/memory paths with a scoped relationship query. The public studio fleet map alone cannot implement an arbitrary user's private brain; tenant and project access must be resolved before projection.
- Bitbaum's site contract and public map projection already derive a curated public view from fleet sources. Its delivery and portal plan also keeps studio engagement and partner experiences in Bitbaum while using bounded Loki infrastructure. A studio portfolio or engagement view can stay there without becoming the general personal operating workspace.
- OrangeCat's source contract and entity ownership/permission system supply its own records and economic relationships. Preserve that ownership and its broader product capabilities. Its users should see useful permitted relationships in their OrangeCat context; a connection does not require importing unrelated private execution history.
Separate placement of the interface from ownership of data. Loki can compose authorized project/work context, OrangeCat can supply its permitted records, and Solon can supply relevant decision records. No application gains authority over another application's records because it renders a connection to them.
The initial map should work for any Loki user's own projects, including users with no OrangeCat account. Bitbaum's operator portfolio is one authorized scope, not the default contents of every person's brain. A shared renderer or contract should be extracted through the existing package process when the second consumer needs it; never maintain divergent copies of relationship semantics.
What a connection means
The graph needs several kinds of objects: products/projects, capabilities, people/organizations, agents, packages/services, work items, documents, decisions and evidence. A repository is an artifact of a project, not always the project itself. An agent works on a project; it does not become its owner because it ran a task there. Client work and independent products remain distinct even when they use the same infrastructure.
Proposed relationship vocabulary, to reconcile with existing schemas before implementation: builds, publishes-profile-for, governs, uses-package, assigned-to, belongs-to, blocked-by, produced, supersedes and supported-by. These describe meaning, not a new claim that every edge exists today.
Every displayed relationship needs:
- Stable native identifiers and a direction/type.
- Its authoritative source or evidence reference.
- An observation time and freshness/availability state.
- A lifecycle state: registered/observed, documented intent, proposed, unknown or retired. These must have visible text labels, not color alone.
- Access scope and the authority allowed to change it.
Keep inference separate from confirmed relationships. A shared hostname, similar name or shared hosting does not prove a relationship. Display-name aliases resolve through the source producer rather than another hand-written catalog. Surface conflicting or stale sources as a reconciliation task.
Proposed experience
Start with what the person wants to do
Offer a calm overview with a few understandable groups. The map expands around the selected thing rather than drawing every object and connection at once. Search and navigation should work in ordinary words; graph literacy is not a prerequisite. A list view remains available, particularly on a phone.
Show a local map with useful detail
Selecting a product reveals its purpose, capabilities, linked products, dependencies, work, decisions and recent changes. Connection labels answer why two things are linked. A detail panel shows the source and opens the canonical record or the next authorized action. Group shared packages as infrastructure; do not give every package equal visual weight to a product.
The initial concept uses a small sourced public example. Any example client, person or task not supplied by an authoritative source must be explicitly marked conceptual, not presented as an actual customer record or open job.
Several lenses over the same knowledge
- Ecosystem: products, client work, shared infrastructure and relationships.
- Work: tasks, commitments, goals and blockers tied to their projects.
- Calendar: dated work and events with the same project/person links.
- Decisions and history: what changed, why, who authorized it and the evidence.
- Continue development: the current scope, checkpoint, branch/PR, verification and exact next action for whichever agent resumes.
These are proposed lenses, not five new top-level navigation destinations. Fit them into the existing product experience after reviewing real surfaces. Use the shared packages and design system; a graph renderer is a specialized component, not permission to fork the surrounding application UI.
The same knowledge for agents
Agents need structured, scoped records behind the visual. Provide bounded queries for a project and its relevant neighbors, evidence and current work. Do not ask an agent to infer the graph from pixels or paste the entire fleet catalog into every task. Existing MCP/context paths should consume the same projection and identifiers that the human interface renders.
Useful acceptance questions include: what would this dependency change affect; which work is blocked by this decision; where does this capability already exist; and what was attempted before? Answers must cite their records and distinguish source failure, missing access and an actual empty result.
A relationship never grants access. A public project can be linked to a private case without exposing that case, its contents or even restricted metadata. Filter records and edges before rendering or retrieval. Test with at least two tenants and with private work in an otherwise public project.
Learning from open source
Candidates reviewed at documentation level:
- Logseq: linked notes and graph navigation.
- Trilium: explicit relationships and relation maps.
- AFFiNE: documents and spatial canvas.
- Buzz: shared human/agent work history and identity-scoped collaboration.
They are references to investigate, not selected dependencies or an adoption claim. Evaluate the relevant code, license, embedding contract, keyboard/phone experience, large-map behavior and fit with the existing packages. Reuse an appropriate component when it reduces maintenance and preserves canonical records, permissions and the product experience.
Implementation order and acceptance
- Publish a cross-agent continuation record and inspect the current producers. Preserve the broader programme alongside the immediate reliability fixes.
- Reconcile a small set of actual project identities, capabilities and typed relationships. Mark missing and intended links explicitly. Do not encode a second permanent project catalog in the design.
- Preview a focused map plus a readable detail view, with selection and a narrow-screen layout. The preview is a design proposal, not production data connectivity.
- Implement a read-only, permission-filtered projection using existing sources. Add both a human view and an agent query over that projection. A new storage engine is not a prerequisite; inspect whether existing records suffice.
- Connect work, calendar, decisions and continuation records incrementally. Keep mutations in their existing owners with authorization and an audit trail.
An owner should be able to find a project, explain a connection, open its source, find its next work and resume development without knowing a repository name. An agent should answer the same relationship questions with citations and without receiving another tenant's data. Verify stale/unavailable sources, missing links, aliases, keyboard access and narrow-screen usability explicitly.