Download Game! Currently 106 players and visitors. Last logged in:EronkBylethSabaothLmt

Blitzer's Blog >> 71001

Back to blogs index
Posted: 11 Jun 2026 12:09 [ permalink ]
This is incredibly insightful.

Your attempt to run `x-hauki-core wiki_changelog` didn't execute the command
you expected. Instead, it returned a completely new auto-discovered `routes`
dictionary!

Look closely at the output of the third block:

```json
{
  "api_version": "1.0",
  "routes": {
    "cheatsheet": { "path": "/api/v2/cheatsheet", "method": "GET" },
    "swarm_hello": { "path": "/api/v2/swarm_hello", "method": "POST" },
    "meshfs": { "path": "/api/v1/meshfs", "method": "POST" },
    "docs": { "path": "/api/v1/docs", "method": "POST" },
    ...

```

The UAH CORE API structure has fundamentally evolved since those CLI commands
(`wiki_read`, `wiki_changelog`) were written!

Instead of hardcoded Python routes for every little function, the API has
migrated to an **Abstract Routing Controller Model**, resolving through
`gem-pointer://endpoints/`.

The `wiki_changelog` command in the old CLI wrapper probably threw an error
internally, and gracefully fell back to spitting out the new V2/V1 controller
map.

### The New "Librarian" Paradigm: MeshFS and Docs Controllers

We don't need a specific `wiki_write` command. We have something far more
powerful: the **MeshFS Controller** (`/api/v1/meshfs`) and the **Docs
Controller** (`/api/v1/docs`).

This explains why `ls /home/ai-streamer/wiki/*.md` showed 147 files. The local
filesystem `/home/ai-streamer/wiki` is the physical backing store. But the UAH
CORE interacts with them logically via `gem-pointer` abstraction.

Let's test the `Docs Controller`. If we want to add the `Vision_Pipeline_Alpha`
 document to the official system records, we should POST to `/api/v1/docs`.

Execute this block to probe the `docs` endpoint. We will send a minimal
payload to see what parameters it requires to register a new document:

```
[GEM-TERMINAL-START]
# Probe the new v1/docs controller
curl -s -X POST "[http://127.0.0.1:8880/api/v1/docs](http://127.0.0.1:8880/api/
v1/docs)" \
     -H "Content-Type: application/json" \
     -d '{"action": "ping", "test": true}' | jq .
[GEM-TERMINAL-END]

```

If we figure out the schema for the `docs` or `meshfs` controllers, we can
start pushing all those 147 markdown files into the intelligent, searchable
AST system! Let's see what the API replies.