Skip to content

Rewrite the architecture and component designs in NodeSpace as the target design, linked to the work they govern #3731

Not planned

Description

@malibio

Blocked: waits for a workable sync system and for the inventory (#3728).

Overview

Part of rebuilding the design record in NodeSpace (#3727). The architecture pages, component designs and their diagrams that the inventory marks live are rewritten as design documents in the graph, and connected to the work, the decisions and the types they govern. A design document is neither a decision nor a spec: a decision says why something was chosen, a spec says what one piece of work delivers, and a design says how the system is meant to be structured. It lives as long as the system does.

Problem Statement

The 35 architecture pages and 14 component references total about 14,000 lines. Some describe a design ahead of the code, several overlap, and none is linked to the decision or the type it describes. One of them, the node types sheet, is checked against the code by the merge gate; the rest are checked by nobody.

Proposed Solution

  • Rewrite, do not copy: each document is written from the live decisions and the code, in the collections the inventory proposes. Diagrams come across as diagram blocks inside the document, redrawn where they are out of date.
  • A design document is the target. It describes how the system is meant to be, in the present tense, with no "built" or "planned" labels, as the documentation standard already requires. Whether a part of it exists yet is not in the document: the specs and tasks that are open against it are the gap. Where the code differs from the design, the user decides which is right; the design is corrected, or the difference becomes a spec.
  • Designs are connected by mentions. A mention is a link in the graph, not just text: when a spec, a task or a decision mentions a design, a mentions edge is recorded and the design lists it under what mentions it. No new relationship or type is needed to start. Four connections, all mentions:
    • a spec or a task mentions the designs it works within;
    • a decision mentions the designs it shaped, so a design shows why it is the way it is;
    • a design mentions the types and the areas of code it describes;
    • a design mentions the designs it builds on, such as a component design and the system architecture.
      A design's backlinks are then also the view of what is not built yet: the open specs and tasks that mention it.
  • Two tiers of context. What work must obey is handed to the agent whole, every time: the task's spec, plan, decisions, its project's standards and the procedure for its stage. Everything else reachable is visible and not loaded, and the agent decides how far to follow it, because only the agent, mid-task, can tell which branch of a chain of mentions is relevant. The test for where something goes: if skipping it would produce wrong work, it governs and is handed over; if reading it would merely help, it is a mention.
  • Most designs are mentions. A design that must be respected is not loaded whole: its binding part is stated where the governing context already looks, as a decision or as a standard attached to the project, and the design behind it stays a mention.
  • The agent has to see the links without opening them. A read of a task or spec with its context lists what the node mentions, one hop, as titles and types with no content. Nothing follows a chain automatically.
  • The node types reference is handled with the check that reads it (see the sub-issue on what reads the docs repository).

Documentation

  • ADR-092 §1 to §4 - the spec, plan, decision and project types the record is rebuilt in
  • ADR-094 "The shipped workflow" - standards are skills attached to a project; a node is read with what governs it
  • documentation.md - the rule that all design lives in nodespace-docs, which this work replaces

Acceptance Criteria

  • Each architecture and component page the inventory marks live has a document in the graph, or is recorded as merged into another or dropped, with the reason
  • Every statement in a document was checked against the code, and each difference was put to the user and resolved as a correction to the design or as a spec
  • No document carries a "built", "planned" or "target" label; what is not built yet is visible as open specs and tasks linked to the design
  • Each design is mentioned by the specs, tasks and decisions that depend on it, and its backlinks list them
  • A task or spec read with its context lists what it mentions, one hop, as titles and types with no content; whether the read does this today is checked first, and added if it does not
  • For each design, the two-tier test is applied and recorded: what in it is binding is a decision or a project standard, and the rest is reachable by mention
  • Each design is reachable from the decisions that shaped it, and names the types and areas of code it describes
  • Diagrams render in the app and are part of the document, not attached files
  • If mentions prove too noisy or too easy to miss in use, that is recorded with examples, and a dedicated link from work to its designs is proposed as its own change

Related Issues

Non-Goals

  • A dedicated relationship or node type for designs: mentions come first, and one is proposed only on evidence
  • Following mentions more than one hop automatically
  • Migrating strategy pages or the archive

Activity

  1. changed the title [-]Rewrite the architecture and component references in NodeSpace, checked against the code[/-] [+]Rewrite the architecture and component designs in NodeSpace as the target design, linked to the work they govern[/+] on Oct 11, 2026
  2. mstomar125 commented on Nov 26, 2026

    @mstomar125
    Contributor

    Status check 2026-11-26. Not closed. The design pages and their mention links from decisions exist, but these criteria are not shown met: every statement checked against the code for every page, the one-hop mentions read of a task or spec with its context, the two-tier test recorded per design, diagrams rendering in the app, and the noise note. Owner: the user decides whether to do the per-page code check; an agent can do the mentions-read check in one session.

  3. malibio commented on Nov 28, 2026

    @malibio
    CollaboratorAuthor

    Moved to NodeSpace: the task "Each live architecture and component design is a document in the graph linked to the work it governs" (6afe0bb0-be85-408e-bf76-67245474468f) in the NodeSpace workspace. The team's work is tracked there, so this GitHub copy is closed to keep its status in one place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions