Skip to main content

Projects

Status: Ready

Truth label: Limited

Audience: Fleet operator

Reader outcome: Register a project whose path the intended worker can actually reach, and control the defaults every task on it inherits.

Last verified: 2026-09-12

Full guides: Task defaults and project state, System manual

What a project is​

A Forge project represents one repository or working directory.

Required fields are a name and an absolute or resolvable path. Optional fields are a repository URL, a description, a supervision mode, a client id, and an internal-shared flag.

Register one​

In Cortex, open Projects and select New project. Provide a clear name, the absolute path of the repository as it exists on the worker that will execute the work, and a supervision mode. Keep the default checkpoint mode so completed work holds for your review.

The browser cannot pick an arbitrary local directory, so paste a reviewed absolute path.

Path rules​

  1. Local paths are expanded and resolved on Central.
  2. A foreign operating system path is stored as a pure absolute path and is never resolved, so remote workers receive it verbatim.
  3. A remote request must remain inside SE_MANAGER_ALLOWED_PROJECT_ROOTS. When a bearer token is configured and that list is blank, Forge permits only SE_MANAGER_PROJECTS_DIR.
  4. Foreign paths must be absolute and must not contain ...
  5. Central does not map the path for another worker platform.

For a heterogeneous fleet, pin tasks to the worker whose checkout matches the stored path. Automatic path mapping is not implemented, and a path that works on one worker can fail on another. This is the most common cause of a task that starts and immediately fails.

Client scope​

client_id assigns the project to a confidentiality scope. No client id means internal. An internal project may be marked shared so its methodology is eligible for client work. A client project cannot be marked shared.

Clearing a project's client label in Cortex saves an explicit null and returns the project to internal scope. Omitting the field preserves it.

The Cortex project form does not expose every scope field. Use the Forge API for scope administration until the form is completed.

Do not treat client scope as proven confidential isolation. See Security boundaries.

Pause and archive​

StatusEffect
ActiveNormal
PausedRejects new task creation and pipeline instantiation. Pending tasks are omitted from polling
ArchivedSame rejection and omission as paused

A direct claim rechecks the project inside the same transaction as the claim, so a pause takes effect even against a worker that already polled.

Work already assigned or running can finish. Cancelling it is a separate action. Running task history, artifacts, and reviews stay available.

A due schedule on a paused project records the reason and advances to its next occurrence without enqueueing work. This does not create a catch-up backlog. Queued follow-up messages stay saved until the project becomes active again, and reactivation releases eligible completed-parent continuations.

Invalid project status and supervision values return a validation error.

Task defaults​

Open Manage Cortex > Manage task defaults, or Edit project > Task defaults for this project.

Cortex can edit operator and project defaults, preview a task's resolved settings, and show the choices stored with a created task. HTTP tasks, Brain-created tasks, scheduled runs, and pipeline stages all use the same Central validation and resolution service.

Edit them​

  1. Choose operator defaults or a project, then load its saved version.
  2. Check a field to override it at that level. Unchecked fields inherit.
  3. Save. Each save creates a version with an optimistic revision check.

Clear overrides removes them in the editor. Saving then returns those fields to inheritance. History restores into the editor for review and a new save. Export includes the saved values and history. Import copies values into the selected destination's editor and needs a save before it applies.

Existing tasks retain their original settings.

Resolution order​

  1. Explicit request
  2. Template or pipeline stage
  3. Project defaults
  4. Operator defaults
  5. System defaults

The project's supervision mode is itself a project-level setting, so it takes precedence over operator supervision. An explicit task override still wins. Pipeline-defined review, permission, skills, persona, execution consent, and engine default model remain stage choices. Schedules inherit omitted fields when each occurrence is created.

Null and empty​

These distinctions matter and are easy to get wrong.

ValueMeaning in a task requestMeaning in a defaults editor
Null skillsInheritRemove the override
Empty skills listSelect no skillsEnabled empty list means no skills
Null supervisionInheritRemove the override
Blank engine or modelRequest the worker or engine defaultRequest the worker or engine default

An enabled empty skills list means no skills. It does not load a standing workflow.

Workers still apply their own supported model, effort, and permission limits. The creation preview describes the saved request, not a promise that an unidentified worker supports every setting. A turn limit is not among the defaults: agent turns are always unlimited, and an older saved max_iterations value is ignored on load. See Tasks.

Preview before you create​

Preview effective task settings resolves and validates without enqueueing a task. The preview shows values, their origins, the project path, and the defaults revisions.

Creating the task resolves current settings again in a transaction, so a preview is advisory if defaults change in between. Open the task drawer's Task settings and inherited defaults to inspect the actual saved result.

New task uses saved defaults by default, and the custom execution controls are disabled while that choice is checked. Uncheck it to choose the task's execution settings. Worker, session, parent, title, and description remain task specific either way.

Retry and same-session follow-up forms use explicit settings, so inherited defaults do not silently replace the previous run's choices.

Managed methods in defaults​

Defaults can select a managed method and an optional exact revision. A blank method id explicitly selects the legacy persona and skills path. Removing that override inherits. A managed method checks task-kind applicability and owns its skill order, and the effective revision is pinned when the task is submitted.

Retry safety​

Cortex retains a request id while retrying the same submitted body after an uncertain response. Central returns the existing task for the same id and body, even if defaults or project status later change. Reusing that id for different content returns a conflict, and a deleted task returns Gone rather than recreating work.

Reloading the form starts a new browser submission. Other API callers should persist their own request ids when retrying.

Storage is task_settings and task_requests in forge.sqlite3. Tasks carry a creation_context with explicit settings, effective settings, and default revisions.