projectdocs and the AI

The AI in the chat panel reads and writes projectdocs through the projectdocs_* tools of the Tracemoor MCP server. Reading works in every session mode. Tools that write need Brave mode. See Session modes.

What the AI does with projectdocs

Tracemoor gives the AI these working rules with every session:

  • For questions about history, reasons or open work, search the projectdocs before the code.
  • Before changing a symbol, look up the entries and specs anchored to it. If a change contradicts an anchored decision, say so instead of overriding it.
  • After writing about code in an entry, anchor the central symbols. After a commit, add a commit anchor.
  • Bug reports: one file, status open → in-progress → closed, the fix as a Fix (date) section.

The rules are instructions to the AI, not checks. Review what the AI wrote in the dashboard.

Start a chat from an entry

An entry can be the starting point of a new chat session, for example a plan the next session should implement, or a handover note.

  • In the entry header, click Start a new chat session anchored to this entry, or
  • right-click the entry in a phase and choose New Chat from this, or
  • choose AI › New Chat from Current Entry.

A new session opens with the entry path in the chat input. The AI reads the entry when you send the message.

Append file path to the chat input and Send to chat add the path to the current session instead.

The AI links entries with ce://projectdocs links. Clicking one opens the dashboard at that place.

LinkOpens
ce://projectdocs?section=masterplanThe masterplan.
ce://projectdocs?section=phase&slug=<phase-slug>A phase.
ce://projectdocs?section=entry&slug=<phase-slug>&path=<path>An entry.
ce://projectdocs?section=decisionsThe decision records.

Tools

Read

ToolPurpose
projectdocs_list_phasesAll phases with status, order, parent and entry count.
projectdocs_read_entryOne entry, frontmatter and body.
projectdocs_search_docsFull-text search with #tag, §status and "phrase".
projectdocs_semantic_searchSearch by meaning, also across languages. With source: spec or all it includes specs.
projectdocs_for_symbolEntries anchored to a symbol.
symbols_for_projectdocSymbols anchored from an entry, with their current position.

Write (Brave mode)

ToolPurpose
projectdocs_create_phaseNew phase, optionally as a subphase.
projectdocs_rename_phase, projectdocs_set_phase_parentRename or move a phase.
projectdocs_set_phase_status, projectdocs_mark_phase_reviewedPhase status, review time. The AI does not set verified.
projectdocs_create_entryNew entry of any type.
projectdocs_append_entry_sectionAppend a section, for example Fix (date).
projectdocs_set_entry_status, projectdocs_set_entry_tagsLifecycle status, tags.
projectdocs_append_comment, projectdocs_toggle_commentComment blocks.
projectdocs_anchor_add, projectdocs_anchor_removeSymbol anchors. With ref=<slug> into a reference project.
projectdocs_commit_anchor_add, projectdocs_commit_anchor_removeCommit anchors.
projectdocs_sync_anchorsRebuild the local anchor index from the frontmatter of all entries.
session_new_chat_from_entryStart a new chat session with an entry and a starting text.

Semantic search

projectdocs_semantic_search combines keyword ranking with embeddings computed on your machine. It finds an entry that answers a question in other words or in another language. The embedding model is downloaded once, about 130 MB, on first use.