AISquare
AISquare CLI

Projects

A project is a folder you add on purpose. Add it once, give it a name you recognise, arrange the sidebar so the work you care about is on top, and start it fresh when you reuse it.

A project is a folder aisquare keeps a board, memory, prompt history and a fleet for. It can be a git repository or a plain directory; a parent folder that holds several repositories is one project. Git worktrees of a project share its board and memory, which is how every coder's worktree sees the same tasks.

Nothing becomes a project on its own. A folder is a project only after you add it. Anywhere else, a Claude Code session with aisquare's hooks gets no project, no prompt history and no board. A board write from there (aisquare note, task add, task next --claim, team signal) is refused with the command that adds the project. The one thing counted everywhere is token usage, for Usage & stats, and it stays on your machine.

Add a project

The quickest way is from asq:

  • Welcome, on your first run, starts with picking a project.
  • + beside Fleet in the sidebar opens onboarding. Browse or type a directory (~ and $VAR expand). asq sets it up and runs the doctor in the background, and the project appears as a card.
The add-a-project page: a folder path typed in, and asq saying whether it can be onboarded.

From a shell, any of these adds the folder:

aisquare project onboard ~/work/api        # add it and seed its memory; --group puts it in a group
aisquare init ~/work/api                   # first-time setup for a folder
aisquare fleet spawn manager               # a fleet spawn adds the project it starts in
aisquare team on                           # activate the board for this folder

project onboard seeds the project's memory with one fact per marker it finds at the root: pyproject.toml, setup.py, package.json, Cargo.toml, go.mod, Gemfile, pom.xml, a Makefile or a Dockerfile. It packs nothing. A second run reads nothing and says so; --refresh reads the markers again and adds only facts that are new. It also starts building the project's symbol index in the background (aisquare code, see Memory), and never waits for it.

aisquare project link ~/work/api-client links another repository into the active project, and aisquare project switch api makes a known project the active one. A manager asked to add a project runs the same commands.

Give it a name

A card shows the project's nickname, or the folder name when it has none. When two listed projects show the same name, each card adds its own folder as a dim subtitle (~/work/api, ~/oss/api). App settings ▸ User preferences ▸ Always show project directory (ui.always_show_project_path) shows it on every card.

A nickname is free text on one line, up to 255 characters, such as API: auth rewrite 🚀. Name it for what you are doing there, like naming a browser tab. Emoji are fine. A name with an invisible formatting character (a bidi control, a zero-width space) is refused, because it would let one name pass for another.

  • On the card: double-click its title, or press F2 on it, and type. Enter or a click away saves, Esc cancels, and an empty name brings the folder name back.
  • On the project's Settings tab: type it and press Save.
  • From a shell: aisquare project rename "API: auth rewrite", with --project to name another project and --clear to drop the nickname.

The sidebar, aisquare project list and aisquare fleet ls all show it, and --project accepts it when no id prefix, folder name or codename matches first.

Every project in the fleet also has a codename, such as amber-otter. It is stable for the same checkout on every machine, and it names the things that need a token without spaces: the tmux session (asq-amber-otter) and the agents' branches (fleet/amber-otter/…). Cards do not show it; the project's Settings tab does. aisquare fleet rename <codename> changes it.

The ⋯ menu

A project card's ⋯ menu open: Rename, Pin, Open settings, ↺ Start fresh… and Remove from fleet…

A card's ⋯ appears on hover and on the selected card. Press . or right-click the card for the same menu:

ItemWhat it does
✎ RenameEdit the nickname in place.
📌 Pin / UnpinKeep the project in the 📌 Pinned section at the top.
⚙ Open settingsThe project's Settings tab.
↺ Start fresh…Clear the project's board and fleet and start a blank manager. Asks first. See Start a project fresh.
✗ Remove from fleet…Take the project off your list. Asks first.

A project's tabs

Click a project card (not one of its agents) and its page opens with four tabs:

TabWhat it holds
ManagerThe manager's live Claude Code session, where you type your goals, with a line under it counting the agents it runs by role and state. While the project has no manager, it offers Start manager. See Tour of asq.
BoardThe project's tasks, sessions and event feed, under a line that says what needs you. See The board.
SettingsThe nickname, the codename with the tmux session and branch prefix it names, the command that attaches a terminal to the project's tmux session, and ↺ Start fresh….
PersonasThe personas this project can run its agents as. See Personas.

Everything machine-wide (roles, the fleet, how launches pick an account) is in ⚙ Settings ▸ App settings, not here.

Pin, group and order

The sidebar is a flat list until you arrange it.

  • Pin with p or the menu. Pinned projects and groups sit in a 📌 Pinned section at the top, in the order you pinned them.
  • Group by dragging a card onto a group header, or press g for the group picker (an existing group, New group…, or Ungroup). A group header carries a roll-up of its members' agents, so a folded group still shows that something is running.
  • Reorder by dragging a card between cards, or with shift+↑ and shift+↓. Drag a group header to reorder groups.
  • space folds a group, u undoes the last change, and m marks cards so shift+g can move several at once.

A group shares nothing: memory, prompts and boards stay per project, and deleting a group never deletes a project. The same layout from a shell:

aisquare project group create frontend web docs   # a group with its first members
aisquare project group add frontend cli
aisquare project group remove cli
aisquare project group rename frontend ui
aisquare project group move tools --before ui
aisquare project group delete ui                  # members go back to the top level
aisquare project group list
aisquare project pin api
aisquare project unpin api
aisquare project move docs --to top --position 0  # or --to <group> [--before P | --after P]
aisquare project list --group ui                  # or --pinned

A parent manager over a group

A group can name a parent: an ordinary project outside the group, used as the coordination home, whose manager hears what happens in the members. Chosen events on a member's board (by default a question to the manager or the parent, a blocked task, a result, and every status change of a task delegated from the parent) land on the parent's board as one routed line each, with a pointer back, and wake its manager. Boards stay per project.

aisquare project group parent frontend frontend-hq               # name the parent; --clear removes it
aisquare project group route frontend --kinds question,result     # what members route up; --off for nothing
aisquare project group cap frontend 8                             # live agents across members and parent; 0: no cap
aisquare task add "Ship the new nav" --project web --origin 4     # from the parent: delegate #4 to a member

A task delegated with --origin reports its status changes back to the parent's board, and once every task delegated from an origin is done, the parent hears it. The parent closes its own task.

Remove from fleet, or forget

Remove from fleet… in the menu and aisquare project forget <name|path> do the same thing: they take the project off your list. They do not touch the folder on disk, and its history stays in aisquare's store, hidden. Add the folder again with aisquare project onboard <path> and its memory, prompts and board come back. Forgetting also takes the project out of its group and off the pin; added again, it comes back loose, at the end of the list.

Both are refused while the project has live agents, naming them: stop them first (aisquare fleet shutdown --project <name>), then remove the project. A hub, a project whose board another project's fleet agents read, is also refused while those agents exist, stopped ones included, because a restart would start them under it again. Stopping them is not enough; the refusal names them and what frees the hub, such as forgetting the project they belong to first.

To delete the history too, use aisquare project forget <name> --purge: it removes the project's memory entries, prompt history, board rows, turn metrics and its data directory under ~/.aisquare/projects/. A purged project also stays out of Usage & stats: its old Claude Code transcripts are not read back in, until you add the folder again on purpose.

Neither forget nor prune moves the active-project pin that aisquare project switch sets. A pin that named the project that went is cleared, and they say so; nothing else changes.

aisquare project prune sweeps registrations you no longer need: folders that are gone from disk (--missing), and worktrees of a repository that is itself a project (--worktrees); both when you name neither. --captured-only drops folders a session merely ran in, never added on purpose, that hold no memory entry and were untouched for --older-than days (30 by default). It shows the plan and asks first, and off a terminal it is a dry run unless you pass --yes.

Upgrading from 0.8.0

Folders 0.8.0 captured on its own stay in the store, unlisted, until you prune them: aisquare project list --all marks them captured, and aisquare project prune --captured-only drops them. Install has the other upgrade notes.

On this page