Skip to content

D5-GOV contingent: pin brokeEmaWithBody to declared stub (zero-movement) - #79

Merged
Gio2050 merged 2 commits into
mainfrom
mission/d5-zero-movement-v0.1
Aug 4, 2026
Merged

D5-GOV contingent: pin brokeEmaWithBody to declared stub (zero-movement)#79
Gio2050 merged 2 commits into
mainfrom
mission/d5-zero-movement-v0.1

Conversation

@Gio2050

@Gio2050 Gio2050 commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • viewTechnical pins brokeEmaWithBody to BROKE_EMA_WITH_BODY_UNIMPLEMENTED_STUB from afi-core (same effective false, now named).
  • Ambient typings.d.ts shim updated so tsc can see the new export (ambient modules shadow real resolution — same class of issue as D8).
  • Zero golden / score movement. Provenance golden still 312da1180b0bd418c03f595093516ebdc755ba81465a0b526ace43d002126e06. All 141 golden/fixture sha256s identical before/after. 12/12 oracle scorerInputanalystScore identity preserved.

Merge order (critical)

  1. Merge afi-core D5 PR first — this CI checks out afi-core at its default branch with no ref:, so this PR will fail CI until the stub export is on main.
  2. Then merge this PR.
  3. Governance filing is Proposed-only; no Status flip in that PR.

Test plan

  • Full jest: 47 suites / 670 tests green (same as before)
  • Golden sha256 list diff empty vs pre-change
  • Oracle replay identity 12/12
  • Confirm CI green only after afi-core lands on main

Made with Cursor

…b (zero-movement)

Import BROKE_EMA_WITH_BODY_UNIMPLEMENTED_STUB from afi-core and pin
viewTechnical to that constant instead of a bare false literal. Ambient
typings updated so tsc sees the export. No golden/score change.
Merge after afi-core PR (CI checks out afi-core default branch with no ref).

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Aug 4, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@kilo-code-bot

kilo-code-bot Bot commented Aug 4, 2026

Copy link
Copy Markdown

Kilo Code Review could not run — your account is out of credits.

Add credits or switch to a free model to enable reviews on this change.

D8 (PR #77) deleted the ambient afi-core shims, including the
froggy.enrichment_adapter block this branch had patched to declare
BROKE_EMA_WITH_BODY_UNIMPLEMENTED_STUB.

Conflict resolved by taking main's typings.d.ts. The shim declaration is
now unnecessary and must NOT be reinstated: the constant resolves from
afi-core's real published dist/*.d.ts (afi-core PR #29, on main). Keeping
both sides here would have silently restored the `any` boundary D8 removed.
@Gio2050

Gio2050 commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

Updated this branch: merged main after D8 (#77) landed.

Conflict resolved deliberately. D8 deleted the ambient afi-core shim block that this branch had patched to declare BROKE_EMA_WITH_BODY_UNIMPLEMENTED_STUB. The declaration is now unnecessary — the constant resolves from afi-core's real published dist/*.d.ts (afi-core #29, merged).

Worth recording why the other resolution was dangerous: keeping both sides would have reinstated the shim block and silently restored the any boundary D8 exists to remove.

Verified on the merged result, against afi-core@main built clean:

  • npm run typecheck (strict, no shim, real afi-core types) — 0 errors
  • npm run build — clean
  • 670/670 tests, 47/47 suites
  • Provenance golden 312da118… unchanged; zero fixture files changed vs main

@Gio2050
Gio2050 merged commit fd30147 into main Aug 4, 2026
3 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