spacedriveapp / spacedriveapp/spacebot

AgentConfig UI missing ROLE.md editor

Open Beginner friendly
#280 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
2.4k
Forks
367
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in interface/src/routes/AgentConfig.tsx and inspect the SECTIONS array alongside the existing SOUL.md, IDENTITY.md, and USER.md entries. Add the specified ROLE.md section, then confirm the AgentConfig page exposes Role editing and that the entry corresponds to the backend support described in src/identity/files.rs.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.