ctermdocs HomeBlogSign in

The project page

The project page shows one whole project in the main area: how much it has cost, what is going on in it right now, and a row of tabs for everything cterm keeps about it. You open it without opening a session, so it is the place to look in on a project, answer what waits for you there, and change how the project works.

What it is for

A session shows one conversation; a project usually has several at once, plus a roadmap, files and pull requests. The page puts that together:

  • The tiles answer "how much": sessions, cost, activity, git, artifacts and the roadmap's counts.
  • The Situation answers "where do we stand, and what is mine": the project's objective, its goals in numbers with whether each is on track, the steward's paragraph of where it stands, what only you can decide (ordered by what each decision frees), the items in flight with how long each has stood still, and what will start by itself. It is the steward's to keep, not yours to compose. On a computer it takes at most 36% of the window and scrolls inside past that.
  • The Now strip under it keeps what the Situation does not carry: pull requests in trouble (changes requested, checks failing, or a branch GitHub says conflicts with its base), a queue entry answered a moment ago and the live sessions that work on no item in flight. A project with no roadmap and nothing waiting shows the whole strip instead: sessions waiting on a card or with a question, the queue, a session's branch that would conflict with main, the steward's failures, live sessions, unmerged worktrees and blocked items.
  • The tabs hold the rest, the Settings tab every setting of the project.

How to use it

Open the page

Click the grid button on a project's head in the sidebar, or choose Project page… in its ⋯ menu. The address becomes /p/<id>, which Copy link copies. The head also has New session (for the owner, on the project's defaults), the project's ⋯ menu and ×, back to the session you had open. An admin sees another account's project read-only. From the keyboard, P opens the page of the project in view and, pressed again, goes back to where you were; F gives the open tab the whole page and back (Keyboard shortcuts).

Read the tiles

  • Cost sums what the sessions reported, for Today, 7 days or All. Under it, per item gives the mean cost of a done item at each complexity, "S $1.20 (4) · M $3.40 (6)", counted over the done items that have a size and a cost (sessions and steward jobs together, whatever the period), so you can tune the presets by what an S, an M and an L really take. Hover it for each size in words. The Sessions tab shows each session's cost on its row.
  • Activity draws sessions and cost per day for the last 14 days.
  • Git shows the branch, commits ahead, unsaved files and open pull requests; it turns red while unsaved files would block going back to a version, and a click opens History. Its "all" link lists every open pull request of the repository with its review, checks and the session that opened it, and marks in red the ones GitHub says conflict with their base ("conflicts with main"), someone else's too.

Read the Situation and decide

The Situation above a project page's tabs in the dark theme: the objective, three goals as tiles (weekly orders on track, checkout time at risk, a return rate with no reading yet) and the Signals line saying checkout time rose from 140 to 151 seconds, Where we stand written three hours ago by the steward, Mine with a permission card answerable in place, a need, an open question, a question asked, a branch to merge and an item to start, with how many items wait on each, and In flight with three items, one stopped on a conflict for two days.The Situation above a project page's tabs in the dark theme: the objective, three goals as tiles (weekly orders on track, checkout time at risk, a return rate with no reading yet) and the Signals line saying checkout time rose from 140 to 151 seconds, Where we stand written three hours ago by the steward, Mine with a permission card answerable in place, a need, an open question, a question asked, a branch to merge and an item to start, with how many items wait on each, and In flight with three items, one stopped on a conflict for two days.
The Situation above a project page's tabs in the dark theme: the objective, three goals as tiles (weekly orders on track, checkout time at risk, a return rate with no reading yet) and the Signals line saying checkout time rose from 140 to 151 seconds, Where we stand written three hours ago by the steward, Mine with a permission card answerable in place, a need, an open question, a question asked, a branch to merge and an item to start, with how many items wait on each, and In flight with three items, one stopped on a conflict for two days. ui-situation-dark.png and ui-situation-light.png, drawn by situation-shot.mjs

The Situation sits where the Now strip was, above the tabs. Its head counts what is yours, what is in flight and what starts by itself, and ends with the dial's chip (Steer, Ship…): a click opens the Settings tab on it.

  • Objective is your one line of what the project is for now ("the checkout live, then the returns flow"). Set or Edit writes it into the roadmap; the steward then ranks what serves it ahead of value.
  • The goals come right under it, a tile each, when the roadmap has goals (The roadmap): the number the goal's monitor last read, the target and its day ("of 400 orders by 2026-12-16"), the trend a day, a line of the last four weeks (one point a day, the target dashed when it is near) and where the goal stands as a pill: on track, at risk (behind its line: the trend of the last 30 days does not reach the target by its day), off (its day went by without it), met or unknown. The trend is drawn from the same one reading a day as the line, so it shows once a goal has readings on two days, and a goal read only today is unknown. A goal whose monitor has not run says no reading yet, one with no monitor or a monitor the project does not have says so, never a zero. A tile opens the Monitors tab. Monitors walks cterm's own two goals from their scripts to their tiles.
  • Signals, under the tiles, says what moved in the numbers since a day ago: a goal whose state changed ("Weekly orders went from on track to at risk (300 → 280 orders)"), else a number that moved by a twentieth of itself or more ("Checkout time rose 140 → 151 s"). Nothing moved, no line.
  • Where we stand is one paragraph the steward rewrites at each outcome and merge it records: what was just finished, what is in flight and what holds it, what comes next and why. When it was written and by whom is beside its name; a click shows it all. The roadmap's long status chronicle stays as history underneath.
  • Mine holds decisions only, ordered by what each one frees: the item it is about and every open item that waits for it (a session stopped on a card counts once more); "3 wait on it" says how many wait, and its tooltip names them. A card a session waits on (a permission, a question, a plan) is answered right there with its own buttons; a queue entry has Approve, Changes… and Bin…, and a branch waiting in the merge queue its evidence with Merge, Changes… and Hold; a stale Today has Still valid?; a steward failure Run again. The rest open what they name: a need or an item ready to start opens its card, a question the steward asked about an idea opens the roadmap, a branch to merge opens its session. A routine, workflow or monitor whose last run failed, or said something needs a look ("id 4417 was reused"), is a row in its own words with Run again, Open (its tab) and Dismiss; its name stays whole and the reason gives way first, the rest in the row's tooltip (on a phone the time and the buttons sit under the name). It leaves Mine by itself once a later run ends well. A goal at risk or off is a row too, with its number, its target and its trend, Read now (its monitor runs at once) and Open (the Monitors tab), its name whole beside the state line in the same way; it leaves Mine once its readings put it back on track. Six show, N more the rest. Each row says how long it has waited: a need or an open question since it was written, an item to start since it became next; one written before cterm kept times shows no age, and a monitor that times Mine's waits counts it apart.
  • In flight lists items, not sessions: each item in progress, or with a live session or an unmerged branch, with what it is doing (the session's line, or the last note when nobody works on it), where its branch stands (commits not merged, would conflict with main, tests failed before the merge, left for you by the automatic merge, merged, merged with the daemon's restart still waiting) and still for 2 d once nothing has moved on it for an hour. Waiting on you comes first, then a branch in trouble, then what works, then the longest still.
  • Starts by itself lists what cterm will start without a click: an idea filed with Build it once placed, a bug's fix asked, a bug report the project's Start a session on each bug will take once placed, each with what it waits for (the triage, or the hold in words).
  • Operations is what runs by itself: a card per routine, workflow, monitor and action of the project, and one for its cycle, what needs a look first (a failed run, then one that asks for attention, then one running, then the rest by their next run). Each card says how its last run ended, when and how long it took, what it did as its script said it (its counts, such as "12 imported · 3 updated", and its lines; a cycle's digest), how often it runs and when next, with Run now and History, the runs before with what each did. A run that failed or asks for a look is also a row of Mine, saying why, with Run again, Open (its tab; a cycle's opens that cycle's record) and Dismiss, until a later run ends well. A project with nothing that runs by itself shows no Operations.
The goals in the dark theme: weekly orders at 284 of 400 by its day, eight a day, on track; checkout time at 151 seconds against 90, rising a tenth of a second a day, at risk, its line jumping at the end; a return rate whose monitor has given no number yet.
The goals in the dark theme: weekly orders at 284 of 400 by its day, eight a day, on track; checkout time at 151 seconds against 90, rising a tenth of a second a day, at risk, its line jumping at the end; a return rate whose monitor has given no number yet. ui-situation-goals.png, drawn by situation-shot.mjs
The Operations block in the dark theme: a monitor whose check failed because ssh could not connect, a daily routine whose last run imported 12 orders and needs a look because id 4417 was reused, with its history open, a workflow running for four minutes, and a weekly routine that ran fine.
The Operations block in the dark theme: a monitor whose check failed because ssh could not connect, a daily routine whose last run imported 12 orders and needs a look because id 4417 was reused, with its history open, a workflow running for four minutes, and a weekly routine that ran fine. ui-situation-operations.png, drawn by situation-shot.mjs

Below Mine, a quiet line says what it leaves out and why: with Check stale Todays after a merge on, the stale Todays are cterm's; with the dial at Off, everything but what stops a session.

The Situation with the dial at Off in the light theme: Mine keeps the permission card, the question asked and the queue entry, and a line under it says what is not asked and why.
The Situation with the dial at Off in the light theme: Mine keeps the permission card, the question asked and the queue entry, and a line under it says what is not asked and why. ui-situation-off.png, drawn by situation-shot.mjs

Act on the queue

When a session prepares something for you to decide (a draft letter, a decision it will not take alone), it adds it to the project's queue, shown in Mine with its title, why, the session and the file, which opens in a viewer so you can read it first. Then:

  • Approve lets the session go on; approve with a note carries a line with it.
  • Changes… asks for your words; the session reworks it and queues it again.
  • Bin… asks for a reason; the session does not go on.

A message a session wants to post in Microsoft Teams is an entry too: its why holds the whole message, and Approve sends it as it is, as you.

Your answer is typed into the session that asked, resumed if it had ended. Only the session's owner answers. A question from the cycle has no session and is a proposal: its title names what the cycle proposes to do and its why the other options. Approve says yes to what the title proposes (the line under the buttons says so), Answer… takes your words, for another option or anything more, and Bin… a reason; the answer goes to the project's next cycle.

Move between the tabs

The tabs are Sessions, Desk (the project's support desk), Roadmap, Changelog, History, Memory, Wiki, Artifacts, Files, any pinned trackers, the project's modules, Routines, Workflows, Monitors and Settings. Roadmap and Changelog appear when the project has a roadmap, Artifacts when its feature is on, Wiki when it has one, and Settings only for the owner and admins. With the tab row focused, Left and Right step through the tabs and Home and End jump to the first and last. The button at the end of the row gives the open tab the whole page, folding the tiles, the Situation and the Now strip away; folded, it shows the strip's count, red when something needs you.

  • Sessions lists every session by item, by day or by status, searchable, each with a line of what it did and, for one that ran subagents, the agents mark with how many. When Claude Code is about to delete the oldest conversations, a warning says when, with Keep them longer… for an admin. Clean up in its bar says which sessions can go (below).
  • Changelog is the readers' record of what was built, searchable, exportable to Word or PDF. Under an entry whose change was expected to move a goal, a Moved line says what it moved and whether that held, once the cycle has judged it.
  • History shows the project's versions: save one, undo a change, go back.
  • Memory shows Claude's auto memory of this folder, read-only.
  • Files browses the folder. A CSV or TSV preview offers Pin as a tab, which adds it as a tracker tab: a table to sort, filter and edit. A CSV separated by semicolons, as Excel writes one in a Spanish locale, opens with its columns too, and edits are saved with its own separator. Share in a file's head, for the project's owner when an admin, makes a link that opens the file in the viewer without signing in (Sharing).
  • Roadmap, Wiki, Navigator and Artifacts have pages of their own: roadmap, wiki, navigator, artifacts.

Clean up the sessions

A project's list fills with sessions whose work is over. Clean up in the Sessions tab's bar, or Clean up… in the project's menu (the page's ⋯ or the project's head in the sidebar), lists every session of the project in three groups, each row with what it did, its age and cost, the reason and the suggested action:

  • Safe to go: what a rule lets go without asking anyone. A task session merged into main (Close and clean up, which also removes its worktree and branch; Remove once that is done), one whose transcript is gone, a routine's session past the number it keeps, an ended session whose item is done or dropped, and one ended 30 days ago.
  • To decide: what the rule cannot say. Analyse has a model read what each did and its last message, in one claude -p call on the project's Claude login (Haiku, a few seconds), and gives each a verdict, a reason and an order, surest first. The rule's order and the buttons keep working while it reads, and a failed call (a login signed out) is said in the view with everything else still there. A verdict holds until the session moves again.
  • Staying: what may not go now, with why: working or waiting on you, pinned or put by for later, a prompt queued or scheduled in it, an open card, something it prepared waiting in the queue for your yes, or a worktree with commits main lacks or uncommitted changes.

Each row has quick buttons that act at once: Close and clean up, Close (a live session ends and stays resumable), Remove (out of cterm's list; Claude's transcript stays, under the folder's past conversations) and Keep (out of this view until the session moves again). The ones that end or remove ask once. Do the safe ones does the whole safe group after one question naming how many sessions and what happens to each; the daemon judges each again first and leaves alone any that may no longer go. Analyse, Keep and Do the safe ones are the project's owner's or an admin's.

The Clean up view: three plainly safe sessions with their reasons and Remove or Close and clean up, two to decide, and the staying ones with why, Analyse and Do the safe ones in the bar.The Clean up view: three plainly safe sessions with their reasons and Remove or Close and clean up, two to decide, and the staying ones with why, Analyse and Do the safe ones in the bar.
The Clean up view: three plainly safe sessions with their reasons and Remove or Close and clean up, two to decide, and the staying ones with why, Analyse and Do the safe ones in the bar. ui-cleanup-dark.png and ui-cleanup-light.png, drawn by cleanup-shot.mjs
The Clean up view on a phone: each row's buttons under it.
The Clean up view on a phone: each row's buttons under it. ui-cleanup-phone.png, drawn by cleanup-shot.mjs

Set up a routine

A routine sends a prompt on a repeating schedule, into one of the project's Claude sessions or into a fresh session each run, or runs one of the project's workflows instead of sending a prompt. In the Routines tab, click New routine, then give it a name, the prompt it sends, the repeat (Every day, Weekdays (Mon to Fri), On days of the week or Every few hours), the time, the time zone and where to send it: a session, or a workflow under Run a workflow. Each routine then shows its rule, its next and last run, and for the owner Run now, Pause or Resume, Edit and Delete. An admin on someone else's project can only pause or delete one.

Each run of a routine is kept in cterm's record of runs with what started it (its time, or whoever pressed Run now) and how it ended: a prompt's run ends once the prompt is typed into its session (what the turn then does is the session's), a skipped run says why, and a run of a workflow ends with that workflow's run and carries what its script steps said they did (Workflows).

Set up a workflow

A workflow is a chain of steps drawn on a canvas in the Workflows tab: prompts into sessions, skills, subagents, scripts, an approval that waits in the queue and a notification, each step's result the next one's input. You run it with Run or from a routine, and the canvas shows where the run stands. Workflows explains them.

Launch an action

A project may declare buttons that run one of its workflows, a script or a prompt with the inputs they ask for: they sit in a row right above the tabs, with a line under them saying how the last run went. A project with none has an Action button at the end of the tab row to make the first. Actions explains them.

Look after an integration in a module

A project may declare modules, a tab each, over the data an integration's runs write: the latest run, the rows new, changed and gone since the run before, and the conflicts to settle first, each with its action. The tab's count is its conflicts, red. Modules explains them and how to write one.

Watch something with a monitor

A monitor in the Monitors tab is a check cterm runs every few minutes, a script in the project folder or a question a model answers, with the condition that matters: a disk at 85% or more, an error in a log, a site that stops answering. Your phone is told when the condition starts to hold and once when it clears; the tab shows each monitor's state, last value and history. Monitors explains them.

See what the cycle did

The Cycles tab, after Monitors, holds the project's cycle: the dial, when the next cycle runs and the day's budget so far, Run now, and a record per cycle with its digest: what it read, judged and proposed, and what cterm did with each proposal and why. The cycle explains it.

Change the project's settings

The Settings tab lists its sections down the left; a click scrolls to one. Change what you need, then click Save at the bottom; Revert goes back to what is saved. The bar names the sections with unsaved changes, and leaving the tab or the page asks first. Sessions take the change at their next start.

  • Members: the other accounts the project is shared with, each with when and by whom it was added and a Remove, and a field to add one by name (an admin picks from the accounts). A member sees the project and starts sessions of their own in it; Accounts, profiles and projects says what they may do. This acts at once, apart from Save.
  • Part of a product: several projects that are one thing (the API, the web, the mobile app) share one roadmap as a product. Here a project joins one of its owner's products, makes a new one with itself as the anchor, or leaves the one it is in. A project whose roadmap has items is asked first whether to merge them into the product's roadmap, under one new item named after it; saying no keeps it out of the product. Accounts, profiles and projects says how. This acts at once, apart from Save.
  • Name and defaults: the name, and the model and permission mode a new session starts on when nothing else picks one.
  • How far cterm goes: the dial, five positions from doing nothing on its own to merging by itself. Moving it sets the switches that act alone (they show changed in their sections until you Save), and so decides what is left to you in the Situation's Mine; a switch you change by hand afterwards is said under it. The steward places, ranks and records at every position.

    Positioncterm does on its ownLeft to you in Mine
    Offnothing starts or merges by itselfonly what stops a session: a card, a question asked, the queue; the project leaves the master view's Situation
    Watchnothing starts or merges by itselfevery decision: needs and questions, stale Todays, what to start, what to merge
    Steerchecks the items a merge made stale (Check stale Todays after a merge)needs and questions, what to start, what to merge
    Buildalso starts a session on each bug (Start a session on each bug)needs and questions, the next items to start, what to merge
    Shipalso merges every finished task session (Merge a finished session by itself)needs and questions, the next items to start, what a merge left for you

    A project never set reads as Ship when it merges by itself, Build when it starts a session on each bug, else Steer. cterm project set <owner>/<project> cycle <position> moves it from a terminal.

    Under the dial, The cycle: when the project's cycle runs (only when asked, every day, weekdays or every few hours), the sessions and dollars it may spend a day, the policy of what ships alone, asks first or is never done by itself, and whether a change to the plan is only proposed. The cycle explains them.

    The How far cterm goes section in the dark theme: the five positions with Ship chosen, and what it does on its own and what is left to you.
    The How far cterm goes section in the dark theme: the five positions with Ship chosen, and what it does on its own and what is left to you. ui-situation-dial.png, drawn by situation-shot.mjs
  • Task sessions: Task sessions in a worktree of their own, Clean up after a merge, Start a session on each bug, Retry a usage limit by itself (on by default: a turn a usage limit cut is sent again at its reset or once the login has room, see the terminal and the prompt box), Merge a finished session by itself (never, a bug's session, or every task session), Work through pull requests, Git remote, an admin's: the project's repository on your own server for a project not on GitHub, connected on Save, Before a merge, a shell command (the project's tests) run in a task session's worktree before cterm merges it, such as npm test, and After a merge, a shell command run after a clean worktree merge, such as npm run build. Task sessions explains them.
  • Features: Brief, Roadmap, Artifacts and Ideas. Switching one off hides its panel and stops its work; nothing it kept is deleted.
  • Notifications: what A task session and Any other session tell you by default: all, needs (only when it needs you) or muted. Your own choice on a session, from its menu or the bell in its head, wins.
  • Models & effort: what define sessions think on and task sessions run on, the steward's pick with the last exam of its prompts beside it (how many past jobs held on which model, the steward), Task sessions plan, an executor carries out, and the Presets by complexity (S, M, L) a task takes when its card picks nothing.
  • Roadmap: whether the roadmap lives in the repo or is kept in cterm, outside it. A move happens at once. A product's member has the product's roadmap, which stays in cterm, so it offers no move. Check stale Todays after a merge has cterm run Still valid? by itself on the items whose Today a merge marked as possibly stale, one at a time and at most five a merge; off by default, since each check is a model run. The roadmap and ideas explains the mark.
  • Wiki: the wiki folder, and Set up a wiki when the project has none.
  • Rules for its sessions: text every Claude session of the project is told at its start and resume, after cterm's rules for every session. Nothing is written into the repo.
  • Mail (admins only): which of your Outlook mail is the project's, by its senders, domains and subject words, and the session a new mail wakes; see Mail.
  • Sends (admins only): whether the project's Teams messages and mail replies wait for your yes, leave by themselves after a few minutes with a countdown, or go at once, and the quiet hours; with a delay, a Pause sends line shows over the Now strip. See Messages that leave after a delay.
  • Desk coordinator: whether cterm runs the session that works the project's desk, its name, model and effort, how often a round types it what is new, when a fresh one replaces it, and your standing instructions; see The support desk.
  • Operations (admins only): move the project to another folder, and, while Herd serves it, https and its PHP version. These act at once.

How it works

The page is built from what the daemon already sends the browser: sessions, roadmap and inbox, steward jobs, queue and artifacts. The Situation is the daemon's own: it reads the roadmap (parsed again only when its file changed), the inbox, the notes waiting for the steward, the project's sessions with their worktrees and merges, the queue, the steward's last jobs, a restart waiting after a merge, and the project's routines, workflows and monitors with their runs from cterm's record of runs, and the readings of the monitor each goal names (the same readings its state on the roadmap is written from, computed again here so a goal falls behind as the days pass even when its monitor has not run since), and sends the result to the pages that show it two seconds after anything of that changed, and only when the result differs. The objective and Where we stand are the roadmap's own fields, written with the roadmap script (the steward's paragraph) or from the view (your line). A run you dismiss from Mine stays out while the runs after it end the same way, and comes back when one ends the other way (a failure after an attention, or the reverse); a run that ends well clears it. The cost comes from each session's status line, and pull requests come from GitHub through gh when the project works through pull requests. With that switch off, the pull requests the sessions opened are still read from GitHub one by one, so their state is GitHub's, but the repository's others are not listed.

One Save sends the whole form as a single update; the daemon checks you own the project or are an admin and keeps it in its store, ~/.cterm/cterm.db, and every open page follows. Routines and queue entries live in the same store. A routine's timer is checked at least once a minute, so a run missed while the Mac slept goes once on waking, never piled up; a queue entry comes from a session running cterm queue add, a workflow's approval step, or the asks in a cycle's answer.

Scenarios

Monday morning on a client project

The Situation says where the project stands in four lines, and Mine leads with a session waiting on a permission, then a queue entry: a draft reply to the client. You allow the first in place, open the file of the second, click approve with a note, add "sign it from me", and both sessions go on. In flight shows an item stopped for two days on a conflict: its line opens the item, its session's button the session to merge main in.

Making task sessions safe to run alone

Small bugs keep coming. In Settings you switch on worktrees, Start a session on each bug and Merge a finished session by itself for a bug's session, and click Save. The next bug the steward places gets its own session, and once its work is committed with a clean tree, cterm merges it.

A daily news round

In Routines you add a routine at 08:30 on weekdays that sends "Collect today's news about our sector into news/today.md" into a fresh session. At nine, on the phone, the page shows the session that ran.

The project page on a phone in the dark theme: the head with New session and Copy link, the tiles two by two, the Now strip and the tab row.
The project page on a phone in the dark theme: the head with New session and Copy link, the tiles two by two, the Now strip and the tab row. ui-project-page-phone.png, drawn by project-page-shot.mjs
The Situation on a phone in the dark theme: the objective, Where we stand, and Mine with the permission card's buttons a thumb wide, one column.
The Situation on a phone in the dark theme: the objective, Where we stand, and Mine with the permission card's buttons a thumb wide, one column. ui-situation-phone.png, drawn by situation-shot.mjs

Screenshots on this page are drawn by docs/spike/situation-shot.mjs, docs/spike/cleanup-shot.mjs, docs/spike/project-page-shot.mjs from fake data, and refreshed when a view changes.

Written in docs/site/pages/project-page.md and built by docs/site/build.mjs.