Researcher/User documentation

Project Context Editor

The Context view edits project background, goals, assumptions, and other structured context used by Istara workflows.

documented
UI Path
Context > Editor
Component
ContextEditor
Source Refs
2
Tests
0

Concepts: rag

What It Does

The Context view edits project background, goals, assumptions, and other structured context used by Istara workflows. Context previews show the active project's composed prompt context only; context rows from other projects or admin-only unassigned rows are not inherited into the project.

Why It Exists

Project Context Editor exists so the work represented by Context > Editor has a stable, discoverable place in Istara's project workflow. It keeps user actions, generated artifacts, and related follow-up surfaces connected to the active project rather than scattering them across unrelated tools.

Where It Lives

  • UI path: Context > Editor
  • Navigation group: Context
  • Primary component: ContextEditor

How UX Researchers Use It

  • Open Context > Editor from the Istara navigation or the parent tab.
  • Use the visible controls in this surface to work with project context editor in the active project context.
  • Review the output in the same view and follow the related feature links when the workflow moves into another Istara surface.

Supported Workflows

  • Start from Context > Editor when the current research task needs project context editor.
  • Use the visible controls to create, inspect, refine, or route project work without leaving the active Istara context.
  • Move to related surfaces when needed: chat.steering, memory.context-dag.

Inputs, Outputs, And Expected Outcomes

  • Project-scoped state or artifact updates associated with project context editor.
  • Active-project composed context preview for agent prompt review.
  • Context documents can only be opened or changed through the active project that owns them.
  • Visible status, lists, forms, generated artifacts, or review results shown by the referenced component and routes.

Caveats

  • Needs interactive verification for exact empty, loading, error, and permission-denied states.
  • Do not expand this documentation beyond the cited source files without adding new code or walkthrough evidence.

Evidence

  • Source files: frontend/src/components/projects/ContextEditor.tsx, frontend/src/components/common/ContextPreview.tsx, backend/app/api/routes/projects.py, backend/app/api/routes/context_hierarchy.py
  • API references: backend/app/api/routes/projects.py, backend/app/api/routes/context_hierarchy.py
  • Tests: tests/test_context_hierarchy.py, tests/test_project_scope_contracts.py