Team specs
In a repository that belongs to a team project, every spec is shared: teammates edit the same requirements, design and task list live, ask each other for reviews, and assign tasks. The files stay in your repository, so Git keeps working as before.
How it works#
Specs live in your repository under .izcode/specs/ (or .kiro/specs/). In a project repository, each section of a spec (requirements.md or bugfix.md, design.md, tasks.md) is also kept as a shared document on IZ Code's servers.
Every app that has the folder open keeps its files and the shared document in step:
- An edit you make, in the spec view, in the editor, or by an agent, reaches teammates' files within a second or two.
- A teammate's edit is written to your file shortly after it arrives.
- Two people editing different parts of a section at the same time both keep their changes. Your local edits are merged with the team's, never overwritten.
- Because every clone writes the same text, Git sees one change, not one per person.
sequenceDiagram
participant A as Your app
participant S as Shared document
participant B as Teammate app
participant R as Reviewers
A->>S: Edit a section
S->>B: Write to their file
A->>R: Ask for a review
R->>A: Approve
Note over A,R: Phase approved when quorum is reachedYou do not need to open a spec for it to sync. Specs of an open project folder sync in the background, and new specs are picked up within seconds.
The spec header shows a team badge with a status dot. Hover it to see the state of each section:
| State | Meaning |
|---|---|
| in sync | Your file and the team's document match. |
| read-only | You are a Viewer in this project. Your edits stay on your machine. |
| connecting | The app is joining the shared document. |
| offline (retrying) | No connection. Your edits are kept and merged when the app reconnects. |
Use team specs#
- Open a folder of a project repository The status bar shows Project: name · role. If it shows No project, the repository is not attached to a project yet; see Set up an organization.
- Open or create a spec Use the Specs panel as usual (see Specs). A new spec is shared as soon as it exists in the folder.
- Ask for a review In the spec header, open Reviews and choose Ask for a review of the current phase. Pick a member of the project, or Everyone in the project. They get a notification and an email.
- Approve A reviewer opens the spec and chooses Approve. The header counts approvals, for example 1/2 approvals, and shows Waiting for other reviewers. until the project's quorum is reached.
- Assign tasks In the task list, use Assign or Assign to me on a task. My tasks filters the list down to yours.
Assignees in the file#
An assignment is a line under the task in tasks.md, so it travels with the spec like any other text:
- [ ] 3. Add refund endpoint
- Validate the amount against the original charge
- _Requirements: 2.1, 2.3_
- _Assignee: @an_The picker lists the members of the project.
From spec tasks to team tasks#
On a task of a spec, Create team task creates a numbered task in the project's task list for it. The team task closes when the spec task is done. See Team tasks and workflows.
First sync and conflicts#
The first time your app syncs a spec it compares your file with the team's document:
| Your file | Result |
|---|---|
| The team document is empty | Your file becomes the team's text. |
| Same as the team's text | Nothing changes. |
| Same as the last commit (fresh clone, just pulled) | The team's text wins and is written to your file. |
| Edited on this machine | Your changes since the last commit are merged into the team's text. |
| Edited on the same lines as the team | The team's text is written to your file and your version is saved next to it as <file>.conflict. You get a notification. |
Merge a .conflict file by hand, then delete it. It is not ignored by Git.
Renaming a spec#
Renaming a spec in IZ Code keeps its history: the renamed spec continues from the old one, and teammates' edits made to the old name before they pull are carried over. Specs without an id in their .config.json (older specs, specs created by other tools) start fresh under the new name.
Spec groups on the web#
The groups you use to organise specs in the Specs panel are published to the project. On the project's Team memory page, Team knowledge for specs shows your specs as the same tree, so you can attach team pages and skills to a spec. See Team memory.
Sharing with people outside the project#
Team specs are for project members. To show a spec to someone else, a client or a colleague without an IZ Code account, use the spec's Share… link instead: each link has its own rights per section (read, comment or edit). Sharing a task works the same way: Share on a task creates or reuses the task's spec and opens this dialog. See Specs.
Settings#
| Policy key | Values | Default |
|---|---|---|
specs.team | true, false (organization or project policy) | true |
specs.quorum | Approvals needed per phase (project policy) | 1 |