HarborMenu
On this page

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).

  1. Browse the knowledge. Each page carries a role badge: Architecture, Current state, Roadmap, Decision, or Specification.
  2. Open Knowledge in the sidebar. It lists which recommended areas exist and links to each document.
  3. 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.
  4. Run entwine context --json to see the same knowledge as structured data for tools and coding agents, each document carrying its role.

Project knowledge

AreaDocumentQuestion it answers
ArchitectureHarbor architecture and the data modelHow is Harbor built today?
Current stateCurrent stateWhat is true right now?
RoadmapRoadmapWhat happens next?
DecisionsStatic output, Read-only first, Anonymous public readsWhy is it this way?
SpecificationsAuthentication, Search, Catalogue exportWhat do capabilities do?
Other knowledgeOperations runbookAnything 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.

Harbor knowledge mark

Source: examples/kitchen-sink/docs/index.md

Generated by Entwine ยท Markdown remains the source of truth.