Append Wiki Log Entry
wiki.logAppendAppend a typed operation entry to the wiki log with title, optional body and refs. Use to record decisions, notes, or other meaningful actions.
Instructions
Append one typed entry to wiki/log.md in the canonical format ## [YYYY-MM-DD] <op> | <title>, optionally followed by a body and a Refs: list. The format is chosen so grep '^## \[' log.md | tail -20 is a valid 'recent activity' query. Use this when the agent makes a wiki-meaningful action that no other wiki.* tool already logs (e.g. a decision or note); ingest and merge log themselves. Auto-runs wiki.init if the wiki has not been scaffolded yet. Idempotent only in the trivial sense — every call appends a new entry.
Operates on the session-active vault (see vault.current — selectable via vault.select) unless an explicit vaultPath argument is passed, which always wins.
Examples:
Example 1 — Log an architectural decision with two refs.:
{
"op": "decision",
"title": "Adopt gRPC for internal RPC",
"body": "Streaming + typed schemas outweigh the browser-edge tax.",
"refs": [
"wiki/Sources/adr-004.md",
"wiki/Concepts/grpc.md"
]
}Example 2 — Quick freeform note dated today.:
{
"op": "note",
"title": "Reviewed orphan pages from last sprint"
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | Log entry kind: ingest | query | lint | note | decision | merge. Becomes the `<op>` token in `## [YYYY-MM-DD] <op> | <title>`. | |
| body | No | Optional markdown body written under the heading. Omit for a heading-only entry. | |
| date | No | YYYY-MM-DD override for the entry date. Defaults to today. | |
| refs | No | Optional list of vault-relative paths or wiki-link targets rendered as a `Refs:` list under the entry. | |
| title | Yes | One-line title for the entry. Becomes the `<title>` token in the heading. | |
| wikiRoot | No | Per-call wiki directory override. | |
| vaultPath | No | Per-call vault override. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | The path or identifier the tool acted on. | |
| changed | Yes | True if the tool altered vault state on this call; false if it was a no-op. | |
| summary | Yes | Short human-readable summary of what happened. |