WFDASH-WEBAPP/.agents/skills/wfdash-giellie
SJCoetz 8fe80fefc8 docs(giellie): refresh skill doc — corrected host, all tokens, smoke-test findings
Bring the Giellie agent's operating manual in line with the live production
state after the 2026-08-04 smoke test against https://wfdash.apphub.co.za.

Bugs / quirks documented (with workarounds):
  - tools.discovery was unwired; now fixed in code (separate commit),
    live server needs redeploy before response changes
  - orders.list silently ignores 'filter'; only 'search' is honoured
  - quotes.lookup returns opaque 'fetch failed' — use quotes.list instead
  - collection_pool.list + sprint.list return 'Missing collection context'
  - orders.get 'not found' for at least one valid id
  - quotes.items.rewrite was incorrectly listed as an MCP tool (it's REST)

Architectural gaps documented:
  - No quote_items.list MCP tool; quotes.create_from_email returns item
    count only, so a freshly-ingested quote's item IDs can't be recovered
    via the agent API
  - is_processed is intentionally NOT in bulk_update_quote_items whitelist;
    end-to-end create→price→render pipeline requires human in the UI

Credentials & endpoints now include every token the agent might need:
AGENT_API_KEY, PB admin email/password, n8n base URL + API key, six
n8n webhook URLs (rewriter, price-list match, PO send, AI insights,
markup approval, customer list, QB invoice creator), TomTom map key.

Other updates:
  - Replaced stale base URL wfdash.davidels.dev with wfdash.apphub.co.za
  - Bumped tool count 69 → 70 (tools.discovery added to catalog)
  - Added three-way tool discovery guide (tools/list, tools.discovery,
    GET /api/mcp)
  - Added 'Quote PDF rendering' guide explaining the 422 gates,
    status transitions, and letterhead codes
  - Added change log at the bottom
  - All worked examples updated to the correct host

Co-authored-by: Orca <help@stably.ai>
2026-08-04 22:47:55 +02:00
..
SKILL.md docs(giellie): refresh skill doc — corrected host, all tokens, smoke-test findings 2026-08-04 22:47:55 +02:00