Skip to content

Fix agent registry name preservation with SQLite - #153

Open
codeaholicguy wants to merge 1 commit into
mainfrom
feature-agent-registry-sqlite
Open

Fix agent registry name preservation with SQLite#153
codeaholicguy wants to merge 1 commit into
mainfrom
feature-agent-registry-sqlite

Conversation

@codeaholicguy

Copy link
Copy Markdown
Owner

Summary

  • Replace the JSON-backed live agent registry with a SQLite-backed registry keyed by provider type and PID.
  • Preserve user-managed agent names and tmux session metadata when adapter polling emits generated fallback names.
  • Import legacy agents.json entries into SQLite with same-PID dedupe and add lifecycle docs for the change.

Validation

  • npm test --workspace @ai-devkit/agent-manager -- AgentRegistry.test.ts AgentManager.test.ts CodexAdapter.test.ts GeminiCliAdapter.test.ts PiAdapter.test.ts CopilotAdapter.test.ts PrintAgentStore.test.ts
  • npm test --workspace ai-devkit -- agent.service.test.ts agent.test.ts
  • npm run typecheck --workspace @ai-devkit/agent-manager
  • npm run build --workspace @ai-devkit/agent-manager
  • npm run lint --workspace @ai-devkit/agent-manager
  • npm run lint --workspace ai-devkit (passes with existing warnings)
  • npx ai-devkit@latest lint --feature agent-registry-sqlite
  • npx ai-devkit@latest lint

Notes

  • Full agent-manager test suite is blocked in this sandbox by unrelated ClaudePrintAgent.integration.test.ts because local ps process identity lookup is denied.

@codeaholicguy
codeaholicguy force-pushed the feature-agent-registry-sqlite branch from 6a7ee30 to a537ee8 Compare August 13, 2026 11:35
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