Skip to content

Mentor routes document links through connected sources - #928

Merged
zlareb1 merged 4 commits into
mainfrom
docs/mentor-connected-source-links
Nov 18, 2026
Merged

zlareb1 merged 4 commits into
mainfrom
docs/mentor-connected-source-links

Conversation

@zlareb1

@zlareb1 zlareb1 commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Improvement

Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):

Mentor guidance adds Drive file/folder, Notion page/database and Linear project links through the caller's connected sources and returns account-consent links when needed. This needs the next server release.

Why

The routing reference explains how to store a document but does not tell an agent how to add a document link to a connected source or return a browser consent link.

Scope and risk

Add one routing row and a short consent paragraph to the existing mentor reference, generate its plugin mirror, and bump both plugin manifests to 1.2.38. The guidance selects the caller's own connected source in the target namespace, looks up the operation's arguments, and adds the link through add_links. Missing connections use the requested provider's server-returned connect_url; missing or invalid links are reported, and the owner completes consent in the browser.

Compatibility, rollout and rollback

  • Wire: no operation, field or default changes. The guidance uses knowledge.source.list, knowledge.source.update and connection.list.
  • Operator steps: use the server release that includes connected accounts and connected source updates. No settings or data migration. The minimum-server-version constant is unchanged.
  • Rollback: reverting removes the guidance and version bump; no stored data changes.

Tests

  • Canonical plugin generation and --check: pass; the generated reference matches its source.
  • Prose, manifest JSON, static contract checks and git diff --check: pass.
  • Hosted cross-platform plugin checks pass, including the existing hanging-symbol case on Windows ARM. Its five-second end-to-end assertion, workload and timers are unchanged. Failure-only diagnostics report the already-collected request count and timing intervals. The earlier latency failure remains unexplained; the natural pass does not establish a performance fix.
  • No local tests, plugin evaluations, native sessions or application imports. Fresh independent whole review reports zero findings and nits across all five changed files and eight hunks. All 52 hosted checks and all four workflows pass.

AI assistance in the code (leave one; writing this description with AI is fine):

  • AI-generated: An agent wrote the change.

  • I can explain every line of this diff and how it interacts with the rest of Loom.

Checklist

  • make format-check, make lint, make typecheck and make test-unit pass; the integration suite passes if server behaviour changed.
  • Generated files are regenerated in this PR, not by hand: the Codex plugin reference.
  • No migration is added or edited.
  • Both plugin manifests use a version absent from the checked open PRs.
  • Frontend files are unchanged.
  • The guidance names existing operations and the server-release requirement is stated above.
  • Repository text contains no deployment details.
  • Commits are signed off.

Use existing connected sources and server-provided account links so document-link requests retain account ownership and browser consent.

Signed-off-by: zlareb1 <[email protected]>
@zlareb1
zlareb1 merged commit a5069c6 into main Nov 18, 2026
52 checks passed
@zlareb1 zlareb1 mentioned this pull request Nov 18, 2026
6 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant