Skip to content

fix(plugin): remove duplicate mission briefing injection - #33

Merged
madtank merged 1 commit into
mainfrom
fix/double-briefing-injection
Feb 22, 2026
Merged

madtank merged 1 commit into
mainfrom
fix/double-briefing-injection

Conversation

@madtank

@madtank madtank commented Feb 22, 2026

Copy link
Copy Markdown
Member

Summary

Removes duplicate mission briefing injection in the ax-platform plugin that was inflating prompt context and causing overflow risk.

Changes

  • In extension/channel/ax-channel.ts async dispatch path:
    • BodyForAgent now sends raw message
    • removed SystemContext: missionBriefing
    • removed now-unused local briefing variables
  • In sync dispatch path:
    • BodyForAgent now sends raw message
    • removed SystemContext: missionBriefing
    • removed now-unused local briefing variables
    • updated dispatcher log to remove context-length reference

Intent

Keep mission briefing injection in a single place (before_agent_start hook via prependContext) and avoid double-context construction.

Validation

No build/typecheck scripts are defined in extension/package.json; attempted script checks report missing scripts.

@madtank
madtank merged commit 926e149 into main Feb 22, 2026
1 check passed
@madtank
madtank deleted the fix/double-briefing-injection branch February 22, 2026 20:37
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