Cells reduced from 16x16 to 10x10 pixels. Same window size now shows more of the world — finer detail, more cells visible. Adaptive viewport recalculates grid_w/grid_h from new cell size. 109 tests, 0 failures
1 line
18 KiB
JSON
1 line
18 KiB
JSON
{"nodes": [{"id": "agents_agents", "label": "AGENTS.md", "file_type": "document", "source_file": "AGENTS.md", "source_location": null, "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_grid", "label": "Grid (250x250) source of truth", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 42", "source_url": null, "captured_at": null, "author": null, "contributor": null, "rationale": "AI-observable, dual renderer, single state. No double buffer \u2014 Grid::next was removed."}, {"id": "agents_cell", "label": "Cell struct", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 42", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_materialregistry", "label": "MaterialRegistry", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 55", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_cellularautomaton", "label": "CellularAutomaton", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 69", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_entitymanager", "label": "EntityManager", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 71", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_gpurenderer", "label": "GpuRenderer trait", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 48", "source_url": null, "captured_at": null, "author": null, "contributor": null, "rationale": "Unifies VulkanRenderer and GraphicsRenderer behind generic run_gpu_mode<R>(). Both have identical event loops; only shader/instance format differs."}, {"id": "agents_vulkanrenderer", "label": "VulkanRenderer", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 48", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_graphicsrenderer", "label": "GraphicsRenderer", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 48", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_run_gpu_mode", "label": "run_gpu_mode<R>()", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 48", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_game_fixed_update", "label": "Game::fixed_update()", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 50", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_game_run", "label": "Game::run()", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 50", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_inputhandler", "label": "InputHandler", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 50", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_windowinput", "label": "WindowInput", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 50", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_gamesession", "label": "GameSession", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 73", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_aiaction", "label": "AiAction", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 73", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_player", "label": "Player", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 71", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_verletsolver", "label": "VerletSolver", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 70", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_subbody", "label": "SubBody", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 70", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_constraint", "label": "Constraint", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 70", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_rigid_entity", "label": "rigid entity type", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 44", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_ragdoll_entity", "label": "ragdoll entity type", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 44", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_cellular_entity", "label": "cellular entity type", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 44", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_render_terminal", "label": "terminal render mode", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 46", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_render_ascii", "label": "ascii render mode", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 46", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_render_graphics", "label": "graphics render mode", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 46", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_render_pipe", "label": "pipe render mode", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 10", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_check_resize", "label": "check_resize()", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 58", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_update_rigid_entity", "label": "update_rigid_entity", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 57", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_slope_stepping", "label": "slope stepping convention", "file_type": "rationale", "source_file": "AGENTS.md", "source_location": "line 57", "source_url": null, "captured_at": null, "author": null, "contributor": null, "rationale": "update_rigid_entity tries stepping up 1 cell before resolving X collision, enabling walking up slopes without jumping."}, {"id": "agents_vector_movement", "label": "vector movement convention", "file_type": "rationale", "source_file": "AGENTS.md", "source_location": "line 56", "source_url": null, "captured_at": null, "author": null, "contributor": null, "rationale": "Player::move_left/right sets velocity directly via set_horizontal_vel, no accumulation. stop_horizontal zeroes it. Jump is edge-triggered (press only, not held)."}, {"id": "agents_inline_color", "label": "inline cell colors convention", "file_type": "rationale", "source_file": "AGENTS.md", "source_location": "line 55", "source_url": null, "captured_at": null, "author": null, "contributor": null, "rationale": "Renderers read cell.fg/cell.bg directly, never lookup MaterialRegistry in render path. Registry is for physics properties only (density, solid, flammable, etc.). Cell::new() copies colors from MaterialRegistry at creation time."}], "edges": [{"source": "agents_agents", "target": "plan_plan", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 76", "weight": 1.0}, {"source": "agents_grid", "target": "agents_cell", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 42", "weight": 1.0}, {"source": "agents_cell", "target": "agents_materialregistry", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 59", "weight": 1.0}, {"source": "agents_gpurenderer", "target": "agents_vulkanrenderer", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 48", "weight": 1.0}, {"source": "agents_gpurenderer", "target": "agents_graphicsrenderer", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 48", "weight": 1.0}, {"source": "agents_run_gpu_mode", "target": "agents_gpurenderer", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 48", "weight": 1.0}, {"source": "agents_game_fixed_update", "target": "agents_cellularautomaton", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 50", "weight": 1.0}, {"source": "agents_game_fixed_update", "target": "agents_rigid_entity", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 50", "weight": 1.0}, {"source": "agents_game_fixed_update", "target": "agents_ragdoll_entity", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 50", "weight": 1.0}, {"source": "agents_game_run", "target": "agents_inputhandler", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 50", "weight": 1.0}, {"source": "agents_run_gpu_mode", "target": "agents_windowinput", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 50", "weight": 1.0}, {"source": "agents_render_terminal", "target": "agents_grid", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 46", "weight": 1.0}, {"source": "agents_render_ascii", "target": "agents_grid", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 46", "weight": 1.0}, {"source": "agents_render_graphics", "target": "agents_grid", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 46", "weight": 1.0}, {"source": "agents_render_terminal", "target": "agents_entitymanager", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 46", "weight": 1.0}, {"source": "agents_render_ascii", "target": "agents_entitymanager", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 46", "weight": 1.0}, {"source": "agents_render_graphics", "target": "agents_entitymanager", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 46", "weight": 1.0}, {"source": "agents_gamesession", "target": "agents_aiaction", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 73", "weight": 1.0}, {"source": "agents_player", "target": "agents_vector_movement", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 56", "weight": 1.0}, {"source": "agents_update_rigid_entity", "target": "agents_slope_stepping", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 57", "weight": 1.0}, {"source": "agents_vulkanrenderer", "target": "agents_check_resize", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 58", "weight": 1.0}, {"source": "agents_graphicsrenderer", "target": "agents_check_resize", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 58", "weight": 1.0}, {"source": "agents_ragdoll_entity", "target": "agents_verletsolver", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 44", "weight": 1.0}, {"source": "agents_verletsolver", "target": "agents_constraint", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 70", "weight": 1.0}, {"source": "agents_verletsolver", "target": "agents_subbody", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 70", "weight": 1.0}, {"source": "agents_inline_color", "target": "agents_cell", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 55", "weight": 1.0}, {"source": "agents_inline_color", "target": "agents_materialregistry", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 55", "weight": 1.0}, {"source": "agents_grid", "target": "plan_verbatim_project", "relation": "conceptually_related_to", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "AGENTS.md", "source_location": "line 42", "weight": 1.0}, {"source": "agents_render_terminal", "target": "plan_terminal_renderer", "relation": "semantically_similar_to", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "AGENTS.md", "source_location": "line 46", "weight": 1.0}, {"source": "agents_render_ascii", "target": "plan_ascii_renderer", "relation": "semantically_similar_to", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "AGENTS.md", "source_location": "line 46", "weight": 1.0}, {"source": "agents_render_graphics", "target": "plan_graphics_renderer", "relation": "semantically_similar_to", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "AGENTS.md", "source_location": "line 46", "weight": 1.0}, {"source": "agents_rigid_entity", "target": "plan_rigid_entities", "relation": "semantically_similar_to", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "AGENTS.md", "source_location": "line 44", "weight": 1.0}, {"source": "agents_ragdoll_entity", "target": "plan_ragdoll_corpses", "relation": "semantically_similar_to", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "AGENTS.md", "source_location": "line 44", "weight": 1.0}, {"source": "agents_player", "target": "headless_dump_player", "relation": "semantically_similar_to", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "AGENTS.md", "source_location": "line 71", "weight": 1.0}, {"source": "agents_check_resize", "target": "plan_adaptive_viewport", "relation": "semantically_similar_to", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "AGENTS.md", "source_location": "line 58", "weight": 1.0}, {"source": "agents_inline_color", "target": "plan_per_cell_color", "relation": "semantically_similar_to", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "AGENTS.md", "source_location": "line 55", "weight": 1.0}, {"source": "agents_gamesession", "target": "plan_ai_pipe_protocol", "relation": "conceptually_related_to", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "AGENTS.md", "source_location": "line 73", "weight": 1.0}, {"source": "agents_gamesession", "target": "plan_replay_system", "relation": "conceptually_related_to", "confidence": "INFERRED", "confidence_score": 0.85, "source_file": "AGENTS.md", "source_location": "line 73", "weight": 1.0}, {"source": "agents_game_fixed_update", "target": "plan_fixed_timestep", "relation": "semantically_similar_to", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "AGENTS.md", "source_location": "line 50", "weight": 1.0}, {"source": "agents_render_pipe", "target": "plan_ai_pipe_protocol", "relation": "semantically_similar_to", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "AGENTS.md", "source_location": "line 10", "weight": 1.0}, {"source": "agents_verletsolver", "target": "plan_ragdoll_corpses", "relation": "conceptually_related_to", "confidence": "INFERRED", "confidence_score": 0.85, "source_file": "AGENTS.md", "source_location": "line 70", "weight": 1.0}, {"source": "agents_cellular_entity", "target": "plan_materials", "relation": "conceptually_related_to", "confidence": "INFERRED", "confidence_score": 0.85, "source_file": "AGENTS.md", "source_location": "line 44", "weight": 1.0}, {"source": "agents_cellularautomaton", "target": "plan_materials", "relation": "conceptually_related_to", "confidence": "INFERRED", "confidence_score": 0.85, "source_file": "AGENTS.md", "source_location": "line 69", "weight": 1.0}, {"source": "agents_gamesession", "target": "plan_test_framework", "relation": "conceptually_related_to", "confidence": "INFERRED", "confidence_score": 0.85, "source_file": "AGENTS.md", "source_location": "line 25", "weight": 1.0}], "hyperedges": [{"id": "he_game_loop_pipeline", "label": "Game loop fixed_update pipeline: CA step \u2192 rigid update \u2192 ragdoll update \u2192 damage", "node_ids": ["agents_game_fixed_update", "agents_cellularautomaton", "agents_rigid_entity", "agents_ragdoll_entity"], "source_file": "AGENTS.md", "source_location": "line 50"}, {"id": "he_triple_render_shared_state", "label": "Three render modes read the same Grid + EntityManager (single source of truth)", "node_ids": ["agents_render_terminal", "agents_render_ascii", "agents_render_graphics", "agents_grid", "agents_entitymanager"], "source_file": "AGENTS.md", "source_location": "line 46"}, {"id": "he_gpu_renderer_unification", "label": "GpuRenderer trait unifies VulkanRenderer + GraphicsRenderer behind run_gpu_mode<R>() with identical event loops", "node_ids": ["agents_gpurenderer", "agents_vulkanrenderer", "agents_graphicsrenderer", "agents_run_gpu_mode"], "source_file": "AGENTS.md", "source_location": "line 48"}]} |