Skip to content

Update main from bpsa#58

Merged
joaopauloschuler merged 9 commits into
v1.23-bpfrom
bpsa
Mar 4, 2026
Merged

Update main from bpsa#58
joaopauloschuler merged 9 commits into
v1.23-bpfrom
bpsa

Conversation

@joaopauloschuler

Copy link
Copy Markdown
Owner

No description provided.

joaopauloschuler and others added 9 commits March 3, 2026 23:13
…ore last message

Previously, knowledge was inserted as a USER message just before the last message,
which disrupted the natural conversation flow. Now it is injected as a SYSTEM message
immediately after the system prompt, treating it as foundational background context.

Co-Authored-By: bpsa2 <241537330+bpsa2@users.noreply.github.com>
The knowledge block is still injected just before the last message,
but now uses SYSTEM role instead of USER role, better signalling
it as background context rather than a conversational turn.

Co-Authored-By: bpsa2 <241537330+bpsa2@users.noreply.github.com>
New context order:
1. All memory steps (TaskStep, PlanningStep, ActionStep)
2. System prompt (SYSTEM role)
3. Knowledge (USER message, just before last message)
4. Last message

Co-Authored-By: bpsa2 <241537330+bpsa2@users.noreply.github.com>
The knowledge role was changed to SYSTEM in a previous commit but was
inadvertently reverted to USER during the context reordering. Now restored.

Co-Authored-By: bpsa2 <241537330+bpsa2@users.noreply.github.com>
…ence note, fix merge output format

- Remove 'To your own benefit' phrase (unnecessary justification)
- Add explicit note that original steps are permanently removed after
  compression, so the compressor writes more carefully
- Add structured <summary>/<knowledge_updates> output format to merge
  prompt, consistent with the main compression prompt

Co-Authored-By: bpsa2 <241537330+bpsa2@users.noreply.github.com>
- Add MCP server integration feature bullet to README.md features list
- Add --mcp usage examples to README.md CLI usage block
- Add new MCP Server Integration section to CLI.md
- Add --mcp usage examples to CLI.md quick-start block

Co-Authored-By: bpsa2 <241537330+bpsa2@users.noreply.github.com>
- Read BPSA_MCP env var (newline-separated) and merge with --mcp CLI flags
- Document BPSA_MCP in CLI.md env vars table
- Document BPSA_MCP usage in MCP Server Integration section

Co-Authored-By: bpsa2 <241537330+bpsa2@users.noreply.github.com>
Co-Authored-By: bpsa2 <241537330+bpsa2@users.noreply.github.com>
@joaopauloschuler joaopauloschuler self-assigned this Mar 4, 2026
@joaopauloschuler joaopauloschuler merged commit f881eac into v1.23-bp Mar 4, 2026
1 of 4 checks passed
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