Jarvis Deep Links and Read-Only Tools

Task 5122 · Done · Epic · created · updated

Jarvis improvements: - When referencing documentation, Jarvis should show clickable links - When referencing specific sections of the Jaah Console, Jarvis should give deep links to those sections, so that user can instantly to to a Directory/Tab/Subtab or to the specific task artifact - Enable Jarvis to use certain tools: - Initially Read-only, heavily guarded to what user can see - Initially only list/read Tasks, Projects, Nodes. List Credentials: name, type, only non-secret content - Tools are enabled/disabled in System Settings. Initial: off. Can be overriden by operator per tenant.

Subtasks

  • [business_analysis] Jarvis Deep Links and Read-Only Tools Done
    Settled Jarvis guide links, console deep links (incl. per-artifact URL) and read-only Tasks/Projects/Nodes/Credentials tools behind master + per-entity read/write switches (default off, operator per-tenant). 25 ACs with oracles in PRD.
  • [architecture] Jarvis Deep Links and Read-Only Tools Done
    Tools call console GET routes in-process as the user, with an unforgeable Jarvis mark in Audit; links checked server-side and live in the client; catalog pinned to App.tsx; 9 hidden org switches. 7 children: C1 URLs, C2 artifact, C3 catalog, C4 switches, C5 tools, C6 links, C7 dev check.
  • [plan] Jarvis Deep Links and Read-Only Tools Done
    7 coders (#5134–5140) in 3 phases, split along the architecture's boundaries. C5 is split into a reader/audit-mark child and an entity-tools child. C7's dev walk (AC6.6) moves to Finish; its checklist is in the report. Critic passed after one revision.
  • Guide doc URLs in knowledge base Done
    Guide passages now carry /docs/ page+anchor URLs (API ref → endpoint pages); search_docs returns url for guide hits only, never path. Migration 0364; build check: 1093 URLs resolve. Full gate green, PR #4523 merged. Latent slug edge cases deferred.
  • Make task artifacts URL addressable Done
    Artifacts are URL-addressable: /tasks/:id?tab=artifacts&artifact=<id> selects and renders that artifact; unknown/malformed ids fall back to newest and drop the param. 7 new web tests, full gate green, visual check desktop+phone OK. PR #4522 merged.
  • Jarvis tool switches and gating Done
    Added 9 operator-only Jarvis tools switches (default off, per-org override, hidden from tenants); support agent offers/dispatches entity tools only when master+read are on. Full gate green; PR #4524 merged. Entity tools & result rendering deferred to later children.
  • Console place catalog for deep links Done
    Console place catalog (87 places, entity hrefs, places_for) + 107-test pin against real App.tsx routes/tab tables; guards break tests when weakened. Full gate green; PR #4528 merged.
  • Console reader and Jarvis audit mark Done
    Built the in-process ConsoleReader (GET-only, route allowlist, not-visible mapping) and the "(via Jarvis)" audit mark (no last-seen/re-mint). Security gate approved; full gate green; PR #4530 merged. Entity tools deferred to their child.
  • Jarvis read-only entity lookup tools Done
    Built 8 read-only Jarvis entity tools (tasks/projects/nodes/credentials) with per-role parity, caps, links and a secret-free credentials view. Full gate green; operator approved the security gate; PR #4533 merged. Deferred: ticket-confirm hardening (security L1).
  • Sanitize and render Jarvis reply links Done
    Jarvis replies now link docs (new tab), console places and entities (in-app); server keeps only tool/catalog URLs, one shared fixture for both parsers. Full gate + CI green; PR #4536 merged. Fixture lives in apps/web/src/lib (documented).
  • [finish] Jarvis Deep Links and Read-Only Tools Done
    Epic delivered: all 7 coders merged (#4522–#4536), the full ask is met in code, and switches are off by default with per-tenant override. Filed follow-up 5152 (no create_ticket after a console read, security L1). Dev was unreachable from this node, so there was no live browser check.
  • Jarvis: no create ticket in a turn that read Done
    Jarvis now refuses create_ticket in any turn where a console tool returned data, and asks the user to confirm first. Prompt line and 3 tests added. Full gate green, reviews pass, operator approved; PR #4537 merged.

Artifacts

Activity

  • Created
  • Runner started
  • Ready
  • Ready
  • Ready
  • Runner started
  • Ready
  • Runner started
  • Awaiting response
  • Awaiting response
  • Awaiting response
  • Awaiting response
  • Awaiting response
  • Runner resumed
  • Awaiting response
  • Awaiting response
  • Awaiting response
  • Runner resumed
  • Runner ended (done)
  • Runner started
  • Awaiting response
  • Awaiting response
  • Awaiting response
  • Runner resumed
  • Runner ended (done)
  • Runner started
  • Draft
  • Draft
  • Draft
  • Draft
  • Draft
  • Draft
  • Draft
  • Draft
  • Ready
  • Ready
  • Ready
  • Ready
  • Ready
  • Ready
  • Ready
  • Ready
  • Runner ended (done)
  • Runner started
  • Runner started
  • Runner started
  • Runner ended (done)
  • Runner ended (done)
  • Runner ended (done)
  • Runner started
  • Runner started
  • Awaiting response
  • Awaiting response
  • Runner resumed
  • Runner ended (done)
  • Runner ended (done)
  • Runner started
  • Awaiting response
  • Awaiting response
  • Awaiting response
  • Runner resumed
  • Runner ended (done)
  • Runner started
  • Runner ended (done)
  • Runner started
  • Ready
  • Runner ended (done)
  • Runner started
  • Awaiting response
  • Awaiting response
  • Runner resumed
  • Runner ended (done)
  • Runner ended (done)