Skip to content

chore(T9964): v5.98 follow-ups — real briefing diet + ferrous-forge fix + release-prepare.yml#459

Merged
kryptobaseddev merged 2 commits into
mainfrom
chore/T9964-followups
May 22, 2026
Merged

chore(T9964): v5.98 follow-ups — real briefing diet + ferrous-forge fix + release-prepare.yml#459
kryptobaseddev merged 2 commits into
mainfrom
chore/T9964-followups

Conversation

@kryptobaseddev
Copy link
Copy Markdown
Owner

Summary

Three honest follow-ups from T9964 E-ORIENT-V2 v5.97 ship validation:

Part 1: REAL briefing diet (T9974 AC1 was missed — 2367 tokens, target ≤1000)

  • peerLearnings/decisions stripped to {id, insight/decision preview, createdAt, _next.fetch} in default mode; capped at 3 entries each
  • memoryContext.recent* title fields truncated to 80 chars
  • relatedDocs now fetches slug+type via getExtras(); entries without a slug are dropped (useless to a fresh agent)
  • blockedTasks/activeEpics capped at 3 with 60-char title truncation
  • lastSession.handoff strips empty arrays
  • Token counts recomputed post-diet (not pre-diet estimate)
  • New --memory-detail CLI flag / memoryDetail param restores full text fields
  • 5 new T9964 tests + 3 existing test mocks updated to include getExtras
  • SessionBriefingShowParams.memoryDetail added to contracts

Part 2: ferrous-forge pre-commit no longer blocks releases (Option A)

  • packages/cleo/test/fixtures/release-test-rust-crate/Cargo.toml: edition 2021→2024, rust-version 1.88 added, [lints.*] sections added
  • Eliminates MISSINGDOCCONFIG + WRONGEDITION violations — pre-commit now passes without --no-verify
  • All fixture tests unaffected (they check release-config.json, not edition/lints)

Part 3: .github/workflows/release-prepare.yml added (closes T9781)

  • workflow_dispatch with version input (e.g. v2026.5.99)
  • Validates CalVer pattern; cuts release/<version>-ship branch from main
  • Bumps root + 20 workspace package.json files + Cargo.toml workspace version
  • Updates @cleocode/* numeric dep refs in workspace packages
  • Reads .cleo/release/<version>.plan.json for epic title (if present)
  • Commits, pushes branch, opens PR ready for review + admin merge
  • Future releases: cleo release open v2026.5.99 works end-to-end

Test plan

  • 20 briefing-diet tests pass (15 existing + 5 new T9964)
  • 39 briefing-related tests pass (diet + docs + scope-handoff)
  • 72 briefing test files pass total (all 8 briefing test files)
  • Pre-commit hook passes WITHOUT --no-verify (ferrous-forge fix validated)
  • release-prepare.yml YAML syntax validated with python3 yaml parser
  • biome check clean on all changed files
  • Commit SHA: 269463c

🤖 Generated with Claude Code

@kryptobaseddev kryptobaseddev merged commit 88be694 into main May 22, 2026
37 checks passed
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.

1 participant