Confirm cogs/gameplay_legacy.py is excluded from production #42

Closed
opened 2026-02-20 06:53:01 +00:00 by cal · 1 comment
Owner

~2500+ lines, not listed in paperdynasty.py's COGS list, but exists in Docker image. Still imports live production dependencies. Risks accidental activation if cog list were ever auto-discovered.

~2500+ lines, not listed in `paperdynasty.py`'s `COGS` list, but exists in Docker image. Still imports live production dependencies. Risks accidental activation if cog list were ever auto-discovered.
cal added the
tech-debt
label 2026-02-20 06:53:01 +00:00
cal added the
ai-working
label 2026-03-05 06:01:23 +00:00
cal removed the
ai-working
label 2026-03-05 06:05:10 +00:00
Author
Owner

PR opened: #52

The .dockerignore already had a *_legacy.py wildcard (added in an earlier catchup commit) which should exclude this file, but it was implicit. Added an explicit cogs/gameplay_legacy.py entry to make the exclusion unambiguous and self-documenting.

Note: the file still exists in the repo and imports live production dependencies. Deleting it entirely would be a more complete fix — flagged in the PR description for review.

PR opened: https://git.manticorum.com/cal/paper-dynasty-discord/pulls/52 The `.dockerignore` already had a `*_legacy.py` wildcard (added in an earlier catchup commit) which should exclude this file, but it was implicit. Added an explicit `cogs/gameplay_legacy.py` entry to make the exclusion unambiguous and self-documenting. Note: the file still exists in the repo and imports live production dependencies. Deleting it entirely would be a more complete fix — flagged in the PR description for review.
cal added the
ai-pr-opened
label 2026-03-05 06:05:25 +00:00
cal closed this issue 2026-03-10 18:26:33 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cal/paper-dynasty-discord#42
No description provided.