Skip to content

The read of a node with its context lists what it mentions one hop as titles and types #4297

Closed

Description

@mstomar125

Problem

Reading a node with its context (nodespace node context, get_node_context) does not say what the node mentions. It follows only the context paths the node's type declares, and a mentions path given with --path returns whole nodes with their content. nodespace mention outgoing prints bare ids. A reader of a task or spec cannot see, at a glance, which other nodes it points at without opening each one.

Proposed solution

In the context read, list the node's outgoing mentions, one hop and no following, as title, type and id with no content. Done in the daemon's context read so the CLI gets it from the one response. Existing context paths are unchanged. An archived target is not listed, the list is capped at the same limit as a path (with a flag when there is more), and it is part of the read's version.

Acceptance criteria

  • A context read lists each node the read node mentions, with id, title and type and no content.
  • It is one hop: what the targets mention is not listed.
  • An archived target is not listed; more than the cap is cut and says so.
  • The read's version changes when the mention list changes.
  • The context paths the type declares are returned as before.
  • nodespace node context prints the list in human and --json output.

Related

Refs #3731 (acceptance bullet: a task or spec read with its context lists what it mentions, one hop, as titles and types with no content).

Activity

  1. self-assigned this
    on Nov 18, 2026
  2. mstomar125 commented on Nov 18, 2026

    @mstomar125
    ContributorAuthor

    Claimed: implementing in the daemon's context read (one hop, title/type/id, no content).

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions