Skip to content

feat: ADF metrics recalibration, CI hardening, and release workflow#1

Merged
SmartBrandStrategies merged 12 commits intomainfrom
feat/adf-metrics-recalibration
Feb 28, 2026
Merged

feat: ADF metrics recalibration, CI hardening, and release workflow#1
SmartBrandStrategies merged 12 commits intomainfrom
feat/adf-metrics-recalibration

Conversation

@SmartBrandStrategies
Copy link
Copy Markdown
Contributor

@SmartBrandStrategies SmartBrandStrategies commented Feb 27, 2026

Summary

  • charter adf metrics recalibrate — new subcommand to re-measure LOC from manifest metric sources, propose new ceilings with configurable headroom, and update baselines/ceilings with required rationale (--reason or --auto-rationale).
  • Stale baseline detectioncharter adf evidence now detects stale metric baselines, emits structured staleBaselines warnings, and suggests recalibration actions.
  • Release workflow — new .github/workflows/release.yml supports automatic GitHub Releases on v* tag push and manual workflow_dispatch backfill for historical tags.
  • CI fixes — resolved 5 pre-existing CI failures: pnpm version conflict, build/typecheck ordering, npm→pnpm in governance workflow, missing file guards for docs:check and drift scan.
  • README update — removed large ADF architecture PNG, updated SDLC status callout.

Scope

  • @stackbilt/cli
  • Docs only

Validation

  • ADF verification passed (pnpm run verify:adf)
  • All 4 CI checks green (CI, Governance Check x2, Governance Scorecard)

Compatibility

  • No breaking changes

Agent Contract Impact

  • JSON output/exit-code behavior changed (documented in README.md + CHANGELOG.md)

Details: adf evidence now includes staleBaselines in JSON output. New adf metrics recalibrate command added.

Screenshots / Output Samples

Constraints:
  [ok] adf_commands_loc: 581 / 650 [lines] -- PASS
  [ok] adf_bundle_loc: 185 / 200 [lines] -- PASS
  [ok] adf_sync_loc: 219 / 250 [lines] -- PASS
  [ok] adf_evidence_loc: 328 / 380 [lines] -- PASS
  [ok] adf_migrate_loc: 453 / 500 [lines] -- PASS
  [ok] bundler_loc: 415 / 500 [lines] -- PASS
  [ok] parser_loc: 214 / 300 [lines] -- PASS
  [ok] cli_entry_loc: 197 / 200 [lines] -- PASS

Verdict: PASS

stackbilt-admin and others added 12 commits February 27, 2026 07:09
Shows live release version from npm instead of stale GitHub Releases tag.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Supports both automatic releases on v* tag push and manual
workflow_dispatch backfill for historical tags. Extracts release
notes from CHANGELOG.md automatically.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove large ADF_1.png embed and update callout to reflect completion
of the inaugural SDLC cycle with ongoing iterative improvement.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
pnpm/action-setup@v4 now errors when both `version` param and
package.json `packageManager` field are set. Let the action auto-detect
from packageManager instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- CI: move `build` before `typecheck` so cross-package .d.ts files
  exist when tsc --noEmit runs against the root tsconfig.
- Governance: detect pnpm-lock.yaml and use pnpm install when present,
  fixing workspace:^ protocol failures in this repo.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- CI: skip docs:check when .docsync.json is absent
- charter-governance: skip drift scan when no pattern files exist,
  matching the guard already present in governance.yml

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@SmartBrandStrategies SmartBrandStrategies changed the title Feat/adf metrics recalibration feat: ADF metrics recalibration, CI hardening, and release workflow Feb 28, 2026
@SmartBrandStrategies SmartBrandStrategies merged commit febca14 into main Feb 28, 2026
4 checks passed
@SmartBrandStrategies SmartBrandStrategies deleted the feat/adf-metrics-recalibration branch March 2, 2026 12:56
SmartBrandStrategies pushed a commit that referenced this pull request Mar 2, 2026
Move [Unreleased] to [0.5.0] with cross-platform fixes, git-helpers
consolidation, ADX-005 findings, papers restructure, and metrics
recalibration from PR #1 and PR #2.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants