Skip to content

upstream: ask ARA maintainer to add a per-node narrative field to the schema #12

Description

@EYH0602

Reminder / action

Ask the ARA format maintainer whether/when a per-node narrative field will be added to trace/exploration_tree.yaml. This is an upstream question, not our runtime work — filing it so we don't forget to raise it.

Why this matters

The old ARA-Labs/ARA-Demo viewer (*/trajectory.html) was a static, upstream-baked HTML page, so it could embed rich per-node prose (a written narrative of each step). Our viewer renders the YAML directly and deterministically and, by design, never calls an LLM at view time (see plans/ara-runtime-impl-plan.md:7).

Consequence: a node narrative can only appear if it's precomputed upstream and stored on the node. Today the schema has no such field.

Current behavior (correct, not a bug)

  • No narrative field exists in RawNode (crates/ara-core/src/schema.rs) or in DetailModel.
  • The detail pane omits absent fields — no placeholder, no error (graceful degradation, crates/ara-viewer/src/detail.rs).
  • So a missing narrative is simply not displayed. Nothing to fix here.

What we need from upstream

  1. Confirm whether a canonical per-node narrative field is planned, and its key name + type.
  2. Confirm it's optional (viewer must keep degrading to structured-fields-only when absent).

This reinforces the existing format asks in docs/ara-format-feedback.md (esp. items 1 & 4: versioned schema + schema_version, guaranteed keys).

Once upstream answers

Links

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions