micro--go-micro
830c8d84c2
* rename coordinator agent to conductor in example and docs * add plan & delegate integration harness Runs the real go-micro stack end to end — services, registry, RPC, the agent loop, store, and delegate-first routing — with only the LLM mocked by a deterministic provider. Proves discovery, tool execution, plan persistence, and agent-to-agent delegation over RPC work without an API key; swap the provider to run the same flow against a live model. * test: deterministic CI integration test + provider flag for harness - main_test.go: TestPlanDelegateEndToEnd drives the full real stack (services, RPC, agent loop, store, delegate-first routing) over a shared in-memory registry — no mDNS, no sleeps. Asserts 3 tasks created via RPC, plan persisted to the store, and delegation reaching the comms agent (notify called once). Passes under -race, ~0.03s. - main.go: add -provider flag (defaults to mock) and key detection so the same harness runs against a live model with no code change. * chore: gitignore built harness/example binaries --------- Co-authored-by: Claude <noreply@anthropic.com>
64 行
904 B
Plaintext
64 行
904 B
Plaintext
# Develop tools
|
|
/.idea/
|
|
/.trunk
|
|
|
|
# VS Code workspace files (keep settings for consistency)
|
|
/.vscode/*
|
|
!/.vscode/settings.json
|
|
|
|
# Binaries for programs and plugins
|
|
*.exe
|
|
*.exe~
|
|
*.dll
|
|
*.so
|
|
*.dylib
|
|
|
|
# Folders
|
|
_obj
|
|
_test
|
|
_build
|
|
|
|
# Architecture specific extensions/prefixes
|
|
*.[568vq]
|
|
[568vq].out
|
|
|
|
*.cgo1.go
|
|
*.cgo2.c
|
|
_cgo_defun.c
|
|
_cgo_gotypes.go
|
|
_cgo_export.*
|
|
|
|
# Test binary, build with `go test -c`
|
|
*.test
|
|
|
|
# Output of the go coverage tool, specifically when used with LiteIDE
|
|
*.out
|
|
coverage.html
|
|
|
|
# vim temp files
|
|
*~
|
|
*.swp
|
|
*.swo
|
|
|
|
# go work files
|
|
go.work
|
|
go.work.sum
|
|
|
|
# Build artifacts
|
|
dist/
|
|
bin/
|
|
|
|
# Example binaries (go build in examples/)
|
|
examples/**/server/server
|
|
examples/**/client/client
|
|
examples/mcp/documented/documented
|
|
examples/mcp/hello/hello
|
|
|
|
# IDE-specific files
|
|
.DS_Store
|
|
/micro
|
|
|
|
# Built example/harness binaries (go build ./path/... drops these at repo root)
|
|
/plan-delegate
|
|
/agent-plan-delegate
|