Skip to content

AgentConfig UI missing ROLE.md editor #280

@jhezjkp

Description

@jhezjkp

Summary

The ROLE.md identity file is supported by the backend (Identity struct in src/identity/files.rs loads and renders it under ## Role), but the AgentConfig page in the web UI does not expose it for editing.

Current behavior

AgentConfig.tsx defines three identity sections:

  • SOUL.md → Soul
  • IDENTITY.md → Identity
  • USER.md → User

ROLE.md is absent from the SECTIONS array, so there is no way to edit it through the UI.

Expected behavior

A fourth entry should be added to the identity sections:

{ id: "role", label: "Role", group: "identity", description: "ROLE.md", detail: "The agent's responsibilities, scope, what to handle vs what to escalate. In multi-agent setups this is what differentiates agents operationally." }

Workaround

Edit ~/.spacebot/agents/{agent_id}/workspace/ROLE.md directly.

References

  • src/identity/files.rs — loads ROLE.md and injects it as ## Role into the system prompt
  • interface/src/routes/AgentConfig.tsxSECTIONS array missing the role entry

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions