Repository navigation
v0.19.0
Added
-
Scripted rate-table seeding under
routing=economy(applies only underrouting=economy;off,ranked, andmanualkeep the v0.18.1 Scribe procedure). Newscripts/Initialize-SquadConsumptionRates.ps1(PowerShell 7+) copies the template seed block intoconsumption-rates.md, preserves the calibration block, and validates shape with-Check: a missing template row fails, a well-formed operator-added row only warns and survives a reseed, and a malformed operator row is never deleted silently (exit 1, file untouched, unless the operator approves-DropMalformedRows). It readsteam.mdand refuses with exit 7 unless it recordsModel routing: economy; at Init, beforeteam.mdexists, it takes-Modefrom the payload.Measure-SquadLedger.ps1also accepts-ExpectedHistoryCountsas a string ('Squad Implementor=2;Squad Scribe=1'or JSON) so it can crosspwsh -File, and reads the roster's primary-agent column under its common spellings; both are additive and change nothing for existing callers. A directMeasure-SquadLedger.ps1 -Write(the Scribe's manual fallback, in every mode) now writesconsumption.mdandstate.jsonthrough a temp file and a replace, and restoresconsumption.mdwhen thestate.jsonwrite fails, so it never leaves one file updated alone. Seereferences/economy-mode.md. -
Bounded lane and plan-driven parallelism under
routing=economy(applies only underrouting=economy, interactive mode only;off,ranked, andmanualkeep Research -> Plan -> Implement -> Review and sequential owners exactly as in v0.18.1). Under economy, a fully specified, low-risk request may skip Research and Plan only when every criterion holds: exact files and change named, no open questions, one owner or disjoint write sets, no council lens engaged (the #144 task-fit lenses: architecture, security, cost, product-fit, RAI), and no Impactful-Action, Risk, intake, or discovery trigger. The owning role is still dispatched,testerstill closes, any doubt orpipeline=fullkeeps the full pipeline,mode=autonomous,mode=autopilot, and Watch Mode never use it, and the decision recordsRoute: boundedwith each criterion's evidence. A bounded owner brief names the write set, change, validation command, and change record and returnsblocked: not boundedwhen a dependent needs a change. Owners of adeliverable-fan-outplan (or a bounded request's independent items) with proven disjoint write sets may run concurrently under one confirmation listing every owner, tier, and write set; anescalate-tier owner is never batched. All of it lives inreferences/economy-mode.md; a Tier 0 test asserts no hot file carries lane or parallelism text. -
Scripted Cost Preflight write under
routing=economy(applies only underrouting=economy; other modes keep the v0.18.1 transaction). Newscripts/Set-SquadCostPreflight.ps1performs the coordinator's pre-dispatch Cost Preflight transaction deterministically: closed key set, compare-and-swap onupdated, the exact legacy schema bump, and read-back. It readsteam.mdand refuses with exit 7, writing nothing, unless it recordsModel routing: economy. Seereferences/economy-mode.md. -
Dispatch brief under
routing=economy(applies only underrouting=economy). New read-onlyscripts/Get-SquadDispatchBrief.ps1prints in one call, under the Copilot CLI's 20,480-byte inline output limit, what an economy coordinator otherwise finds out turn by turn: next hand-offturn, federation, cost-ceiling, ledger and routing status, whether the## Economy Mode Acceptedconsent is recorded (consent: recordedorconsent: missing, with a WARN to state the trade and record it before any dispatch), a reminder that every history record needsRoute: economyorRoute: bounded, the roster read fromteam.mdby column header (agent and Alternates with dispatchability for the Step 1b precheck, pin,Modelcell, rate row, deliverable root), ready consumption objects, the Scribe'sWrite-SquadHandoff.ps1command line, and the Bounded Lane, Plan-Driven Parallelism, and Scripted Writes sections ofreferences/economy-mode.mdverbatim. It picks no model and refuses with exit 7, printing nothing, unlessteam.mdrecordsModel routing: economy. Earlier paired live runs (3 each, Sonnet 5 coordinator) moved the median from 369 s / 101.2 credits to 307 s / 67.3 credits, but those runs also gave owners a cheaper model and predate the economy-only rework; the five-arm benchmark (#147) is the measurement of record. -
FinOps value measures for the squad's own AI spend.
Measure-SquadLedger.ps1now writes a## Unit Economics (value)section intoconsumption.mdon every hand-off (and aunitEconomicsobject with-Format json): deliverables produced, accepted by an independent review-class verdict, rejected and unreviewed; dispatches and rework dispatches; first-pass yield; estimated credits per accepted deliverable; rework and orchestration shares of estimated credits; and, when the host session is found, host-billed credits per accepted deliverable. Every figure carries ameasured,estimatedorderivedlabel, and-Checkignores the section. This applies in every routing mode. A review that names deliverables (full path, or a file name no other deliverable of its turn and workstream shares, in itsRequestorOutcome) accepts or rejects only those it names; an ambiguous file name names neither deliverable, and a review naming none covers its turn and workstream. The section never changes the-Checkresult or its v0.18.1 failure class. Rework counts only a repeat of the same agent and deliverable path, so a fix by another agent or to another file is not counted and the rework figures are a floor; the section says so. The-Writesuccess message names the new section. TheSquad Cost Managergains an AI spend review mode that reads these figures, counts value only for accepted deliverables, compares medians of at least three like runs, flags a run above 1.5 times the comparable median, and ranks recommendations by credits saved per accepted deliverable, with pin, ceiling and roster changes atconfirmtier. These follow the FinOps Foundation unit-economics and error-and-retry-waste KPIs. -
No reproducible way to show a routing change is faster, cheaper, and no worse.
Add an opt-in live benchmark undertests/tier2/live-benchmark/that runs a baseline and a candidate squad
source (default,routing=ranked,routing=economy) on easy, medium, and hard tasks of one fixture in a
counterbalanced order, scores each run with hidden tests, planted mutants, doc checks, review and ledger
verdicts, records seconds, credits, tokens, and per-role model assignment, blind-judges anonymised diffs, and
writes a median-and-paired-difference report. Its offline self-checks need no model. -
Review-saw-the-final-files check for scripted hand-offs (applies only under
routing=economy). Underrouting=economy,scripts/Write-SquadHandoff.ps1refuses a hand-off (exit 1, nothing written) when an owner deliverable was modified more than 2 s after the closing review's own deliverable; only re-dispatching the review on the final files clears it. It compares file times and does not prove an owner reported it was finished. An optional-SnapshotPath/-VerifySnapshotPathpair (with-WaitStable) compares hashes for write sets the check cannot see. Both refuse with exit 7 outside economy. Seereferences/economy-mode.md. -
Opt-in
routing=economyfor cheaper implementation picks (applies only underrouting=economy;off,ranked, andmanualare unchanged from v0.18.1). A new routing mode, persisted asModel routing: economyinteam.md. Its whole procedure lives in the new cold referencereferences/economy-mode.md, read only under economy;model-routing.mdcarries one table row and one sentence pointing to it, and no other hot file grows beyond the mode's name in a list. Switching to economy first tells the user once what changes and records a## Economy Mode Accepted <timestamp>decision with fixedUser,Previous mode,Trade accepted, andNever weakenedbullets, written by the Scribe with the roster refresh;Resolve-SquadModelRoute.ps1reportsconsent: recordedorconsent: missingunder economy (a warning, never a refusal); every history entry under it carriesRoute: economy. Only an explicit allowlist of roles (developer,technical-writer,presenter,prompt-engineer,data-scientist) gets the lowest-Blended id at fit 2 or better within its own Model Tier floor;product-owner,deployer,iac-author,release-engineer,backlog-executor, every review and council role, and every other role keep theirrankedpick, and no floor or gate is relaxed. After aFailverdict, a Critical or High finding, or ablockedowner, that owner is re-dispatched once on itsrankedpick, which the Scribe writes into the cell first; when the economy pick already is the ranked pick there is no escalation. A Watch Mode trigger'srouting=economytext is ignored like every other routing input.scripts/Resolve-SquadModelRoute.ps1 -Mode economyapplies the allowlist and returns the pick, the escalation id, and the agent's pin (now also found in an installed plugin'sagents/folder). A new Tier 0 test keeps 30 hot files (every file a default, ranked, or manual run reads each turn) within a one-line pointer of v0.18.1. -
Scripted ordinary hand-off under
routing=economy(applies only underrouting=economy;off,ranked, andmanualkeep the v0.18.1 Scribe procedure byte for byte). Under economy the coordinator adds"handoff": "script"to an ordinary payload (history, decision, orchestration, state advance), and the Squad Scribe, still the single writer, reads only the new Scribe-onlyreferences/economy-scribe.md(under 3 KB) and runs the newscripts/Write-SquadHandoff.ps1on it as its first action; it reads its full hot core only on fallback, so an economy hand-off reads about 2.7 KB instead of about 80 KB pluseconomy-mode.md. The script validates a closed-key JSON payload before writing, appends theentry-schemas.mdshapes, advancesstate.json, runs the ledger-Write, and keeps the writes when-Check -ExpectedHistoryCountspasses or reports only a v0.18.1ledger-onlymismatch (printed asWARN ledger-only:); ahistory-integrityfailure, a missing failure class, or a crash rolls back with exit 3. It refuses with exit 7 unlessteam.mdrecordsModel routing: economy, holds an exclusive per-root lock keyed by the canonical root (8.3 short names, junctions, and links resolve to one lock; exit 8 on timeout; a crashed holder releases it), reads every state-dependent value after the lock, and lands two ordinary hand-offs started at once one after the other (a deliverable is credited once, exit 1 otherwise), warns without refusing when the## Economy Mode Accepteddecision is missing or a record lacks itsRoute: economyorRoute: boundedmarker (it adds the marker), and on failure restores only files still holding the bytes it wrote. Anything outside its scope (a cost ceiling, a federation root, an unrostered agent, secret-like text, a replay) goes back to the Scribe's own procedure with exit 2.references/economy-mode.mddocuments the payload with a complete example that a Tier 0 test feeds to the script, and an economy-only## Intake Waiverdecision that lets an unattended run continue without an intake verdict only when it is recorded and named in the final synthesis. The Scribe agent gains one exception line and its hot core one Cold-File Dispatch Table row, and stays within its byte budget.tests/tier1/benchmark/scribe-writer-ab-2026-10-05.mdcompares who runs the script (about 16% fewer credits when the Scribe does, no consistent time difference); it is not a speed claim for the script. -
Foundry projects need coordinated design and current-source evidence, not another specialist agent. Add the opt-in
foundrypack with eight specialist roles, scoped guidance for those specialists and the four-role methodology spine, independent architecture and implementation review, gated deployment through the official Foundry skill, a seven-block blueprint, concise platform questions, the registeredmicrosoft-foundry,use-ai-gateway,azure-aigateway, andcairaskills, and English/French worked examples. Add explicit active-pack state, registry-driven Tier 0 checks, and one parameterized live lifecycle scenario so later packs do not add coordinator or runner special cases (squad-src/.github/skills/squad/references/foundry-blueprint.md). -
Consumers can bring their own agents and workflows into squad roles. File-based connectors support replacement and additive bindings, saved autopilot defaults, native-agent resume with pinned member/owner identity, a deterministic scripted lifecycle with durable replay protection, cross-turn collision snapshots including empty or single-file roots, squad-scoped outputs, and historical attribution preserved during ledger regeneration after confirmed binding changes while preserving internal coordination and council governance (
squad-src/.github/skills/squad/references/connector-role-modes.md). -
Connector onboarding includes copyable configuration. English and French walkthroughs show the folder layout, researcher and developer-workflow setup, extra .NET or GCP members, and downloadable templates (
docs/connector.html). -
Connector assurance is portable and archive validation is shared. Hidden-mailbox request checks include Linux dot directories, Windows directory separators resolve per historical identity, and malformed integer limits or overlapping retirement authority fail both state assurance and ledger regeneration. Exact native-resume inputs and literal Scribe provenance preserve the existing exchange and ownership boundaries.
-
Missing Connector audit metadata no longer falls back to roster attribution. Every ledger mode rejects incomplete history without rewriting it, and command-evidence checks distinguish invocations from printed or commented examples. Scribe retry guidance preserves even same-hand-off entries and separates native Scribe model evidence from federation coordinator overhead.
-
Ranked selects comparable task capability before price; Economy selects the lowest known price after qualification. Shared policy
squad-capability-v3separates result, acquisition, verification and generation dates: older verified results remain usable, while unverified legacy records, wrong model versions and incompatible harnesses remain excluded. Versioned implementation panels are selected by snapshot-wide coverage, not winners; reduced SciCode evidence is labeled and has its own Economy minimum. The generator preserves provenance and source precision, verification changes affect the digest, and offline resolver/brief diagnostics expose panels, dates, exact exclusions and fallbacks. Fast floors, protected roles, pins, consent, review gates and the one persisted Ranked escalation remain intact (#166). -
Added
HydraFusion Max(hydrafusion-max/hydrafusion) tomodel-catalog.md,consumption-rates-template.md,model-benchmarks.md,Write-SquadHandoff.ps1,Get-SquadDispatchBrief.ps1, andMeasure-SquadLedger.ps1with its cascade rate ($0.360/1Mblended),0.35xtoken-efficiency estimator factor, host-reported token totals, and separately labelled calculated representative-blend costs and estimated standard-model counterfactuals inconsumption.md(#166). -
Beginners had to understand Squad terminology before choosing a setup. The new advisory-only
Squad Coach discovers workflows from installed code and documentation, recommends the simplest
sufficient setup, and returns preparation checklists and detailed A-to-Z runbooks with owning agents,
exact messages, expected outputs, approvals, and source citations without changing state. A read-only
PowerShell helper inventories current sources and unrecorded tracking artifacts without a feature
checklist. Generic prerequisite closure checks admission rules, seed defaults, and current state
before dependent snippets; bilingual starter guidance explains first-ceiling preparation. VS Code, CLI, and App
guidance consistently selects agents and uses prefix-free messages. Plugin coaching uses a manual
handoff and is advertised only when the selected source contains its agent and prompt; source-mode
installs handle paired dependencies with the same package name
(squad-src/.github/agents/squad/squad-coach.agent.md,
squad-src/.github/skills/squad/scripts/Get-SquadCoachContext.ps1,scripts/Build-SquadPlugin.ps1). -
Connector and external endpoint setup no longer requires hand-copying every artifact. User-invocable Squad Connector Builder and Squad External Agent Builder entrypoints gather decisions, then deterministic PowerShell scripts safely create or adapt agents, orchestrators, skills, closed-schema manifests, file-drop guidance, examples, a removable runner, and detailed runbooks without overwriting customized files (
squad-src/.github/skills/squad/references/builder-workflows.md). -
Benchmarking a branch is one command, and pull requests show how the score compares.
Invoke-Benchmark.ps1 [-Runs 1..3]runs the cold-start benchmark against the current checkout (about 300 credits and 20 minutes per run) and savesscore.json,badge.svgandreport.mdinbenchmarks/efficiency/for the branch to commit.invoke-benchmark.shstarts it from bash after checking that PowerShell 7.4 or later is installed. The new Benchmark score pull request comment shows that score beside the base branch's, warns about lower scores and failed runs, shows the current score alone when the two cannot be compared, and never fails the pull request. The initial score was converted from the recorded three-run seriesrun-20261021-102320-92ef357d(tests/tier2/live-benchmark/Invoke-Benchmark.ps1,invoke-benchmark.sh,BenchmarkScore.psm1,Compare-Benchmark.ps1,.github/workflows/benchmark-score.yml,benchmarks/efficiency/README.md). -
Benchmark reports now show where model work is spent. Automatically compare Scribe dispatches, requests, dispatch time and credits, Coordinator requests and BRD/PRD author requests using native telemetry, with unavailable cells for older or incomplete evidence (
tests/tier2/live-benchmark/BenchmarkScore.psm1,EfficiencyBenchmark.psm1). -
Long benchmark runs now show their progress. Timestamped stage transitions, remaining planned steps and quiet-period heartbeats keep the console informative without streaming model output or changing benchmark outcomes (
tests/tier2/live-benchmark/Invoke-Benchmark.ps1,Invoke-EfficiencyExercise.ps1,EfficiencyBenchmark.psm1).
Changed
-
hve-core f7bae49bf68988381a8e13472686c501aea13ebc removed the
prompt-builder,prompt-refactor, andprompt-analyzecompatibility skills outright, breaking theprompt-engineerrole's binding (squad-src/.github/agents/squad/squad-prompt-engineer.agent.md). All three had already routed every request to thehve-builderskill before their removal, soSquad Prompt Engineernow callshve-builderdirectly for create, improve, refactor, review, and validate modes — no new charter or agent repoint was needed. Updated the Cast Catalogprompt-engineerrow and thecustom-agent-foundryblocklist note insquad-src/.github/skills/squad/references/roster-catalog.md, and the charter-rationale sentence insquad-src/.github/instructions/squad/squad-roster.instructions.md, to namehve-builderinstead of the retired skills.apm.ymlnow pinsmicrosoft/hve-core@f7bae49bf68988381a8e13472686c501aea13ebc. -
Updated hve-core dependency pin to
951fb44(951fb44ea02baf7b487cad8eeda88c2144d05047). -
hve-core retired its
.github/prompts/surface outright and moved three squad-owned capabilities to identically named, user-invocable skills.Squad Risk Managernow follows therisk-registerskill (wasrisk-register.prompt.md) andSquad Azure Diagnosenow follows theincident-responseskill (wasincident-response.prompt.md) for the phases beyond diagnosis, both under.github/skills/security/;Squad Data Scientistnow escalates a synthetic-dataset request to thesynth-data-generateskill instead of the retired prompt of the same name.Squad Vulnerability Managerand thevuln-managerandSSSC Reviewerroster rows no longer cite the removed/vex-scanand/vex-triageprompts (no hve-core replacement exists); the deep-analysis escalation now namesSSSC Reviewerdirectly as the user-invoked entry point. No roster Primary or Alternate agent changed — the delta affected only prompts a charter followed by path, none of the dispatchable agent cast (squad-coordinator.agent.md,squad-federation-coordinator.agent.md, and every other roster row were verified unaffected).apm.ymlis repinned to727e262d7fa7f59c6568fe85a441958301a41589viascripts/Update-ApmDependencies.ps1, which also adds the three new skill dependency lines and drops the five retired prompt lines automatically. -
Long-running Squad runs exposed only the current step. The coordinator now presents a stable outcome plan through a host-native task list when available and a matching in-chat
## Planon every host. The contract stays inline in the measuredoperating-procedure.md, after classification and before work dispatch; the prompt delegates through its existing per-turn requirement without a second plan or state write. Shared-learning rules are deduplicated within the same measured procedure, preserving read order, read-only playbooks, and Scribe-owned local memory. No extra progress reference read, budget exclusion, or threshold increase is needed. -
Updated hve-core dependency pin to
49dfb73(49dfb73866f8c5f81bf734d6ca808dac25a2a330). -
Updated hve-core dependency pin to
189a188(189a18800f9f2478ff6db2d1db6e6ffc3b50f5e0). -
Updated hve-core dependency pin to
d085729(d0857294060532210e3db0cc3f63958b0b1714b8). -
Squad agents now use the latest default Claude generations. Re-pinned Sonnet 5 agents to Sonnet 5.5 and Haiku 4.5 agents to Haiku 5.5, with synchronized routing references under
squad-src/.github/skills/squad/and regression fixtures undertests/. -
Updated hve-core dependency pin to
82b4507(82b45073added0c1e7367b13f0578b2da5c29318). -
Updated hve-core dependency pin to
ee3df32(ee3df3231ebf07e6f0c4b3ff1dd3a8f1f08e0134). -
Use deterministic ordinary handoffs in every routing mode. Coordinators invoke the validated writer directly with a one-line quiet status, avoiding a Scribe model call for ordinary persistence. Keep existing history, ledger, decision and state formats, single-writer and completion gates, rollback behavior and cold Scribe operations. Compact the Scribe definition and seed rate cards deterministically regardless of routing mode.
-
Initialize from one short, confirmed setup brief. The Scribe helper validates the JSON payload and atomically stages the complete squad tree, rates and setup usage; initialization records Cost Comparison as not applicable. Keep root and history protections, prefer available local tools and require explicit opt-in for external persistence (
squad-scribe.agent.md,Initialize-Squad.ps1). -
Make source context and AI costs explicit. Map literal source clauses to existing requirement and acceptance-criteria IDs, preserve unmapped gaps and require genuine stage-appropriate reviews. Script guidance documents purpose, paid trial and judge multipliers, and offline switches (
requirements-quality.md,tests/tier2/live-benchmark/README.md). -
The README identifies the primary evaluation and telemetry sources behind the methodology review, connects them to concrete design choices and separates implemented screening from unestablished calibration and statistical claims (
README.md). -
Updated hve-core dependency pin to
98b2d5d(98b2d5d1c30ea8babedff3774ab621b6ed315444). -
Updated hve-core dependency pin to
2405521(2405521970b85b11fdccf042ae661652d3f9a303). -
Updated hve-core dependency pin to
301cad6(301cad63b340d92066c599b28ae85931982e461a). -
Updated hve-core dependency pin to
50f3ed0(50f3ed0b3edbd284dd4615a9c32715d7b752ada5). -
Use complete deduplicated host usage records as authoritative consumed spend and per-role accounting: join event agent identities, roll nested workers into their owning role, publish exact uncached/cache-read/cache-write/output tokens and native credits, and calculate the without-Squad comparison from the same exact request traffic. Estimates remain only as a fallback and future reservation, recorded as
host-exact+estimated-reservationfor capped work. Also reserve only the actual next dispatch wave for ceilings, defer model scoring from discovery to the real dispatch plan, and persist active routing transitions through a hash-bound PowerShell transaction without a Scribe dispatch. -
Squad and Federation coordination move deterministic work out of model prompts. Compact runtime contracts and artifact-scoped cold instructions replace broad startup reads. Canonical Init payload preparation, confirmed direct single-squad and federation initialization/expansion, sealed additive catalog-role/pack expansion, dependency-wave planning, actual-turn completion checks, ordinary federation persistence, schema-validated Council/Intake/Discovery Verdict appends, and sealed-plan single-squad promotion use scripts, preserving existing state formats, native role dispatch, approval gates, routing modes and no-runtime fallbacks. Verdicts use the same writer and payload contract at a plain squad or federation member root, return stable Decision Refs, and reserve Scribe only for unsupported exit-2 fallback. Federation Init validates every new member through the standard Init builder and stages member transactions in parallel. On a fresh root it publishes the complete federation under one lock; on an existing federation it seals current metadata/member state, preserves every existing member byte, and commits only new members plus additive root metadata under the same lock with rollback. Promotion inventories every candidate read-only, requires an exact plan hash and explicit relocate/keep decision, preserves the adopted member's ledger and run totals because the transaction spends no model credits, stages and ledger-checks the final federation, then publishes under the ordinary writer lock. Roster expansion resolves confirmed shipped rows and newly eligible canonical routes for a plain squad or one registered member, requires the exact plan hash, and writes only roster/routing/decision bytes while preserving consumption, state, rates, notifications and history byte-for-byte; no Scribe call means no fallback estimate/observed ledger rewrite.
-
Updated hve-core dependency pin to
6cd810c(6cd810c7b9448d98ea07db0a7a9124824d32dacc). -
Updated hve-core dependency pin to
42a1697(42a1697d2284e304f7944ba792299c114677b5cc). -
Updated hve-core dependency pin to
9b178da(9b178da4c9a6cfa7edc4151103740b2d306d1360).
Removed
-
Foundry deployment had two registered skills claiming the same job. Remove the narrower
foundry-agent-syncregistration and record it in the External Cast Blocklist because the broadermicrosoft-foundryskill now owns Foundry validation and gated deployment fordeployer(squad-src/.github/skills/squad/references/roster-catalog.md). -
Releases no longer depend on a recorded benchmark comparison. The Release workflow's
run_benchmarkinput and benchmark gate,tier2-benchmark.yml, the efficiency wizard, the recorded-series export, study and comparison modules, and the stored records, policy and report files are removed. Each branch carries its own score instead (.github/workflows/release.yml,tests/tier2/live-benchmark/,benchmarks/efficiency/).
Fixed
-
The Watch workflow comments said the CLI ignores agent
model:pins. Corrected to the behaviour observed on Copilot CLI 1.0.92: pins are honored for subagents andSQUAD_MODELsets the session model for the coordinator and unpinned agents (.github/workflows/squad-watch.yml,squad-src/.github/skills/squad/squad-watch.workflow.yml). -
Measure-SquadLedger.ps1 -Write -SessionLog autono longer throws when only the Scribe has completed. Scribe rows are excluded from role totals, so the observed-usage sum ran over an empty collection and.Sumthrew underSet-StrictModebefore the null guard, rolling back the hand-off. Sums are now empty-safe, the baseline model is taken withSelect-Object -First 1, and a session log that cannot be parsed omits the optional observed-usage section with a warning instead of failing the ledger write. Four regression tests intests/tier1/LedgerCalculator.Tests.ps1cover a Scribe-only session, billed usage with no completed dispatch, every live cut point, and malformed session data. -
Tier 0 hot-file budgets preserve the aggregate performance envelope without
blocking unrelated pull requests. Documented per-file overrides redistribute
the existing budget, pull requests cannot increase inherited budget debt, and
pushes tomainnow report absolute budget health. -
Retrying Tier 0 after
mainadvanced could fail every hot-file budget case.
The retry checked out a refreshed pull-request merge commit but retained the
original event's stale base SHA. The budget ratchet now uses the checked-out
merge commit's first parent, preserving inherited debt without relaxing either
per-file or aggregate performance limits. -
Benchmark acceptance no longer admits misleading successes. Rejection probes require natural rejection rather than watchdog termination (
tests/tier2/live-benchmark/Test-EfficiencyTask.ps1). -
Resumed benchmark runs receive the full workflow allowance from initialization while reserving independent-judge consumption and tracking cumulative native spending (
tests/tier2/live-benchmark/Invoke-EfficiencyExercise.ps1,EfficiencyBenchmark.psm1). -
Numeric trial allowances avoid credential-parameter false positives without suppressing analysis or changing limits. Baseline collection measures unmodified Squad source; benchmark-driven Scribe optimizations and dependent assertions are removed while native preparation, observational collection and independent quality gates remain. Modified-source observations stay separate historical evidence (
tests/tier2/live-benchmark/EfficiencyBenchmark.Tests.ps1,EfficiencyBenchmark.psm1). -
Benchmark review fixes preserve source and grader identity across saved-control comparisons, remove deleted Squad files before source overlays, validate native session allowances before paid work, and document the actual shared stopping limits (
tests/lib/SquadInstall.psm1,tests/tier2/live-benchmark/). -
Bash-specific release-guard tests follow the existing Windows/availability guard (
tests/tier0/PrValidation.Tests.ps1). -
PR validation no longer attributes upstream release or dependency changes to a pull request after its base advances. Release-state, dependency-pin and fragment checks compare against the checked-out merge commit's first parent rather than the stale event base (
.github/workflows/pr-validation.yml). -
Requirements drafts retain canonical checks and complete review evidence. Load the required templates, phase state and source context before authoring; preserve traceability and honest gaps. Capture each review losslessly with real model attribution under verified squad roots before the closing tester, including dynamically resolved reviewers; reject missing fresh initialization evidence (
squad-coordinator.agent.md,references/requirements-quality.md). -
Resolve delegated choices before drafting and reconcile corrections once. Allow independent read-only reviews over frozen inputs where supported, while persisting their proof serially. Return one consolidated correction batch to the admitted author and identify the exact current or pre-review document copies; real failed gates, missing authority and unapproved drafts remain blockers (
requirements-quality.md,squad-reviewer.agent.md). -
Closing reviews consume complete inputs within explicit probe boundaries. Finish truncated required reads, use verified handoff paths and distinguish transient local checks from durable output outside the squad root. Run local PowerShell probes in bounded isolated processes, preserving real failures and denied-probe findings rather than treating them as successful validation (
squad-reviewer.agent.md,requirements-quality.md). -
Cold initialization and handoffs retain actual provenance. Accept empty scaffolds without overwriting existing squads, seed reviewer roots and member no-deliverable identities consistently, and verify the confirmed payload before real Scribe dispatch and dependent handoffs. Preserve timestamp instants, default to actual UTC, reject future evidence, distinguish synchronous returns from background handles and keep retries safe (
Initialize-Squad.ps1,requirements-quality.md,squad-scribe.agent.md). -
Ledger writes use trusted helpers and honest identities. Keep
ledgerCommandinert and resolve single or federation-member roots independently. Route ceiling-admitted and aggregate handoffs through the cold Scribe, retain basename ledger identities, and attribute actual models rather than routing labels or guessed automatic selections (squad-scribe.agent.md,scribe-cold-charter.md,requirements-quality.md). -
Cost comparisons preserve pricing and billing evidence. Price each block at its own context tier, apply calibration once and reject malformed rate cards. Finalize estimates, credits and signed savings transactionally; retain supplied baseline notes, mark missing baselines unavailable and keep observed billing separate. Include verifier identity in benchmark compatibility (
Measure-SquadLedger.ps1,EfficiencyBenchmark.psm1). -
Runtime and regression checks remain compatible without weaker gates. Remove the retired Copilot CLI remote flags while retaining supported tool and workspace controls. Explain ordinary missing ancestor probes without hiding unexpected or physical-path errors; preserve cold-read budgets, integer-capacity/data-preservation checks, strict-mode pricing defaults, timezone fidelity, isolated initialization fixtures and full Git history for offline comparisons (
Invoke-EfficiencyExercise.ps1,EfficiencyBenchmark.psm1,Packaging.Tests.ps1,tier2-semantic.yml). -
Pre-release documentation and VS Code setup reflect the real source. Recognize merge-added fragments and pages when assigning release badges, and document the trusted helper and installation of both Copilot plugins in the README and English/French guides (
scripts/docs-release.mjs,README.md,docs/getting-started.html). -
Documentation on
mainpresented merged features as if they were already released. Every guide now distinguishes the stable release from the rolling pre-release, with versioned feature badges linked to installation and testing instructions in English and French. Versions and exact APM commands are derived fromapm.ymland pending change fragments; consuming a feature's fragment retires its badges automatically, and fragment-only merges rebuild the site (scripts/docs-release.mjs,site/pages.njk,docs/getting-started.html,.github/workflows/docs.yml). -
Initialization could fill the no-ceiling Cost Preflight record with an Init or ledger id. The Scribe now copies the exact
not-requestedobject fromentry-schemas.mdat Init, keepingrunIdandroundIdempty (squad-src/.github/skills/squad/references/scribe-cold-init-and-seeding.md). -
Ranked, Economy, and Manual routing no longer treat
sessionModel: autoas the host model inventory. Copilot CLI and app plans must pass the exact model enum advertised by thetasktool; unresolved or unpriced session metadata now yields no automatic suggestion and fails before anyteam.mdModel cell is changed. Concrete priced session models retain the documented unverified VS Code-only cost-ceiling fallback. -
Resolved routes now control the native dispatch. The coordinator copies each non-empty planned model into the
taskorrunSubagentmodelargument, so an agent's frontmatter pin can no longer silently replace the Ranked, Economy, or Manual selection. -
Exact native consumption now accumulates across Copilot sessions. The ledger writer keeps one human-readable
consumption.mdand a lazy, closed-schemaconsumption-sessions.jsonjournal that upserts each native session, rejects duplicate accounting identities or history-prefix drift, and commits withstate.jsonand the ledger as one transaction. If a run already spans sessions before the journal exists,-SessionLog autocan bootstrap it from complete, uniquely matching repository-session windows; the selected active session tolerates the bounded host tool-completion tail, and the next session refreshes that snapshot from its completed log before appending. Ambiguous coverage still falls back to estimates. Journal timestamp parsing is culture-independent so content digests remain stable on replay. Existing single-session exact ledgers migrate without resetting historical totals. -
APM and plugin agent identities now reconcile identically. Exact attribution canonicalizes raw host names, display names, and unique namespace/path suffixes against the history-backed agent set, so
Squad Leadandhve-squad:squad-leadproduce the same role row for every dispatched agent while ambiguous aliases still fail closed. -
Third and later exact sessions no longer serialize empty history suffixes as
[null]. The writer emits canonical empty arrays, digest-valid journals created by the affected local build are normalized safely, and federation promotion explicitly preserves and verifies the optional exact-session journal with the adopted member. -
Targeted federation autopilot now closes every supported ordinary member stage before dispatching its dependent. Dispatch plans expose a verified-ordinary-handoff barrier while preserving cold exit-2 pipelining, and the coordinator must run the member's deterministic handoff plus completion proof before marking progress complete, starting another worker, or publishing the federation-root handoff.
-
Promoted federation members retain exact native accounting. A member ledger accepts coordinator usage only when every model-dispatch prompt in that native session names the same member root and no federation-root lifecycle writer ran; mixed or ambiguous sessions still fail closed to estimates. Completion proof now recognizes canonical roster role IDs such as
analystas well as legacy agent-name entries inactiveRoles. -
Federation promotion no longer rejects valid exact comparisons at display-rounding boundaries. The read-only ledger check accounts for four-decimal USD operands and one-decimal savings percentages, without rewriting consumption or relaxing journal validation; impossible amount, percentage, and direction changes still fail.
-
Ordinary handoffs no longer need a model-generated payload file. The existing writer accepts actual single-dispatch facts, derives the record envelope and active roles, and retains supplied consumption evidence or clearly estimated fallbacks. The same serialization, freshness, attribution, rollback and receipt checks remain in force; Scribe guidance preserves failure exits and prohibits refreshing stale evidence (
squad-src/.github/skills/squad/scripts/Write-SquadHandoff.ps1,squad-src/.github/skills/squad/references/economy-scribe.md). -
Coordinator guidance uses the matching fact interface. Complex metadata and state changes retain full JSON; supplied usage remains authoritative without requiring manually prepared consumption blocks (
squad-src/.github/agents/squad/squad-coordinator.agent.md).
Consumer install
Pin to this version:
apm install "Peter-N91/hve-squad#v0.19.0"