gentropic.org
@gcu/weir
First seen 2026-11-05 · Last seen 2026-11-05 · Source: webmcp.com
Answer 15 · Act 32 · Transact 2 · Score: Not yet scored
Tool inspector
weir_ingestRepo
Ingest a code repo’s own DOCS as a first-class source (SPEC-repos-as-source) — so the GCU constellation becomes a queryable subgraph in weir. weir never runs git; YOU (with the files + git) decide WHAT to ingest. `repo` = the repo name/path (e.g. "auditable"). `anchor` = the commit SHA these docs are from. TWO ways to supply content: (a) **`paths`** = [path strings, or { path, title?, url? }] — weir reads each NAMED file from the read-only repos folder you mounted in Settings (no full text through this call; the way to ingest at fidelity without a verbatim conduit); (b) **`docs`** = [{ path, title?, markdown, url?, date? }] — you pass the body inline (use for a gitignored/untracked file like CLAUDE.md, or when no folder is mounted). Mix both. README/SPEC/docs/CLAUDE.md — docs, NOT code. First call CREATES the source as a proposal (→ weir_reviewQueue, ratify like a feed); later calls REFRESH it (and can fix the name/category/rationale in place). REFRESH recipe: read the stored anchor from weir_listSources, run `git diff --name-only HEAD -- ` (+ `--diff-filter=D` for deletions) locally, then call this with only the changed `paths`/`docs` + the new HEAD as `anchor` + deleted paths in `removed`. Idempotent (stable ids; never resets read/saved/tags); `removed` archives (never deletes). Docs become `doc` items — searchable, quotable, relatable; relate your dive-map (a stacks note) to them with weir_relate. Returns { ok, source, inserted, updated, removed, anchor, bodyless?, bodylessReason? } — `bodyless` lists paths that landed with NO body (they can't be cataloged — no text to read), and `bodylessReason` maps each to WHY (not-found | read-error: | empty | no-path) so you can self-diagnose. Paths are repo-relative (weir prepends the repo slug → ` / / `); keep them repo-relative so re-ingest updates the same items in place.
Page: /weir/
Input schema
| Property | Type | Required | Description |
|---|---|---|---|
repo |
string | yes | The repo name or path (e.g. "auditable" or "../auditable") — the source key + mounted-folder dir is its basename |
name |
string | no | Display name for the source (default: "<repo> (repo)"); updatable on refresh |
anchor |
string | no | The commit SHA these docs are from — the dive-ledger anchor; advanced on each refresh |
paths |
array | no | Doc paths to READ from the mounted repos folder: ["README.md", …] or [{ path, title?, url? }]. No verbatim conduit — weir reads the named files itself. |
docs |
array | no | Docs with inline bodies: [{ path, title?, markdown, url?, date? }] — for gitignored/untracked files or when no folder is mounted |
removed |
array | no | Doc paths deleted since the anchor — archived (never deleted) |
category |
string | no | Folder to group the source under (default "repos"); updatable on refresh |
rationale |
string | no | Why you are adding this source — shown in the review queue; updatable on refresh (capped to a short blurb) |
Raw JSON schema
{
"type": "object",
"properties": {
"repo": {
"type": "string",
"description": "The repo name or path (e.g. \"auditable\" or \"../auditable\") — the source key + mounted-folder dir is its basename"
},
"name": {
"type": "string",
"description": "Display name for the source (default: \"<repo> (repo)\"); updatable on refresh"
},
"anchor": {
"type": "string",
"description": "The commit SHA these docs are from — the dive-ledger anchor; advanced on each refresh"
},
"paths": {
"type": "array",
"description": "Doc paths to READ from the mounted repos folder: [\"README.md\", …] or [{ path, title?, url? }]. No verbatim conduit — weir reads the named files itself.",
"items": {}
},
"docs": {
"type": "array",
"description": "Docs with inline bodies: [{ path, title?, markdown, url?, date? }] — for gitignored/untracked files or when no folder is mounted",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"markdown": {
"type": "string"
},
"url": {
"type": "string"
},
"date": {
"type": "string"
}
},
"required": [
"path"
]
}
},
"removed": {
"type": "array",
"items": {
"type": "string"
},
"description": "Doc paths deleted since the anchor — archived (never deleted)"
},
"category": {
"type": "string",
"description": "Folder to group the source under (default \"repos\"); updatable on refresh"
},
"rationale": {
"type": "string",
"description": "Why you are adding this source — shown in the review queue; updatable on refresh (capped to a short blurb)"
}
},
"required": [
"repo"
]
}
Similar websites
wfsim.app
A Warframe calculator that simulates the fight instead of estimating it — builder, simulator, optimizer. Every formula cites its source, and the golden tests ar…
commonplace-webmcp.vercel.app
Commonplace is an editable social reading space built for people and their browser agents.
pixelforge-studio.appcaster.chatgpt.site
A professional browser pixel-art editor for drawing, frame animation, palettes, sprite sheets, GIF export, and WebMCP automation.
pixelite.taskcraft.site
Pixelite