Splendor is a local-first, git-native knowledge workspace for code-and-research repositories. It stores source manifests, generated source summaries, planning records, runtime state, and a local wiki as reviewable files inside the repository, so coding agents and humans can resume work from durable project context instead of rebuilding it from scratch.
- Registers curated project sources and ingests them into deterministic source-summary pages.
- Tracks source freshness, queue/run state, planning records, and generated wiki maintenance.
- Answers local queries over indexed project knowledge.
- Produces agent handoffs with
brief --agent-contextandsuggest-next. - Keeps source discovery and source curation separate: broad scans preview by default and require explicit apply flags before writing manifests.
- Runs without hosted services, background workers, hosted databases, or a mandatory GitHub-only workflow.
- Python 3.12+
uv
Use the wheel attached to the matching GitHub Release:
TAG="v..."
VERSION="${TAG#v}"
uv tool install "https://github.com/splendor-dev/splendor/releases/download/${TAG}/splendor-${VERSION}-py3-none-any.whl"
splendor --helpSet TAG to the exact published release under evaluation. Maintainer publishing details and the
release-page fallback live in docs/operations/release_artifacts.md.
uv sync --dev
uv run splendor --helpTo install the local package into an environment:
uv pip install .
splendor --helpThis flow uses one repository that contains both your project files and the Splendor workspace. If
you are running from a contributor checkout, use uv run splendor ... and point --root at the
target repository. If Splendor is installed as a command, replace uv run splendor with
splendor.
mkdir /tmp/demo-repo
uv run splendor --root /tmp/demo-repo init
cat > /tmp/demo-repo/product-note.md <<'EOF'
# Product note
Splendor keeps a durable project wiki in git.
EOF
uv run splendor --root /tmp/demo-repo add-source /tmp/demo-repo/product-note.md
uv run splendor --root /tmp/demo-repo ingest --pending --apply
uv run splendor --root /tmp/demo-repo source lookup product-note
# Use the source_id printed by source lookup in the next command.
uv run splendor --root /tmp/demo-repo task create "Publish MVP docs" --priority high --source-ref <source-id>
uv run splendor --root /tmp/demo-repo query "durable wiki"
uv run splendor --root /tmp/demo-repo brief --agent-context "continue the docs task"
uv run splendor --root /tmp/demo-repo lint
uv run splendor --root /tmp/demo-repo healthThe repository now contains:
wiki/with generated source summaries and maintained markdown knowledge pagesplanning/with task, milestone, decision, and question recordsstate/with source manifests plus queue/run/query statereports/with timestamped lint and health reports
splendor init prints deterministic state review groups for configuration, human workspace,
source/derived state, and runtime state paths. In cold-start repositories, use those groups as the
first review checklist before committing generated state.
For a fuller walkthrough, see docs/guides/quickstart.md.
splendor repo scan --class documentation
splendor add-source README.md --capture-source-commit
splendor ingest --pending
splendor ingest --pending --apply
splendor query "current roadmap"repo scan, ingest --pending, source refresh, source update-path, workspace refresh, and
queue cleanup commands are preview-first where they can write state. Add --apply only after
reviewing the planned writes.
splendor source freshness
splendor queue inspect
splendor wiki status
splendor lint
splendor healthsplendor brief --agent-context "continue the next roadmap slice"
splendor suggest-next "continue the next roadmap slice"
splendor pr-summary --since mainAgent handoff is intended to keep work context ahead of Splendor maintenance. Maintenance state remains visible, but should not become the default next action for normal implementation goals.
splendor serveThe local web UI is read-only. Mutating web workflows are intentionally not part of the current surface.
For a fuller command overview, see docs/guides/cli_overview.md.
- Core state is local and file-based.
- Source manifests are curated records, not a dump of every file found in a repository.
- Discovery commands preview candidates before registration.
- Generated source summaries, queue records, run records, derived artifacts, and reports are reviewable git changes.
- Mutating maintenance commands expose preview/apply behavior where practical.
- External services are optional; core CLI workflows must remain usable without them.
- Documentation index
- Quickstart
- CLI overview
- Product spec
- Schema contracts
- Roadmap
- CI and repo automation
- Release artifact operations
- v0.5.2 release notes
Evaluation reports, design responses, and historical planning notes are kept under docs/ for
contributors who need them, but they are not the primary path for learning the tool.
Use the development environment and validation commands from AGENTS.md:
uv sync --dev
uv run ruff format --check .
uv run ruff check .
uv run pytest
uv run splendor lintFeature and PR work should be done on a descriptive branch, keep commits scoped, and land through a non-draft GitHub PR with labels, milestone, and a clear description.
- Previous completed PR sub-slice:
M20-P4.1 - Current planned slice:
M20 current-work authority model from v0.5.2 hocr retries - Current PR sub-slice:
M20-P1.5 - Current PR lifecycle:
branch=in-progress; main=merged - Next planned slice:
M20 current-work authority classifier implementation (#182) - Next planned PR sub-slice:
M20-P1.6
These planning-state lines are for contributors and agents. The detailed roadmap lives in docs/splendor_mvp_to_v1_roadmap.md.