Repository navigation
feat: one agent engine: skills served from Gleap, and a coding session's ticket tools under Gleap's rules - #14
Draft
boehlerlukas wants to merge 15 commits into
Draft
boehlerlukas wants to merge 15 commits into
boehlerlukas wants to merge 15 commits into
Conversation
Moved from the private archive repo (PR #116 there). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ent-workflow route
The Server serves a session's brief on GET /gleapcode/sessions/{id}/agent-workflow
without a kind, as Markdown in `markdown` (`brief` is its structured form).
There is no agent-brief route. The required behaviour changed, so this test changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Server has no agent-brief route: it serves a session's brief on
GET /gleapcode/sessions/{id}/agent-workflow without a kind, as Markdown in
`markdown`. get_session_brief now calls that route and returns that text.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ain's tests do Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…o the customer Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The instruction text and five tool texts no longer state their own rule for customer messages and ticket ownership: they point at the session's brief and fall back to asking first. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Instruction rules 1-2 keep one text: a kickoff that names a session calls get_session_brief first, the brief decides ownership and customer messages (a code-fix session never sends), and without a rule in the brief the agent asks its operator first. README's send_message and draft_reply_to_composer rows follow the brief's reply rule. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…oped run reads none Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Both read the Server's skill library (GET /skills/library, /skills/library/{name}?file=): Gleap's skills from the
Server's skills/ folder and the workspace's own, with a workspace's changed version in place of Gleap's under the
same name. get_skill returns the SKILL.md (frontmatter and body) and, with file, one of its files (the workflow a
coding-app skill points to). Registered with the coding-agent tools, outside ChatGPT's list. Neither is on the
session-scope allow list, so a customer-scoped run is refused before any call reaches Gleap.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…tool calls to Gleap and show ran, refused or waits for approval Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…erator's billing and shop tools on its ticket, decided by Gleap's rules Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This was referenced Nov 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The MCP server's part of the "one agent engine" rework. One PR for this repo; it goes with the
engine/cleanPRs in Server and Frontend.What changes
list_skillsandget_skillserve the workspace's skills from Gleap (the Server'sskills/folder is the one source). A customer-scoped run reads none.list_ticket_toolsandcall_ticket_toolgive a coding session Operator's billing and shop tools on its ticket. Gleap's rules decide: ran, refused, or waits for approval.get_session_brief: the coding-session kickoff comes from the Server's agent-workflow route;solve_ticketprompt and session rules defer to the brief.This branch contains the work of the older drafts #13 (
operator/solve-ticket) and #9 (operator/session-brief), which it replaces.Needs
The Server's
engine/cleandeployed first: the skill library and ticket-tool routes live there.Checked
npm run typecheck: cleannpm test: exit 0Not run against a deployed Server.
🤖 Generated with Claude Code