Repository navigation
feat(finops): add FinOps Value Economist and HVE value evidence/valuation skills - #3400
Open
VentureMavenWill (venturemavenwill) wants to merge 3 commits into
Conversation
…tor, and valuation skills Add the `finops` module to HVE Core to prove the measurable monetary value of Hypervelocity Engineering (HVE) workflows and cloud/engineering initiatives: - `.github/agents/finops/finops-value-economist.agent.md`: `FinOps Value Economist` agent orchestrating verifiable HVE evidence collection and deterministic monetary valuation - `.github/skills/finops/finops-value-evidence/`: read-only SHA-256 repository/RPI/test/accounting value evidence collector (`Collect-HveValueEvidence.ps1` + `.sh`), 9-category measurement specification, and Pester unit tests - `.github/skills/finops/finops-value-valuation/`: standalone deterministic 9-category + HVE delivery valuation engine (`HveBenefitValuation.psm1`, `Measure-HveBenefitValue.ps1` + `.sh`), valuation reference, and Pester unit tests - Paired reference documentation, plugin manifest sync, eval stimuli, and security classifications Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
VentureMavenWill (venturemavenwill)
requested a review
from a team
as a code owner
November 15, 2026 09:25
Author
|
This proves the value of HVE: pairing read-only SHA-256 HVE/RPI delivery evidence collection ( |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3400 +/- ##
==========================================
+ Coverage 84.96% 85.33% +0.37%
==========================================
Files 173 192 +19
Lines 37639 38796 +1157
Branches 201 264 +63
==========================================
+ Hits 31980 33107 +1127
- Misses 5588 5607 +19
- Partials 71 82 +11
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
…rage gates
- Remove `/en-us` locale segment from Microsoft Learn URL in `business-value-measurement.md` (`Invoke-LinkLanguageCheck`)
- Replace repo-root `.github/skills/...` invocations in `SKILL.md` with skill-relative `scripts/...` paths and brace-grouped `.github/{agents,instructions,skills}/` (`Test-ArtifactPathPortability`)
- Replace `gross` phrasing in `value-valuation.md` and `HveBenefitValuation.psm1` with `pre-deduction` (`Test-EvalSpecText` / `retext-profanities`)
- Make `Measure-HveBenefitValue.ps1` in-process testable via `Write-Output` and conditional module import, add camelCase `benefitClaims`/`reportId`/`asOf` support and modeled-cost filtering in `HveBenefitValuation.psm1`, enrich `Collect-HveValueEvidence.ps1` with `agentDeclarations` and `sessionRows` actor rollups, and expand unit tests (`92.58%` Pester coverage across all three FinOps scripts)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
… and valuation scripts - Deduplicate reparse-point checking in `Collect-HveValueEvidence.ps1` through `Assert-SafeEvidencePath` and strip blank git output lines in `Read-HveGitOutput` - Expand `Collect-HveValueEvidence.Tests.ps1`, `Measure-HveBenefitValue.Tests.ps1`, and `HveBenefitValuation.Tests.ps1` to cover reparse-point refusal, deleted tracked files, explicit/empty accounting fallbacks, CLI auto-import and nested output directory creation, finance-approved HVE delivery valuation, and category guardrail/missing-driver paths (`0` missed lines across all 3 scripts) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This branch has not been deployed
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.
Pull Request
Description
This module proves the value of HVE.
Teams adopting Hypervelocity Engineering (HVE) generate rich delivery artifacts (
.copilot-tracking/RPI research, plans, changes, independent reviews, test summaries, and AI session accounting), yet previously had no native HVE module to collect tamper-evident value evidence and translate operational outcomes into defensible, Finance-ready monetary representations.This PR contributes a standalone
finopsmodule to HVE Core combining verifiable value evidence collection with deterministic monetary valuation:.github/agents/finops/finops-value-economist.agent.md(FinOps Value Economist): Interactive specialist agent that orchestrates HVE delivery/benefit evidence collection and deterministic FinOps monetary valuation, separatingfinance-approvedbooked value fromstated-indicativeestimates,modeled-counterfactualrouting/forecast figures, andunmonetized-native-onlyleading indicators while keeping Finance sign-off with human decision owners..github/skills/finops/finops-value-evidence/(finops-value-evidence): Read-only value evidence collector (Collect-HveValueEvidence.ps1andcollect-hve-value-evidence.sh), 9-category FinOps measurement reference (references/business-value-measurement.md), and Pester unit tests (tests/Collect-HveValueEvidence.Tests.ps1). Captures SHA-256-verified Git manifests,.copilot-tracking/RPI deliverables and review verdicts, NUnit/JUnit test XML summaries, and AI session accounting outside-RepoRootwithout mutating repository state..github/skills/finops/finops-value-valuation/(finops-value-valuation): Zero-dependency deterministic monetary valuation engine (HveBenefitValuation.psm1,Measure-HveBenefitValue.ps1, andmeasure-hve-benefit-value.sh), valuation formula/guardrail reference (references/value-valuation.md), and Pester unit tests (tests/Measure-HveBenefitValue.Tests.ps1). Monetizes all nine FinOps value categories (revenue enablement,cost avoidance,capacity gained,labour augmentation,quality,speed,risk reduction,new capacity, andengagement) plus HVE RPI delivery evidence, enforces anti-inflation guardrails (redeployedShare,qualityFloorMet, verified demand,overlap_groupdeduplication), and computes net stated value, Benefit-Cost Ratio (BCR), and stated ROI %.plugin.json,docs/plugins/hve-core.md, paired asset reference pages underdocs/reference/,evals/agent-behavior/AGENTS.yml,evals/agent-behavior/stimuli/finops-value-economist.yml,evals/agent-behavior/eval.yaml,evals/skill-quality/eval.yaml,scripts/linting/skill-security-classification.json, and.cspell/dictionaries.Related Issue(s)
Closes #3401
Related to Peter-N91/hve-squad#170
Type of Change
Select all that apply:
Code & Documentation:
Infrastructure & Configuration:
AI Artifacts:
hve-builderand addressed all actionable findings.github/instructions/*.instructions.md).github/agents/*.agent.md).github/skills/*/SKILL.md).github/hooks/*/*.json)evals/)Other:
.ps1,.sh,.py)Sample Prompts (for AI Artifact Contributions)
User Request:
Execution Flow:
FinOps Value Economistloads.github/skills/finops/finops-value-evidence/SKILL.mdand executesCollect-HveValueEvidence.ps1 -RepoRoot . -OutputPath ../hve-value-evidence.jsonto capture a read-only SHA-256 repository and.copilot-tracking/RPI delivery snapshot outside-RepoRoot.hourlyRate,redeployedShare, unit margin, or Finance approval reference) is missing, the agent pauses viaask_userrather than guessing assumptions..github/skills/finops/finops-value-valuation/SKILL.md, structures the claims/costs JSON, and invokesMeasure-HveBenefitValue.ps1 -ClaimsPath ./claims.json -EvidencePath ../hve-value-evidence.json -OutputPath .copilot-tracking/finops/2026-11-15-q4-hve-stated-value.mdso all monetary math, sensitivity bounds, andoverlap_groupdeductions are computed deterministically byHveBenefitValuation.psm1..copilot-tracking/finops/2026-11-15-q4-hve-stated-value.mdand presents the separated value table (finance-approved,stated-indicative,modeled-counterfactual, andunmonetized-native-only).Output Artifacts:
.copilot-tracking/finops/2026-11-15-q4-hve-stated-value.md:Success Indicators:
Collect-HveValueEvidence.ps1exits0withstatusStableDuringCollection: trueand writes the SHA-256 evidence bundle outside-RepoRootwithout modifying repository working-tree status.Measure-HveBenefitValue.ps1exits0, appliesredeployedShareandoverlap_groupdeduplication deterministically, keepsmodeled-counterfactualfigures out oftotalStatedEvidencedValue, and emits matching JSON and Markdown reports.For detailed contribution requirements, see:
Testing
Executed unit tests and repository PowerShell, schema, security, documentation, and eval validators locally:
Invoke-Pesteron.github/skills/finops/finops-value-evidence/tests/Collect-HveValueEvidence.Tests.ps1and.github/skills/finops/finops-value-valuation/tests/Measure-HveBenefitValue.Tests.ps1— passed (4 passed, 0 failed)Invoke-ScriptAnalyzer -Settings scripts/linting/PSScriptAnalyzer.psd1across all 5 added.ps1/.psm1files — passed (0 issues)pwsh -NoProfile -File scripts/plugins/Sync-PluginManifest.ps1 -Check— passedpwsh -NoProfile -File scripts/docs/Generate-AssetDocs.ps1 -WhatIf— passed (0 drift)pwsh -NoProfile -File scripts/linting/Validate-AssetDocs.ps1 -FailOnMissing -CheckSync -ChangedFilesOnly— passed (0 errors, 0 warnings)pwsh -NoProfile -File scripts/linting/Validate-MarkdownFrontmatter.ps1 -WarningsAsErrors -EnableSchemaValidation— passedpwsh -NoProfile -File scripts/linting/Validate-SkillStructure.ps1 -WarningsAsErrors -ChangedFilesOnly— passedpwsh -NoProfile -File scripts/linting/Test-CopyrightHeaders.ps1 -FailOnMissing— passedpwsh -NoProfile -File scripts/linting/Invoke-JsonLint.ps1— passed (58 JSON files)pwsh -NoProfile -File scripts/linting/Invoke-LinkLanguageCheck.ps1 -ExcludePaths "scripts/tests/**"— passedpwsh -NoProfile -File scripts/linting/Test-ModelReferences.ps1 -OutputPath logs/model-validation-results.json— passedpwsh -NoProfile -File scripts/linting/Test-ArtifactPathPortability.ps1 -OutputPath logs/artifact-path-portability-results.json— passedpwsh -NoProfile -File scripts/linting/Test-AgentColdStartBudget.ps1— passedpwsh -NoProfile -File scripts/linting/Validate-PlannerArtifacts.ps1 -FailOnMissing— passedpwsh -NoProfile -File scripts/linting/Test-ExtensionArtifactNaming.ps1— passedpwsh -NoProfile -File scripts/evals/Build-AgentInventory.ps1 -WhatIfandpwsh -NoProfile -File scripts/evals/Build-AgentBehaviorSpec.ps1 -WhatIf— passed (no drift)pwsh -NoProfile -File scripts/evals/Build-GraderLineageMap.ps1 -Checkandpwsh -NoProfile -File scripts/evals/Test-VallyTestSafety.ps1 -OutputPath logs/vally-test-safety.json— passedpwsh -NoProfile -File scripts/security/Test-ActionVersionConsistency.ps1 -FailOnMismatch,Test-WorkflowPermissions.ps1 -FailOnViolation,Test-WorkflowRunner.ps1 -FailOnViolation,Test-DangerousWorkflow.ps1 -FailOnViolation,Test-PublicDependencyFeeds.ps1 -FailOnViolation,Test-PrValidationGate.ps1 -FailOnViolation,Test-PSModulePins.ps1, andTest-DevcontainerLockfile.ps1 -FailOnViolation— passednpm run validate:local,npm run validate:docs,npm run spell-check,npm run lint:md-links) — not run via npm on this corporate workstation becausenpm cihit an upstream SSL handshake alert (SSL alert number 40) fetchingyazl-2.5.1.tgz; all underlying PowerShell gates above were executed directly and passed, Markdown tables and.markdownlint.jsonrules were verified via Node script (0 issues), and CI workflows will execute the npm-wrapped checks on Ubuntu runners.Checklist
Required Checks
AI Artifact Contributions
hve-builderreview mode to review contributionhve-builderreviewRequired Local Checks
The following local-safe validation commands must pass before merging:
npm run validate:localnpm run validate:docsnpm run spell-checknpm run lint:md-linksSecurity Considerations
Additional Notes
Collect-HveValueEvidence.ps1is strictly read-only against-RepoRootand enforces-OutputPathoutside-RepoRoot;Measure-HveBenefitValue.ps1/HveBenefitValuation.psm1performs pure deterministic arithmetic over caller-supplied JSON files) and are classified asexemptwith rationale inscripts/linting/skill-security-classification.json.finops-value-evidence,finops-value-valuation, andFinOps Value Economistclose the loop from HVE delivery telemetry to auditable monetary ROI — proving the value of HVE.