chore: Setup squad as a repo assistant#724
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Signed-off-by: Stephane Erbrech <stephane.erbrech@gmail.com>
Key change: two-layer state backend now uses squad_state_* MCP tools instead of raw git notes / orphan branch commands. Agents no longer hand-write mutable state — the runtime abstracts storage via squad_state_read/write/append/delete/list/health. Also adds: memory governance, new workflows, fact-checker template, loop template, and refactored templates into on-demand references. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Stephane Erbrech <stephane.erbrech@gmail.com>
7a5d53f to
37397b2
Compare
michaelawyu (michaelawyu)
approved these changes
Jun 1, 2026
michaelawyu (michaelawyu)
left a comment
Member
There was a problem hiding this comment.
Discussed offline ;) Let's merge this and explore a bit more
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of your changes
This PR sets up Squad for the KubeFleet repository as a trial of human-led AI agent teamwork for issue triage, routing, and contribution support.
Squad adds a persistent team definition to the repo so future Copilot/Squad sessions can reuse shared project context instead of rediscovering KubeFleet each time. The goal is to let Squad help with coordination, issue routing, repetitive triage, and contribution prep while keeping humans accountable for priorities, review, and merge decisions.
Squad composition
The initial team is defined in
.squad/team.mdand routed by.squad/routing.md:squad-labeled issues, and routes work to members.The team context identifies KubeFleet as a Go/Kubernetes/controller-runtime project, with open GitHub issues from
kubefleet-dev/kubefleetas the connected issue source.Why this is structured this way
Squad has mutable memory: decisions, agent histories, session logs, routing notes, and work-monitor state. That state should not pollute normal KubeFleet feature PRs, so this repo is configured with Squad's
two-layerstate backend:squad-statebranchRelevant Squad docs/context:
What changed
.github/agents/squad.agent.mdso GitHub Copilot can run the Squad coordinator..squad/team configuration, agent charters, routing rules, templates, and skills..squad/config.jsonwithstateBackend: "two-layer"..gitattributesunion merge rules for append-only Squad state files..gitignoreentries for local/runtime Squad state that should not be committed.How has this code been tested
Not code-path tested. This is repository automation/configuration scaffolding generated by Squad for the KubeFleet trial.
make reviewableto ensure this PR is ready for review.