(Underdepths): First pass
This commit is contained in:
1 parent
7c9699a7eb
commit
da780bd75f
31 files changed
+3554
No files matched your search
@@ -0,0 +1,12 @@
|
||||
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
|
||||
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
|
||||
Extension error (<runtime>): Agent is already processing. Specify streamingBehavior ('steer' or 'followUp') to queue the message.
|
||||
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
|
||||
Implemented and verified all acceptance criteria.
|
||||
|
||||
- Fixed slime splitting onto player tiles.
|
||||
- Randomized boss-arena placement.
|
||||
- Fixed full-inventory scrolling and combat message colors.
|
||||
- Added honest deterministic headless coverage: movement, combat, pickup/use/equip, stairs, save/relaunch/load, death, victory, AI, FOV, procedural variation, 18,000 rendered turns.
|
||||
- `SDL_VIDEODRIVER=dummy python tests/smoke.py` — phases 1–4 PASS.
|
||||
- `compileall`, launch smoke, and `git diff --check` pass.
|
||||
@@ -0,0 +1,55 @@
|
||||
pygame-ce 2.5.8 (SDL 2.32.10, Python 3.13.13)
|
||||
################################################################################
|
||||
################################################################################
|
||||
#######################################.......############################....##
|
||||
#######################################.......################.......#####....##
|
||||
#######################################...@...................................##
|
||||
#######################################.......################.......#####....##
|
||||
#######################################.......################.......###########
|
||||
##########################################.###################.......###########
|
||||
##########################################.###################.......###########
|
||||
##########################################.###################.......###########
|
||||
##########################################.###################.......###########
|
||||
##########################################.######################.##############
|
||||
######........############################.######################.##############
|
||||
######........############################.######################.##############
|
||||
######.....................................######################.##############
|
||||
######........##############........#############################.##############
|
||||
######........##############........#############################.##############
|
||||
##########.#################........#############################.##############
|
||||
##########.#################........#############################.##############
|
||||
##########.#################........#############################.##############
|
||||
##########.#################........#############################.##############
|
||||
##########.#################........#############################.##############
|
||||
##########.#####################.################################.##############
|
||||
##########.#####################.################################.##############
|
||||
##########.#####################.################################.##############
|
||||
##########.#####################.######################....######.##############
|
||||
##########.#####################.######################....######.##############
|
||||
##########.#####################...........................######.##############
|
||||
##########.#####################.######################....######.##############
|
||||
##########.#####################.################################.##############
|
||||
##########.#####################.################################.##############
|
||||
##########.#####################.################################.##############
|
||||
##########.#####################.################################.##############
|
||||
##########.#####################.################################.##############
|
||||
##########.#####################.################################.##############
|
||||
##########.#####################.################################.##############
|
||||
##########...........###########.################################.##############
|
||||
##########...........###########.################################.##############
|
||||
##########...........###########.################################.##############
|
||||
###########..........###########.################################.##############
|
||||
################################.################################.##############
|
||||
################################.#......########################..........######
|
||||
################################.#......########################..........######
|
||||
################################.#......########################..........######
|
||||
################################........########################.....>....######
|
||||
##################################......########################..........######
|
||||
##################################......########################..........######
|
||||
##################################......########################################
|
||||
################################################################################
|
||||
################################################################################
|
||||
phase 1: PASS
|
||||
phase 2: PASS
|
||||
phase 3: PASS
|
||||
phase 4: PASS
|
||||
@@ -0,0 +1,15 @@
|
||||
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
|
||||
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
|
||||
Implemented Phase 1 foundation:
|
||||
|
||||
- BSP dungeon generation, entities, player/enemy models, `GameSession`
|
||||
- Minimal playable pygame movement/rendering
|
||||
- Phase 1 smoke gate with 5 maps, overlap and flood-fill checks, ASCII output
|
||||
- Installed `pygame-ce`
|
||||
|
||||
Verified:
|
||||
- `python tests/smoke.py --phase 1` — **PASS**
|
||||
- Headless pygame render — **PASS**
|
||||
- 100-map generation stress check — **PASS**
|
||||
|
||||
Later phases remain untouched.
|
||||
@@ -0,0 +1,51 @@
|
||||
################################################################################
|
||||
################################################################################
|
||||
#######################################.......############################....##
|
||||
#######################################.......################.......#####....##
|
||||
#######################################...@...................................##
|
||||
#######################################.......################.......#####....##
|
||||
#######################################.......################.......###########
|
||||
##########################################.###################.......###########
|
||||
##########################################.###################.......###########
|
||||
##########################################.###################.......###########
|
||||
##########################################.###################.......###########
|
||||
##########################################.######################.##############
|
||||
######........############################.######################.##############
|
||||
######........############################.######################.##############
|
||||
######.....................................######################.##############
|
||||
######........##############........#############################.##############
|
||||
######........##############........#############################.##############
|
||||
##########.#################........#############################.##############
|
||||
##########.#################........#############################.##############
|
||||
##########.#################........#############################.##############
|
||||
##########.#################........#############################.##############
|
||||
##########.#################........#############################.##############
|
||||
##########.#####################.################################.##############
|
||||
##########.#####################.################################.##############
|
||||
##########.#####################.################################.##############
|
||||
##########.#####################.######################....######.##############
|
||||
##########.#####################.######################....######.##############
|
||||
##########.#####################...........................######.##############
|
||||
##########.#####################.######################....######.##############
|
||||
##########.#####################.################################.##############
|
||||
##########.#####################.################################.##############
|
||||
##########.#####################.################################.##############
|
||||
##########.#####################.################################.##############
|
||||
##########.#####################.################################.##############
|
||||
##########.#####################.################################.##############
|
||||
##########.#####################.################################.##############
|
||||
##########...........###########.################################.##############
|
||||
##########...........###########.################################.##############
|
||||
##########...........###########.################################.##############
|
||||
###########..........###########.################################.##############
|
||||
################################.################################.##############
|
||||
################################.#......########################..........######
|
||||
################################.#......########################..........######
|
||||
################################.#......########################..........######
|
||||
################################........########################.....>....######
|
||||
##################################......########################..........######
|
||||
##################################......########################..........######
|
||||
##################################......########################################
|
||||
################################################################################
|
||||
################################################################################
|
||||
phase 1: PASS
|
||||
@@ -0,0 +1,13 @@
|
||||
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
|
||||
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
|
||||
Implemented:
|
||||
|
||||
- `ai/behaviors.py`: wander, chase/last-known, flee, ranged/kiting, phase, split; ordered enemy turns.
|
||||
- Integrated AI/combat into `engine/game_state.py`, `engine/combat.py`, `main.py`.
|
||||
- Added AI state/constants.
|
||||
- Replaced Phase 2 smoke stub with real FOV, A*, 1000-attack combat, corridor chase gates.
|
||||
|
||||
Verified:
|
||||
- `python tests/smoke.py --phase 2` → **PASS**
|
||||
- Phase 1 regression → **PASS**
|
||||
- Compile and `git diff --check` → **PASS**
|
||||
@@ -0,0 +1,9 @@
|
||||
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
|
||||
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
|
||||
Implemented:
|
||||
|
||||
- `engine/combat.py`: hit clamp, armor, weapon bonus, crits, enemy/player death, XP, readable logs.
|
||||
- `data/constants.py`: combat tuning constants and dead state.
|
||||
- Verified compilation, 1,000 simulated attacks, death/XP/logging, and Phase 1 smoke gate.
|
||||
|
||||
Skipped `tests/smoke.py`: concurrent Phase 2 edits unsafe; follow-up owns integration.
|
||||
@@ -0,0 +1,10 @@
|
||||
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
|
||||
[LCM] Failed to initialize: database is locked
|
||||
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
|
||||
Implemented:
|
||||
|
||||
- `engine/fov.py`: recursive shadowcasting, 8 octants, visibility reset, explored persistence, wall occlusion.
|
||||
- `data/constants.py`: `FOV_RADIUS = 8`.
|
||||
- Left `tests/smoke.py` untouched due concurrent edits.
|
||||
|
||||
Verified compilation, open-map radius coverage, wall blocking, explored persistence, 100 generated maps, and Phase 1 smoke gate.
|
||||
@@ -0,0 +1 @@
|
||||
phase 2: PASS
|
||||
@@ -0,0 +1,13 @@
|
||||
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
|
||||
[LCM] Failed to initialize: database is locked
|
||||
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
|
||||
Implemented `engine/pathfinding.py`:
|
||||
|
||||
- Grid A* with Manhattan heuristic
|
||||
- Cardinal movement
|
||||
- Wall/out-of-bounds rejection
|
||||
- Occupied-tile avoidance
|
||||
- Empty path when unreachable
|
||||
- Full type hints
|
||||
|
||||
Assertions and compile check pass. Left `tests/smoke.py` untouched due concurrent edits.
|
||||
@@ -0,0 +1,20 @@
|
||||
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
|
||||
Python mapper failed: Error: Command failed: python3 /Users/alex/.pi/agent/npm/node_modules/pi-hashline-readmap/scripts/python_outline.py /Users/alex/Projects/scripting/agentic-labs-challenge/underdepths/ai/behaviors.py
|
||||
|
||||
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
|
||||
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
|
||||
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
|
||||
Implemented Phase 3 Content Layer.
|
||||
|
||||
- Complete item/enemy catalogs, inventory, equipment, consumables, scrolls
|
||||
- Full XP progression and thresholds
|
||||
- Depth-gated spawning, slime splitting, dragon breath
|
||||
- Floor-9 boss arena with two healing potions
|
||||
- Gameplay controls/rendering/log display wired
|
||||
- Deterministic RNG stored in `GameSession`
|
||||
- Comprehensive Phase 3 smoke assertions
|
||||
|
||||
Verification:
|
||||
- `python tests/smoke.py --phase 3` — **PASS**
|
||||
- Phase 2 regression gate — **PASS**
|
||||
- Headless rendering/input check — **PASS**
|
||||
@@ -0,0 +1 @@
|
||||
phase 3: PASS
|
||||
@@ -0,0 +1,6 @@
|
||||
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
|
||||
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
|
||||
Implemented Phase 4 in `main.py`, `engine/serializers.py`, `data/constants.py`, `engine/game_state.py`, and `tests/smoke.py`.
|
||||
|
||||
- `python tests/smoke.py --phase 4` ✅
|
||||
- Full smoke suite + compile checks ✅
|
||||
@@ -0,0 +1,2 @@
|
||||
pygame-ce 2.5.8 (SDL 2.32.10, Python 3.13.13)
|
||||
phase 4: PASS
|
||||
Reference in new issue
Block a user