Harbor
Harbor is a small, fictional service for teams to catalogue shared datasets. This site is the project knowledge for that imaginary project, and it is a worked example of Entwine and its Knowledge Convention.
How to read this demo
This is what Entwine compiles from plain Markdown under docs/. There is no
documentation framework or theme, and docs/ needs no configuration. The optional
entwine.toml only switches on agent knowledge discovery (see below).
- Browse the knowledge. Each page carries a role badge: Architecture, Current state, Roadmap, Decision, or Specification.
- Open Knowledge in the sidebar. It lists which recommended areas exist and links to each document.
- Open Graph in the sidebar. It shows how those documents reference each other. Every link you see in the text is a relationship, and the Referenced by list at the bottom of each page is derived from them.
- Run
entwine context --jsonto see the same knowledge as structured data for tools and coding agents, each document carrying its role.
Project knowledge
| Area | Document | Question it answers |
|---|---|---|
| Architecture | Harbor architecture and the data model | How is Harbor built today? |
| Current state | Current state | What is true right now? |
| Roadmap | Roadmap | What happens next? |
| Decisions | Static output, Read-only first, Anonymous public reads | Why is it this way? |
| Specifications | Authentication, Search, Catalogue export | What do capabilities do? |
| Other knowledge | Operations runbook | Anything else worth keeping. |
The runbook is a free-form guide with its own type, and the data model lives in
design/ rather than architecture.md; Entwine recognizes it as architecture
from its metadata. The convention is recommended, not required.
Agent knowledge
Besides durable documentation, Harbor keeps agent-facing files in the repository:
the project instructions, scoped instructions for the
catalogue API, and two skills such as
triage a dataset report.
The entwine.toml in this example turns discovery on and
publishes them, so the Agents view and the graph show how they connect to
the documents above. Without that file Entwine would ignore them.
Connect an agent
A coding agent can read this same knowledge without scraping the generated site.
Entwine ships portable skills and a read-only MCP server that sit on top of
entwine context --json:
# Teach the agent the workflow
npx skills add https://github.com/Andersseen/Entwine/tree/main/skills --agent codex claude-code --copy -y
# Give it structured, read-only access to Harbor's documents
claude mcp add entwine --scope project -- npx --yes @entwine/mcp --root .
Through MCP the agent can ask for the architecture or the current state, follow the relationships around a decision, and run the validation, without being able to write anything. Markdown stays the source of truth.
Local workflow
entwine check
entwine dev
Your Markdown remains the source of truth. See CommonMark for the underlying Markdown syntax.
Repository and sections
The repository guide explains the Harbor example. Browse the design documents and operations documents as generated directory indexes.