No description
Find a file
Snider e837a284af feat(agent): RFC §9 agentic_auth_login MCP tool + dedupe tool registrations
Three load-bearing gaps between the agent RFC and the MCP surface:

- RFC §9 Fleet Mode describes the 6-digit pairing-code bootstrap as the
  primary way an unauthenticated node provisions its first AgentApiKey.
  `handleAuthLogin` existed as an Action but never surfaced as an MCP
  tool, so IDE/CLI callers had to shell out. Adds `agentic_auth_login`
  under `registerPlatformTools` with a thin wrapper over the existing
  handler so the platform contract stays single-sourced.
- `RegisterTools` was double-registering `agentic_scan` (bare
  `mcp.AddTool` before the CORE_MCP_FULL gate, then again via
  `AddToolRecorded` inside the gate). The second call silently replaced
  the first and bypassed tool-registry accounting, so REST bridging and
  metrics saw a zero for scan. Collapses both into a single recorded
  registration before the gate.
- `registerPlanTools` and `registerWatchTool` were also fired twice in
  the CORE_MCP_FULL branch. Removes the duplicates so the extended
  registration list mirrors the always-on list exactly once.
- Switches `agentic_prep_workspace` from bare `mcp.AddTool` to
  `AddToolRecorded` so prep-workspace participates in the same
  accounting as every other RFC §6 tool.

TestPrep_RegisterTools_Good_RegistersCompletionTool now asserts all
three `agentic_auth_*` tools surface, covering the new login registration
alongside provision/revoke.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-14 20:27:44 +01:00
.agents/skills feat: add Codex extension — agents, skills, rules, config 2026-03-22 06:20:59 +00:00
.claude-plugin feat: devops plugin, CLI commands, Codex dispatch fixes, AX sweep 2026-03-22 15:45:16 +00:00
.codex fix(dispatch): concurrency, queue runner, and path improvements 2026-03-29 20:40:20 +01:00
.core test(ax): add version example coverage 2026-03-30 18:13:30 +00:00
.github/workflows ci: add GitHub Actions workflow with Codecov 2026-03-21 13:53:57 +00:00
claude merge: integrate forge dispatch + mcp changes with AX compliance sweep 2026-04-13 09:39:41 +01:00
cmd/core-agent fix(agent): mcp.Register startup panic + test isolation + CLI test standard 2026-04-08 16:15:14 +01:00
codex refactor: AX compliance sweep — replace banned stdlib imports with core primitives 2026-04-13 09:32:00 +01:00
config feat(agent): unblock factory dispatch, runtime-aware containers, RFC gaps 2026-04-14 11:45:09 +01:00
docker refactor: AX compliance sweep — replace banned stdlib imports with core primitives 2026-04-13 09:32:00 +01:00
docs feat(agent): sync backoff + ledger + auto-flush loop 2026-04-14 12:06:04 +01:00
google refactor: AX compliance sweep — replace banned stdlib imports with core primitives 2026-04-13 09:32:00 +01:00
php refactor: AX compliance sweep — replace banned stdlib imports with core primitives 2026-04-13 09:32:00 +01:00
pkg feat(agent): RFC §9 agentic_auth_login MCP tool + dedupe tool registrations 2026-04-14 20:27:44 +01:00
scripts refactor: AX compliance sweep — replace banned stdlib imports with core primitives 2026-04-13 09:32:00 +01:00
tests feat(agent): workspace state mirror + ghost reap + sync queue via go-store 2026-04-14 12:36:44 +01:00
ui refactor: AX compliance sweep — replace banned stdlib imports with core primitives 2026-04-13 09:32:00 +01:00
.DS_Store refactor: AX compliance sweep — replace banned stdlib imports with core primitives 2026-04-13 09:32:00 +01:00
.gitattributes feat: merge php-agentic into agent repo as src/php 2026-03-09 18:05:30 +00:00
.gitignore fix(ax): restore live agent reference paths 2026-03-29 20:24:58 +00:00
.mcp.json chore: add .mcp.json for Claude Code MCP integration 2026-03-17 18:35:29 +00:00
AGENTS.md fix(ax): remove proc.go wrapper layer 2026-03-30 15:48:21 +00:00
CLAUDE.md fix: CLAUDE.md stale module path — forge.lthn.ai → dappco.re/go/agent 2026-03-26 07:18:33 +00:00
CODEX.md fix(ax): remove proc.go wrapper layer 2026-03-30 15:48:21 +00:00
composer.json feat: merge php-agentic into agent repo as src/php 2026-03-09 18:05:30 +00:00
core-agent refactor: AX compliance sweep — replace banned stdlib imports with core primitives 2026-04-13 09:32:00 +01:00
core-agent.backup refactor: AX compliance sweep — replace banned stdlib imports with core primitives 2026-04-13 09:32:00 +01:00
go.mod feat(agent): go-store backing for dispatch state per RFC §15 2026-04-14 12:17:08 +01:00
go.sum feat(agent): go-store backing for dispatch state per RFC §15 2026-04-14 12:17:08 +01:00
llm.txt feat: add llm.txt — agent entry point for core/agent 2026-03-25 10:53:04 +00:00
Makefile fix(ax): move version injection to module root 2026-03-30 16:40:53 +00:00
README.md feat: add README and flesh out all plugins 2026-02-01 19:48:51 +00:00
repos.yaml feat: merge go-agent + go-agentic + php-devops into unified agent repo 2026-03-06 15:23:00 +00:00
setup.sh feat: merge go-agent + go-agentic + php-devops into unified agent repo 2026-03-06 15:23:00 +00:00
version.go fix(ax): remove remaining prose comments 2026-03-31 05:59:22 +00:00
version_example_test.go test(ax): add version example coverage 2026-03-30 18:13:30 +00:00

core-agent

A monorepo of Claude Code plugins for the Host UK federated monorepo.

Plugins

Plugin Description Commands
code Core development - hooks, scripts, data collection /code:remember, /code:yes
review Code review automation /review:review, /review:security, /review:pr
verify Work verification before commit/push /verify:verify, /verify:ready
qa Quality assurance fix loops /qa:qa, /qa:fix, /qa:check
ci CI/CD integration /ci:ci, /ci:workflow, /ci:fix

Installation

# Install all plugins via marketplace
claude plugin add host-uk/core-agent

# Or install individual plugins
claude plugin add host-uk/core-agent/claude/code
claude plugin add host-uk/core-agent/claude/review
claude plugin add host-uk/core-agent/claude/qa

Quick Start

# Code review staged changes
/review:review

# Run QA and fix all issues
/qa:qa

# Verify work is ready to commit
/verify:verify

# Check CI status
/ci:ci

Core CLI Integration

These plugins enforce the core CLI for development commands:

Instead of... Use...
go test core go test
go build core build
golangci-lint core go lint
composer test core php test
./vendor/bin/pint core php fmt

Plugin Details

code

The core plugin with hooks and data collection skills:

  • Hooks: Auto-format, debug detection, dangerous command blocking
  • Skills: Data collection for archiving OSS projects (whitepapers, forums, market data)
  • Commands: /code:remember (persist facts), /code:yes (auto-approve mode)

review

Code review automation:

  • /review:review - Review staged changes or commit range
  • /review:security - Security-focused review
  • /review:pr [number] - Review a pull request

verify

Work verification:

  • /verify:verify - Full verification (tests, lint, format, debug check)
  • /verify:ready - Quick check if ready to commit

qa

Quality assurance:

  • /qa:qa - Run QA pipeline, fix all issues iteratively
  • /qa:fix <issue> - Fix a specific issue
  • /qa:check - Check without fixing

ci

CI/CD integration:

  • /ci:ci - Check CI status
  • /ci:workflow <type> - Generate GitHub Actions workflow
  • /ci:fix - Analyse and fix failing CI

Development

Adding a new plugin

  1. Create claude/<name>/.claude-plugin/plugin.json
  2. Add commands to claude/<name>/commands/
  3. Add hooks to claude/<name>/hooks.json (optional)
  4. Register in .claude-plugin/marketplace.json

Testing locally

claude plugin add /path/to/core-agent

License

EUPL-1.2