Skip to content

chore: promote dev to main — agent v0.27.0 (Mantis #1216)#9

Merged
Snider merged 1 commit intomainfrom
dev
Apr 30, 2026
Merged

chore: promote dev to main — agent v0.27.0 (Mantis #1216)#9
Snider merged 1 commit intomainfrom
dev

Conversation

@Snider
Copy link
Copy Markdown
Contributor

@Snider Snider commented Apr 30, 2026

Brings v0.27.0 to main: refactor(go) propagating command-registration Result inline. Audit: 2527 → 2513 (-14). Closes Mantis #1216.

…216)

Convert bare `c.Command(...)` discard calls in agent's command
registration helpers to inline propagation:
  if r := c.Command("path", core.Command{...}); !r.OK { return r }

Each `registerXCommands(...)` function now returns core.Result and
threads errors back to the caller. The lane originally introduced a
commandRegistration struct + registerCommandSet/registerMissingCommandSet
helpers as an abstraction layer; those were inlined back to direct
c.Command(...) calls per Snider's review ("use core/go primitives,
don't build framework on top of them"). Net effect: same Result-
propagation behaviour without the new API surface.

Files:
  go/cmd/core-agent/{commands,main}.go
  go/pkg/agentic/commands{,_commit,_core,_forge,_phase,_plan,_platform,
                          _session,_setup,_sprint,_state,_task,_workspace}.go
  go/pkg/agentic/{fleet_mode,lang,pipeline_commands,prep,
                  process_register,repo_sync}.go
  go/pkg/lib/lib.go

22 files changed. Audit (audit.sh) baseline 2527 → 2513 (-14
result-discards, no new findings). Build, vet, test all clean. 0
gaming patterns.

Closes tasks.lthn.sh/view.php?id=1216

Co-authored-by: Codex <noreply@openai.com>
@Snider Snider merged commit 39a2d41 into main Apr 30, 2026
1 of 2 checks passed
@sonarqubecloud
Copy link
Copy Markdown

❌ The last analysis has failed.

See analysis details on SonarQube Cloud

@sonarqubecloud
Copy link
Copy Markdown

❌ The last analysis has failed.

See analysis details on SonarQube Cloud

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