Repository navigation
v0.20.0
Added
-
Official skills stay opt-in. The catalog prefers a vendor-official source, then a marketplace entry resolved to that source, then community. A pack whose roles are already present can be applied without inventing a member, unless that pack is already listed. Power Automate and Microsoft Graph keep their community Alternates.
fabricreusesdata-scientistfor eight distinct Fabric skills and does not replace Power BI or the Lakehouse primer. Pack removal stops squad selection and does not hide a host-installed skill. -
depth=quickis now an independent, trusted per-turn workflow control. Omission is alwaysstandard; quick requires prompt or federation provenance, computes its stage policy before model validation and dependency waves, removes only explicitly skipped optional work, records absent gates as required follow-up or external evaluation, keeps every gate at standard depth, and adds concurrency only for a bounded request or a verifieddeliverable-fan-outLead plan.routing=continues to choose models independently. The live benchmark adds a counterbalanced candidatedepth=quickarm against candidate standard depth, its frozen roster now uses the currentAgent Name (Primary)header, and the full efficiency scenario supports paired standard-versus-quick runs with-CompareDepth.
Changed
-
Updated hve-core dependency pin to
f2bc028(f2bc028c2a0c4ba8a693c35387c7afbfb20c1620). -
Updated hve-core dependency pin to
c072687(c0726875613fed25bcd7d6d42cc720b96bfe1dda). -
The governance report could not show what a run consumed, what the same work would have cost without HVE Squad, or what that spend bought (#164).
/squad-governance-reportnow runs the deterministic renderersquad-src/.github/skills/squad/scripts/New-SquadGovernanceReport.ps1(with theSquadGovernanceReport.*modules beside it). It reads squad state read-only and writes the same seven sections plus the completeconsumption.md: Attribution, Usage & Cost, Derivation, Unit Economics, Cost Comparison, and the legacy Observed Usage. Cost, tokens, and ROI carry their basis (exact-native,estimated,modeled,host-billed) and bases are never added together. Avoided cost, cost reduction, ROI, and the cost multiple come from the ledger's own with and without HVE Squad figures and are labeled a modeled counterfactual; a run that cost more than its baseline is shown as negative, not as a saving. -
The report now argues the case for HVE Squad from evidence, not assertion. Two panels, "what this run spent" and "what this run produced", list claims computed from the run's records (lower spend, measured spend, right-sized models, a cost ceiling, independent review, council and intake gates, human gates, deliverables with evidence) and mark each shown, not shown, or unavailable.
-
The report follows the ledger instead of being adapted to it. The ledger is mirrored section by section, so a section or column added to
consumption.mdlater appears with no change to the renderer. Only the headline figures are recognized by header text, and they read "not derivable" when a header is not recognized. Unknown or unresolved models and their fallback prices,tier-defaultrows, stale Basis notes, mismatched totals, mixed bases, shared whole-session totals, and shared native request identities are reported as data-quality notes without repairing the ledger. Federation reports show each sub-squad's ledger and count a shared host session once. -
period=7dandperiod=30dno longer imply that ledger totals are period-specific. The window is the N calendar days ending on the as-of date; dated entries are filtered, and the cumulative ledger figures are labeled as whole-run. -
The output is reproducible and safe to share. The same state files and
-AsOfdate give a byte-identical, self-contained HTML file, written atomically to a local path outside the squad state tree, with a JSON receipt (path, summary with ROI, basis, grounding, gaps, data quality).squad-src/.github/agents/squad/squad-governance-report.agent.mdruns the script first and keeps the manual steps as its fallback, andtests/tier0/GovernanceReport.Tests.ps1asserts on the rendered output. -
Updated hve-core dependency pin to
a4a5937(a4a5937312bf1e2a6993ae105a6d20f2dd8baca2). -
Updated hve-core dependency pin to
7d2dde5(7d2dde5c5fb5787cab53f5563d536d48e84a5991). -
The Tier 1 self-check no longer outgrows its CI job. Almost every case starts child
pwshprocesses, so one sequential run took 15 to 19 minutes against a 20 minute limit and timed out as soon as the ledger cases grew.Invoke-Tier1Tests.ps1 -SelfCheck -Parallel <n>now discovers every case, groups the work into bundles (a large ledger Describe is split by Context, and a file that shares one results file stays whole), and runs the bundles largest first onnworker processes, each taking the next as it finishes, so no estimate of how long a case takes has to be right. The runner fails unless every discovered case ran exactly once, so scheduling changes and coverage does not. CI runs it with-Parallel 4and finishes in about 9 to 15 minutes depending on the hosted runner, with a 30 minute limit; the default is still one process. Seetests/tier1/Tier1Parallel.psm1,tests/tier1/Invoke-Tier1Tests.ps1, and.github/workflows/tier1-behavior.yml. -
Updated hve-core dependency pin to
8931ffb(8931ffbd7dbdb5ab66cfb6b17a8249be65645eab). -
Economy routing now applies one cost-first rule to every routed role. Review, council, intake, live-resource, fallback-class, and unattended roles no longer stay on Ranked. Economy prefers the class qualification, then uses the cheapest known-price model inside the role floor under
floor-only-known-price-v1when none qualifies; no priced floor candidate stops dispatch. Existing consent withoutScope: all-rolesmust be upgraded before dispatch instead of producing a mixed Economy/Ranked run. -
The Copilot plugin is now self-contained and published from this repository. Manual stable and preview publication writes one
hve-squadmarketplace entry to thepluginorplugin-previewbranch, bundles the exact HVE Core commit pinned byapm.yml, removes the bundled MCP connection, and validates VS Code, Copilot CLI, and Copilot App package contracts on Windows, macOS, and Linux. The plugin is the primary install path; APM remains the repository-local fallback. -
Updated hve-core dependency pin to
1707282(17072823c75d6e8cdf288d8ed4371f555dcd09bb).
Fixed
-
Watch Mode now selects a sub-squad per case and per ask and executes the complete RPI lifecycle across all triggers (#176).
squad-watch-mode.instructions.md,references/federation.md,squad-watch.workflow.yml,.github/workflows/squad-watch.yml, and.github/workflows/sync-hve-core.ymlnow require every Watch Mode event (issues,pull_request,issue_comment,schedule,workflow_dispatch,push) to seed its event sub-squad from the canonical templates with a profile and packs tailored to the case and ask (always including the fullresearcher,lead,developer,tester,scribespine rather than copying a priormembers/*roster), repair a missing federation root whenmembers/*directories exist on disk withoutfederation.md, and run the full Research → Plan → Council → Implement → Review pipeline viarunSubagent/taskdispatches (including on Sync and Adapt adaptation briefs). The workflow now checkpoints each completed role through Squad Scribe before dispatching the next stage, provisions the installed squad andhve-corepackage through a transactional ownership-tracked overlay, hands patches to the write-capable job from their exact producing checkout, and binds material handoff to a hash-pinned authorized-event baseline plus current structured state, stage, history, council, Scribe, and member-owned deliverable evidence while preserving legitimate no-change, resume, and conditional-Council outcomes. The handoff module now ships with the squad skill, and the reference trigger template explicitly names the extra credential-separation and write-job wiring required before an installed consumer can claim the same deterministic enforcement. -
Watch Mode accepts ordinary fractional event timestamps and successful zero-failure test reports without weakening completion gates. Material handoff preserves timestamp precision across baseline serialization, rejects unfinished results and heading-only plain-text evidence, enforces the Council's most-restrictive findings even when the summary claims a skip, and requires conditional findings to be resolved or explicitly accepted before the final patch.
-
Watch Mode serializes one repository delivery at a time, pins an immutable source SHA, and reconciles publication without re-interpreting a completed run. Both workflows use
queue: max. The live workflow fails closed on fork, non-bot, or unauthorized issue-to-PR mapping. The shipped template rejects a fork comment and does not claim that same issue-to-PR mapping. Validated current-run Open Questions are encoded by the trusted renderer before they reach a draft body or a numeric source-thread comment. That comment renders the staging artifact only after its member, run, thread, and trusted base match the resolver. The artifact is produced in the same read-only job as the model and is not independently attested. A free-formworkflow_dispatchwith no numeric thread records that outcome in the run summary and does not callgh issue comment. A run with no material change and no existing deliverable does not open a branch or pull request. Existing mapped branches accept tracking-only commits, commitwatch-publication.jsonfor orphan recovery, and stay fast-forward-only. -
The consumption ledger fell back from exact to estimated totals after a gap in the squad history, and stayed there.
Measure-SquadLedger.ps1 -Write -SessionLog autorejected a whole session when one dispatched agent had no history entry (an alternate such asADR Creatorre-dispatched to another agent), or when history written after a session's last accepted write predated the next session, and the exact-session journal then stopped advancing. Native usage is now authoritative and the history is bookkeeping: usage by an agent with no history entry keeps its own row, history written after an earlier session's last write is reconciled by re-reading that session's log, a repository session that never reached the journal is adopted when its own log shows a hand-off or squad agent at the entry's time (a plain chat in the same folder never is), and a journal that stopped advancing recovers on the next write with no manual repair. Every remaining gap is aNOTE:line in the Derivation (JSONexact.notesandexact.partial, plus a one-timeWARN:), and a gap that can only understate labels the exact Cost Comparison a lower bound; nothing is estimated to fill it (squad-src/.github/skills/squad/scripts/Measure-SquadLedger.ps1,squad-src/.github/skills/squad/references/consumption.md). -
The wrong session could stand in for the one doing the hand-off.
SquadUsage.psm1now prefers the session the host names inCOPILOT_AGENT_SESSION_ID, and without it the ledger takes the newest log that shows squad work, so a chat written more recently in the same folder, or a second window, cannot be mistaken for the running session. An older cached session that resumes keeps its own snapshot. A partially written last log line is ignored, andConvertFrom-Json -DateKindis used only where PowerShell supports it (squad-src/.github/skills/squad/scripts/SquadUsage.psm1). -
A manual
-Write, an unreadable log, or a damaged record could replace exact totals with estimates. A-Writewithout-SessionLogon a root that keeps a journal now acts asauto; with no readable session log, or a cached session whose log lost records or gained a damaged one, the last accepted totals stay exact as of their snapshot and say so. A usage record with no model is priced underunknownwithout disturbing the baseline model, nano-AIU amounts print the same whether they come from a log or the journal, and a root that falls back to estimates now drops its stale exact Cost Comparison. The estimator remains only where no native usage can be trusted: none at all, incomplete or non-reconciling credit records, history-prefix drift, or a journal this version rejects. A journal that is not even a JSON object (cut short, emptied by a crash, merge markers) no longer pins the ledger to estimates: a write rebuilds it from the native logs and keeps its bytes asconsumption-sessions.json.unreadable-<digest>. -
A resumed or concurrent session could hide a session that never reached the journal, and a lower bound was not always labelled. When the running session was already journaled, was opened before the missing one, worked within minutes of it, or the sessions handed off in a different order than they were opened, a session whose hand-off never reached the ledger stayed out of the totals with no note. Each uncovered history entry now goes to the session whose own log shows it most convincingly (a shell call that runs a history writer for this squad root just before the stamp outranks squad usage billed nearby; a view, a search, a ledger check, or another root's hand-off is no evidence at all, and a session that was handing off for another root at that moment earns no usage credit for the entry), every session that shows an entry better than the running one joins the journal, in the order in which it first did so, an accepted session opened one folder below the repository keeps being refreshed (it is found by id, under the session-state root only), and a metered history entry with no billed native request within five minutes in any accepted session is a
NOTE:that labels the exact Cost Comparison and Unit Economics a lower bound. A session that wrote part of the history but whose usage cannot be attributed is aNOTE:too, and no longer stops the others from being added. A write refuses, changing nothing, when another writer changed the journal while it ran, and an unforeseen failure while reconciling the logs keeps the accepted exact totals, labelled, instead of estimating. A request that a forked session's log repeats is counted once, and a host-supplied agent name with a pipe, a line break, a backtick, a leading#, or the bare wordTotalprints as plain text that cannot break the tables or-Check(squad-src/.github/skills/squad/scripts/Measure-SquadLedger.ps1,squad-src/.github/skills/squad/scripts/SquadUsage.psm1). -
Selected Foundry and Fabric packs could initialize without installing their registered skills. Single-squad and federation Init/expansion now inventory registered skills, execute only registry-approved installers after consent, preserve prerequisites as separate approvals, and stop before state publication until a required host reload lets final preflight record each skill as host-visible
availableor explicitlydeclined; unattended Watch drops or escalates packs whose skills are not host-visible (Get-SquadInitContext.ps1,Install-SquadPackResources.ps1,Initialize-Squad.ps1,SquadWatch.Delivery.ps1). -
mode=autopilotwas ignored on an already initialized squad, so every stage landed in one end-of-run hand-off. The brief reads the squad's recorded mode, which staysinteractiveafter a separate init, so the autopilot procedure never loaded.Get-SquadDispatchBrief.ps1now takes-RequestedModeand, forautopilot, names the required procedures and the per-stage hand-off rule.Write-SquadHandoff.ps1accepts-Modeon the single-dispatch form and refuses a multi-record payload under autopilot, so the rule is enforced the same way on VS Code, the CLI and the GitHub Copilot App (squad-src/.github/skills/squad/scripts/Get-SquadDispatchBrief.ps1,squad-src/.github/skills/squad/scripts/Write-SquadHandoff.ps1,squad-src/.github/skills/squad/references/coordinator-runtime.md).
Consumer install
Pin to this version:
apm install "Peter-N91/hve-squad#v0.20.0"