patlas/ docs

Project Atlas

Git-based, zero lock-in project management: issues, roadmaps, boards and people tracked in plain files under .project/.

No cloud lock-in. No vendor database. Every issue is a Markdown file. Every roadmap and board is TOML. Edit them with any text editor, manage them with the patlas CLI or GUI.

Motivation

Directory Structure

your-project/
├── .project/                    # ← the heart of Project Atlas
│   ├── issues/                  # One <id>-<slug>.md per issue (frontmatter + # title)
│   │   ├── 1-get-started.md
│   │   └── 2-add-integration.md
│   ├── roadmaps/                # .toml files listing issues in order
│   │   └── v1.0.toml
│   ├── boards/                  # Views (timeline, board, table)
│   │   └── main.toml            # One .toml file per board
│   ├── batches/                 # Time-boxed records of work — never deleted
│   │   └── 001.toml
│   ├── people/                  # One .md file per person (responsibilities, status)
│   │   └── johndoe.md
│   └── docs/                    # Long-form project documentation
├── README.md
└── ...your source code

File Formats

Issue (.project/issues/1-fix-login-bug.md)

---
id: 1
priority: high
assignee: johndoe
labels: bug, auth
roadmap: get-started
---

# Fix login bug

## Description

Users cannot log in with special characters...

## Acceptance Criteria

- [ ] Passwords with special characters work
- [ ] Error message is clear

The id is stable. The slug follows the current # title. A pulled title change updates the
file name on the next save, commit, or project reload. Duplicate ids are banned; the oldest
file keeps the id, identical copies are removed, and different duplicates receive new ids.

Roadmap (.project/roadmaps/get-started.toml)

name = "Get Started" # Optional name override
description = "Initial release"

[[issues]]
id = 1 # Last parsed title.
start = "2026-06-05"
span = "2w"

[[issues]]
id = 2
start = "2026-07-05"
end = "2026-12-05"

[[issues]]
id = 3
after = [1,2]
span = "12d"

Kanban (.project/boards/main.toml)

name = "Get Started" # Optional name override
description = "Initial release"

[column.todo]
name = "todo"
issues = [1, 3]

[in-progress]
name = "in-progress"
issues = []

[done]
name = "done"
issues = [2]

Table (.project/boards/main2.kanban.toml)

[todo]
name = "todo"
issues = [1, 3]

[in-progress]
name = "in-progress"
issues = []

[done]
name = "done"
issues = [2]

Batch (.project/batches/001.toml)

name = "Batch 1"              # Optional display name
status = "open"               # open | completed
created = "2026-08-29"
completed = "2026-09-05"      # Written when completed
issues = [1, 3, 7]            # Ordered issue membership

Batches are like sprints, but permanent:

An issue's work state is derived, never stored: a todo column beats a done
column beats any other column (in progress), and falls back to the issue status.

Person (.project/people/nickname.md)

---
nickname: "johndoe"
name: "John Doe"
role: "Backend Developer"
email: "john@example.com"
status: "active"
---

# John Doe

## Responsibilities

- API development
- Code review

Installation

Prerequisites

Setup

# Clone and install
git clone <repo-url> project-atlas
cd project-atlas
bun install
cargo build --workspace

CLI Usage (patlas)

The TypeScript CLI and TUI are not in this tree. They are planned to return as
patlas-cli and patlas-tui Rust crates over patlas-core. The commands
below document the file format and intended behaviour.

patlas works from any directory that contains (or is inside) a .project/ folder. It walks up the directory tree to find it.

Initialize a project

cd my-project
patlas init

Creates .project/issues/, .project/roadmaps/, .project/boards/main.toml (with todo/in-progress/done columns), and .project/people/.

Issues

# List all issues
patlas issue list

# Filter issues
patlas issue list --status open --priority high --label bug

# Show issue details
patlas issue show PROJ-1

# Create an issue
patlas issue create "Fix the thing" --priority high --label bug --assignee johndoe

# Edit an issue
patlas issue edit PROJ-1 --status closed --priority critical

# Close an issue
patlas issue close PROJ-1

# Delete an issue
patlas issue delete PROJ-1

Shortcuts: patlas i ls, patlas i show, patlas i new, patlas i edit.

Roadmaps

patlas roadmap list
patlas roadmap create "v1.0" --desc "First release"
patlas roadmap delete "v1.0"

Boards

patlas board list
patlas board adopt https://github.com/users/FrameMuse/projects/6
patlas board column-add "review" --board main
patlas board issue-add PROJ-1 --board main --column todo

People

patlas people list
patlas people add --nickname johndoe --name "John Doe" --role "Developer" --email john@example.com
patlas people show johndoe

Batches

# List batches (history → trailing)
patlas batch list

# Create a batch (name is optional)
patlas batch create "v1.1"

# Show a batch and its issues with work states
patlas batch show 2

# Move an issue in or out of a batch
patlas batch issue-add 2 14
patlas batch issue-remove 2 14

# Complete a batch — refuses while it holds to-do issues
patlas batch complete 2

# Reopen a completed batch to continue its unfinished work
patlas batch reopen 2

There is intentionally no patlas batch delete — batches are permanent records.

Project overview

patlas info

Migration from GitHub

patlas pull github user/repository imports issues from any GitHub repository into your local .project/issues/ directory. No extra config files - each issue remembers its origin via the ~github frontmatter field.

Prerequisites

Single Repository

# Pull all issues from a GitHub repo
patlas pull github user/repository

This fetches every issue (open, closed, completed, not-planned), diffs against local issues by ~github reference, and prompts before creating or updating anything.

Multi-Repository

Once you've pulled from at least one repo, every local issue carries a ~github field:

---
id: 8
status: not_planned
~github: user/repository#8
---

Running patlas pull github (without a remote) discovers all ~github remotes across your local issues and pulls from each in turn:

# Pull from all remotes found in ~github fields
patlas pull github

Resulting Local Issues

.project/issues/
├── 1-objectproperties-inspector.md  # ~github: user/repository#1
├── 2-recursive-tree.md              # ~github: user/repository#2
├── 4-webhooks-api.md                # ~github: user/repository#4
└── ...

Each file has minimal frontmatter, only fields that differ from defaults are written:

---
id: 8
status: not_planned

~github: user/repository#8
---

Create DOM component with `export/import`...

Issue relations

An issue stores its own outgoing links in a nested relations table:

relations:
  blocks: 4, 7
  duplicates: 8
  resolves: 2
  raises: 5
  related: 3

Only the canonical edge is stored. The opposite labels are derived from every
issue's table: blockedBy, duplicatedBy, resolvedBy, raisedBy and the
other side of related. Adding "Blocked by" from an issue writes the blocks
edge on the other issue. Links use issue ids, so renaming a file does not touch
them.

Status Mapping

GitHubLocal status
OPEN(omitted - default)
CLOSEDdone
NOT_PLANNEDnot_planned

Labels

GitHub labels are copied as-is, except priority:very-low through priority:very-high are converted to numeric priority (-2 to 2) and stripped from the labels array.

Migration from Jira

patlas pull jira [file.csv] imports issues from a Jira CSV export. Each issue remembers its origin via the ~jira frontmatter field (~jira: SCRUM-33).

Export from Jira

In Jira: Issues → Export → CSV (all fields). Save the file anywhere; patlas pull jira reads it:

# Pull from jira.csv / Jira.csv in the current directory
patlas pull jira

# Pull from a specific export file
patlas pull jira ~/Downloads/Jira.csv

Resulting Local Issues

---
id: 15
milestone: SCRUM-39
labels: backend, docs
~jira: SCRUM-20
---

<h2>Description body (Jira wiki markup kept as-is)

Each issue keeps minimal frontmatter — only fields that differ from defaults are written.

Field Mapping

Jira CSV columnLocal field
Summarytitle (from file name)
Issue key~jira reference
Status Category (Done → done, else open)status
Priority (Highest→2 … Lowest→-2)priority
Labels (repeated columns merged)labels
Parent key (epic)milestone
Assigneeassignee
Descriptionbody (raw Jira wiki markup)
Created / Updated (23/Aug/26 8:25 AM)git-tracked dates

Sprints → Batches

Distinct values in the Sprint column become batches — one open batch per
sprint, named after it. An issue that appears in multiple sprints (Jira sprint
history spans repeated Sprint columns) joins each sprint's batch. Batches are
never deleted, so re-pulling doesn't duplicate them; issues added later land in
their sprint's batch only on first import.

Re-pull

Like GitHub, re-running the pull diffs against local ~jira references: new
issues are created, changed fields are updated, everything else stays in sync.

Integrations

Any frontmatter field prefixed with ~ is treated as a remote integration reference. In the web GUI, these fields are rendered in a dedicated "Integrations" sidebar section - visually separated from local Custom Fields - so you always know which data lives elsewhere.

GitHub (~github)

The ~github field links a local issue to its GitHub source:

~github: owner/repo#issue_number

On the issue detail page, this renders with a GitHub icon and a clickable link to the original GitHub issue:

🔽 github framemuse/design-app#132 → opens https://github.com/framemuse/design-app/issues/132

Adding Other Integrations

Any ~-prefixed key appears under the Integrations section automatically. For example:

~linear: TEAM-42
~gitlab: group/project#17

Custom icons and link logic can be added per integration type in the Rust core and the issue editor.


Web GUI

bun run web:build            # build web/app into web/dist
cargo run -p patlas-server   # Rust backend and static frontend on :3456

For frontend development, run bun run web:dev for Vite on :5173; it proxies
API, WebSocket and static project routes to the Rust server on :3456. Sign-in
is at /auth, the app at /app, and the landing page at /.

See web/README.md for hosting, environment variables, WebDAV,
the API sketch and the identity service. Bottom panel behavior and its
regression checklist are in docs/bottom-panel.md.

GitHub storage and commit signing

Project owners can connect a GitHub repository in project Settings. Every user
can add a personal Git identity and GPG signing key in My settings without
putting either in .project/. See docs/github-storage.md.

Untracked Issues

Issue files that don't have an id in their frontmatter (or have no frontmatter at all) are considered untracked. They are automatically displayed alongside tracked issues in the issue list with temporary IDs (#~0, #~1, ...) and a ? status icon. They behave almost like regular issues - you can click through, view their content, see their frontmatter fields, and search for them.

On the issue detail page, an Adopt Issue button in the sidebar assigns a permanent numeric ID (starting from the highest existing ID + 1), rewrites the file with the new id in its frontmatter, and redirects to the new permanent URL. Any existing frontmatter fields (status, priority, labels, etc.) are preserved.

MCP

Agents connect to the project over MCP at /mcp. Remote clients authorize with
OAuth (protected-resource metadata, CIMD or dynamic registration, PKCE), and
access keys from project settings also work as bearer tokens. Every delete tool
has a matching restore_* tool that reads the file from the commit before the
deletion. See docs/mcp.md for tools, setup and the stdio bridge.

Status service

A separate patlas-status process polls services and API features. It exposes
/status with a 204 response and two numeric headers,
X-Patlas-Services and X-Patlas-Features. See
docs/status.md for the bit layout.

REST API Reference

When running patlas serve, the following endpoints are available:

Issues

MethodPathDescription
GET/api/issuesList all issues (supports ?status=, ?priority=, ?assignee=, ?label=)
GET/api/issues/:idGet a single issue
POST/api/issuesCreate an issue
PUT/api/issues/:idUpdate an issue
DELETE/api/issues/:idDelete an issue

Roadmaps

MethodPathDescription
GET/api/roadmapsList roadmaps
POST/api/roadmapsCreate a roadmap
DELETE/api/roadmaps/:nameDelete a roadmap

Boards

MethodPathDescription
GET/api/boardsList board names
GET/api/boards/:nameGet a board with all columns
POST/api/boards/:name/columnsAdd a column
PUT/api/boards/:board/columns/:columnUpdate a column

People

MethodPathDescription
GET/api/peopleList people
GET/api/people/:nicknameGet a person
POST/api/peopleAdd a person
PUT/api/people/:nicknameUpdate a person
DELETE/api/people/:nicknameDelete a person

Project Info

MethodPathDescription
GET/api/infoProject overview (counts of issues, roadmaps, boards, people)

Architecture

flowchart LR
  APP["web/app<br/>Tama frontend"] -->|"HTTP + WS"| SRV["crates/patlas-server<br/>axum"]
  SRV --> CORE["crates/patlas-core<br/>formats, git, domain"]
  CORE -->|"read/write"| DISK[".project/<br/>git working tree"]

patlas-core is the only implementation of the project format and domain
operations. patlas-server adds HTTP, WebSocket, git storage and auth.
web/app keeps small TypeScript helpers for the browser: markdown/GFM lexing,
HTTP and HAR previews, chat parsing and body hashes.

Testing

bun test                       # frontend unit tests
cargo test --workspace         # backend and core integration tests

Design Principles

  1. Plain text over databases. Every piece of data is a file you can open, edit, grep, and version-control with Git.
  2. One file, one entity. One issue = one .md file. No monolithic JSON databases.
  3. Frontmatter as metadata. YAML-ish frontmatter in Markdown files carries structured fields while the body remains freeform prose.
  4. No lock-in. If Project Atlas disappears tomorrow, your data is still fully readable and useful.
  5. One backend. The Rust server owns .project/ and git storage; the web frontend is a client of its HTTP and WebSocket API.