Start here
Key concepts
Projects, agents, skills, steps, gates, documents, versions and approvals, the words the rest of these docs use.
8 min read12 sections
These are the terms the rest of the documentation uses. Each one is described as you meet it in the app, with the mechanism in a sentence or two where it helps.
Organization
Everything in Alara Code belongs to an organization, the workspace you choose when you sign in. Projects, runs, documents, chat messages and the list of available agents are all scoped to it; nothing is shared across organizations.
Your organization role, assigned in PolyX, decides what you may do. Alara Code reads it as module permissions:
| Permission | What it allows |
|---|---|
| Projects › create / delete | Create a project; delete one |
| Projects › Run | Run a step, request changes, approve, talk to the agent, upload an RFP |
| Projects › Abort | Stop a running step |
| Projects › Binding | See, bind, check and remove the project's agent, and set its engine, models, thinking and diagrams |
| Integrations | Connect a repository and push documents to it |
| Wiki | Read the repository's index: its status, the Graph and the Architecture picture |
| Wiki › Index | Press Index or Re-Index on the Repository tab |
| Wiki › Ask | Analyse and the Ask & Impact chat on the Architecture tab |
| Usage | See your own AI usage on the Usage page |
A control you lack the permission for is disabled and names what is missing when you hover it. See Members and permissions.
Project
A project is one engagement: a name, an optional client (printed as "Prepared for" on every document), a type (greenfield (a new system) or brownfield (a change to an existing one)) the teams who can open it, and the documents it produces. The project page has a left-hand menu: SDLC Pipeline, Artifacts, Board, Repository, Architecture, Activity and Settings. A project for an existing system opens on Repository.
The badge beside the project name shows the furthest approved phase (discovery, requirements, design, test-planning or proposal), or Running while a step is in progress.
Project agent
A project runs on one of two engines, chosen when it is created. On Alara Agents, every step, and every chat reply, runs on one Alara reasoning agent bound to the project. The agent lives in Alara; an Alara admin shares it with the Alara Code app for your organization, and you bind it in Settings › Agent. It runs as whoever starts the step, on that person's Alara identity. An Alara Agents project with no agent bound can be opened and read, but nothing can run. On Native, Alara Code runs the steps on your organization's own AI key and there is no agent to bind.
Skill files
The instructions come in seventeen skill files, one per kind of work, sdlc-scope-analyst.md for the scope, sdlc-architect.md for the design, sdlc-project-assistant.md for the chat, sdlc-repo-brief.md for the project brief, and so on. On an Alara Agents project they are added to the agent in Alara as reference files, and each message Alara Code sends names the one file that applies. Check agent asks the agent which of them it can see. A Native project needs none of this. See Set up the project agent.
Steps and commands
A step is one stage of the pipeline, started by its command:
/rfp → /scope → /srs → /tad → /sds → /api → /sts → /plan → /proposal, with /proto, /threat, /traceability, /compliance and /tasks beside the chain
You start a step in SDLC Pipeline, its play button in the step rail, the round button in the composer, or by typing the command. Only one step runs at a time in a project.
Phase gates
Each step has a gate state, recalculated from the project's documents and approvals:
| State | Meaning | What you see |
|---|---|---|
locked | A step before it has not produced its document, or has not been approved | A lock in the step rail, with "Run X first" or "Approve X to unlock this" under its name |
available | Everything it needs is in place | A play button in the step rail; the next one is also offered on the composer's round button |
running | It is running now | A Working turn with progress and Stop |
pending_review | It produced a document that no one has approved yet | Awaiting your review, with Approve and Request changes (Traceability: Approve only) |
complete | Its document is produced and approved | A check and a re-run button; Approved · upstream changed when it is stale |
A step is stale when it is approved but a step it depends on has been produced again since. It stays approved; the label tells you it was built on an older version.
The gates: Scope needs an approved RFP; SRS an approved Scope; TAD an approved SRS; SDS an approved TAD; API Contract an approved SDS; STS an approved API Contract; Delivery Plan an approved STS; Proposal needs Scope, SRS and SDS produced and an approved Delivery Plan; the UI Prototype needs the TAD produced; the Threat Model and Traceability need the SDS produced; Tasks and Compliance need the STS produced; the Project Brief needs an approved STS. On an existing-system project, /rfp and /scope also wait for an indexed repository (Repository tab › Index); the lock message says so.
A step's life
- start to locked
- locked to available, prerequisites approved
- available to running, run
- running to pending review, document produced
- running to available, failed or stopped
- pending review to running, request changes
- pending review to complete, approve
- complete to running, re-run
- complete to complete, upstream re-run marks it stale
Every step that writes a document follows this life, including the Project Brief, Tasks, Compliance, Traceability, the Threat Model and the Prototype. Approving one of those supporting steps unlocks nothing; nothing waits for them.
Documents and versions
Every step writes one document in Markdown, with Mermaid diagrams. Alara Code checks it, adds a title block (project, client, version, date), the catalogue tables it owns and a Version History table, and stores it. An uploaded RFP is kept as the file you uploaded.
A document is either a draft (shown as "Draft · under review" or "Draft, awaiting approval") or approved. Its version, vN, counts approved milestones:
- the first draft is v1;
- requesting changes to a draft rewrites it in place, it stays v1 until approved;
- the re-run button on an approved document asks what to change and revises it in place: it stays v1 while you review, and approving the result replaces the approved text. Typing the step's command in the chat writes the next version, v2, as a new draft.
A project also has a version of its own (1.0, 2.0 and so on), separate from a document's vN. Once every document from the RFP to the Proposal is approved you can Start a new version: Scope to Proposal reopen in order, and the agent revises what you approved last. See Review and approval.
You read documents in the Artifacts tab or beside the conversation, and export them. See Read and export documents.
Approvals and requested changes
Approve records who approved which version, stores the approved document, and, for a chain document, unlocks the next step. Request changes sends a list of changes, one per line, to the agent, which revises only that document; it comes back for review. You can request changes only while a document is under review; to change an approved one, re-run its step. See Review, approve, request changes.
Runs
A run is one execution of a step. It is recorded with who started it, when, and how it ended:
| Status | Meaning |
|---|---|
running | In progress |
pending_review | Finished with a document to review |
complete | Finished and approved |
error | Failed: the reason is shown on the turn and in Activity |
aborted | Stopped by a person, or by the run time limit |
Activity lists the last 20 runs of the project. See Activity and costs.
The chat
SDLC Pipeline holds one conversation: your messages to the agent, its replies, and the runs you started, in time order. The agent shapes your idea into an RFP and answers questions about the project; it cannot run, approve or change a step. See Talk to the agent.
Ids
Documents number their items so every later document can point back at them.
| Id | Example | Introduced by |
|---|---|---|
| In-scope item | SCOPE-001 | Scope (the format may be project-specific) |
| Risk | RISK-001 | Scope |
| Requirement | REQ-FUNC-001, REQ-NFUNC-001, REQ-CON-001 | SRS (functional, non-functional, constraint) |
| Feature | FEAT-01 | SRS |
| Use case | UC-01 | SRS |
| Business rule | BR-01 | SRS |
| Architecture decision | TAD-001 | TAD |
| Trust boundary | TB-01 | TAD |
| Screen | UI-01 | TAD |
| Threat | THR-001 | Threat Model |
| Design component | DC-001 | SDS |
| Implementation unit | DC-001-01 | SDS (a table, endpoint, worker and so on inside a component) |
| Test case | TC-001 | STS |
| Ticket | HB-001 | Tasks: a two-letter prefix from the project name, then a number |
On the board, each design component becomes an epic and each implementation unit a ticket.