Skip to content

feat(agent): plugin bootstrap wiring + diagnostics (2/4)#937

Draft
gh-xj wants to merge 6 commits intosipeed:mainfrom
gh-xj:xj/plugin-system-02281809-2-runtime
Draft

feat(agent): plugin bootstrap wiring + diagnostics (2/4)#937
gh-xj wants to merge 6 commits intosipeed:mainfrom
gh-xj:xj/plugin-system-02281809-2-runtime

Conversation

@gh-xj
Copy link
Collaborator

@gh-xj gh-xj commented Mar 1, 2026

📝 Description

Stacked series PR (2/4) for Plugin System Phase 2/3.

Scope in this PR:

  • startup wiring in agent/gateway
  • plugin resolution bootstrap on startup
  • startup plugin diagnostics
  • runtime safety hardening for routing/retry guards

🔗 Stack Context

📌 Implementation Parity Matrix

  • Runtime bootstrap wiring: cmd/picoclaw/internal/agent/helpers.go, cmd/picoclaw/internal/gateway/helpers.go
  • Startup resolution summary keys: plugins_enabled, plugins_disabled, plugins_unknown_enabled, plugins_unknown_disabled, plugins_warnings
  • Runtime hardening updates: pkg/agent/loop.go

🗣️ Type of Change

  • 🐞 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 📖 Documentation update
  • ⚡ Code refactoring (no functional changes, no api changes)

🤖 AI Code Generation

  • 🤖 Fully AI-generated (100% AI, 0% Human)
  • 🛠️ Mostly AI-generated (AI draft, Human verified/modified)
  • 👨‍💻 Mostly Human-written (Human lead, AI assisted or none)

🔗 Related Issue

Related: #473 (Plugin System Phase 2/3 rollout)
Depends on: #936

📚 Technical Context (Skip for Docs)

🧪 Test Environment

  • Hardware: GitHub Actions runner (x86_64)
  • OS: Ubuntu (CI)
  • Model/Provider: N/A
  • Channels: CLI + Gateway startup paths

📸 Evidence (Optional)

Click to view Logs/Screenshots

☑️ Checklist

  • My code/docs follow the style of this project.
  • I have performed a self-review of my own changes.
  • I have updated the documentation accordingly.

@gh-xj gh-xj changed the title feat(plugin-system 2/4): startup wiring + diagnostics feat(agent): plugin bootstrap wiring + diagnostics (2/4) Mar 1, 2026
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants