Repository navigation
feat: get_session_brief, and instructions that match the Server's code-fix rule - #9
Closed
boehlerlukas wants to merge 8 commits into
Closed
boehlerlukas wants to merge 8 commits into
boehlerlukas wants to merge 8 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>
Contributor
Author
|
Closing in favour of #14 (branch |
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.
Contains the commits of #1 (
feat/session-brief:get_session_brief, the coding-session kickoff from the Server) plus one fix on top:send_messagefrom a session started from a ticket's code fix, and its brief says: report throughreport_progress, never write to the customer, Kai tells the customer. Rules 1 and 2 ofSERVER_INSTRUCTIONSsaid the session owns the ticket until it is solved, that "Gleap never refuses your writes", and to send approved customer messages withsend_message. Now: a code-fix session owns the ticket until its pull request is open, never sends to the customer and drafts inreport_progress(customerLine,customerUpdateMessage,customerShipMessage, which the Server still accepts); a person's own AI client working a ticket outside a code fix keeps the ask-your-operator-then-send rule. The README'ssend_messageanddraft_reply_to_composerlines say the same. A new test intests/mcp-endpoint.test.tspins the instruction text.Supersedes #1 if accepted. Depends on the Server branch
operator/17-merged-runsbeing deployed first (that is where the Server refusessend_messagefrom a code-fix session).Checks:
npm run typecheckclean,npm testpasses,npm run quality0 problems (3 warnings, all in #1'ssrc/tools/session.tool.ts/ files this fix did not add).25 November
report_progressacceptsagentKind: "antigravity"(Google Antigravity as a Kai Bridge agent; the Server accepts it in the same PR set).npm testpasses.🤖 Generated with Claude Code