Create AGENTS.md, fix total-counter anchor bug, update README for repo rename, add score/roadmap#2
Merged
Conversation
…d add score/roadmap Agent-Logs-Url: https://github.com/nitrocode/token-deathclock/sessions/2793fefa-41e1-4bd8-803f-2632f18cb5f6 Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
nitrocode
April 14, 2026 13:21
View session
Copilot AI
added a commit
that referenced
this pull request
Apr 27, 2026
Agent-Logs-Url: https://github.com/nitrocode/token-deathclock/sessions/26d4dab7-c844-4225-b1f6-3530f6167a53 Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
nitrocode
added a commit
that referenced
this pull request
Apr 27, 2026
* feat: implement AI Guilt-O-Meter (Phase 3 PRD #2) Agent-Logs-Url: https://github.com/nitrocode/token-deathclock/sessions/26d4dab7-c844-4225-b1f6-3530f6167a53 Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com> * docs: add LEARNINGS entry for AI Guilt-O-Meter PR Agent-Logs-Url: https://github.com/nitrocode/token-deathclock/sessions/26d4dab7-c844-4225-b1f6-3530f6167a53 Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com> * fix: apply CodeRabbit auto-fixes Fixed 2 file(s) based on 2 unresolved review comments. Co-authored-by: CodeRabbit <noreply@coderabbit.ai> --------- Signed-off-by: RB <7775707+nitrocode@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: CodeRabbit <noreply@coderabbit.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses three issues surfaced during repo review: stale URLs from the
game→token-deathclockrename, a logic bug in the live counter, and missing AI-agent context.Bug fix —
getCurrentTokens()anchor (script.js)The total token counter was computing elapsed time from
pageLoadTimeinstead of theBASE_DATE_ISOdata anchor, so the counter always reset toBASE_TOKENSon every page load rather than reflecting true running totals.BASE_DATE_ISOis now destructured fromwindow.DeathClockCorealongside the other constants.pageLoadTimeis retained for the session counter only.README updates
game→token-deathclock(clone URL,cdcommand, GitHub Pages URL).New file —
AGENTS.mdProvides AI coding agents with repo layout, architecture invariants (core/DOM split, dual-export pattern,
escHtmlrequirement, counter anchor rule), key constants, test instructions, per-task change guides, and a prohibited-actions list.