fix: debuff corruption + persist playTime #64
Closed
Timmy
wants to merge 21 commits from
feat/better-rate-display into main
pull from: feat/better-rate-display
merge into: Timmy_Foundation:main
Timmy_Foundation:main
Timmy_Foundation:burn/20260413-0220-qa-fixes
Timmy_Foundation:burn/20260413-0202-qa-bug-sweep
Timmy_Foundation:burn/20260412-1220-polish-2
Timmy_Foundation:burn/fix-bilbo-randomness
Timmy_Foundation:sprint/issue-95
Timmy_Foundation:burn/fix-bilbo-drone-screenreader
Timmy_Foundation:sprint/issue-tutorial-fix
Timmy_Foundation:burn/fix-critical-bugs
Timmy_Foundation:qa/playtest-report
Timmy_Foundation:perplexity/dead-code-audit
Timmy_Foundation:burn/20260412-1227-sound
Timmy_Foundation:feat/symbolic-guardrails-1776010892175
Timmy_Foundation:feat/golden-ratio-drones
Timmy_Foundation:feat/gofai-npc-logic
Timmy_Foundation:burn/20260412-1150-a11y-fix
Timmy_Foundation:feat/beacon-mega-1775996281802
Timmy_Foundation:burn/a11y-aria-labels
Timmy_Foundation:burn/20260412-0757-polish
Timmy_Foundation:burn/20260412-0720-mobile-touch-polish
Timmy_Foundation:beacon/polish
Timmy_Foundation:burn/20260411-1845-export-import-keyboard-help
Timmy_Foundation:polish
Timmy_Foundation:burn/20260411-1627-export-import-shortcuts
Timmy_Foundation:burn/20260411-1507-fix-debuff-corruption
Timmy_Foundation:beacon/polish-tutorial-onboarding
Timmy_Foundation:burn/20260411-0022-accessibility-aria-labels
Timmy_Foundation:burn/20260410-2215-boosted-rates-click-power
Timmy_Foundation:feat/modular-engine-v2
Timmy_Foundation:fix/accessibility-aria
Timmy_Foundation:feat/agent-guardrails-and-smoke-test
Timmy_Foundation:rescue/export-import
Timmy_Foundation:burn/20260410-1920-49-accessibility-aria
Timmy_Foundation:refactor/unslop-phase-1-2
Timmy_Foundation:fix/add-smoke-test
Timmy_Foundation:feat/ci-a11y-checks
Timmy_Foundation:feat/a11y-smoke-test
Timmy_Foundation:burn/20260410-47-export-import-hotkeys
Timmy_Foundation:feat/progression-toasts
Timmy_Foundation:burn/20260410-0817-10-number-formatting
Timmy_Foundation:feat/offline-gains-popup
Timmy_Foundation:feature/locked-building-previews
Timmy_Foundation:feature/production-breakdown
Timmy_Foundation:fix/event-remediation-system
Timmy_Foundation:fix/creativity-double-count
Timmy_Foundation:burn/20260410-0423-25-mempalace-building
Timmy_Foundation:feat/combo-system
Timmy_Foundation:burn/20260410-0355-35-fix-offline-progress
Timmy_Foundation:feat/progress-bar-milestones
Timmy_Foundation:fix/offline-progress-all-resources
Timmy_Foundation:feature/buy-mode-toggle
Timmy_Foundation:burn/20260410-0225-fix-offline-progress
Timmy_Foundation:fix/offline-progress
Timmy_Foundation:burn/20260410-0052-13-static-site-meta
Timmy_Foundation:beacon/unlock-notifications
Timmy_Foundation:feature/save-toast
Timmy_Foundation:burn/20260409-2101-creativity-ops
Timmy_Foundation:burn/20260409-1926-18-spellf-full-number-formatting
Timmy_Foundation:feat/spellf-formatting
Timmy_Foundation:integration
Timmy_Foundation:allegro/code-review-and-enhancements
Timmy_Foundation:bezalel/fleet-story-integration
No Reviewers
No Label
Milestone
No items
No Milestone
Projects
Clear projects
No project
Assignees
Rockachopa
Timmy
allegro
antigravity
bezalel
claude
codex-agent
ezra
gemini
google
grok
hermes
kimi
manus
perplexity
Clear assignees
No Assignees
codex-agent
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Timmy_Foundation/the-beacon#64
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "feat/better-rate-display"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug fix: Debuff corruption bug
updateRates() was applying debuffs directly to global boost fields (G.codeBoost etc.), permanently degrading them on every call. Buying 10 buildings with an active debuff stacked the penalty 10x.
Fix: debuffs now apply to rates only via a switch statement, never mutating boost state. Also persists playTime across sessions.
feat: ETA estimates on phase progress and milestone chipsto fix: debuff corruption + persist playTime🤖 Auto-Merge Blocked — Merge Conflict
This PR (
feat/better-rate-display→main) has merge conflicts. Themergeableflag isfalse. Please rebase or resolve conflicts manually.Note: The
head_branchisfeat/better-rate-displaywhich is the same as PR #62's branch — these PRs may be stacked or conflicting with each other.🚫 Blocked: Merge conflicts — This branch (
feat/better-rate-display) has conflicts withmain. Rebase or resolve conflicts before merging.Sprint improvements:
PR #67 fixes both issues:
community_dramadebuff now modifiesG.codeRateinstead ofG.codeBoostplayTimeis now incremented each tick and persisted in save/loadAdded keyboard shortcuts 5-9 for buying research projects by position. Mirrors the existing Alt+1-9 building shortcuts — press 5 to buy the first available project, 6 for the second, etc. Help overlay updated. Project buttons now show slot numbers.
🤖 Timmy PR Review Bot
This PR has merge conflicts with
main. Please rebase or resolve conflicts.🔨 New commit: Building tooltips now show total production contribution and percentage of total income per resource. Hover any building to see e.g.
1250/s code (35% of code).This PR has the same title as #67 ("fix: debuff corruption + persist playTime") which has been merged. This PR likely contains an older version of the same fix and now has merge conflicts. Consider closing this PR.
Blocked: Merge conflict. This PR has
mergeable: false— it conflicts with the currentmainbranch. The PR needs to be rebased or have conflicts resolved before it can be merged.⚠️ Blocked: Merge conflicts detected.
This PR (
feat/better-rate-display→main) has merge conflicts that must be resolved before merging. The branch has diverged from main — likely because other PRs touching the same files have been merged since this branch was created.Action needed: Rebase or merge
mainintofeat/better-rate-display, resolve conflicts, and push the update.🚫 Merge blocked by Timmy PR review cron job.
This PR has merge conflicts with the base branch. Please rebase or resolve conflicts.
Please rebase this branch onto
mainand resolve any conflicts.⚠️ Blocked: merge conflict
This PR has conflicts with
main. Bothgame.jsandindex.htmlhave been modified onmainsince this branch was created. PR #70 (which just merged) also touchedindex.html.To fix: Rebase
feat/better-rate-displayonto the latestmainand resolve conflicts, then re-push. The debuff fix itself looks solid — just needs conflict resolution.PR Review — Blocked
Status: ❌ Cannot merge
Issues:
feat/better-rate-displayhas conflicts withmainthat must be resolved manuallygame.js(+333/-31) andindex.html(+11/-4). The debuff corruption fix is bundled with many feature additions (color-coded rates, drift warnings, capacity bars, keyboard shortcuts, particle effects, etc.)Recommendation: Resolve merge conflicts, ensure CI passes, and consider splitting this into smaller focused PRs — the debuff corruption fix should not be blocked by UI feature work.
PR Triage — Blocked: Merge Conflict
This PR (
feat/better-rate-display→main) reportsmergeable: false. The branch is behind currentmainand has conflicts that need manual resolution.Action needed:
mainintofeat/better-rate-displayOnce the branch is up to date and conflict-free, this PR can be merged.
Automated Review — PR not mergeable
This PR shows
mergeable: falseand cannot be merged via API. The branch (feat/better-rate-display) is 31 commits behindmain. While the diff itself has no explicit conflict markers, the underlying code has likely diverged enough that a clean merge isn't possible.What changed: The PR adds
getTimeToAfford,fmtETA,driftWarningLevel, debuff corruption fix (snapshot boosts before debuffs modify them), keyboard shortcuts, and UI polish. These changes are NOT yet inmain.Action needed: Update the branch by rebasing onto or merging latest
main:After rebasing, the PR should become mergeable. Alternatively, close this PR and open a fresh one from an updated branch.
🤖 Timmy PR Review — Status: Blocked
CI: ❌ Failing
Merge: ❌ Conflicts with base branch. Cannot auto-merge.
Changes (414 additions, 46 deletions):
getTimeToAfford()andfmtETA()utility functions — useful for rate displayAction needed: Resolve merge conflicts, fix CI, then this can merge. The debuff corruption fix alone is worth prioritizing.
Closing — branch based on old modular structure (separate js/ files) but main reverted to monolithic game.js. The debuff corruption fix is valuable but needs to be cherry-picked onto current main. Will recreate as a clean PR.
Pull request closed