Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/plugin/marketplace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "agentcouncil",
"owner": {
"name": "Shlomi Shaki",
"url": "https://github.com/Sentry01"
},
"metadata": {
"description": "AgentCouncil: multi-model council plugin for GitHub Copilot CLI.",
"version": "2.0.0"
},
"plugins": [
{
"name": "agentcouncil",
"source": "./",
"description": "Multi-model council for Copilot CLI. Three subagents on different model families answer independently, then build on each other or attack the leading answer before an orchestrator writes the final result.",
"version": "2.0.0"
}
]
}
20 changes: 20 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Validate

on:
push:
branches: [main]
pull_request:

permissions:
contents: read

jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Validate plugin, skill, agent and docs
run: node scripts/validate.mjs
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Changelog

All notable changes to this project are documented here. Versions follow [Semantic Versioning](https://semver.org/).

## [Unreleased]

## [2.0.0] - 2026-10-17

### Breaking

- The plugin, skill and marketplace are now named `agentcouncil`. The name `agent-council` is already used by a different plugin in the awesome-copilot marketplace.
- When installed as a plugin, the agent ID is `agentcouncil:agentcouncil` (`copilot --agent agentcouncil:agentcouncil`). `--agent AgentCouncil` only worked for manually copied files.
- `plugin.json` uses the Agent Plugins 1.0 format. The agent moved to `com.github.copilot/agents/`.
- Explicit invocations (a council prefix such as `council:`, or the agent) always convene. Simple tasks run the new light path instead of being answered directly.

### Added

- Light effort path: one concise pass per seat plus a short synthesis (4 subagent calls).
- Context brief sent to every seat. Seats are told to work read-only.
- Anonymized, reordered inputs for every orchestrator call. Adversarial triage now runs on the orchestrator seat instead of the session model.
- Per-seat fallback lists, a family-diversity rule, user model overrides and a footer that discloses the models that actually ran.
- Routing evals (`evals/routing.json`, `scripts/eval-routing.mjs`), a validation script (`scripts/validate.mjs`) and a CI workflow.
- `.github/plugin/marketplace.json`, so this repository is its own plugin marketplace.
- LICENSE (MIT), CONTRIBUTING.md and this changelog.

### Changed

- Default models: Alpha `claude-opus-5.5`, Beta `gpt-6.1-sol`, Gamma `gemini-4-argon`, Orchestrator `claude-opus-5.5`. The previous defaults (`claude-opus-4.6`, `gpt-5.4`, `gemini-3.1-pro`) are retired or superseded.
- Mode routing checks the prefix first, then the user's intent, instead of matching keywords as substrings. "VS Code" and "the challenge is" no longer trigger adversarial mode, and choose-between and go/no-go questions now route to adversarial.
- Domain rules: data model and service API design is architecture, not code.
- Confidence labels must state what they rest on. The orchestrator weights evidence, not labels.
- The collaborative improve round always ends with a Tensions section, and unadopted first-draft ideas reach the synthesis.
- `SKILL.md` is a short router. Phase prompts live in `references/` and are loaded only for the chosen path.
- The agent is a thin wrapper that loads the skill. Its tools are reduced to read, search, agent, web, todo and skill.
- Documentation rewritten in plain style.

### Removed

- The duplicated protocol in the agent file.
- Manual install instructions that copied files into `~/.copilot`.

## [1.0.0] - 2026-09-16

- First plugin release: `plugin.json`, collaborative and adversarial modes, complexity gate, domain detection, confidence labels and partial-consensus attacks. Earlier history (from 2026-02-09) is in the git log.
40 changes: 40 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Contributing

## Layout

| Path | Purpose |
|---|---|
| `skills/agentcouncil/SKILL.md` | Source of truth: routing, model roster, dispatch and output rules |
| `skills/agentcouncil/references/` | Phase prompts, loaded only for the chosen path |
| `com.github.copilot/agents/agentcouncil.agent.md` | Thin agent that loads the skill |
| `plugin.json` | Agent Plugins 1.0 manifest |
| `.github/plugin/marketplace.json` | Lets this repository act as a plugin marketplace |
| `evals/routing.json` | Routing test cases |
| `scripts/validate.mjs` | Static checks, run in CI |
| `scripts/eval-routing.mjs` | Routing eval, run locally |

## Making a change

1. Edit the skill. Keep protocol logic in `SKILL.md` and `references/`; the agent should stay a thin wrapper.
2. Load your working copy without installing it: `copilot --plugin-dir .`, then try a prompt such as `quick council: ...`.
3. Run `node scripts/validate.mjs`.
4. If you changed Steps 1 to 4 (routing), add cases to `evals/routing.json` and run `node scripts/eval-routing.mjs --runs 2`. It needs Copilot CLI and `gh auth login`, makes one model call per run, and uses a temporary `COPILOT_HOME` so your personal instructions and skills do not affect the result. Try `--model` with a model from another family too, since routing runs on whatever model the user's session uses.
5. Add a line to the Unreleased section of `CHANGELOG.md`.

Documentation style: plain ASCII punctuation, no emoji, no em dashes. `validate.mjs` enforces this. Never write a dollar sign directly before a digit in skill files, because skill loaders expand it as an argument placeholder.

## Updating models

1. Check [Supported AI models](https://docs.github.com/en/copilot/reference/ai-models/supported-models) and the [Copilot changelog](https://github.blog/changelog/) for retirements.
2. Edit the roster table in `SKILL.md` (Step 6). Keep one family per seat.
3. Run `node scripts/validate.mjs`. It fails if the README, agent or references still name a model that is not in the roster.
4. Run one light council end to end with `copilot --plugin-dir .` and check the footer.

## Releasing

1. Bump the version in `plugin.json` and in both places in `.github/plugin/marketplace.json` (`metadata.version` and the plugin entry).
2. Move the Unreleased changelog notes under a heading for the new version.
3. Run `node scripts/validate.mjs`, then merge to `main`.
4. Tag and publish: `git tag vX.Y.Z && git push origin vX.Y.Z`, then create a GitHub release from the tag.

Users pick up the release with `copilot plugin marketplace update agentcouncil` and `copilot plugin update agentcouncil@agentcouncil`. Listings that pin a tag, such as an awesome-copilot external entry, need their ref bumped separately.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 Shlomi Shaki

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading
Loading