Skip to content

fix: cover gpt-5.4 cache-read pricing gaps#80

Merged
fazxes merged 3 commits intomainfrom
fix/cache-read-pricing-coverage
Apr 5, 2026
Merged

fix: cover gpt-5.4 cache-read pricing gaps#80
fazxes merged 3 commits intomainfrom
fix/cache-read-pricing-coverage

Conversation

@fazxes
Copy link
Copy Markdown
Member

@fazxes fazxes commented Apr 5, 2026

Summary

  • add the missing cache_read pricing assertions for gpt-5.4-mini and gpt-5.4-nano
  • record Phractal evaluation 0002 and document that rerun evaluations should reuse existing pending tasks instead of duplicating them
  • sync tracker, handoff, learning, and queued task archive state with the verified session results

Test plan

  • python3 -c 'import nightshift; print(nightshift.MODEL_PRICING["gpt-5.4-mini"]["cache_read"], nightshift.MODEL_PRICING["gpt-5.4-nano"]["cache_read"])'
  • python3 -m pytest tests/test_nightshift.py -k 'test_model_pricing_has_gpt54_mini or test_model_pricing_has_gpt54_nano' -v
  • bash scripts/validate-docs.sh
  • make check

@fazxes fazxes merged commit f6dbd8d into main Apr 5, 2026
5 checks passed
@fazxes fazxes deleted the fix/cache-read-pricing-coverage branch April 5, 2026 11:36
fazxes added a commit that referenced this pull request Apr 6, 2026
Pentest found daemon.sh crashes on bash 3.2 due to `local` outside
function (PR #143 regression). Created urgent tasks #154 and #155.

Done: #116 (PR #126), #151 (tracker count fixed by PR #142)
Wontfix: #80, #107, #111, #115, #127, #134 (speculative/superseded)
fazxes added a commit that referenced this pull request Apr 6, 2026
fazxes added a commit that referenced this pull request Apr 9, 2026
…one)

Queue before: 72 pending + 9 wontfix-in-active-dir
Queue after: 65 pending + 0 wontfix (all converted to done for archiving)

Merged into primary tasks (5 closures):
- #175 -> #174: both add tests to TestAuthFailureDetection, same PR
- #163 -> #162: both are scoring module tests from PR #158 review, same PR
- #124 -> #122: both validate doc snapshot consistency, same PR scope
- #196 -> #173: both add entries to PROMPT_GUARD_FILES in lib-agent.sh
- #180 -> #179: both touch _is_valid_eval_file() in pick-role.py, same PR

Closed as obsolete (1):
- #78: references non-existent "evolve.md Step 8" and the multi-agent
  review panel replaced by unified review in PR #107

Closed as low-value (1):
- #230: _DELEGATION_ROLE_MAP covers all 8 current agent types; new agent
  types require major framework work making the map update obvious

Converted wontfix -> done for archiving (9):
- #77, #80, #107, #111, #115, #119, #127, #129, #134
  All had wontfix status with rationale already documented; changed to
  done so daemon's archive_done_tasks() housekeeping removes them
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