DocsApplication

Workspaces, projects and repos

Three levels. A workspace is the folder Grid owns for you, under ~/.grid. A project is one body of work with its own tasks, people and settings. A repo is your repository, and Grid keeps its own files out of it.

Where things live

Grid writes only to its workspace folder, $GRID_HOME, which is ~/.grid/<workspace>. Your repositories hold your code and nothing of Grid's.

FILE WHAT IT HOLDS
settings.json The workspace settings. It turns the grid plugin on once for the workspace.
workspace.md The workspace itself: its projects and its limits. Only the operator edits it.
team.md The people and agents in the workspace and what each may do.
projects/<name>/project.md One file per project you ticked in setup.
projects/<name>/routing.md Who answers which questions, and which agent runs which kind of step.
projects/<name>/tasks/ The task folders. See tasks.

Sessions that Grid starts get the plugin through the settings file. An agent session you start outside Grid loads it only if you switch that on under Settings, Plugin and packs.

Adding projects

Setup scans the folders you choose, two levels deep, and lists the repositories it finds. Tick the ones that are projects, and Grid writes one project.md for each. Settings, Workspace has Add project for later. A project can have several repos, and a repo can be a local folder or a remote address.

The project page

A project page is the project's own home. It lists its tasks and holds the pieces below.

PART WHAT IT HOLDS
Settings The description and the folders (project folder and task folder). The repos, each with its remote and the branch work starts from. The default model and effort, the account sessions bill to, how finished work lands, when long jobs may run, the test command and where docs are read from. Who may start and stop work, who gets shared pages and updates, and the integrations.
Workflow The project's own copies of the workflow templates, with the gates and routines that belong to it. See workflows.
Environments The machines and deploy targets the project runs on, each with its state and the sessions on it. Secrets are held by name only, and never shown.
Artifacts What was made for the project: screens, prototypes, design files and reports, each with a state of Draft, Shared, Accepted or Planned.
Memory What agents read before they plan. See below.
People and roles Who is on the project and what each may do. See teams.
Inbox Items collected before they are tasks. See Inbox.

How finished work lands is one of three choices: Open a pull request, Commit and push, or Ask each time. When long jobs may run is Any time, Overnight only or Ask first. Merging and sending still wait for your yes at the Ship step.

Memory

A memory is a small markdown file an agent reads before it plans. It has a name, a type (Preference, Rule or Fact), its content, its source (a person or a task) and when it was last used. Workspace memories apply to every project, and a project can add its own. An agent that learns something suggests a memory as a proposal, and you decide it on the task's Needs you tab, never on the Memory page.

Each task also keeps what it learned in its own memory/ folder, as short dated lines with one file per workflow step.