Skip to content

fix(agent): refresh stale fallback e2e attestations + staleness detection (#203) - #216

Merged
rebuildup merged 2 commits into
release/rex-remotefrom
203-attestation
Nov 21, 2026
Merged

rebuildup merged 2 commits into
release/rex-remotefrom
203-attestation

Conversation

@rebuildup

Copy link
Copy Markdown
Owner

Summary

#203: committed e2e attestation (2026-11-04/13) が 7日期限を超過し、全 fallback profile が attestation-stale で NO USABLE CANDIDATES になっていた問題を解消。

  • 実機再検証: 4候補 route+model を 2026-11-21 に実実行(file create の tool call を disk で確認)— omp.kilo / omp.groq は agent task run、opencode.kilo は launcher run mode、omp.openrouter-free は launcher print mode(omp 19.0.0 / opencode 2.3.2)
  • 証跡更新: at/sha/note を実測値に更新。未再検証の追加 model(kilo-auto/free, cohere/north-mini-code:free)は value から除外し過剰主張を回避
  • 期限切れ検出: agent check が candidate 却下理由(attestation-stale 等)を警告出力 — CI で失効が可視化。更新に実モデル呼出が必要なため structural check は fail させない advisory
  • テストの日付依存を根本修正: fallback-exec の固定日付 pin(更新のたびに壊れる fix(agent): committed catalog e2e attestations が 7日期限を超過し fallback profile が全て attestation-stale で解決不能 #203 と同型の罠)を、catalog 最新 evidence +24h にアンカーした時計へ変更。freshness 検査自体は引き続き実行

検証

  • agent fallback 全4 profile が USABLE に回復
  • bun test fallback/fallback-exec/agent.test: 183 pass
  • typecheck pass

Generated with Devin

…tion (#203)

All four fallback profiles resolved NO USABLE CANDIDATES because the
committed live-e2e evidence (2026-11-04/13) aged past the 7-day
DEFAULT_MAX_EVIDENCE_AGE_MS window — fallback was silently dead.

- Re-verified all candidate route+model pairs with real runs on
  2026-11-21 (file-create tool calls confirmed on disk):
  omp.kilo, omp.groq via agent task run; opencode.kilo via launcher
  run mode; omp.openrouter-free via launcher print mode (omp 19.0.0,
  opencode 2.3.2). Evidence at/sha/note updated; unverified extra
  models dropped from kilo attestation values rather than overclaiming.
- agent check now prints per-candidate rejection warnings (incl.
  attestation-stale) on every run — CI surfaces upcoming expiry
  instead of discovering it at quota exhaustion. Advisory only:
  renewal needs real provider calls CI cannot perform.
- fallback-exec test: replace the fixed-calendar nowMs pin (which
  broke on every renewal/aging cycle — the same trap as #203) with a
  clock anchored to the freshest committed evidence +24h, keeping the
  freshness check itself exercised.

agent fallback now reports USABLE for all 4 profiles.
@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

…g freshness clock (#203)

The catalog freshness test asserted all three openrouter-free routes'
e2e usable at a fixed 2026-11-06 clock; renewing only the omp variant
left the other two stale. Re-verified both with real launcher runs
(claude 2.1.328 print mode, opencode 2.3.2 run mode; file creates
confirmed on disk) and anchored the test clock to the freshest catalog
evidence +24h — same renewal-calendar independence as the
fallback-exec fix.
@rebuildup
rebuildup merged commit 32dbfa8 into release/rex-remote Nov 21, 2026
3 of 4 checks passed
@rebuildup
rebuildup deleted the 203-attestation branch November 23, 2026 11:22
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