Merge ios-test-port: iOS test port

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Forrest 2026-10-14 13:00:09 -04:00
commit e5ad872175
46 changed files with 65141 additions and 1881 deletions

View file

@ -4,8 +4,9 @@ importer="texture"
type="CompressedTexture2D"
uid="uid://l8ahqd8a4ehh"
path.s3tc="res://.godot/imported/Demonstration_texture.png-531b35757f476ed9131f8d32b99aee3a.s3tc.ctex"
path.etc2="res://.godot/imported/Demonstration_texture.png-531b35757f476ed9131f8d32b99aee3a.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
generator_parameters={
@ -15,7 +16,7 @@ generator_parameters={
[deps]
source_file="res://assets/farm/ithappy/farm/textures/Demonstration_texture.png"
dest_files=["res://.godot/imported/Demonstration_texture.png-531b35757f476ed9131f8d32b99aee3a.s3tc.ctex"]
dest_files=["res://.godot/imported/Demonstration_texture.png-531b35757f476ed9131f8d32b99aee3a.s3tc.ctex", "res://.godot/imported/Demonstration_texture.png-531b35757f476ed9131f8d32b99aee3a.etc2.ctex"]
[params]

View file

@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D"
uid="uid://bq421knnjuapb"
path.s3tc="res://.godot/imported/Skybox_3.png-61ae8eb554902b0b4316c51f989ec19d.s3tc.ctex"
path.etc2="res://.godot/imported/Skybox_3.png-61ae8eb554902b0b4316c51f989ec19d.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
[deps]
source_file="res://assets/farm/ithappy/farm/textures/Skybox_3.png"
dest_files=["res://.godot/imported/Skybox_3.png-61ae8eb554902b0b4316c51f989ec19d.s3tc.ctex"]
dest_files=["res://.godot/imported/Skybox_3.png-61ae8eb554902b0b4316c51f989ec19d.s3tc.ctex", "res://.godot/imported/Skybox_3.png-61ae8eb554902b0b4316c51f989ec19d.etc2.ctex"]
[params]

View file

@ -4,8 +4,9 @@ importer="texture"
type="CompressedTexture2D"
uid="uid://byfu60pf0k258"
path.s3tc="res://.godot/imported/Mannequin_Medium_mannequin_texture.png-ab8c55fbeabd8881f12ea75ce86eaa7e.s3tc.ctex"
path.etc2="res://.godot/imported/Mannequin_Medium_mannequin_texture.png-ab8c55fbeabd8881f12ea75ce86eaa7e.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
generator_parameters={
@ -15,7 +16,7 @@ generator_parameters={
[deps]
source_file="res://assets/kaykit_characters/characters/Mannequin_Medium_mannequin_texture.png"
dest_files=["res://.godot/imported/Mannequin_Medium_mannequin_texture.png-ab8c55fbeabd8881f12ea75ce86eaa7e.s3tc.ctex"]
dest_files=["res://.godot/imported/Mannequin_Medium_mannequin_texture.png-ab8c55fbeabd8881f12ea75ce86eaa7e.s3tc.ctex", "res://.godot/imported/Mannequin_Medium_mannequin_texture.png-ab8c55fbeabd8881f12ea75ce86eaa7e.etc2.ctex"]
[params]

View file

@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D"
uid="uid://b2ytl0ogm5vug"
path.s3tc="res://.godot/imported/Bark_DeadTree.png-f3f45886915dbc677ea7a6467e78d152.s3tc.ctex"
path.etc2="res://.godot/imported/Bark_DeadTree.png-f3f45886915dbc677ea7a6467e78d152.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
[deps]
source_file="res://assets/nature_megakit/Bark_DeadTree.png"
dest_files=["res://.godot/imported/Bark_DeadTree.png-f3f45886915dbc677ea7a6467e78d152.s3tc.ctex"]
dest_files=["res://.godot/imported/Bark_DeadTree.png-f3f45886915dbc677ea7a6467e78d152.s3tc.ctex", "res://.godot/imported/Bark_DeadTree.png-f3f45886915dbc677ea7a6467e78d152.etc2.ctex"]
[params]

View file

@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D"
uid="uid://bl1qt0vtiifgn"
path.s3tc="res://.godot/imported/Bark_DeadTree_Normal.png-a4bb8075171dee58e87baf5dcbd460b1.s3tc.ctex"
path.etc2="res://.godot/imported/Bark_DeadTree_Normal.png-a4bb8075171dee58e87baf5dcbd460b1.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
[deps]
source_file="res://assets/nature_megakit/Bark_DeadTree_Normal.png"
dest_files=["res://.godot/imported/Bark_DeadTree_Normal.png-a4bb8075171dee58e87baf5dcbd460b1.s3tc.ctex"]
dest_files=["res://.godot/imported/Bark_DeadTree_Normal.png-a4bb8075171dee58e87baf5dcbd460b1.s3tc.ctex", "res://.godot/imported/Bark_DeadTree_Normal.png-a4bb8075171dee58e87baf5dcbd460b1.etc2.ctex"]
[params]

View file

@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D"
uid="uid://bd6ht72pjmotv"
path.s3tc="res://.godot/imported/Bark_NormalTree.png-529d60ef8ce16ec9a6c08391b0284ced.s3tc.ctex"
path.etc2="res://.godot/imported/Bark_NormalTree.png-529d60ef8ce16ec9a6c08391b0284ced.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
[deps]
source_file="res://assets/nature_megakit/Bark_NormalTree.png"
dest_files=["res://.godot/imported/Bark_NormalTree.png-529d60ef8ce16ec9a6c08391b0284ced.s3tc.ctex"]
dest_files=["res://.godot/imported/Bark_NormalTree.png-529d60ef8ce16ec9a6c08391b0284ced.s3tc.ctex", "res://.godot/imported/Bark_NormalTree.png-529d60ef8ce16ec9a6c08391b0284ced.etc2.ctex"]
[params]

View file

@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D"
uid="uid://d4l5mh6scuhmj"
path.s3tc="res://.godot/imported/Bark_NormalTree_Normal.png-5e4960e71fb4833f291c0e3e5e0104c3.s3tc.ctex"
path.etc2="res://.godot/imported/Bark_NormalTree_Normal.png-5e4960e71fb4833f291c0e3e5e0104c3.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
[deps]
source_file="res://assets/nature_megakit/Bark_NormalTree_Normal.png"
dest_files=["res://.godot/imported/Bark_NormalTree_Normal.png-5e4960e71fb4833f291c0e3e5e0104c3.s3tc.ctex"]
dest_files=["res://.godot/imported/Bark_NormalTree_Normal.png-5e4960e71fb4833f291c0e3e5e0104c3.s3tc.ctex", "res://.godot/imported/Bark_NormalTree_Normal.png-5e4960e71fb4833f291c0e3e5e0104c3.etc2.ctex"]
[params]

View file

@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D"
uid="uid://7y3t1btttxf0"
path.s3tc="res://.godot/imported/Bark_TwistedTree.png-1b4a7c2c44c9f22a4612e116cdc05a59.s3tc.ctex"
path.etc2="res://.godot/imported/Bark_TwistedTree.png-1b4a7c2c44c9f22a4612e116cdc05a59.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
[deps]
source_file="res://assets/nature_megakit/Bark_TwistedTree.png"
dest_files=["res://.godot/imported/Bark_TwistedTree.png-1b4a7c2c44c9f22a4612e116cdc05a59.s3tc.ctex"]
dest_files=["res://.godot/imported/Bark_TwistedTree.png-1b4a7c2c44c9f22a4612e116cdc05a59.s3tc.ctex", "res://.godot/imported/Bark_TwistedTree.png-1b4a7c2c44c9f22a4612e116cdc05a59.etc2.ctex"]
[params]

View file

@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D"
uid="uid://cin8iggnleb76"
path.s3tc="res://.godot/imported/Bark_TwistedTree_Normal.png-48db32c541b9f83b39326d017d9932b1.s3tc.ctex"
path.etc2="res://.godot/imported/Bark_TwistedTree_Normal.png-48db32c541b9f83b39326d017d9932b1.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
[deps]
source_file="res://assets/nature_megakit/Bark_TwistedTree_Normal.png"
dest_files=["res://.godot/imported/Bark_TwistedTree_Normal.png-48db32c541b9f83b39326d017d9932b1.s3tc.ctex"]
dest_files=["res://.godot/imported/Bark_TwistedTree_Normal.png-48db32c541b9f83b39326d017d9932b1.s3tc.ctex", "res://.godot/imported/Bark_TwistedTree_Normal.png-48db32c541b9f83b39326d017d9932b1.etc2.ctex"]
[params]

View file

@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D"
uid="uid://demwua5bx6vcd"
path.s3tc="res://.godot/imported/Flowers.png-2d1450efda68e46d2db2d47447cb0791.s3tc.ctex"
path.etc2="res://.godot/imported/Flowers.png-2d1450efda68e46d2db2d47447cb0791.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
[deps]
source_file="res://assets/nature_megakit/Flowers.png"
dest_files=["res://.godot/imported/Flowers.png-2d1450efda68e46d2db2d47447cb0791.s3tc.ctex"]
dest_files=["res://.godot/imported/Flowers.png-2d1450efda68e46d2db2d47447cb0791.s3tc.ctex", "res://.godot/imported/Flowers.png-2d1450efda68e46d2db2d47447cb0791.etc2.ctex"]
[params]

View file

@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D"
uid="uid://dc1e0gu60jlwf"
path.s3tc="res://.godot/imported/Grass.png-cccc2aab3944b2b67f6d9ae9fe6d60c1.s3tc.ctex"
path.etc2="res://.godot/imported/Grass.png-cccc2aab3944b2b67f6d9ae9fe6d60c1.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
[deps]
source_file="res://assets/nature_megakit/Grass.png"
dest_files=["res://.godot/imported/Grass.png-cccc2aab3944b2b67f6d9ae9fe6d60c1.s3tc.ctex"]
dest_files=["res://.godot/imported/Grass.png-cccc2aab3944b2b67f6d9ae9fe6d60c1.s3tc.ctex", "res://.godot/imported/Grass.png-cccc2aab3944b2b67f6d9ae9fe6d60c1.etc2.ctex"]
[params]

View file

@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D"
uid="uid://cd2vx1256yxl6"
path.s3tc="res://.godot/imported/Leaf_Pine_C.png-9b41280c328ec36a018fb3198d48e77d.s3tc.ctex"
path.etc2="res://.godot/imported/Leaf_Pine_C.png-9b41280c328ec36a018fb3198d48e77d.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
[deps]
source_file="res://assets/nature_megakit/Leaf_Pine_C.png"
dest_files=["res://.godot/imported/Leaf_Pine_C.png-9b41280c328ec36a018fb3198d48e77d.s3tc.ctex"]
dest_files=["res://.godot/imported/Leaf_Pine_C.png-9b41280c328ec36a018fb3198d48e77d.s3tc.ctex", "res://.godot/imported/Leaf_Pine_C.png-9b41280c328ec36a018fb3198d48e77d.etc2.ctex"]
[params]

View file

@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D"
uid="uid://1hvg3wpk1ssn"
path.s3tc="res://.godot/imported/Leaves.png-38a3480f45ef3076177b036ecdfcd216.s3tc.ctex"
path.etc2="res://.godot/imported/Leaves.png-38a3480f45ef3076177b036ecdfcd216.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
[deps]
source_file="res://assets/nature_megakit/Leaves.png"
dest_files=["res://.godot/imported/Leaves.png-38a3480f45ef3076177b036ecdfcd216.s3tc.ctex"]
dest_files=["res://.godot/imported/Leaves.png-38a3480f45ef3076177b036ecdfcd216.s3tc.ctex", "res://.godot/imported/Leaves.png-38a3480f45ef3076177b036ecdfcd216.etc2.ctex"]
[params]

View file

@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D"
uid="uid://c036laykve8a"
path.s3tc="res://.godot/imported/Leaves_NormalTree_C.png-4f85dfce7f3ec258fcf1751fddc4f217.s3tc.ctex"
path.etc2="res://.godot/imported/Leaves_NormalTree_C.png-4f85dfce7f3ec258fcf1751fddc4f217.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
[deps]
source_file="res://assets/nature_megakit/Leaves_NormalTree_C.png"
dest_files=["res://.godot/imported/Leaves_NormalTree_C.png-4f85dfce7f3ec258fcf1751fddc4f217.s3tc.ctex"]
dest_files=["res://.godot/imported/Leaves_NormalTree_C.png-4f85dfce7f3ec258fcf1751fddc4f217.s3tc.ctex", "res://.godot/imported/Leaves_NormalTree_C.png-4f85dfce7f3ec258fcf1751fddc4f217.etc2.ctex"]
[params]

View file

@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D"
uid="uid://r6xfrxtvh202"
path.s3tc="res://.godot/imported/Leaves_TwistedTree_C.png-485b2cf21e96e99854b56745546f1884.s3tc.ctex"
path.etc2="res://.godot/imported/Leaves_TwistedTree_C.png-485b2cf21e96e99854b56745546f1884.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
[deps]
source_file="res://assets/nature_megakit/Leaves_TwistedTree_C.png"
dest_files=["res://.godot/imported/Leaves_TwistedTree_C.png-485b2cf21e96e99854b56745546f1884.s3tc.ctex"]
dest_files=["res://.godot/imported/Leaves_TwistedTree_C.png-485b2cf21e96e99854b56745546f1884.s3tc.ctex", "res://.godot/imported/Leaves_TwistedTree_C.png-485b2cf21e96e99854b56745546f1884.etc2.ctex"]
[params]

View file

@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D"
uid="uid://b8gkr2oyj0ors"
path.s3tc="res://.godot/imported/Mushrooms.png-ee9570bfd71f2bd2e0d1273f5e47717e.s3tc.ctex"
path.etc2="res://.godot/imported/Mushrooms.png-ee9570bfd71f2bd2e0d1273f5e47717e.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
[deps]
source_file="res://assets/nature_megakit/Mushrooms.png"
dest_files=["res://.godot/imported/Mushrooms.png-ee9570bfd71f2bd2e0d1273f5e47717e.s3tc.ctex"]
dest_files=["res://.godot/imported/Mushrooms.png-ee9570bfd71f2bd2e0d1273f5e47717e.s3tc.ctex", "res://.godot/imported/Mushrooms.png-ee9570bfd71f2bd2e0d1273f5e47717e.etc2.ctex"]
[params]

View file

@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D"
uid="uid://0atylkix7ahe"
path.s3tc="res://.godot/imported/PathRocks_Diffuse.png-d5b87c43a0595370a8e2908a6355a250.s3tc.ctex"
path.etc2="res://.godot/imported/PathRocks_Diffuse.png-d5b87c43a0595370a8e2908a6355a250.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
[deps]
source_file="res://assets/nature_megakit/PathRocks_Diffuse.png"
dest_files=["res://.godot/imported/PathRocks_Diffuse.png-d5b87c43a0595370a8e2908a6355a250.s3tc.ctex"]
dest_files=["res://.godot/imported/PathRocks_Diffuse.png-d5b87c43a0595370a8e2908a6355a250.s3tc.ctex", "res://.godot/imported/PathRocks_Diffuse.png-d5b87c43a0595370a8e2908a6355a250.etc2.ctex"]
[params]

View file

@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D"
uid="uid://dphct0p6yda6k"
path.s3tc="res://.godot/imported/Rocks_Diffuse.png-642cf887719af5f8396079fc3b3a55c2.s3tc.ctex"
path.etc2="res://.godot/imported/Rocks_Diffuse.png-642cf887719af5f8396079fc3b3a55c2.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
[deps]
source_file="res://assets/nature_megakit/Rocks_Diffuse.png"
dest_files=["res://.godot/imported/Rocks_Diffuse.png-642cf887719af5f8396079fc3b3a55c2.s3tc.ctex"]
dest_files=["res://.godot/imported/Rocks_Diffuse.png-642cf887719af5f8396079fc3b3a55c2.s3tc.ctex", "res://.godot/imported/Rocks_Diffuse.png-642cf887719af5f8396079fc3b3a55c2.etc2.ctex"]
[params]

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dfpgok3og1psf"
path="res://.godot/imported/ios_icon_1024.png-50d83b30194cf01bdcdacca9d6880d03.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/pictures/icons/ios_icon_1024.png"
dest_files=["res://.godot/imported/ios_icon_1024.png-50d83b30194cf01bdcdacca9d6880d03.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

70
codemagic.yaml Normal file
View file

@ -0,0 +1,70 @@
# Codemagic build of the iOS test port (docs/ios-test-port.md): Godot exports the Xcode project
# (export_presets.cfg's "iOS" preset, export only), Codemagic signs it, builds the .ipa, and
# uploads it to App Store Connect for TestFlight. Starts manually only (no triggering section).
# Fill in the FILL IN value (the App Store Connect API key's name) first.
workflows:
ios-perf-test:
name: iOS perf test (TestFlight)
instance_type: mac_mini_m2
max_build_duration: 60
integrations:
app_store_connect: FILL IN # the App Store Connect API key's name in Codemagic's team integrations
environment:
ios_signing:
distribution_type: app_store
bundle_identifier: &bundle_id com.oatmealgames.harvestseason
vars:
BUNDLE_ID: *bundle_id
APPLE_TEAM_ID: 823T4Q2T3U
GODOT_VERSION: 4.7.2
xcode: latest
cache:
cache_paths:
- $HOME/Library/Application Support/Godot/export_templates
scripts:
- name: Install Godot and the iOS export template
script: |
set -euo pipefail
base="https://github.com/godotengine/godot/releases/download/$GODOT_VERSION-stable"
cd "$HOME"
curl -fsSL -o godot.zip "$base/Godot_v$GODOT_VERSION-stable_macos.universal.zip"
unzip -q -o godot.zip
templates="$HOME/Library/Application Support/Godot/export_templates/$GODOT_VERSION.stable"
if [ ! -f "$templates/ios.zip" ]; then
# The full template set is ~1 GB; only the iOS one is kept (and cached).
curl -fsSL -o templates.tpz "$base/Godot_v$GODOT_VERSION-stable_export_templates.tpz"
mkdir -p "$templates"
unzip -q -j -o templates.tpz templates/ios.zip templates/version.txt -d "$templates"
rm templates.tpz
fi
echo "GODOT=$HOME/Godot.app/Contents/MacOS/Godot" >> "$CM_ENV"
- name: Import the project
script: |
"$GODOT" --headless --path . --import
- name: Export the Xcode project
script: |
set -euo pipefail
# The preset keeps placeholders; the team, bundle ID, and build number come from here.
sed -i '' \
-e "s/^application\/app_store_team_id=.*/application\/app_store_team_id=\"$APPLE_TEAM_ID\"/" \
-e "s/^application\/bundle_identifier=.*/application\/bundle_identifier=\"$BUNDLE_ID\"/" \
-e "s/^application\/version=.*/application\/version=\"$BUILD_NUMBER\"/" \
export_presets.cfg
mkdir -p build/ios
"$GODOT" --headless --path . --export-release "iOS" build/ios/HarvestSeason.ipa
test -d build/ios/HarvestSeason.xcodeproj
- name: Apply the App Store signing profile
script: |
xcode-project use-profiles --project build/ios/HarvestSeason.xcodeproj
- name: Build the .ipa
script: |
xcode-project build-ipa --project build/ios/HarvestSeason.xcodeproj --scheme HarvestSeason
artifacts:
- build/ios/ipa/*.ipa
- /tmp/xcodebuild_logs/*.log
publishing:
app_store_connect:
auth: integration
# Internal testers get each build without Apple's review; true would also send it to
# beta review for external testers.
submit_to_testflight: false

65
docs/ios-test-port.md Normal file
View file

@ -0,0 +1,65 @@
# iOS test port
A one-day port to find out how Harvest Season runs on an iPhone before committing to touch
controls. Played with a Bluetooth controller; measured with an on-screen readout.
## What the phone build changes
All behind `MobilePort` (game/scripts/mobile_port.gd), so the desktop build is unchanged:
- **Renderer:** the Mobile renderer (Godot's default for phones). No `ToonLook`: the farm keeps
its standard materials. The 3D view renders at 0.75 of the screen's resolution (Settings > 3D
resolution scale; pixel size 1).
- **No co-op:** the main menu's "Play with a friend" and the settings' Co-op section are hidden;
the microphone is never opened (`audio/driver/enable_input.mobile=false`).
- **Leaving the app pauses the game.**
- **Perf test** (the iOS preset's `perf_test` feature): `PerfTest` shows frame times over
everything, with buttons to jump to night 20 or 30, unlock everything, end the phase, and
shield the scarecrow. It's a release export, so the times are what players would get.
project.godot also gains ETC2/ASTC texture import (iOS needs it) and landscape either way up.
To see the phone build on desktop: `godot --path . --rendering-method mobile -- --mobile --perf-test`.
## One-time setup
1. **Connect the repo.** It lives at `ssh://git@git.troglodyte-cave.com:2222/trog/harvest.git`
(branch `main`). In Codemagic: Add application > Other (any Git URL) > that URL, with an SSH
key whose public half is a deploy key on the repo. The host has to be reachable from the
internet on port 2222. Codemagic reads `codemagic.yaml` from the branch it builds.
2. **App ID** (developer.apple.com > Certificates, Identifiers & Profiles > Identifiers > +):
done: explicit `com.oatmealgames.harvestseason`, default capabilities.
3. **App record** (appstoreconnect.apple.com > Apps > + > New App): iOS, that bundle ID, any SKU.
Then TestFlight > Internal Testing > + : a group with automatic distribution, with you in it.
4. **API key** (App Store Connect > Users and Access > Integrations > App Store Connect API >
Team Keys > +, role App Manager). Download the .p8 once. In Codemagic: Team settings > Team
integrations > Developer Portal > Manage keys > add it (issuer ID, key ID, .p8) and name it.
5. **Signing** (Codemagic: Team settings > codemagic.yaml settings > Code signing identities):
iOS certificates > generate an Apple Distribution certificate (or upload your .p12), then iOS
provisioning profiles > fetch an App Store profile for the bundle ID.
6. **Fill in** the `FILL IN` value in `codemagic.yaml`: the key's name from step 4. The bundle ID
(`com.oatmealgames.harvestseason`) and Team ID (`823T4Q2T3U`) are already set there and in
the iOS preset.
## Build and install
Start the `ios-perf-test` workflow on the `main` branch (manual start). It takes about
15-25 minutes, then App Store Connect processes the upload (another 5-30 minutes). Install it
from the TestFlight app on the phone.
Pair a controller in iOS Settings > Bluetooth (Xbox, PlayStation, or MFi). Menus also work by tap.
## The test
1. New vacation (hold to skip the intro) and get to the first morning.
2. Tap **Night 20**, **Unlock all**, **Shield: on**, then **Next phase** until the night starts.
3. Play the night with the controller: fight as usual, so crowds and combat are real. The shield
keeps the scarecrow standing; the farm can still be stripped.
4. At dawn the night's line reads "done". Screenshot it.
5. Next morning: **Night 30** and repeat.
6. Optional: one more night at 3D resolution scale 1.0 and one at 0.5 (Settings), to see how
much the GPU matters.
Send back the screenshots, the phone model, and whether it got hot. The numbers to compare with
desktop (docs/thirty-night-soak.md): frame avg and p99 against the 16.7 ms of 60 FPS (33.3 ms at
30), and physics, which holds the farm's tick, against its 0.4-1.6 ms average on desktop.

View file

@ -55,3 +55,47 @@ application/modify_resources=true
application/icon=""
application/product_name="Harvest Season"
application/file_description="Harvest Season"
[preset.2]
name="iOS"
platform="iOS"
runnable=true
dedicated_server=false
custom_features="perf_test"
export_filter="all_resources"
include_filter=""
exclude_filter="game/tests/*, game/tools/*, benchmarks/*, prototype/tests/*, prototype/tools/*"
export_path="build/ios/HarvestSeason.ipa"
patches=PackedStringArray()
encryption_include_filters=""
encryption_exclude_filters=""
seed=0
encrypt_pck=false
encrypt_directory=false
script_export_mode=2
[preset.2.options]
custom_template/debug=""
custom_template/release=""
architectures/arm64=true
application/app_store_team_id="823T4Q2T3U"
application/bundle_identifier="com.oatmealgames.harvestseason"
application/export_method_debug=1
application/export_method_release=0
application/export_project_only=true
application/targeted_device_family=2
application/short_version="0.1.0"
application/version="1"
capabilities/access_wifi=false
capabilities/performance_gaming_tier=false
capabilities/performance_a12=false
entitlements/game_center=false
entitlements/increased_memory_limit=false
user_data/accessible_from_files_app=false
user_data/accessible_from_itunes_sharing=false
icons/icon_1024x1024="res://assets/pictures/icons/ios_icon_1024.png"
privacy/microphone_usage_description="Not used: Harvest Season never records audio."
privacy/camera_usage_description="Not used: Harvest Season never uses the camera."
privacy/photolibrary_usage_description="Not used: Harvest Season never reads your photos."

View file

@ -88,6 +88,12 @@ func _unhandled_input(event: InputEvent) -> void:
s.strip()
## Whether the jumps (jump_morning, unlock_all) work: debug builds, and the iOS test build's
## release export (MobilePort.perf_test, PerfTest's buttons).
static func allowed() -> bool:
return OS.is_debug_build() or MobilePort.perf_test()
## Debug builds, in the morning review only: to the morning of the next (step 1) or previous
## (step -1) day, within the vacation. The farm stays as it is and nights_survived follows as
## night - 1. It's the campaign's own new-morning path (CampaignController.load_state with the
@ -98,7 +104,7 @@ func _unhandled_input(event: InputEvent) -> void:
## alone. Returns whether it moved.
func jump_morning(step: int) -> bool:
var s := campaign.state
if not OS.is_debug_build() or s.phase != CampaignController.Phase.MORNING or campaign.remote_request.is_valid():
if not allowed() or s.phase != CampaignController.Phase.MORNING or campaign.remote_request.is_valid():
return false
var night := clampi(s.night + step, 1, campaign.config.campaign_nights)
if night == s.night:
@ -122,7 +128,7 @@ func jump_morning(step: int) -> bool:
## it (the morning snapshot is retaken); later in the day a retry goes back to that morning
## without it. Nothing is saved until the next morning's autosave. Returns the levels it added.
func unlock_all() -> int:
if not OS.is_debug_build() or campaign.is_over() or campaign.remote_request.is_valid():
if not allowed() or campaign.is_over() or campaign.remote_request.is_valid():
return 0
var n := Upgrades.grant_all(campaign, sim.structures if sim != null else null)
if campaign.state.phase == CampaignController.Phase.MORNING:

View file

@ -26,8 +26,9 @@ var move_dead_zone := 0.2
var aim_dead_zone := 0.3
var fullscreen := false
var vsync := true
var pixel_size := 4
var resolution_scale := 1.0
## Phones (MobilePort) default to no pixel look, at three quarters of the screen's resolution.
var pixel_size := 1 if MobilePort.active() else 4
var resolution_scale := 0.75 if MobilePort.active() else 1.0
var show_tips := true
## Co-op: your name for the lobby and the name tag, and whether your microphone is sent.
var player_name := ""

View file

@ -19,6 +19,8 @@ extends Node
## over GD-Sync (GDSyncLink), with voice chat. In co-op the menus don't pause the farm; the
## host's leaving ends the partner's game (back to this menu, which says why), the partner's
## leaving leaves the host alone. [M] mutes the microphone.
## * On a phone (MobilePort): no ToonLook, no co-op, and leaving the app pauses. The iOS test
## build adds PerfTest (frame times and test buttons).
## Main processes while paused; the farm doesn't. Tests set save_path and settings_path
## before adding it to the tree.
@ -57,9 +59,15 @@ func _ready() -> void:
farm.process_mode = Node.PROCESS_MODE_PAUSABLE
settings = GameSettings.load_from(settings_path)
settings.apply(get_viewport(), sim.config)
var look := ToonLook.new() # toon shading and pixel outlines on the farm
look.name = "ToonLook"
add_child(look)
if not MobilePort.active(): # phones keep the standard materials (MobilePort)
var look := ToonLook.new() # toon shading and pixel outlines on the farm
look.name = "ToonLook"
add_child(look)
if MobilePort.perf_test():
var perf := PerfTest.new()
perf.name = "PerfTest"
perf.setup(sim, farm.get_node_or_null("CampaignDebug") as CampaignDebug)
add_child(perf)
sim.campaign.save_path = save_path
if sim.end_panel != null:
sim.end_panel.has_menu = true
@ -252,6 +260,8 @@ func quit_game() -> void:
func _notification(what: int) -> void:
if what == NOTIFICATION_WM_CLOSE_REQUEST:
quit_game()
elif what == NOTIFICATION_APPLICATION_PAUSED: # a phone app sent to the background
pause()
func _play() -> void:

View file

@ -2,7 +2,7 @@ class_name MainMenu
extends Control
## The title screen over the farm (Main slowly circles a camera around it): the title, then
## Continue (with which morning it resumes at, or why the save can't be continued), New
## vacation, Play with a friend (co-op, CoopMenu), Settings, and Quit, and a notice line (e.g.
## vacation, Play with a friend (co-op, CoopMenu; not on phones), Settings, and Quit, and a notice line (e.g.
## why a co-op game ended). Mouse, keyboard, and gamepad work through focus.
signal continue_requested
@ -57,6 +57,7 @@ func _ready() -> void:
new_button.pressed.connect(func() -> void: new_requested.emit())
coop_button = _button(box, "Play with a friend")
coop_button.pressed.connect(func() -> void: coop_requested.emit())
coop_button.visible = not MobilePort.active() # no co-op on phones
settings_button = _button(box, "Settings")
settings_button.pressed.connect(func() -> void: settings_requested.emit())
quit_button = _button(box, "Quit")

View file

@ -0,0 +1,20 @@
class_name MobilePort
extends RefCounted
## The phone build's switches (the iOS preset in export_presets.cfg; docs/ios-test-port.md):
## * active(): a phone (the "mobile" feature). The farm keeps its standard materials (Main
## doesn't add ToonLook: the outline needs Forward+, phones run the Mobile renderer), the 3D
## view renders at GameSettings.resolution_scale instead of pixelated, co-op is hidden (the
## main menu's button and the settings' Co-op section), and leaving the app pauses the game.
## The microphone is never opened (audio/driver/enable_input.mobile in project.godot).
## * perf_test(): the iOS preset's "perf_test" feature. Main adds PerfTest (the frame-time
## readout and test buttons), and CampaignDebug's jumps work in that release build.
## On desktop, `-- --mobile` and `-- --perf-test` after the usual arguments turn the same switches
## on, to see the phone build without a phone (add --rendering-method mobile for its renderer).
static func active() -> bool:
return OS.has_feature("mobile") or "--mobile" in OS.get_cmdline_user_args()
static func perf_test() -> bool:
return OS.has_feature("perf_test") or "--perf-test" in OS.get_cmdline_user_args()

View file

@ -0,0 +1 @@
uid://d3q4p7vbjii07

243
game/scripts/perf_test.gd Normal file
View file

@ -0,0 +1,243 @@
class_name PerfTest
extends CanvasLayer
## The iOS test port's readout and buttons (MobilePort.perf_test(); Main adds it), to measure a
## late night on a phone (docs/ios-test-port.md). Over everything, top centre:
## * Now, over the last second: FPS, the frame time (average and worst), the CPU time in
## physics (the farm's tick, FarmSim.step, runs there) and in rendering, the GPU time to draw
## the view, the enemies alive, the 3D view's render size, and the renderer and device.
## * This night, from its start to its end (then held until the next night): the frame time's
## average, 99th percentile, and worst, the share of frames slower than 30 FPS, the peak
## enemies alive, and how long it ran. Frames while paused aren't counted. Printed as one
## "PERF {json}" line at the night's end too.
## * Buttons (taps; they never take gamepad focus): Night 20 / Night 30 (in the morning review,
## CampaignDebug.jump_morning), Unlock all (CampaignDebug.unlock_all), Next phase
## (CampaignController.advance_phase), Shield (the scarecrow takes no hits, as the soak's
## --shield, without its hit flash), and Hide (folds it all into that one button).
## Frame times are measured with the wall clock between _process calls, not with delta, which
## Godot smooths.
const BUCKET_MS := 0.25
const BUCKETS := 400 # 0-100 ms; slower frames land in the last bucket
const SLOW_MS := 1000.0 / 30.0
## The nights the jump buttons go to: the ones docs/thirty-night-soak.md measured on desktop.
const TEST_NIGHTS: Array[int] = [20, 30]
var sim: FarmSim
var debug: CampaignDebug
## The scarecrow takes no hits while on.
var shield := false
var _panel: PanelContainer
var _now: Label
var _night: Label
var _buttons: HBoxContainer
var _jumps: Array[Button] = []
var _shield: Button
var _fold: Button
var _viewport_rid: RID
var _last_usec := 0
# The current second.
var _second_usec := 0
var _second_frames := 0
var _second_worst := 0.0
var _second_render_cpu := 0.0
var _second_physics := 0.0
var _second_physics_worst := 0.0
# The night being measured (or the last one).
var _in_night := false
var _night_number := 0
var _hist := PackedInt32Array()
var _frames := 0
var _sum_ms := 0.0
var _worst_ms := 0.0
var _slow := 0
var _peak_enemies := 0
var _night_usec := 0
func setup(p_sim: FarmSim, p_debug: CampaignDebug) -> void:
sim = p_sim
debug = p_debug
func _ready() -> void:
layer = 20 # over the HUD (1) and the menus (10)
process_mode = Node.PROCESS_MODE_ALWAYS
_viewport_rid = get_viewport().get_viewport_rid()
RenderingServer.viewport_set_measure_render_time(_viewport_rid, true)
_hist.resize(BUCKETS)
var box := VBoxContainer.new()
box.mouse_filter = Control.MOUSE_FILTER_IGNORE
box.add_theme_constant_override("separation", 8)
add_child(box)
box.set_anchors_and_offsets_preset(Control.PRESET_CENTER_TOP)
box.grow_horizontal = Control.GROW_DIRECTION_BOTH
box.offset_top = 12.0
_panel = PanelContainer.new()
_panel.mouse_filter = Control.MOUSE_FILTER_IGNORE
box.add_child(_panel)
var lines := VBoxContainer.new()
_panel.add_child(lines)
_now = _label(lines)
_night = _label(lines)
_night.text = "No night measured yet. In the morning: Night 20, Unlock all, Shield, then Next phase to the night."
_buttons = HBoxContainer.new()
_buttons.alignment = BoxContainer.ALIGNMENT_CENTER
_buttons.add_theme_constant_override("separation", 10)
box.add_child(_buttons)
for night in TEST_NIGHTS:
_jumps.append(_button("Night %d" % night, _on_jump.bind(night)))
_button("Unlock all", _on_unlock)
_button("Next phase", _on_next_phase)
_shield = _button("Shield: off", _on_shield)
_fold = _button("Hide", _on_fold)
if sim != null:
sim.campaign.phase_changed.connect(_on_phase_changed)
func _process(_delta: float) -> void:
var now := Time.get_ticks_usec()
if _last_usec == 0:
_last_usec = now
_second_usec = now
return
var ms := (now - _last_usec) / 1000.0
_last_usec = now
_second_frames += 1
_second_worst = maxf(_second_worst, ms)
_second_render_cpu += RenderingServer.viewport_get_measured_render_time_cpu(_viewport_rid) + RenderingServer.get_frame_setup_time_cpu()
var physics := Performance.get_monitor(Performance.TIME_PHYSICS_PROCESS) * 1000.0
_second_physics += physics
_second_physics_worst = maxf(_second_physics_worst, physics)
if _in_night and not get_tree().paused:
_count(ms)
if shield and sim != null and sim.scarecrow != null and sim.scarecrow.player != null:
sim.scarecrow.player.set_flash(0.0) # after Scarecrow's _process: the pinned shield would flash it all night
if now - _second_usec >= 1000000:
_refresh(now)
func _physics_process(_delta: float) -> void:
if shield and sim != null and sim.scarecrow != null:
sim.scarecrow.invulnerable_left = 1.0 # as soak_night.gd's --shield
func _count(ms: float) -> void:
_frames += 1
_sum_ms += ms
_night_usec += roundi(ms * 1000.0)
_worst_ms = maxf(_worst_ms, ms)
if ms > SLOW_MS:
_slow += 1
_hist[mini(int(ms / BUCKET_MS), BUCKETS - 1)] += 1
_peak_enemies = maxi(_peak_enemies, sim.enemies.alive_count())
## Writes the last second's line and the night's, then starts a new second.
func _refresh(now: int) -> void:
var span := (now - _second_usec) / 1000.0
var n := maxi(_second_frames, 1)
var gpu := RenderingServer.viewport_get_measured_render_time_gpu(_viewport_rid)
var win := get_window()
var size_3d := Vector2(win.size) * win.scaling_3d_scale # the window in real pixels, not the 1920-wide canvas
var enemies := sim.enemies.alive_count() if sim != null else 0
_now.text = "%d fps · frame %.1f ms (worst %.1f) · physics %.1f (worst %.1f) · render CPU %.1f · GPU %s\nEnemies %d · 3D %d×%d · %s/%s · %s" % [
roundi(_second_frames * 1000.0 / span), span / n, _second_worst, _second_physics / n, _second_physics_worst,
_second_render_cpu / n, "%.1f ms" % gpu if gpu > 0.0 else "n/a", enemies, roundi(size_3d.x), roundi(size_3d.y),
RenderingServer.get_current_rendering_method(), RenderingServer.get_current_rendering_driver_name(), OS.get_model_name()]
if _in_night:
_night.text = _describe_night("so far")
_second_usec = now
_second_frames = 0
_second_worst = 0.0
_second_render_cpu = 0.0
_second_physics = 0.0
_second_physics_worst = 0.0
var morning := debug != null and sim != null and sim.campaign.state.phase == CampaignController.Phase.MORNING
for b: Button in _jumps:
b.disabled = not morning
func _on_phase_changed(phase: CampaignController.Phase, previous: CampaignController.Phase) -> void:
if phase == CampaignController.Phase.NIGHT:
_in_night = true
_night_number = sim.campaign.state.night
_hist.fill(0)
_frames = 0
_sum_ms = 0.0
_worst_ms = 0.0
_slow = 0
_peak_enemies = 0
_night_usec = 0
elif previous == CampaignController.Phase.NIGHT and _in_night:
_in_night = false
_night.text = _describe_night("done")
print("PERF " + JSON.stringify({"night": _night_number, "seconds": snappedf(_night_usec / 1e6, 0.1), "frames": _frames,
"avg_ms": snappedf(_sum_ms / maxi(_frames, 1), 0.01), "p99_ms": _percentile(0.99), "worst_ms": snappedf(_worst_ms, 0.01),
"slow_share": snappedf(float(_slow) / maxi(_frames, 1), 0.0001), "peak_enemies": _peak_enemies,
"renderer": RenderingServer.get_current_rendering_method(), "model": OS.get_model_name()}))
func _describe_night(status: String) -> String:
var n := maxi(_frames, 1)
return "Night %d (%s, %d s): frame avg %.1f ms · p99 %.1f · worst %.1f · %.1f%% slower than 30 FPS · peak enemies %d" % [
_night_number, status, roundi(_night_usec / 1e6), _sum_ms / n, _percentile(0.99), _worst_ms, 100.0 * _slow / n, _peak_enemies]
## The frame time (ms) that the share p of this night's frames came in under (bucket's top edge).
func _percentile(p: float) -> float:
var target := ceili(_frames * p)
var seen := 0
for i in BUCKETS:
seen += _hist[i]
if seen >= target:
return (i + 1) * BUCKET_MS
return BUCKETS * BUCKET_MS
func _on_jump(night: int) -> void:
if debug != null and sim != null:
debug.jump_morning(night - sim.campaign.state.night)
func _on_unlock() -> void:
if debug != null:
debug.unlock_all()
func _on_next_phase() -> void:
if sim != null:
sim.campaign.advance_phase()
func _on_shield() -> void:
shield = not shield
_shield.text = "Shield: on" if shield else "Shield: off"
func _on_fold() -> void:
var fold := _panel.visible
_panel.visible = not fold
for b in _buttons.get_children():
if b != _fold:
b.visible = not fold
_fold.text = "Perf" if fold else "Hide"
func _label(parent: Control) -> Label:
var l := Label.new()
l.add_theme_font_size_override("font_size", 22)
l.add_theme_color_override("font_outline_color", Color.BLACK)
l.add_theme_constant_override("outline_size", 6)
parent.add_child(l)
return l
func _button(text: String, on_press: Callable) -> Button:
var b := Button.new()
b.text = text
b.focus_mode = Control.FOCUS_NONE # taps only: the gamepad keeps driving the game and menus
b.custom_minimum_size = Vector2(170.0, 60.0)
b.pressed.connect(on_press)
_buttons.add_child(b)
return b

View file

@ -0,0 +1 @@
uid://b8ju6rcgh216v

View file

@ -8,6 +8,7 @@ extends CenterContainer
## Display fullscreen, VSync, 3D resolution scale
## Gameplay tips on the first day and night
## Co-op your name (the lobby and your name tag), and your microphone for voice chat
## (not on phones: MobilePort)
## Every change is applied and saved at once (changed); Back or Escape / B closes it.
signal changed
@ -93,9 +94,10 @@ func _ready() -> void:
_note("Pixel size 1 turns the pixel look off; the resolution scale is used only then.")
_head("Gameplay")
_check("show_tips", "Tips on the first day and night")
_head("Co-op")
_text("player_name", "Your name")
_check("microphone", "Send my microphone in voice chat")
if not MobilePort.active(): # no co-op on phones
_head("Co-op")
_text("player_name", "Your name")
_check("microphone", "Send my microphone in voice chat")
var row := HBoxContainer.new()
row.add_theme_constant_override("separation", 20)
outer.add_child(row)

View file

@ -43,21 +43,12 @@
"41": "Harvest Season — co-op",
"42": "Snapshot Decoding",
"43": "Enemy Characters & Hits",
"44": "send",
"45": "Interactions",
"46": "Upgrades",
"47": "Prop Collision Builder",
"48": "Horde Performance Report",
"49": "test_weapons.gd",
"50": "GameConfig",
"51": "Co-op Send Path",
"52": "Pause Menu Signals",
"53": "Tutorial",
"54": "GD-Sync Sync Icons",
"55": "Pine & Foliage Textures",
"56": "Campaign Experience (Step 11)",
"57": "Overview Render Tool",
"58": "Prototype Round Lifecycle",
"59": "Grid Design & Scope Limits",
"60": "GD-Sync Physics/Voice Icons",
"61": "AGENTS.md graphify Rules",
@ -70,7 +61,6 @@
"68": "Mannequin Textures",
"69": "Bark Normal Maps",
"70": "Nature MegaKit License",
"71": "Benchmark Summarizer",
"72": "GD-Sync Logo",
"73": "GD-Sync Load Icon",
"74": "GD-Sync Instantiator Icon",
@ -81,11 +71,6 @@
"79": "Project Icon",
"80": "Alien overhaul — task list",
"81": "test_theft.gd",
"82": "explorer.md",
"83": "impl-worker.md",
"84": "equip",
"85": "stop",
"86": "MainMenu",
"87": "step",
"88": "render_overview.gd"
"86": "MainMenu"
}

View file

@ -0,0 +1,91 @@
{
"0": "Campaign Controller & Farm State",
"1": "Structures & Build Mode",
"2": "Audio & Farmers Return Ending",
"3": "Scarecrow Weapons & Bombs",
"4": "Waves, Night Plans & Review",
"5": "First Game Plan & Milestones",
"6": "Horde Prototype (README)",
"7": "Co-op Lobby & Smoke Test",
"8": "Scarecrow Defender & Fear",
"9": "Loot & Theft Events",
"10": "Settings, Input & UI Theme",
"11": "Main Scene & Title Menu",
"12": "Farm Zones & Layout Tests",
"13": "Enemy System & Theft Tests",
"14": "Co-op Session Host/Client",
"15": "Rules of the Vacation",
"16": "Game Flow, Save & Pause",
"17": "Farm Navigation Flow Fields",
"18": "Resource Economy & Upgrades",
"19": "Animal System",
"20": "Test Runner & Farm Targets",
"21": "Co-op Docs & GD-Sync Link",
"22": "Enemy Roster & Construction Plan",
"23": "Playtest Notes & Scaling",
"24": "Farm Sim Setup Wiring",
"25": "Co-op Link Transport",
"26": "Thief Behavior AI",
"27": "Soak Night & Benchmarks",
"28": "Co-op Tests",
"29": "Player Character Movement",
"30": "Farm Layout Doc",
"31": "Co-op Voice Chat",
"32": "FarmSim Tick & Camera",
"33": "Interactions & Gathering",
"34": "Shed Stock & Supply Targets",
"35": "ResourceStore",
"36": "Farm Projectiles",
"37": "Alert Manager",
"38": "Net Budget Tool",
"39": "Enemy Roster Tests",
"40": "Co-op Menu UI",
"41": "Harvest Season — co-op",
"42": "Snapshot Decoding",
"43": "Enemy Characters & Hits",
"44": "send",
"45": "Interactions",
"46": "Upgrades",
"47": "Prop Collision Builder",
"48": "Horde Performance Report",
"49": "test_weapons.gd",
"50": "GameConfig",
"51": "Co-op Send Path",
"52": "Pause Menu Signals",
"53": "Tutorial",
"54": "GD-Sync Sync Icons",
"55": "Pine & Foliage Textures",
"56": "Campaign Experience (Step 11)",
"57": "Overview Render Tool",
"58": "Prototype Round Lifecycle",
"59": "Grid Design & Scope Limits",
"60": "GD-Sync Physics/Voice Icons",
"61": "AGENTS.md graphify Rules",
"62": "Bark Textures",
"63": "Leaf Cluster Textures",
"64": "Rock Textures",
"65": "opencode graphify Plugin",
"66": "GD-Sync Interest Icons",
"67": "Farm Pack Textures",
"68": "Mannequin Textures",
"69": "Bark Normal Maps",
"70": "Nature MegaKit License",
"71": "Benchmark Summarizer",
"72": "GD-Sync Logo",
"73": "GD-Sync Load Icon",
"74": "GD-Sync Instantiator Icon",
"75": "Twisted Bark Texture",
"76": "Flowers Texture",
"77": "Grass Texture",
"78": "Mushrooms Texture",
"79": "Project Icon",
"80": "Alien overhaul — task list",
"81": "test_theft.gd",
"82": "explorer.md",
"83": "impl-worker.md",
"84": "equip",
"85": "stop",
"86": "MainMenu",
"87": "step",
"88": "render_overview.gd"
}

View file

@ -0,0 +1,490 @@
# Graph Report - harvest-season (2026-10-07)
## Corpus Check
- 39 files · ~1,663,935 words
- Verdict: corpus is large enough that graph structure adds value.
## Summary
- 1368 nodes · 4083 edges · 89 communities (75 shown, 14 thin omitted)
- Extraction: 87% EXTRACTED · 13% INFERRED · 0% AMBIGUOUS · INFERRED: 542 edges (avg confidence: 0.91)
- Token cost: 0 input · 0 output
## Graph Freshness
- Built from commit: `78ff5494`
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost).
## Community Hubs (Navigation)
- Campaign Controller & Farm State
- Structures & Build Mode
- Audio & Farmers Return Ending
- Scarecrow Weapons & Bombs
- Waves, Night Plans & Review
- First Game Plan & Milestones
- Horde Prototype (README)
- Co-op Lobby & Smoke Test
- Scarecrow Defender & Fear
- Loot & Theft Events
- Settings, Input & UI Theme
- Main Scene & Title Menu
- Farm Zones & Layout Tests
- Enemy System & Theft Tests
- Co-op Session Host/Client
- Rules of the Vacation
- Game Flow, Save & Pause
- Farm Navigation Flow Fields
- Resource Economy & Upgrades
- Animal System
- Test Runner & Farm Targets
- Co-op Docs & GD-Sync Link
- Enemy Roster & Construction Plan
- Playtest Notes & Scaling
- Farm Sim Setup Wiring
- Co-op Link Transport
- Thief Behavior AI
- Soak Night & Benchmarks
- Co-op Tests
- Player Character Movement
- Farm Layout Doc
- Co-op Voice Chat
- FarmSim Tick & Camera
- Interactions & Gathering
- Shed Stock & Supply Targets
- ResourceStore
- Farm Projectiles
- Alert Manager
- Net Budget Tool
- Enemy Roster Tests
- Co-op Menu UI
- Harvest Season — co-op
- Snapshot Decoding
- Enemy Characters & Hits
- send
- Interactions
- Upgrades
- Prop Collision Builder
- Horde Performance Report
- test_weapons.gd
- GameConfig
- Co-op Send Path
- Pause Menu Signals
- Tutorial
- GD-Sync Sync Icons
- Pine & Foliage Textures
- Campaign Experience (Step 11)
- Overview Render Tool
- Prototype Round Lifecycle
- Grid Design & Scope Limits
- GD-Sync Physics/Voice Icons
- AGENTS.md graphify Rules
- Bark Textures
- Leaf Cluster Textures
- Rock Textures
- opencode graphify Plugin
- GD-Sync Interest Icons
- Farm Pack Textures
- Mannequin Textures
- Bark Normal Maps
- Nature MegaKit License
- GD-Sync Logo
- GD-Sync Load Icon
- GD-Sync Instantiator Icon
- Twisted Bark Texture
- Flowers Texture
- Grass Texture
- Mushrooms Texture
- Project Icon
- Alien overhaul — task list
- test_theft.gd
- equip
- stop
- MainMenu
- step
- render_overview.gd
## God Nodes (most connected - your core abstractions)
1. `CampaignController` - 119 edges
2. `EnemySystem` - 109 edges
3. `StructureSystem` - 98 edges
4. `FarmSim` - 95 edges
5. `LootSystem` - 88 edges
6. `ScarecrowCombat` - 81 edges
7. `FarmState` - 76 edges
8. `PlayerCharacter` - 73 edges
9. `GameConfig` - 70 edges
10. `CoopSession` - 68 edges
## Surprising Connections (you probably didn't know these)
- `Scripted soak runs (soak_night.gd)` --semantically_similar_to--> `Stress presets (25/50 to 1,000/2,000 birds)` [INFERRED] [semantically similar]
first-game-plan.md → plan.md
- `Ground-bound birds (no flying navigation)` --semantically_similar_to--> `Gameplay is 2-D on the XZ plane` [INFERRED] [semantically similar]
plan.md → first-game-plan.md
- `Prototype scope boundaries` --semantically_similar_to--> `Deferred from version 1 (farming sim, multiplayer, tech trees)` [INFERRED] [semantically similar]
plan.md → first-game.md
- `PumpkinBomb_texture (11x11 Material-style color palette swatch grid for PumpkinBomb.glb)` --references--> `PumpkinBombs` [INFERRED]
assets/weapons/PumpkinBomb_texture.png → game/scripts/pumpkin_bombs.gd
- `PumpkinBomb_texture (11x11 Material-style color palette swatch grid for PumpkinBomb.glb)` --references--> `WeaponModels` [INFERRED]
assets/weapons/PumpkinBomb_texture.png → game/scripts/weapon_models.gd
## Import Cycles
- 3-file cycle: `game/scripts/enemy_system.gd -> game/scripts/structure_system.gd -> game/scripts/farm_projectiles.gd -> game/scripts/enemy_system.gd`
- 4-file cycle: `game/scripts/enemy_system.gd -> game/scripts/loot_system.gd -> game/scripts/structure_system.gd -> game/scripts/farm_projectiles.gd -> game/scripts/enemy_system.gd`
- 4-file cycle: `game/scripts/enemy_system.gd -> game/scripts/scarecrow.gd -> game/scripts/remote_controls.gd -> game/scripts/scarecrow_combat.gd -> game/scripts/enemy_system.gd`
- 5-file cycle: `game/scripts/enemy_system.gd -> game/scripts/scarecrow.gd -> game/scripts/remote_controls.gd -> game/scripts/scarecrow_combat.gd -> game/scripts/pumpkin_bombs.gd -> game/scripts/enemy_system.gd`
- 5-file cycle: `game/scripts/enemy_characters.gd -> game/scripts/thief_behavior.gd -> game/scripts/structure_system.gd -> game/scripts/farm_projectiles.gd -> game/scripts/enemy_system.gd -> game/scripts/enemy_characters.gd`
- 5-file cycle: `game/scripts/enemy_system.gd -> game/scripts/scarecrow.gd -> game/scripts/thief_behavior.gd -> game/scripts/structure_system.gd -> game/scripts/farm_projectiles.gd -> game/scripts/enemy_system.gd`
- 5-file cycle: `game/scripts/enemy_characters.gd -> game/scripts/loot_system.gd -> game/scripts/structure_system.gd -> game/scripts/farm_projectiles.gd -> game/scripts/enemy_system.gd -> game/scripts/enemy_characters.gd`
- 5-file cycle: `game/scripts/enemy_system.gd -> game/scripts/scarecrow.gd -> game/scripts/remote_controls.gd -> game/scripts/scarecrow_combat.gd -> game/scripts/farm_projectiles.gd -> game/scripts/enemy_system.gd`
## Hyperedges (group relationships)
- **Prototype classes forked or generalized into game/ systems** — readme_hordesystem, game_scripts_enemy_system, readme_chasebehavior, game_scripts_thief_behavior, readme_arenanavigation, game_scripts_farm_navigation, readme_roundcontroller, game_scripts_campaign_controller, readme_prototypeconfig, game_scripts_game_config [EXTRACTED 1.00]
- **First enemy roster: crow, ground thief, fence breaker** — first_game_plan_crow, first_game_plan_ground_thief, first_game_plan_fence_breaker, first_game_plan_enemy_type_table, game_scripts_enemy_system, game_scripts_thief_behavior, game_scripts_enemy_characters [EXTRACTED 1.00]
- **The four buildables run by StructureSystem** — first_game_plan_fence, first_game_plan_gate, first_game_plan_slowing_trap, first_game_plan_automated_defense, game_scripts_structure_system [EXTRACTED 1.00]
- **Synchronized node-type icons for GD-Sync** — addons__gd-sync__ui__icons__synchronizedanimatedsprite_synchronized_animated_sprite_icon, addons__gd-sync__ui__icons__synchronizedanimationplayer_synchronized_animation_player_icon, addons__gd-sync__ui__icons__synchronizedanimationtree_synchronized_animation_tree_icon, addons__gd-sync__ui__icons__synchronizedaudiostreamplayer_synchronized_audio_stream_player_icon [INFERRED 0.95]
- **Interest system icons (object and viewer)** — addons__gd-sync__ui__icons__interestobject_interest_object_icon, addons__gd-sync__ui__icons__interestviewer_interest_viewer_icon [INFERRED 0.90]
- **GD-Sync editor UI icons set** — addons__gd-sync__ui__configmenu__gdslogo_gds_logo, addons__gd-sync__ui__icons__loadicon_load_icon, addons__gd-sync__ui__icons__nodeinstantiator_node_instantiator_icon, addons__gd-sync__ui__icons__synchronizeicon_synchronize_icon [INFERRED 0.75]
- **GD-Sync UI icons** — addons__gd_sync__ui__icons__synchronizedgpuparticles_cloud_rain_icon, addons__gd_sync__ui__icons__synchronizedrigidbody3d_globe_icon, addons__gd_sync__ui__icons__voicechaticon_microphone_icon [INFERRED 0.95]
- **KayKit mannequin character textures** — assets__kaykit_characters__characters__mannequin_large_mannequin_texture_mannequin_texture, assets__kaykit_characters__characters__mannequin_medium_mannequin_texture_mannequin_texture [INFERRED 0.95]
- **Nature megakit bark textures** — assets__nature_megakit__bark_deadtree_bark_texture, assets__nature_megakit__bark_deadtree_normal_normal_map, assets__nature_megakit__bark_normaltree_bark_texture [INFERRED 0.95]
- **Nature megakit bark texture maps (diffuse and normal maps)** — assets__nature_megakit__bark_normaltree_normal_bark_normal_map, assets__nature_megakit__bark_twistedtree_twisted_tree_bark_diffuse, assets__nature_megakit__bark_twistedtree_normal_twisted_tree_bark_normal_map [EXTRACTED 1.00]
- **Nature megakit foliage and leaf sprite assets** — assets__nature_megakit__leaf_pine_white_pine_foliage_alpha, assets__nature_megakit__leaf_pine_c_green_pine_foliage_fill, assets__nature_megakit__leaves_leaf_sprite_sheet, assets__nature_megakit__leaves_giantpine_c_green_blob_foliage, assets__nature_megakit__leaves_normaltree_white_leaf_alpha_blobs [EXTRACTED 1.00]
- **Nature megakit flower and grass color assets** — assets__nature_megakit__flowers_flower_sprites, assets__nature_megakit__grass_grass_color_gradient_strips [INFERRED 0.65]
- **Nature MegaKit foliage/rock/mushroom texture set** — assets_nature_megakit_leaves_normaltree_c, assets_nature_megakit_leaves_twistedtree, assets_nature_megakit_leaves_twistedtree_c, assets_nature_megakit_mushrooms, assets_nature_megakit_pathrocks_diffuse, assets_nature_megakit_rocks_desert_diffuse, assets_nature_megakit_rocks_diffuse [INFERRED 0.95]
- **Enemy roster (crow, thief, fence breaker)** — game_rules_enemy_crow, game_rules_enemy_thief, game_rules_enemy_fence_breaker [EXTRACTED 1.00]
- **Co-op bandwidth minimization for GD-Sync's data allowance** — game_coop_packed_snapshots, game_coop_partner_input_record, game_coop_dead_reckoning, game_coop_zstd_compression, game_coop_voice_chat, game_coop_data_budget [EXTRACTED 1.00]
- **Scarecrow weapon kit (pitchfork, corn shooter, pumpkin bombs)** — game_rules_pitchfork, game_rules_corn_shooter, game_rules_pumpkin_bombs [EXTRACTED 1.00]
- **Co-op host/join flow: CoopMenu -> Main -> CoopLobby (GD-Sync) -> GDSyncLink -> CoopSession** — game_scripts_coop_menu, game_scripts_main, game_scripts_coop_lobby, addons_gd_sync_multiplayerclient, game_scripts_gdsync_link, game_scripts_coop_session, game_scripts_coop_voice [EXTRACTED 1.00]
- **Enemy dead-reckoning replication (host records on drift, partner extrapolates)** — game_scripts_coop_session_due_foes, game_scripts_coop_session_foe_changed, game_scripts_coop_session_enemy_bytes, game_scripts_coop_session_send_snapshot, game_scripts_coop_session_apply_snap, game_scripts_coop_session_apply_foes, game_scripts_coop_session_replica_tick, game_scripts_coop_session_remove_foe [INFERRED 0.95]
- **Packed binary co-op wire format (StreamPeerBuffer quantization helpers)** — game_scripts_coop_link_put_cm, game_scripts_coop_link_put_v3, game_scripts_coop_link_put_angle, game_scripts_coop_link_put_time, game_scripts_coop_link_put_text, game_scripts_coop_link_reader, game_scripts_coop_session_put_avatar, game_scripts_coop_session_read_avatar, game_scripts_remote_controls_sender_record, game_scripts_remote_controls_apply [INFERRED 0.95]
- **Weapons damaging enemies through EnemySystem.apply_hit** — game_scripts_scarecrow_combat_stab, game_scripts_farm_projectiles_resolve_segment, game_scripts_pumpkin_bombs_burst, game_scripts_enemy_system_apply_hit [EXTRACTED 1.00]
- **ThiefBehavior enemy AI state machine (SEEK/STEAL/CARRY/RETREAT/FLEE/BREAK/FIGHT)** — game_scripts_thief_behavior_update, game_scripts_thief_behavior_seek, game_scripts_thief_behavior_crow_seek, game_scripts_thief_behavior_breaker_seek, game_scripts_thief_behavior_steal, game_scripts_thief_behavior_carry, game_scripts_thief_behavior_fly_off, game_scripts_thief_behavior_leave, game_scripts_thief_behavior_flee, game_scripts_thief_behavior_break, game_scripts_thief_behavior_fight [EXTRACTED 1.00]
- **Per-tick enemy simulation pipeline (behavior, motion, melee, deferred removal, render)** — game_scripts_enemy_system_step, game_scripts_thief_behavior_update, game_scripts_enemy_system_evaluate_attacks, game_scripts_enemy_system_commit_removals, game_scripts_enemy_system_commit_render [INFERRED 0.85]
- **Morning reset: systems resync from FarmState** — game_scripts_farm_sim_on_phase_changed, game_scripts_loot_system_sync_from_state, game_scripts_animal_system_sync_from_state, game_scripts_structure_system_sync_from_state, game_scripts_shed_stock_refresh, game_scripts_interactions_cancel [EXTRACTED 1.00]
- **Co-op host->partner replica state transfer** — game_scripts_loot_system_replica_record, game_scripts_loot_system_apply_replica, game_scripts_animal_system_replica_record, game_scripts_animal_system_apply_replica, game_scripts_farm_sim_step_replica [INFERRED 0.85]
- **Why-not reason-string validators ("" = allowed)** — game_scripts_structure_system_validate, game_scripts_upgrades_blocker, game_scripts_interactions_blocker [INFERRED 0.75]
- **CampaignController.phase_changed listeners** — game_scripts_campaign_controller_phase_changed, game_scripts_farmers_return_setup, game_scripts_tutorial_setup, game_scripts_farm_audio_setup, game_scripts_end_panel_setup, game_scripts_review_panel_setup, game_scripts_phase_hud_setup [EXTRACTED 1.00]
- **Vacation-complete ending flow (outcome -> cutscene -> final assessment)** — game_scripts_campaign_controller_resolve, game_scripts_campaign_controller_campaign_ended, game_scripts_farmers_return_start, game_scripts_farmers_return_finished, game_scripts_end_panel_on_ended, game_scripts_end_panel_show_assessment, game_scripts_assessment_of [INFERRED 0.95]
- **Co-op partner actions forwarded to the host via Callables** — game_scripts_campaign_controller_begin_day, game_scripts_campaign_controller_retry_night, game_scripts_campaign_controller_start_night_early, game_scripts_upgrade_panel_buy, game_scripts_farm_audio_play, game_scripts_farm_audio_play_remote [INFERRED 0.85]
- **Farm-scene integration tests (farm.tscn loaded, FarmSim stepped by hand at 60 Hz, waves disabled)** — game_tests_test_cycle_run, game_tests_test_scarecrow_run, game_tests_test_structures_run, game_tests_test_targets_run, game_tests_test_theft_run, game_tests_test_weapons_run, game_scripts_farm_sim [EXTRACTED 1.00]
- **Retry restores the morning snapshot (CampaignController.retry_night)** — game_tests_test_cycle_retry, game_tests_test_theft_retry, game_tests_test_structures_persistence, game_tests_test_save_autosave, game_tests_test_targets_breach, game_tests_test_scarecrow_defeat, game_scripts_campaign_controller [INFERRED 0.85]
- **Game Over tie policy: scarecrow fall reported ahead of a stripped farm and ahead of completion** — game_tests_test_outcome_run, game_tests_test_outcome_final_dawn_tie, game_tests_test_scarecrow_defeat, game_tests_test_targets_stripped [INFERRED 0.85]
- **GameTestRunner shared check/fixture API used by every suite** — game_tests_run_tests_check, game_tests_run_tests_info, game_tests_run_tests_make_campaign, game_tests_run_tests_run_phase, game_tests_run_tests_run_until, game_tests_run_tests_lose_crops, game_tests_run_tests_edge, game_tests_run_tests_sky [EXTRACTED 1.00]
- **Retry restores the failed night's morning snapshot (verified across suites)** — game_tests_test_campaign_retry, game_tests_test_economy_deposit_and_night, game_tests_test_coop_fall_rule, game_tests_test_flow_failure, game_tests_test_nights_upgrades [INFERRED 0.85]
- **Suites that instantiate farm.tscn and step FarmSim by hand at 60 Hz** — game_tests_test_coop, game_tests_test_economy, game_tests_test_farm_layout, game_tests_test_nights, game_tests_test_roster [EXTRACTED 1.00]
## Communities (89 total, 14 thin omitted)
### Community 0 - "Campaign Controller & Farm State"
Cohesion: 0.07
Nodes (75): Dawn retreat and grace (D4), Phase cycle (Morning → Day → Dusk → Night → Dawn), Assessment, of(), CampaignController, advance_phase(), campaign_ended (signal), check_outcome() (+67 more)
### Community 1 - "Structures & Build Mode"
Cohesion: 0.15
Nodes (28): StructureSystem, _add_view(), _build_view(), damage(), destroyed (signal), _ground_y(), hurt (signal), make_ghost() (+20 more)
### Community 2 - "Audio & Farmers Return Ending"
Cohesion: 0.10
Nodes (31): Harvest Season — audio credits, Kenney Digital Audio pack, Kenney Impact Sounds pack, Kenney Interface Sounds pack, Kenney Music Jingles pack (pizzicato set), Kenney RPG Audio pack, Kenney UI Audio (UI SFX Set) pack, "On the Farm" (music track) (+23 more)
### Community 3 - "Scarecrow Weapons & Bombs"
Cohesion: 0.06
Nodes (63): Prototype Kit texture (8x8 RGB color palette swatch atlas for flat-shaded prototype pieces), PumpkinBomb_texture (11x11 Material-style color palette swatch grid for PumpkinBomb.glb), Step 10: The five-night progression, Step 10: Build the five-night progression, note(), PumpkinBombs, _burst(), burst (signal) (+55 more)
### Community 4 - "Waves, Night Plans & Review"
Cohesion: 0.25
Nodes (14): WaveDirector, arrived (signal), entry_label(), night_length(), plan_for(), spawn(), spawn_next(), spawn_point() (+6 more)
### Community 5 - "First Game Plan & Milestones"
Cohesion: 0.13
Nodes (24): Harvest Season — first game development plan, D2: Early campaign end (scarecrow death or farm stripped), D3: Phase lengths, D4: Sunrise retreat and dawn grace, D5: Killing or fearing a carrier drops its loot, D6: Recovery rules (touch to recover; animals follow, max 3), D7: Scarecrow HP carries over between nights, D8: What's allowed at night (+16 more)
### Community 6 - "Horde Prototype (README)"
Cohesion: 0.14
Nodes (30): Crows on MultiMesh, ground enemies from a KayKit pool, One fixed-order simulation tick, Game code in game/, prototype/ frozen (fork rule), One GameConfig resource, Horde survival prototype — coding-agent implementation plan, Centralized simulation with reusable storage, Prototype implementation milestones and gates, Pool reuse rules (no hot-path allocation) (+22 more)
### Community 7 - "Co-op Lobby & Smoke Test"
Cohesion: 0.17
Nodes (29): GDSync (GD-Sync plugin autoload), CoopLobby, _begin(), failed (signal), has_online_keys(), host(), host_addresses(), join() (+21 more)
### Community 8 - "Scarecrow Defender & Fear"
Cohesion: 0.07
Nodes (49): The scarecrow (player defender), pressed(), PlayerCharacter, can_sprint(), die(), _follow_net(), _move_direction(), _physics_process() (+41 more)
### Community 9 - "Loot & Theft Events"
Cohesion: 0.20
Nodes (20): record_event(), LootSystem, animal_home(), animal_strays(), claim(), drop(), _empty_sack(), escape() (+12 more)
### Community 10 - "Settings, Input & UI Theme"
Cohesion: 0.16
Nodes (20): Menus, pause, and settings (user://settings.cfg), GameSettings, apply(), load_from(), save_to(), _on_settings_changed(), _open_settings(), SettingsMenu (+12 more)
### Community 11 - "Main Scene & Title Menu"
Cohesion: 0.29
Nodes (10): _ask_new_vacation(), continue_vacation(), _host_coop(), open(), new_vacation(), _remember_name(), show_main_menu(), Loaded (+2 more)
### Community 12 - "Farm Zones & Layout Tests"
Cohesion: 0.23
Nodes (21): CropUnit, FarmMarker, FarmZone, contains(), rect(), FarmZones, edge(), edge_point() (+13 more)
### Community 13 - "Enemy System & Theft Tests"
Cohesion: 0.11
Nodes (29): EnemyCharacters, acquire(), _animate(), clear(), hit(), _process(), release(), EnemySystem (+21 more)
### Community 14 - "Co-op Session Host/Client"
Cohesion: 0.15
Nodes (28): CoopSession, _apply_event(), _apply_foes(), _apply_state(), _client_message(), _do_request(), _due_foes(), ended (signal) (+20 more)
### Community 15 - "Rules of the Vacation"
Cohesion: 0.13
Nodes (25): Co-op fall rule (out until morning; Game Over only when both are down), Animal Pen zone, Finding: automated defense may be too strong for 6 scrap, Finding: a broken pen gate is the costliest event, Finding: the fence breaker can end a run by itself, Hallway test (the exit gate), Harvest Season — rules of the vacation, Animals and the pen (open pen, loose animals, leading home) (+17 more)
### Community 16 - "Game Flow, Save & Pause"
Cohesion: 0.29
Nodes (15): ConfirmBox, close(), _yes(), Main, _audio(), _continue_and_new(), _coop_quit_to_menu(), _failure() (+7 more)
### Community 17 - "Farm Navigation Flow Fields"
Cohesion: 0.07
Nodes (64): Alerts (labeled edge arrows, priority, grouping), AlertManager, _alert(), _arrow(), cap(), collect(), _draw(), _escalation() (+56 more)
### Community 18 - "Resource Economy & Upgrades"
Cohesion: 0.33
Nodes (10): Day/night lighting and lantern, DayNight, add_lantern(), _apply(), _mix(), _process(), setup(), snap() (+2 more)
### Community 19 - "Animal System"
Cohesion: 0.15
Nodes (21): AnimalSystem, _apply_visuals(), find_animals(), _follow(), _move(), place(), position(), _record_trail() (+13 more)
### Community 20 - "Test Runner & Farm Targets"
Cohesion: 0.21
Nodes (13): ActionEdges, BuildHud, _process(), BuildMode, dismantled (signal), message (signal), refused (signal), set_active() (+5 more)
### Community 21 - "Co-op Docs & GD-Sync Link"
Cohesion: 0.10
Nodes (25): Harvest Season — co-op, GD-Sync API keys (keys.cfg), GD-Sync data allowance budget (22 MB per vacation, ~12 KB/s), Unreliable message size limit (under 1,100 bytes; GD-Sync splits at 1,200), Dead reckoning for enemies (25 cm error threshold), Harvest Season patches to GD-Sync (4), Host-authoritative simulation with partner replica (FarmSim.replica), LAN join by address (+17 more)
### Community 22 - "Enemy Roster & Construction Plan"
Cohesion: 0.23
Nodes (12): Automated defense (buildable), Crow (enemy), Fence (buildable), Fence breaker (enemy), Flying rule (fences, gates, traps ignore flyers), Gameplay is 2-D on the XZ plane, Gate (buildable), Slowing trap (buildable) (+4 more)
### Community 23 - "Playtest Notes & Scaling"
Cohesion: 0.15
Nodes (19): Harvest Season — farm layout, Crop Field zone, Crop units (30 row segments in 6 plots), The farm's edge (random enemy arrivals and carrier escapes), Farm zones (FarmZone rectangles under Zones/), Farmers' return route and staging points, Fence gaps (GapNorth, GapDriveway, GapEast), Gather points (GatherNode) (+11 more)
### Community 24 - "Farm Sim Setup Wiring"
Cohesion: 0.07
Nodes (55): enemies_line(), materials_line(), begin_day(), phase_changed (signal), EndPanel, hide_panel(), menu_requested (signal), _on_ended() (+47 more)
### Community 25 - "Co-op Link Transport"
Cohesion: 0.10
Nodes (38): CoopLink, close(), _deliver(), get_angle(), get_cm(), get_text(), get_time(), get_v3() (+30 more)
### Community 26 - "Thief Behavior AI"
Cohesion: 0.67
Nodes (3): settle_supplies(), available(), shed_total()
### Community 27 - "Soak Night & Benchmarks"
Cohesion: 0.24
Nodes (16): Labeled stress benchmark presets (25–2,000 birds, compact/enlarged layouts), run(), run_benchmarks.sh script, Scripted scarecrow bot (soak_night, perfect aim), _attack(), _build_tick(), _cycles(), _gather_day() (+8 more)
### Community 28 - "Co-op Tests"
Cohesion: 0.16
Nodes (17): Human playtest exit gates (still open), Scripted soak runs (soak_night.gd), Harvest Season — playtest notes, Finding: the day may be long once everything is gathered (106 of 180 s), User feedback: "extraordinarily easy" → 30-day scale pass, 5x enemies scale pass (up to 160 enemies; FarmSim.step 0.45 ms avg), Finding: materials pile up (straw has almost no use), Night 2 is the cliff (112 enemies, ~10x night 1) (+9 more)
### Community 29 - "Player Character Movement"
Cohesion: 0.21
Nodes (15): _process(), pay(), structure(), show_state(), _process(), describe(), pay(), built (signal) (+7 more)
### Community 30 - "Farm Layout Doc"
Cohesion: 0.21
Nodes (12): Pen gate breach (gate as start structure), Supply bundles (sacks from the most-stocked material), Step 8: Expand to all three farm targets, Three farm targets: crops, animals, supplies, _claim_home(), most_stocked(), ShedStock, _process() (+4 more)
### Community 31 - "Co-op Voice Chat"
Cohesion: 0.18
Nodes (17): net_receive(), set_microphone(), start_voice(), CoopVoice, decode(), encode(), _encode_next(), feed() (+9 more)
### Community 32 - "FarmSim Tick & Camera"
Cohesion: 0.10
Nodes (19): 1. With losses permanent, the density decides when the farm is empty, 2. Match the breakers to their pool, 3. Straw and Alien Goop pile up; wood runs out, Appendix: every night, per seed, Arrivals, the peak on the farm, and the tick, Character pools, Method, Not measured (+11 more)
### Community 33 - "Interactions & Gathering"
Cohesion: 0.16
Nodes (16): pen_changed (signal), update_pen_open(), setup(), arrival_message(), _count_removal(), _ground_takes_crops(), _on_night_ending(), _ready() (+8 more)
### Community 34 - "Shed Stock & Supply Targets"
Cohesion: 0.26
Nodes (21): set_local(), FollowCamera, _apply(), _process(), snap_to_target(), check(), _crowd(), _enemies_match() (+13 more)
### Community 35 - "ResourceStore"
Cohesion: 0.27
Nodes (15): to_dict(), GatherNode, ResourceHud, _process(), ResourceStore, to_dict(), Workbench, _deposit_and_night() (+7 more)
### Community 36 - "Farm Projectiles"
Cohesion: 0.17
Nodes (9): _release_slot(), sweep_hit(), FarmProjectiles, fire(), hit (signal), _release(), _resolve_segment(), step() (+1 more)
### Community 37 - "Alert Manager"
Cohesion: 0.21
Nodes (15): _breaker_goals(), _start_field_rebuild(), can_afford(), missing(), blocks(), corners(), _distance_to_outline(), footprint() (+7 more)
### Community 38 - "Net Budget Tool"
Cohesion: 0.31
Nodes (12): _kill_one(), MeterLink, _deliver(), _pump(), _report(), _run(), _setup(), WireModel (+4 more)
### Community 39 - "Enemy Roster Tests"
Cohesion: 0.12
Nodes (15): #29 [intro] Cutscene kit and the loaded-up car, #30 [intro] Hooks: forced lighting, sounds, the chest glow, #31 [intro] Speakers and the three conversations, #32 [intro] The loading screen, #33 [intro] The opening intro, #34 [intro] Timing review with the user, Decisions (the user's, 2026-10-07), Defaults (assumed; flip any of these on request) (+7 more)
### Community 40 - "Co-op Menu UI"
Cohesion: 0.24
Nodes (15): setup(), _on_welcomed(), pause(), _ready(), restart_night(), resume(), _unhandled_input(), PauseMenu (+7 more)
### Community 41 - "Harvest Season — co-op"
Cohesion: 0.15
Nodes (13): Alert priorities, grouping, and cap, D10: Ground enemies before Step 9, Enemy type table (GameConfig.enemy_types), Ground thief (enemy), Step 3: Make one farm asset stealable, Step 9: The first enemy roster, Thief states ENTER / SEEK / STEAL / CARRY / ESCAPED, Step 3: Make one farm asset stealable (+5 more)
### Community 42 - "Snapshot Decoding"
Cohesion: 0.15
Nodes (12): Alien overhaul — follow-ups (outside docs/tasks.md scope), Crop fields (#13), Docs sweep after renames/rebalances, Housekeeping, Loose animals (#12), Playtest after #11 (player-built pen), Post-overhaul fix batch (#16–#22, 2026-10-06), Spec items from the review with no task (+4 more)
### Community 43 - "Enemy Characters & Hits"
Cohesion: 0.26
Nodes (13): Wave count and spacing scaling, Dusk warning (banner, hint, phase HUD list), Night plans (NightPlan groups: time, count, spacing, type, target), NightPlan, count_scale_in(), problems(), scaled_count(), scaled_every() (+5 more)
### Community 44 - "send"
Cohesion: 0.33
Nodes (10): PhaseHud, join_words(), on_the_farm(), _dawn_and_morning(), _day(), _dusk(), _morning(), _night() (+2 more)
### Community 45 - "Interactions"
Cohesion: 0.27
Nodes (14): Interactions, _blocker(), cancel(), charges(), deposited (signal), _finish_gather(), gathered (signal), message (signal) (+6 more)
### Community 46 - "Upgrades"
Cohesion: 0.23
Nodes (16): start_channel(), trap_slow_time(), UpgradePanel, bought (signal), _buy(), message (signal), open(), refresh() (+8 more)
### Community 47 - "Prop Collision Builder"
Cohesion: 0.31
Nodes (10): _band_points(), _build(), _faces(), _fit(), _initialize(), _kind(), _process_prefab(), _restore_uids() (+2 more)
### Community 48 - "Horde Performance Report"
Cohesion: 0.18
Nodes (12): Performance report (prototype horde benchmarks), First shot / first hit stutter check (no first-use stutter), Largest tested passing population: 2,000 birds, 10-minute headless 1,000-bird recycle soak (flat memory), Start-up hitches (10–36 ms frames in the first second), VSync-on ~1 s stalls (compositor throttling of hidden windows), Headless tooling constraints (editor closed, restore UIDs), Performance measurement goals (p95 <= 16.67 ms) (+4 more)
### Community 49 - "test_weapons.gd"
Cohesion: 0.18
Nodes (11): MultiMesh batching for birds and bullets, Simulation tick profile at 2,000 birds (steering, motion+collision, flow-field slice, grid), GDScript simulation is the bottleneck, not rendering, Farm draw-call reduction (1,270 → 304 at start), Navigation occupancy grid (0.5 m cells, octile Dijkstra distance fields), Travel times and the 12 s rule, Finding: night 1 alone is not a threat once anything is defended, Two-front pressure (main playtest question) (+3 more)
### Community 50 - "GameConfig"
Cohesion: 0.38
Nodes (11): CoopMenu, back_requested (signal), host_requested (signal), join_address_requested (signal), join_requested (signal), open(), _ready(), search_requested (signal) (+3 more)
### Community 51 - "Co-op Send Path"
Cohesion: 0.29
Nodes (6): Decisions (resolved), Harvest Season — alien overhaul: review, decisions, and task plan, Headline finding from the review, Open assumptions (flagged, not yet confirmed), Suggested starting order, Task breakdown (mirrors Task tool `#1`–`#15`)
### Community 52 - "Pause Menu Signals"
Cohesion: 0.28
Nodes (9): KayKit Character Animations license (CC0), KayKit: Character Animations 1.1 (Kay Lousberg), Prototype Kit license (CC0, Rgsdev), Prototype Kit (Raphael Gonçalves / Rgsdev), Prototype asset inventory (Godot 4.7.2 dump), Bird_01.obj bird mesh (1 surface, 386 tris), KayKit Mannequin_Medium character (21-bone Rig_Medium skeleton), Prototype Kit FBX pieces (walls, fences, doors, stairs, primitives) (+1 more)
### Community 53 - "Tutorial"
Cohesion: 0.44
Nodes (9): Tutorial, _check_done(), _enemies_near(), _finish(), _on_phase(), _process(), setup(), _show() (+1 more)
### Community 54 - "GD-Sync Sync Icons"
Cohesion: 0.50
Nodes (5): Synchronized AnimatedSprite icon - neon yellow smiling square face with trailing frames, Synchronized AnimationPlayer icon - neon yellow film strip frame, Synchronized AnimationTree icon - neon yellow branching node tree diagram, Synchronized AudioStreamPlayer icon - neon yellow speaker with sound waves, Synchronize icon - neon yellow circular arrows refresh symbol
### Community 55 - "Pine & Foliage Textures"
Cohesion: 0.40
Nodes (5): Leaf_Pine_C solid dark-green pine foliage silhouette, Leaf_Pine white alpha silhouette of a pine foliage cluster, Leaves_GiantPine_C solid green rounded foliage blob shapes, Leaves sprite sheet with colorful painted leaf shapes, ferns, clovers, Leaves_NormalTree white alpha silhouettes of normal tree leaf clusters
### Community 56 - "Campaign Experience (Step 11)"
Cohesion: 0.09
Nodes (27): First complete version — five-night vacation build steps, Farmers' return ending, Five-night farm vacation (core loop), D1: Starting the night early (allow_early_night, off by default), D9: Retry from the failed night's morning, Farm occupancy grid with one flow field per goal set, M3 First loop (first major milestone), One authoritative FarmState (+19 more)
### Community 57 - "Overview Render Tool"
Cohesion: 0.43
Nodes (7): can_start_night_early(), start_night_early(), CampaignDebug, cycle_scenario(), _describe(), _unhandled_input(), _process()
### Community 58 - "Prototype Round Lifecycle"
Cohesion: 0.33
Nodes (6): _on_phase_changed(), is_inside_fence(), outline_material(), setup(), sync_from_state(), update_visuals()
### Community 59 - "Grid Design & Scope Limits"
Cohesion: 0.29
Nodes (12): _animal_theft(), _breach(), _bundle_limits(), _fallback(), _hud(), _layout(), _leading(), _pen_by_day() (+4 more)
### Community 60 - "GD-Sync Physics/Voice Icons"
Cohesion: 0.67
Nodes (3): SynchronizedGPUParticles icon (lime cloud with rain drops), SynchronizedRigidBody3D icon (lime globe), VoiceChatIcon (lime microphone)
### Community 61 - "AGENTS.md graphify Rules"
Cohesion: 0.67
Nodes (3): AGENTS.md — graphify rules for agents, Query the graph first (graphify query / path / explain), Run graphify update after code changes
### Community 62 - "Bark Textures"
Cohesion: 0.67
Nodes (3): Bark_DeadTree gray dead-tree bark diffuse texture, Bark_DeadTree_Normal purple normal map, Bark_NormalTree brown tree bark texture
### Community 63 - "Leaf Cluster Textures"
Cohesion: 0.67
Nodes (3): Leaves_NormalTree_C (green leaf-cluster alpha card texture, CommonTree_1-5 / Bush_Common_Flowers), Leaves_TwistedTree (untinted white leaf alpha mask, unreferenced by any gltf), Leaves_TwistedTree_C (red/autumn blob-leaf alpha card texture, TwistedTree_1-5 / Bush_Common)
### Community 64 - "Rock Textures"
Cohesion: 0.67
Nodes (3): PathRocks_Diffuse (mossy grey stepping-stone UV atlas diffuse, Pebble_* / RockPath_* models), Rocks_Desert_Diffuse (sandstone/ochre recolor of rock UV atlas, 2048px, unreferenced by any gltf), Rocks_Diffuse (mossy grey-green rock UV atlas diffuse, 2048px, Rock_Medium_1-3)
### Community 80 - "Alien overhaul — task list"
Cohesion: 0.13
Nodes (14): Alien overhaul — task list, Dependent, Independent, Opening intro — task list (2026-10-07), Post-overhaul fix batch (2026-10-06), Thirty nights — task list (2026-10-06), Wave 1, Wave 1 (+6 more)
### Community 81 - "test_theft.gd"
Cohesion: 0.53
Nodes (5): UiTheme, build(), check_icon(), _initialize(), Settings (settings.cfg) and UI theme
### Community 84 - "equip"
Cohesion: 0.60
Nodes (5): _designs(), _five_nights(), run(), _upgrades(), _validation()
### Community 85 - "stop"
Cohesion: 0.33
Nodes (9): leave(), _leave_as_partner(), _on_session_ended(), to_menu(), _check(), _finish(), _initialize(), _run() (+1 more)
### Community 86 - "MainMenu"
Cohesion: 0.52
Nodes (7): MainMenu, continue_requested (signal), coop_requested (signal), new_requested (signal), quit_requested (signal), _ready(), settings_requested (signal)
### Community 87 - "step"
Cohesion: 0.33
Nodes (9): FarmSim, _finish_field_rebuild(), spawn_enemy(), spawn_thief(), step(), _step_replica(), _unhandled_input(), _update_hunt() (+1 more)
### Community 88 - "render_overview.gd"
Cohesion: 0.70
Nodes (4): _draw_grid(), _draw_zones(), _initialize(), _render()
## Ambiguous Edges - Review These
- `KayKit Rig_Medium animation libraries (CombatMelee, CombatRanged, General, Movement, Simulation, Special, Tools)` → `Final assessment (weighted share kept, 0–100 points, ratings)` [AMBIGUOUS]
game/RULES.md · relation: conceptually_related_to
## Knowledge Gaps
- **108 isolated node(s):** `Headline finding from the review`, `Decisions (resolved)`, `Open assumptions (flagged, not yet confirmed)`, `Task breakdown (mirrors Task tool `#1`–`#15`)`, `Suggested starting order` (+103 more)
These have ≤1 connection - possible missing edges or undocumented components.
- **14 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
## Suggested Questions
_Questions this graph is uniquely positioned to answer:_
- **What is the exact relationship between `KayKit Rig_Medium animation libraries (CombatMelee, CombatRanged, General, Movement, Simulation, Special, Tools)` and `Final assessment (weighted share kept, 0–100 points, ratings)`?**
_Edge tagged AMBIGUOUS (relation: conceptually_related_to) - confidence is low._
- **Why does `FarmSim` connect `step` to `Campaign Controller & Farm State`, `Structures & Build Mode`, `Scarecrow Weapons & Bombs`, `Waves, Night Plans & Review`, `Horde Prototype (README)`, `Scarecrow Defender & Fear`, `Loot & Theft Events`, `Farm Zones & Layout Tests`, `Enemy System & Theft Tests`, `Co-op Session Host/Client`, `Rules of the Vacation`, `Game Flow, Save & Pause`, `Farm Navigation Flow Fields`, `Resource Economy & Upgrades`, `Animal System`, `Test Runner & Farm Targets`, `Co-op Docs & GD-Sync Link`, `Farm Sim Setup Wiring`, `Soak Night & Benchmarks`, `Co-op Tests`, `Farm Layout Doc`, `Interactions & Gathering`, `Shed Stock & Supply Targets`, `ResourceStore`, `Farm Projectiles`, `Alert Manager`, `Net Budget Tool`, `Enemy Characters & Hits`, `send`, `Interactions`, `Upgrades`, `Tutorial`, `Overview Render Tool`, `Prototype Round Lifecycle`, `Grid Design & Scope Limits`, `equip`?**
_High betweenness centrality (0.124) - this node is a cross-community bridge._
- **Why does `CoopSession` connect `Co-op Session Host/Client` to `Campaign Controller & Farm State`, `Structures & Build Mode`, `Shed Stock & Supply Targets`, `ResourceStore`, `Scarecrow Weapons & Bombs`, `Net Budget Tool`, `Co-op Lobby & Smoke Test`, `Enemy System & Theft Tests`, `Upgrades`, `Game Flow, Save & Pause`, `Co-op Docs & GD-Sync Link`, `stop`, `step`, `Co-op Link Transport`, `Co-op Voice Chat`?**
_High betweenness centrality (0.121) - this node is a cross-community bridge._
- **Why does `CampaignController` connect `Campaign Controller & Farm State` to `Structures & Build Mode`, `Scarecrow Weapons & Bombs`, `Waves, Night Plans & Review`, `First Game Plan & Milestones`, `Horde Prototype (README)`, `Scarecrow Defender & Fear`, `Loot & Theft Events`, `Enemy System & Theft Tests`, `Co-op Session Host/Client`, `Rules of the Vacation`, `Game Flow, Save & Pause`, `Farm Navigation Flow Fields`, `Resource Economy & Upgrades`, `Animal System`, `Test Runner & Farm Targets`, `Farm Sim Setup Wiring`, `Soak Night & Benchmarks`, `Farm Layout Doc`, `Interactions & Gathering`, `Shed Stock & Supply Targets`, `ResourceStore`, `Alert Manager`, `Net Budget Tool`, `Co-op Menu UI`, `send`, `Interactions`, `Upgrades`, `Tutorial`, `Overview Render Tool`, `Grid Design & Scope Limits`, `equip`, `stop`, `step`?**
_High betweenness centrality (0.109) - this node is a cross-community bridge._
- **Are the 12 inferred relationships involving `CampaignController` (e.g. with `Outcome evaluator check_outcome` and `_night_log()`) actually correct?**
_`CampaignController` has 12 INFERRED edges - model-reasoned connections that need verification._
- **Are the 13 inferred relationships involving `EnemySystem` (e.g. with `AlertManager` and `_describe()`) actually correct?**
_`EnemySystem` has 13 INFERRED edges - model-reasoned connections that need verification._
- **Are the 36 inferred relationships involving `StructureSystem` (e.g. with `Automated defense (buildable)` and `Fence (buildable)`) actually correct?**
_`StructureSystem` has 36 INFERRED edges - model-reasoned connections that need verification._

View file

@ -0,0 +1,12 @@
{
"runs": [
{
"date": "2026-10-04T23:31:40.808114+00:00",
"input_tokens": 1119866,
"output_tokens": 0,
"files": 193
}
],
"total_input_tokens": 1119866,
"total_output_tokens": 0
}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,16 +1,16 @@
# Graph Report - harvest-season (2026-10-07)
# Graph Report - ios-test-port (2026-10-14)
## Corpus Check
- 39 files · ~1,663,935 words
- 40 files · ~1,667,729 words
- Verdict: corpus is large enough that graph structure adds value.
## Summary
- 1368 nodes · 4083 edges · 89 communities (75 shown, 14 thin omitted)
- 1374 nodes · 4087 edges · 74 communities (58 shown, 16 thin omitted)
- Extraction: 87% EXTRACTED · 13% INFERRED · 0% AMBIGUOUS · INFERRED: 542 edges (avg confidence: 0.91)
- Token cost: 0 input · 0 output
## Graph Freshness
- Built from commit: `78ff5494`
- Built from commit: `2e68223b`
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost).
@ -52,28 +52,16 @@
- Shed Stock & Supply Targets
- ResourceStore
- Farm Projectiles
- Alert Manager
- Net Budget Tool
- Enemy Roster Tests
- Co-op Menu UI
- Harvest Season — co-op
- Snapshot Decoding
- Enemy Characters & Hits
- send
- Interactions
- Upgrades
- Prop Collision Builder
- Horde Performance Report
- test_weapons.gd
- GameConfig
- Co-op Send Path
- Pause Menu Signals
- Tutorial
- GD-Sync Sync Icons
- Pine & Foliage Textures
- Campaign Experience (Step 11)
- Overview Render Tool
- Prototype Round Lifecycle
- Grid Design & Scope Limits
- GD-Sync Physics/Voice Icons
- AGENTS.md graphify Rules
@ -96,11 +84,8 @@
- Project Icon
- Alien overhaul — task list
- test_theft.gd
- equip
- stop
- MainMenu
- step
- render_overview.gd
## God Nodes (most connected - your core abstractions)
1. `CampaignController` - 119 edges
@ -130,11 +115,11 @@
- 3-file cycle: `game/scripts/enemy_system.gd -> game/scripts/structure_system.gd -> game/scripts/farm_projectiles.gd -> game/scripts/enemy_system.gd`
- 4-file cycle: `game/scripts/enemy_system.gd -> game/scripts/loot_system.gd -> game/scripts/structure_system.gd -> game/scripts/farm_projectiles.gd -> game/scripts/enemy_system.gd`
- 4-file cycle: `game/scripts/enemy_system.gd -> game/scripts/scarecrow.gd -> game/scripts/remote_controls.gd -> game/scripts/scarecrow_combat.gd -> game/scripts/enemy_system.gd`
- 5-file cycle: `game/scripts/enemy_system.gd -> game/scripts/scarecrow.gd -> game/scripts/remote_controls.gd -> game/scripts/scarecrow_combat.gd -> game/scripts/pumpkin_bombs.gd -> game/scripts/enemy_system.gd`
- 5-file cycle: `game/scripts/enemy_characters.gd -> game/scripts/loot_system.gd -> game/scripts/structure_system.gd -> game/scripts/farm_projectiles.gd -> game/scripts/enemy_system.gd -> game/scripts/enemy_characters.gd`
- 5-file cycle: `game/scripts/enemy_characters.gd -> game/scripts/thief_behavior.gd -> game/scripts/structure_system.gd -> game/scripts/farm_projectiles.gd -> game/scripts/enemy_system.gd -> game/scripts/enemy_characters.gd`
- 5-file cycle: `game/scripts/enemy_system.gd -> game/scripts/scarecrow.gd -> game/scripts/thief_behavior.gd -> game/scripts/structure_system.gd -> game/scripts/farm_projectiles.gd -> game/scripts/enemy_system.gd`
- 5-file cycle: `game/scripts/enemy_characters.gd -> game/scripts/loot_system.gd -> game/scripts/structure_system.gd -> game/scripts/farm_projectiles.gd -> game/scripts/enemy_system.gd -> game/scripts/enemy_characters.gd`
- 5-file cycle: `game/scripts/enemy_system.gd -> game/scripts/scarecrow.gd -> game/scripts/remote_controls.gd -> game/scripts/scarecrow_combat.gd -> game/scripts/farm_projectiles.gd -> game/scripts/enemy_system.gd`
- 5-file cycle: `game/scripts/enemy_system.gd -> game/scripts/scarecrow.gd -> game/scripts/remote_controls.gd -> game/scripts/scarecrow_combat.gd -> game/scripts/pumpkin_bombs.gd -> game/scripts/enemy_system.gd`
## Hyperedges (group relationships)
- **Prototype classes forked or generalized into game/ systems** — readme_hordesystem, game_scripts_enemy_system, readme_chasebehavior, game_scripts_thief_behavior, readme_arenanavigation, game_scripts_farm_navigation, readme_roundcontroller, game_scripts_campaign_controller, readme_prototypeconfig, game_scripts_game_config [EXTRACTED 1.00]
@ -172,224 +157,176 @@
- **Retry restores the failed night's morning snapshot (verified across suites)** — game_tests_test_campaign_retry, game_tests_test_economy_deposit_and_night, game_tests_test_coop_fall_rule, game_tests_test_flow_failure, game_tests_test_nights_upgrades [INFERRED 0.85]
- **Suites that instantiate farm.tscn and step FarmSim by hand at 60 Hz** — game_tests_test_coop, game_tests_test_economy, game_tests_test_farm_layout, game_tests_test_nights, game_tests_test_roster [EXTRACTED 1.00]
## Communities (89 total, 14 thin omitted)
## Communities (74 total, 16 thin omitted)
### Community 0 - "Campaign Controller & Farm State"
Cohesion: 0.07
Nodes (75): Dawn retreat and grace (D4), Phase cycle (Morning → Day → Dusk → Night → Dawn), Assessment, of(), CampaignController, advance_phase(), campaign_ended (signal), check_outcome() (+67 more)
Cohesion: 0.05
Nodes (80): Assessment, CampaignController, advance_phase(), begin_day(), campaign_ended (signal), can_start_night_early(), check_outcome(), _enter() (+72 more)
### Community 1 - "Structures & Build Mode"
Cohesion: 0.15
Nodes (28): StructureSystem, _add_view(), _build_view(), damage(), destroyed (signal), _ground_y(), hurt (signal), make_ghost() (+20 more)
Cohesion: 0.05
Nodes (83): Automated defense (buildable), Crow (enemy), Fence (buildable), Fence breaker (enemy), Flying rule (fences, gates, traps ignore flyers), Gameplay is 2-D on the XZ plane, Gate (buildable), Pen gate breach (gate as start structure) (+75 more)
### Community 2 - "Audio & Farmers Return Ending"
Cohesion: 0.10
Nodes (31): Harvest Season — audio credits, Kenney Digital Audio pack, Kenney Impact Sounds pack, Kenney Interface Sounds pack, Kenney Music Jingles pack (pizzicato set), Kenney RPG Audio pack, Kenney UI Audio (UI SFX Set) pack, "On the Farm" (music track) (+23 more)
Cohesion: 0.06
Nodes (64): Harvest Season — audio credits, Kenney Digital Audio pack, Kenney Impact Sounds pack, Kenney Interface Sounds pack, Kenney Music Jingles pack (pizzicato set), Kenney RPG Audio pack, Kenney UI Audio (UI SFX Set) pack, "On the Farm" (music track) (+56 more)
### Community 3 - "Scarecrow Weapons & Bombs"
Cohesion: 0.06
Nodes (63): Prototype Kit texture (8x8 RGB color palette swatch atlas for flat-shaded prototype pieces), PumpkinBomb_texture (11x11 Material-style color palette swatch grid for PumpkinBomb.glb), Step 10: The five-night progression, Step 10: Build the five-night progression, note(), PumpkinBombs, _burst(), burst (signal) (+55 more)
Cohesion: 0.07
Nodes (61): Prototype Kit texture (8x8 RGB color palette swatch atlas for flat-shaded prototype pieces), PumpkinBomb_texture (11x11 Material-style color palette swatch grid for PumpkinBomb.glb), note(), PumpkinBombs, _burst(), burst (signal), _flash(), _new_mesh() (+53 more)
### Community 4 - "Waves, Night Plans & Review"
Cohesion: 0.25
Nodes (14): WaveDirector, arrived (signal), entry_label(), night_length(), plan_for(), spawn(), spawn_next(), spawn_point() (+6 more)
### Community 5 - "First Game Plan & Milestones"
Cohesion: 0.13
Nodes (24): Harvest Season — first game development plan, D2: Early campaign end (scarecrow death or farm stripped), D3: Phase lengths, D4: Sunrise retreat and dawn grace, D5: Killing or fearing a carrier drops its loot, D6: Recovery rules (touch to recover; animals follow, max 3), D7: Scarecrow HP carries over between nights, D8: What's allowed at night (+16 more)
### Community 6 - "Horde Prototype (README)"
Cohesion: 0.14
Nodes (30): Crows on MultiMesh, ground enemies from a KayKit pool, One fixed-order simulation tick, Game code in game/, prototype/ frozen (fork rule), One GameConfig resource, Horde survival prototype — coding-agent implementation plan, Centralized simulation with reusable storage, Prototype implementation milestones and gates, Pool reuse rules (no hot-path allocation) (+22 more)
### Community 7 - "Co-op Lobby & Smoke Test"
Cohesion: 0.17
Nodes (29): GDSync (GD-Sync plugin autoload), CoopLobby, _begin(), failed (signal), has_online_keys(), host(), host_addresses(), join() (+21 more)
### Community 8 - "Scarecrow Defender & Fear"
Cohesion: 0.07
Nodes (49): The scarecrow (player defender), pressed(), PlayerCharacter, can_sprint(), die(), _follow_net(), _move_direction(), _physics_process() (+41 more)
### Community 9 - "Loot & Theft Events"
Cohesion: 0.20
Nodes (20): record_event(), LootSystem, animal_home(), animal_strays(), claim(), drop(), _empty_sack(), escape() (+12 more)
### Community 10 - "Settings, Input & UI Theme"
Cohesion: 0.16
Nodes (20): Menus, pause, and settings (user://settings.cfg), GameSettings, apply(), load_from(), save_to(), _on_settings_changed(), _open_settings(), SettingsMenu (+12 more)
### Community 11 - "Main Scene & Title Menu"
Cohesion: 0.29
Nodes (10): _ask_new_vacation(), continue_vacation(), _host_coop(), open(), new_vacation(), _remember_name(), show_main_menu(), Loaded (+2 more)
### Community 12 - "Farm Zones & Layout Tests"
Cohesion: 0.23
Nodes (21): CropUnit, FarmMarker, FarmZone, contains(), rect(), FarmZones, edge(), edge_point() (+13 more)
### Community 13 - "Enemy System & Theft Tests"
Cohesion: 0.11
Nodes (29): EnemyCharacters, acquire(), _animate(), clear(), hit(), _process(), release(), EnemySystem (+21 more)
### Community 14 - "Co-op Session Host/Client"
Cohesion: 0.15
Nodes (28): CoopSession, _apply_event(), _apply_foes(), _apply_state(), _client_message(), _do_request(), _due_foes(), ended (signal) (+20 more)
### Community 15 - "Rules of the Vacation"
Cohesion: 0.13
Nodes (25): Co-op fall rule (out until morning; Game Over only when both are down), Animal Pen zone, Finding: automated defense may be too strong for 6 scrap, Finding: a broken pen gate is the costliest event, Finding: the fence breaker can end a run by itself, Hallway test (the exit gate), Harvest Season — rules of the vacation, Animals and the pen (open pen, loose animals, leading home) (+17 more)
### Community 16 - "Game Flow, Save & Pause"
Cohesion: 0.29
Nodes (15): ConfirmBox, close(), _yes(), Main, _audio(), _continue_and_new(), _coop_quit_to_menu(), _failure() (+7 more)
### Community 17 - "Farm Navigation Flow Fields"
Cohesion: 0.07
Nodes (64): Alerts (labeled edge arrows, priority, grouping), AlertManager, _alert(), _arrow(), cap(), collect(), _draw(), _escalation() (+56 more)
### Community 18 - "Resource Economy & Upgrades"
Cohesion: 0.33
Nodes (10): Day/night lighting and lantern, DayNight, add_lantern(), _apply(), _mix(), _process(), setup(), snap() (+2 more)
### Community 19 - "Animal System"
Cohesion: 0.15
Nodes (21): AnimalSystem, _apply_visuals(), find_animals(), _follow(), _move(), place(), position(), _record_trail() (+13 more)
### Community 20 - "Test Runner & Farm Targets"
Cohesion: 0.21
Nodes (13): ActionEdges, BuildHud, _process(), BuildMode, dismantled (signal), message (signal), refused (signal), set_active() (+5 more)
### Community 21 - "Co-op Docs & GD-Sync Link"
Cohesion: 0.10
Nodes (25): Harvest Season — co-op, GD-Sync API keys (keys.cfg), GD-Sync data allowance budget (22 MB per vacation, ~12 KB/s), Unreliable message size limit (under 1,100 bytes; GD-Sync splits at 1,200), Dead reckoning for enemies (25 cm error threshold), Harvest Season patches to GD-Sync (4), Host-authoritative simulation with partner replica (FarmSim.replica), LAN join by address (+17 more)
### Community 22 - "Enemy Roster & Construction Plan"
Cohesion: 0.23
Nodes (12): Automated defense (buildable), Crow (enemy), Fence (buildable), Fence breaker (enemy), Flying rule (fences, gates, traps ignore flyers), Gameplay is 2-D on the XZ plane, Gate (buildable), Slowing trap (buildable) (+4 more)
### Community 23 - "Playtest Notes & Scaling"
Cohesion: 0.15
Nodes (19): Harvest Season — farm layout, Crop Field zone, Crop units (30 row segments in 6 plots), The farm's edge (random enemy arrivals and carrier escapes), Farm zones (FarmZone rectangles under Zones/), Farmers' return route and staging points, Fence gaps (GapNorth, GapDriveway, GapEast), Gather points (GatherNode) (+11 more)
### Community 24 - "Farm Sim Setup Wiring"
Cohesion: 0.07
Nodes (55): enemies_line(), materials_line(), begin_day(), phase_changed (signal), EndPanel, hide_panel(), menu_requested (signal), _on_ended() (+47 more)
### Community 25 - "Co-op Link Transport"
Cohesion: 0.10
Nodes (38): CoopLink, close(), _deliver(), get_angle(), get_cm(), get_text(), get_time(), get_v3() (+30 more)
### Community 26 - "Thief Behavior AI"
Cohesion: 0.67
Nodes (3): settle_supplies(), available(), shed_total()
### Community 27 - "Soak Night & Benchmarks"
Cohesion: 0.24
Nodes (16): Labeled stress benchmark presets (25–2,000 birds, compact/enlarged layouts), run(), run_benchmarks.sh script, Scripted scarecrow bot (soak_night, perfect aim), _attack(), _build_tick(), _cycles(), _gather_day() (+8 more)
### Community 28 - "Co-op Tests"
Cohesion: 0.16
Nodes (17): Human playtest exit gates (still open), Scripted soak runs (soak_night.gd), Harvest Season — playtest notes, Finding: the day may be long once everything is gathered (106 of 180 s), User feedback: "extraordinarily easy" → 30-day scale pass, 5x enemies scale pass (up to 160 enemies; FarmSim.step 0.45 ms avg), Finding: materials pile up (straw has almost no use), Night 2 is the cliff (112 enemies, ~10x night 1) (+9 more)
### Community 29 - "Player Character Movement"
Cohesion: 0.21
Nodes (15): _process(), pay(), structure(), show_state(), _process(), describe(), pay(), built (signal) (+7 more)
### Community 30 - "Farm Layout Doc"
Cohesion: 0.21
Nodes (12): Pen gate breach (gate as start structure), Supply bundles (sacks from the most-stocked material), Step 8: Expand to all three farm targets, Three farm targets: crops, animals, supplies, _claim_home(), most_stocked(), ShedStock, _process() (+4 more)
### Community 31 - "Co-op Voice Chat"
Cohesion: 0.18
Nodes (17): net_receive(), set_microphone(), start_voice(), CoopVoice, decode(), encode(), _encode_next(), feed() (+9 more)
### Community 32 - "FarmSim Tick & Camera"
Cohesion: 0.10
Nodes (19): 1. With losses permanent, the density decides when the farm is empty, 2. Match the breakers to their pool, 3. Straw and Alien Goop pile up; wood runs out, Appendix: every night, per seed, Arrivals, the peak on the farm, and the tick, Character pools, Method, Not measured (+11 more)
### Community 33 - "Interactions & Gathering"
### Community 5 - "First Game Plan & Milestones"
Cohesion: 0.09
Nodes (40): First complete version — five-night vacation build steps, Farmers' return ending, Five-night farm vacation (core loop), Harvest Season — first game development plan, D10: Ground enemies before Step 9, D1: Starting the night early (allow_early_night, off by default), D2: Early campaign end (scarecrow death or farm stripped), D3: Phase lengths (+32 more)
### Community 6 - "Horde Prototype (README)"
Cohesion: 0.15
Nodes (30): Game code in game/, prototype/ frozen (fork rule), Horde survival prototype — coding-agent implementation plan, Centralized simulation with reusable storage, Prototype implementation milestones and gates, Performance measurement goals (p95 <= 16.67 ms), Pool reuse rules (no hot-path allocation), Stress presets (25/50 to 1,000/2,000 birds), Harvest Season — horde survival prototype (+22 more)
### Community 7 - "Co-op Lobby & Smoke Test"
Cohesion: 0.15
Nodes (31): CoopLobby, _begin(), failed (signal), has_online_keys(), host(), host_addresses(), join_address(), _join_timed_out() (+23 more)
### Community 8 - "Scarecrow Defender & Fear"
Cohesion: 0.05
Nodes (64): MultiMesh batching for birds and bullets, GDScript simulation is the bottleneck, not rendering, Farm draw-call reduction (1,270 → 304 at start), User feedback: "extraordinarily easy" → 30-day scale pass, 5x enemies scale pass (up to 160 enemies; FarmSim.step 0.45 ms avg), pressed(), FarmSim, add_partner() (+56 more)
### Community 9 - "Loot & Theft Events"
Cohesion: 0.06
Nodes (78): Step 8: All three farm targets, Supply bundles (sacks from the most-stocked material), Step 8: Expand to all three farm targets, Three farm targets: crops, animals, supplies, AnimalSystem, _apply_visuals(), find_animals(), _follow() (+70 more)
### Community 10 - "Settings, Input & UI Theme"
Cohesion: 0.23
Nodes (14): _open_settings(), SettingsMenu, _apply_value(), _bindings(), changed (signal), close(), closed (signal), describe_keys() (+6 more)
### Community 11 - "Main Scene & Title Menu"
Cohesion: 0.12
Nodes (15): #29 [intro] Cutscene kit and the loaded-up car, #30 [intro] Hooks: forced lighting, sounds, the chest glow, #31 [intro] Speakers and the three conversations, #32 [intro] The loading screen, #33 [intro] The opening intro, #34 [intro] Timing review with the user, Decisions (the user's, 2026-10-07), Defaults (assumed; flip any of these on request) (+7 more)
### Community 12 - "Farm Zones & Layout Tests"
Cohesion: 0.07
Nodes (77): Gather points (4 per material, overnight regrowth), Harvest Season — farm layout, Crop Field zone, Crop units (30 row segments in 6 plots), The farm's edge (random enemy arrivals and carrier escapes), Farm zones (FarmZone rectangles under Zones/), Farmers' return route and staging points, Fence gaps (GapNorth, GapDriveway, GapEast) (+69 more)
### Community 13 - "Enemy System & Theft Tests"
Cohesion: 0.11
Nodes (30): EnemyCharacters, acquire(), _animate(), clear(), hit(), _process(), release(), EnemySystem (+22 more)
### Community 14 - "Co-op Session Host/Client"
Cohesion: 0.15
Nodes (32): send(), CoopSession, _apply_event(), _apply_foes(), _apply_state(), _client_message(), _close_menu_if_needed(), _do_request() (+24 more)
### Community 15 - "Rules of the Vacation"
Cohesion: 0.05
Nodes (64): KayKit Character Animations license (CC0), KayKit: Character Animations 1.1 (Kay Lousberg), Prototype Kit license (CC0, Rgsdev), Prototype Kit (Raphael Gonçalves / Rgsdev), Simulation tick profile at 2,000 birds (steering, motion+collision, flow-field slice, grid), Human playtest exit gates (still open), Scripted soak runs (soak_night.gd), Co-op fall rule (out until morning; Game Over only when both are down) (+56 more)
### Community 16 - "Game Flow, Save & Pause"
Cohesion: 0.15
Nodes (29): Autosave and Continue (user://savegame.json), ConfirmBox, close(), _yes(), EndPanel, Main, _ask_new_vacation(), continue_vacation() (+21 more)
### Community 17 - "Farm Navigation Flow Fields"
Cohesion: 0.15
Nodes (30): evaluate_attacks(), handle_of(), queue_removal(), barrier_ahead(), cell_of(), _downhill(), flow_direction(), line_clear() (+22 more)
### Community 18 - "Resource Economy & Upgrades"
Cohesion: 0.38
Nodes (9): Day/night lighting and lantern, DayNight, add_lantern(), _apply(), _mix(), _process(), setup(), snap() (+1 more)
### Community 19 - "Animal System"
Cohesion: 0.15
Nodes (9): GD-Sync data allowance budget (22 MB per vacation, ~12 KB/s), Unreliable message size limit (under 1,100 bytes; GD-Sync splits at 1,200), Dead reckoning for enemies (25 cm error threshold), Packed snapshots (15 Hz, 16-byte enemy records), Partner input record (39 bytes, press counts), Co-op voice chat (gated, 4-bit ADPCM), zstd compression of messages over 256 bytes, RemoteControls (+1 more)
### Community 20 - "Test Runner & Farm Targets"
Cohesion: 0.26
Nodes (13): Alerts (labeled edge arrows, priority, grouping), AlertManager, _alert(), _arrow(), cap(), collect(), _draw(), _escalation() (+5 more)
### Community 21 - "Co-op Docs & GD-Sync Link"
Cohesion: 0.16
Nodes (16): pen_changed (signal), update_pen_open(), setup(), arrival_message(), _count_removal(), _ground_takes_crops(), _on_night_ending(), _ready() (+8 more)
Nodes (20): GDSync (GD-Sync plugin autoload), Harvest Season — co-op, GD-Sync API keys (keys.cfg), Harvest Season patches to GD-Sync (4), Host-authoritative simulation with partner replica (FarmSim.replica), LAN join by address, Same-network LAN play (GD-Sync local mode, peer to peer), Online lobbies via GD-Sync servers (+12 more)
### Community 22 - "Enemy Roster & Construction Plan"
Cohesion: 0.26
Nodes (14): Farm occupancy grid with one flow field per goal set, Structures are expensive-to-cross cells, not walls, FarmNavigation, build(), cell_center(), free_cells_in(), free_cells_near(), free_cells_on_outline() (+6 more)
### Community 23 - "Playtest Notes & Scaling"
Cohesion: 0.15
Nodes (12): Alien overhaul — follow-ups (outside docs/tasks.md scope), Crop fields (#13), Docs sweep after renames/rebalances, Housekeeping, Loose animals (#12), Playtest after #11 (player-built pen), Post-overhaul fix batch (#16–#22, 2026-10-06), Spec items from the review with no task (+4 more)
### Community 24 - "Farm Sim Setup Wiring"
Cohesion: 0.05
Nodes (75): enemies_line(), materials_line(), of(), _process(), show_assessment(), show_failure(), _totals_text(), NightPlan (+67 more)
### Community 25 - "Co-op Link Transport"
Cohesion: 0.14
Nodes (27): CoopLink, close(), get_angle(), get_cm(), get_text(), get_time(), get_v3(), Loopback (+19 more)
### Community 26 - "Thief Behavior AI"
Cohesion: 0.33
Nodes (9): step(), distance_field(), FieldJob, _init(), _push(), start(), step(), is_walkable() (+1 more)
### Community 27 - "Soak Night & Benchmarks"
Cohesion: 0.30
Nodes (14): Labeled stress benchmark presets (25–2,000 birds, compact/enlarged layouts), Scripted scarecrow bot (soak_night, perfect aim), _attack(), _build_tick(), _cycles(), _gather_day(), _gather_tick(), _guard() (+6 more)
### Community 28 - "Co-op Tests"
Cohesion: 0.29
Nodes (6): Decisions (resolved), Harvest Season — alien overhaul: review, decisions, and task plan, Headline finding from the review, Open assumptions (flagged, not yet confirmed), Suggested starting order, Task breakdown (mirrors Task tool `#1`–`#15`)
### Community 29 - "Player Character Movement"
Cohesion: 0.33
Nodes (5): Build and install, iOS test port, One-time setup, The test, What the phone build changes
### Community 30 - "Farm Layout Doc"
Cohesion: 0.83
Nodes (4): One fixed-order simulation tick, Round lifecycle and idempotent restart, Loss-before-victory tie policy, RoundController (prototype)
### Community 31 - "Co-op Voice Chat"
Cohesion: 0.19
Nodes (16): net_receive(), set_microphone(), start_voice(), CoopVoice, decode(), encode(), _encode_next(), feed() (+8 more)
### Community 32 - "FarmSim Tick & Camera"
Cohesion: 0.67
Nodes (3): Sliced flow-field rebuilds with Dial's algorithm, Risk: navigation cost on the farm grid, Flow-field slicing (1,200 cells per tick)
### Community 34 - "Shed Stock & Supply Targets"
Cohesion: 0.26
Nodes (21): set_local(), FollowCamera, _apply(), _process(), snap_to_target(), check(), _crowd(), _enemies_match() (+13 more)
### Community 35 - "ResourceStore"
Cohesion: 0.27
Nodes (15): to_dict(), GatherNode, ResourceHud, _process(), ResourceStore, to_dict(), Workbench, _deposit_and_night() (+7 more)
Cohesion: 0.31
Nodes (15): SKY, _crowd(), _enemies_match(), _fall_rule(), _join(), _leaving(), _night(), _partner_shoots() (+7 more)
### Community 36 - "Farm Projectiles"
Cohesion: 0.17
Nodes (9): _release_slot(), sweep_hit(), FarmProjectiles, fire(), hit (signal), _release(), _resolve_segment(), step() (+1 more)
### Community 37 - "Alert Manager"
Cohesion: 0.21
Nodes (15): _breaker_goals(), _start_field_rebuild(), can_afford(), missing(), blocks(), corners(), _distance_to_outline(), footprint() (+7 more)
### Community 38 - "Net Budget Tool"
Cohesion: 0.31
Nodes (12): _kill_one(), MeterLink, _deliver(), _pump(), _report(), _run(), _setup(), WireModel (+4 more)
### Community 39 - "Enemy Roster Tests"
Cohesion: 0.12
Nodes (15): #29 [intro] Cutscene kit and the loaded-up car, #30 [intro] Hooks: forced lighting, sounds, the chest glow, #31 [intro] Speakers and the three conversations, #32 [intro] The loading screen, #33 [intro] The opening intro, #34 [intro] Timing review with the user, Decisions (the user's, 2026-10-07), Defaults (assumed; flip any of these on request) (+7 more)
Cohesion: 0.23
Nodes (15): _deliver(), Loopback._deliver(), _deliver(), _kill_one(), MeterLink, _deliver(), _pump(), _report() (+7 more)
### Community 40 - "Co-op Menu UI"
Cohesion: 0.24
Nodes (15): setup(), _on_welcomed(), pause(), _ready(), restart_night(), resume(), _unhandled_input(), PauseMenu (+7 more)
Cohesion: 0.19
Nodes (16): Menus, pause, and settings (user://settings.cfg), GameSettings, apply(), load_from(), save_to(), _on_settings_changed(), pause(), _unhandled_input() (+8 more)
### Community 41 - "Harvest Season — co-op"
Cohesion: 0.15
Nodes (13): Alert priorities, grouping, and cap, D10: Ground enemies before Step 9, Enemy type table (GameConfig.enemy_types), Ground thief (enemy), Step 3: Make one farm asset stealable, Step 9: The first enemy roster, Thief states ENTER / SEEK / STEAL / CARRY / ESCAPED, Step 3: Make one farm asset stealable (+5 more)
### Community 42 - "Snapshot Decoding"
Cohesion: 0.15
Nodes (12): Alien overhaul — follow-ups (outside docs/tasks.md scope), Crop fields (#13), Docs sweep after renames/rebalances, Housekeeping, Loose animals (#12), Playtest after #11 (player-built pen), Post-overhaul fix batch (#16–#22, 2026-10-06), Spec items from the review with no task (+4 more)
Cohesion: 0.22
Nodes (9): Alert priorities, grouping, and cap, Crows on MultiMesh, ground enemies from a KayKit pool, Enemy type table (GameConfig.enemy_types), Ground thief (enemy), Step 9: The first enemy roster, Step 9: Build the first enemy roster, Debug keys and enemy-introduction scenarios, KayKit characters (Rig_Medium / Rig_Large clips) (+1 more)
### Community 43 - "Enemy Characters & Hits"
Cohesion: 0.26
Nodes (13): Wave count and spacing scaling, Dusk warning (banner, hint, phase HUD list), Night plans (NightPlan groups: time, count, spacing, type, target), NightPlan, count_scale_in(), problems(), scaled_count(), scaled_every() (+5 more)
### Community 44 - "send"
Cohesion: 0.33
Nodes (10): PhaseHud, join_words(), on_the_farm(), _dawn_and_morning(), _day(), _dusk(), _morning(), _night() (+2 more)
### Community 45 - "Interactions"
Cohesion: 0.27
Nodes (14): Interactions, _blocker(), cancel(), charges(), deposited (signal), _finish_gather(), gathered (signal), message (signal) (+6 more)
### Community 46 - "Upgrades"
Cohesion: 0.23
Nodes (16): start_channel(), trap_slow_time(), UpgradePanel, bought (signal), _buy(), message (signal), open(), refresh() (+8 more)
Nodes (6): Step 10: The five-night progression, Planned 30-night campaign, Wave count and spacing scaling, Step 10: Build the five-night progression, Night plans (NightPlan night_1..5), Workbench upgrades (eleven, bought once)
### Community 47 - "Prop Collision Builder"
Cohesion: 0.31
Nodes (10): _band_points(), _build(), _faces(), _fit(), _initialize(), _kind(), _process_prefab(), _restore_uids() (+2 more)
### Community 48 - "Horde Performance Report"
Cohesion: 0.18
Nodes (12): Performance report (prototype horde benchmarks), First shot / first hit stutter check (no first-use stutter), Largest tested passing population: 2,000 birds, 10-minute headless 1,000-bird recycle soak (flat memory), Start-up hitches (10–36 ms frames in the first second), VSync-on ~1 s stalls (compositor throttling of hidden windows), Headless tooling constraints (editor closed, restore UIDs), Performance measurement goals (p95 <= 16.67 ms) (+4 more)
### Community 49 - "test_weapons.gd"
Cohesion: 0.18
Nodes (11): MultiMesh batching for birds and bullets, Simulation tick profile at 2,000 birds (steering, motion+collision, flow-field slice, grid), GDScript simulation is the bottleneck, not rendering, Farm draw-call reduction (1,270 → 304 at start), Navigation occupancy grid (0.5 m cells, octile Dijkstra distance fields), Travel times and the 12 s rule, Finding: night 1 alone is not a threat once anything is defended, Two-front pressure (main playtest question) (+3 more)
Cohesion: 0.25
Nodes (8): Performance report (prototype horde benchmarks), First shot / first hit stutter check (no first-use stutter), Largest tested passing population: 2,000 birds, 10-minute headless 1,000-bird recycle soak (flat memory), Start-up hitches (10–36 ms frames in the first second), VSync-on ~1 s stalls (compositor throttling of hidden windows), Headless tooling constraints (editor closed, restore UIDs), Editor-binary measurements, not a release build
### Community 50 - "GameConfig"
Cohesion: 0.38
Nodes (11): CoopMenu, back_requested (signal), host_requested (signal), join_address_requested (signal), join_requested (signal), open(), _ready(), search_requested (signal) (+3 more)
### Community 51 - "Co-op Send Path"
Cohesion: 0.29
Nodes (6): Decisions (resolved), Harvest Season — alien overhaul: review, decisions, and task plan, Headline finding from the review, Open assumptions (flagged, not yet confirmed), Suggested starting order, Task breakdown (mirrors Task tool `#1`–`#15`)
### Community 52 - "Pause Menu Signals"
Cohesion: 0.28
Nodes (9): KayKit Character Animations license (CC0), KayKit: Character Animations 1.1 (Kay Lousberg), Prototype Kit license (CC0, Rgsdev), Prototype Kit (Raphael Gonçalves / Rgsdev), Prototype asset inventory (Godot 4.7.2 dump), Bird_01.obj bird mesh (1 surface, 386 tris), KayKit Mannequin_Medium character (21-bone Rig_Medium skeleton), Prototype Kit FBX pieces (walls, fences, doors, stairs, primitives) (+1 more)
### Community 53 - "Tutorial"
Cohesion: 0.44
Nodes (9): Tutorial, _check_done(), _enemies_near(), _finish(), _on_phase(), _process(), setup(), _show() (+1 more)
### Community 54 - "GD-Sync Sync Icons"
Cohesion: 0.50
Nodes (5): Synchronized AnimatedSprite icon - neon yellow smiling square face with trailing frames, Synchronized AnimationPlayer icon - neon yellow film strip frame, Synchronized AnimationTree icon - neon yellow branching node tree diagram, Synchronized AudioStreamPlayer icon - neon yellow speaker with sound waves, Synchronize icon - neon yellow circular arrows refresh symbol
@ -399,20 +336,12 @@ Cohesion: 0.40
Nodes (5): Leaf_Pine_C solid dark-green pine foliage silhouette, Leaf_Pine white alpha silhouette of a pine foliage cluster, Leaves_GiantPine_C solid green rounded foliage blob shapes, Leaves sprite sheet with colorful painted leaf shapes, ferns, clovers, Leaves_NormalTree white alpha silhouettes of normal tree leaf clusters
### Community 56 - "Campaign Experience (Step 11)"
Cohesion: 0.09
Nodes (27): First complete version — five-night vacation build steps, Farmers' return ending, Five-night farm vacation (core loop), D1: Starting the night early (allow_early_night, off by default), D9: Retry from the failed night's morning, Farm occupancy grid with one flow field per goal set, M3 First loop (first major milestone), One authoritative FarmState (+19 more)
### Community 57 - "Overview Render Tool"
Cohesion: 0.43
Nodes (7): can_start_night_early(), start_night_early(), CampaignDebug, cycle_scenario(), _describe(), _unhandled_input(), _process()
### Community 58 - "Prototype Round Lifecycle"
Cohesion: 0.33
Nodes (6): _on_phase_changed(), is_inside_fence(), outline_material(), setup(), sync_from_state(), update_visuals()
Cohesion: 0.29
Nodes (7): D9: Retry from the failed night's morning, One authoritative FarmState, Step 11: The complete campaign experience, Step 11: Add the complete campaign experience, Morning autosave and save migration (SaveGame), Morning review and nightly results, Contextual first-day tips (Tutorial)
### Community 59 - "Grid Design & Scope Limits"
Cohesion: 0.29
Nodes (12): _animal_theft(), _breach(), _bundle_limits(), _fallback(), _hud(), _layout(), _leading(), _pen_by_day() (+4 more)
Cohesion: 0.30
Nodes (15): GameTestRunner, _initialize(), _main(), _supplies(), _combat_input(), _consistent(), _escape(), _night_arrivals() (+7 more)
### Community 60 - "GD-Sync Physics/Voice Icons"
Cohesion: 0.67
@ -442,46 +371,34 @@ Nodes (14): Alien overhaul — task list, Dependent, Independent, Opening intro
Cohesion: 0.53
Nodes (5): UiTheme, build(), check_icon(), _initialize(), Settings (settings.cfg) and UI theme
### Community 84 - "equip"
Cohesion: 0.60
Nodes (5): _designs(), _five_nights(), run(), _upgrades(), _validation()
### Community 85 - "stop"
Cohesion: 0.33
Nodes (9): leave(), _leave_as_partner(), _on_session_ended(), to_menu(), _check(), _finish(), _initialize(), _run() (+1 more)
Cohesion: 0.26
Nodes (13): join(), leave(), status_changed (signal), _leave_as_partner(), _on_other_left(), _on_session_ended(), _on_welcomed(), quit_game() (+5 more)
### Community 86 - "MainMenu"
Cohesion: 0.52
Nodes (7): MainMenu, continue_requested (signal), coop_requested (signal), new_requested (signal), quit_requested (signal), _ready(), settings_requested (signal)
### Community 87 - "step"
Cohesion: 0.33
Nodes (9): FarmSim, _finish_field_rebuild(), spawn_enemy(), spawn_thief(), step(), _step_replica(), _unhandled_input(), _update_hunt() (+1 more)
### Community 88 - "render_overview.gd"
Cohesion: 0.70
Nodes (4): _draw_grid(), _draw_zones(), _initialize(), _render()
## Ambiguous Edges - Review These
- `KayKit Rig_Medium animation libraries (CombatMelee, CombatRanged, General, Movement, Simulation, Special, Tools)` → `Final assessment (weighted share kept, 0–100 points, ratings)` [AMBIGUOUS]
game/RULES.md · relation: conceptually_related_to
## Knowledge Gaps
- **108 isolated node(s):** `Headline finding from the review`, `Decisions (resolved)`, `Open assumptions (flagged, not yet confirmed)`, `Task breakdown (mirrors Task tool `#1`–`#15`)`, `Suggested starting order` (+103 more)
- **112 isolated node(s):** `Headline finding from the review`, `Decisions (resolved)`, `Open assumptions (flagged, not yet confirmed)`, `Task breakdown (mirrors Task tool `#1`–`#15`)`, `Suggested starting order` (+107 more)
These have ≤1 connection - possible missing edges or undocumented components.
- **14 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
- **16 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
## Suggested Questions
_Questions this graph is uniquely positioned to answer:_
- **What is the exact relationship between `KayKit Rig_Medium animation libraries (CombatMelee, CombatRanged, General, Movement, Simulation, Special, Tools)` and `Final assessment (weighted share kept, 0–100 points, ratings)`?**
_Edge tagged AMBIGUOUS (relation: conceptually_related_to) - confidence is low._
- **Why does `FarmSim` connect `step` to `Campaign Controller & Farm State`, `Structures & Build Mode`, `Scarecrow Weapons & Bombs`, `Waves, Night Plans & Review`, `Horde Prototype (README)`, `Scarecrow Defender & Fear`, `Loot & Theft Events`, `Farm Zones & Layout Tests`, `Enemy System & Theft Tests`, `Co-op Session Host/Client`, `Rules of the Vacation`, `Game Flow, Save & Pause`, `Farm Navigation Flow Fields`, `Resource Economy & Upgrades`, `Animal System`, `Test Runner & Farm Targets`, `Co-op Docs & GD-Sync Link`, `Farm Sim Setup Wiring`, `Soak Night & Benchmarks`, `Co-op Tests`, `Farm Layout Doc`, `Interactions & Gathering`, `Shed Stock & Supply Targets`, `ResourceStore`, `Farm Projectiles`, `Alert Manager`, `Net Budget Tool`, `Enemy Characters & Hits`, `send`, `Interactions`, `Upgrades`, `Tutorial`, `Overview Render Tool`, `Prototype Round Lifecycle`, `Grid Design & Scope Limits`, `equip`?**
_High betweenness centrality (0.124) - this node is a cross-community bridge._
- **Why does `CoopSession` connect `Co-op Session Host/Client` to `Campaign Controller & Farm State`, `Structures & Build Mode`, `Shed Stock & Supply Targets`, `ResourceStore`, `Scarecrow Weapons & Bombs`, `Net Budget Tool`, `Co-op Lobby & Smoke Test`, `Enemy System & Theft Tests`, `Upgrades`, `Game Flow, Save & Pause`, `Co-op Docs & GD-Sync Link`, `stop`, `step`, `Co-op Link Transport`, `Co-op Voice Chat`?**
_High betweenness centrality (0.121) - this node is a cross-community bridge._
- **Why does `CampaignController` connect `Campaign Controller & Farm State` to `Structures & Build Mode`, `Scarecrow Weapons & Bombs`, `Waves, Night Plans & Review`, `First Game Plan & Milestones`, `Horde Prototype (README)`, `Scarecrow Defender & Fear`, `Loot & Theft Events`, `Enemy System & Theft Tests`, `Co-op Session Host/Client`, `Rules of the Vacation`, `Game Flow, Save & Pause`, `Farm Navigation Flow Fields`, `Resource Economy & Upgrades`, `Animal System`, `Test Runner & Farm Targets`, `Farm Sim Setup Wiring`, `Soak Night & Benchmarks`, `Farm Layout Doc`, `Interactions & Gathering`, `Shed Stock & Supply Targets`, `ResourceStore`, `Alert Manager`, `Net Budget Tool`, `Co-op Menu UI`, `send`, `Interactions`, `Upgrades`, `Tutorial`, `Overview Render Tool`, `Grid Design & Scope Limits`, `equip`, `stop`, `step`?**
_High betweenness centrality (0.109) - this node is a cross-community bridge._
- **Why does `CoopSession` connect `Co-op Session Host/Client` to `Campaign Controller & Farm State`, `Structures & Build Mode`, `Shed Stock & Supply Targets`, `Scarecrow Weapons & Bombs`, `Net Budget Tool`, `Co-op Lobby & Smoke Test`, `Scarecrow Defender & Fear`, `Farm Zones & Layout Tests`, `Enemy System & Theft Tests`, `Game Flow, Save & Pause`, `Animal System`, `Co-op Docs & GD-Sync Link`, `Farm Sim Setup Wiring`, `Co-op Link Transport`, `Co-op Voice Chat`?**
_High betweenness centrality (0.119) - this node is a cross-community bridge._
- **Why does `CampaignController` connect `Campaign Controller & Farm State` to `Structures & Build Mode`, `Audio & Farmers Return Ending`, `Scarecrow Weapons & Bombs`, `First Game Plan & Milestones`, `Horde Prototype (README)`, `Co-op Lobby & Smoke Test`, `Scarecrow Defender & Fear`, `Loot & Theft Events`, `Farm Zones & Layout Tests`, `Enemy System & Theft Tests`, `Co-op Session Host/Client`, `Rules of the Vacation`, `Game Flow, Save & Pause`, `Resource Economy & Upgrades`, `Test Runner & Farm Targets`, `Farm Sim Setup Wiring`, `Soak Night & Benchmarks`, `Farm Layout Doc`, `Shed Stock & Supply Targets`, `Net Budget Tool`, `Co-op Menu UI`, `Grid Design & Scope Limits`?**
_High betweenness centrality (0.115) - this node is a cross-community bridge._
- **Why does `FarmSim` connect `Scarecrow Defender & Fear` to `Campaign Controller & Farm State`, `Structures & Build Mode`, `Audio & Farmers Return Ending`, `Scarecrow Weapons & Bombs`, `Horde Prototype (README)`, `Loot & Theft Events`, `Farm Zones & Layout Tests`, `Enemy System & Theft Tests`, `Co-op Session Host/Client`, `Rules of the Vacation`, `Game Flow, Save & Pause`, `Farm Navigation Flow Fields`, `Resource Economy & Upgrades`, `Animal System`, `Test Runner & Farm Targets`, `Co-op Docs & GD-Sync Link`, `Enemy Roster & Construction Plan`, `Farm Sim Setup Wiring`, `Soak Night & Benchmarks`, `Farm Layout Doc`, `Shed Stock & Supply Targets`, `Farm Projectiles`, `Net Budget Tool`, `Grid Design & Scope Limits`?**
_High betweenness centrality (0.106) - this node is a cross-community bridge._
- **Are the 12 inferred relationships involving `CampaignController` (e.g. with `Outcome evaluator check_outcome` and `_night_log()`) actually correct?**
_`CampaignController` has 12 INFERRED edges - model-reasoned connections that need verification._
- **Are the 13 inferred relationships involving `EnemySystem` (e.g. with `AlertManager` and `_describe()`) actually correct?**

View file

@ -0,0 +1 @@
{"nodes": [{"id": "home_troglodyte_troglodyte_chamber_games_harvest_season_claude_worktrees_ios_test_port_docs_ios_test_port_md", "label": "ios-test-port.md", "file_type": "document", "source_file": "docs/ios-test-port.md", "source_location": "L1"}, {"id": "home_troglodyte_troglodyte_chamber_games_harvest_season_claude_worktrees_ios_test_port_docs_ios_test_port_ios_test_port", "label": "iOS test port", "file_type": "document", "source_file": "docs/ios-test-port.md", "source_location": "L1"}, {"id": "home_troglodyte_troglodyte_chamber_games_harvest_season_claude_worktrees_ios_test_port_docs_ios_test_port_what_the_phone_build_changes", "label": "What the phone build changes", "file_type": "document", "source_file": "docs/ios-test-port.md", "source_location": "L6"}, {"id": "home_troglodyte_troglodyte_chamber_games_harvest_season_claude_worktrees_ios_test_port_docs_ios_test_port_one_time_setup", "label": "One-time setup", "file_type": "document", "source_file": "docs/ios-test-port.md", "source_location": "L24"}, {"id": "home_troglodyte_troglodyte_chamber_games_harvest_season_claude_worktrees_ios_test_port_docs_ios_test_port_build_and_install", "label": "Build and install", "file_type": "document", "source_file": "docs/ios-test-port.md", "source_location": "L43"}, {"id": "home_troglodyte_troglodyte_chamber_games_harvest_season_claude_worktrees_ios_test_port_docs_ios_test_port_the_test", "label": "The test", "file_type": "document", "source_file": "docs/ios-test-port.md", "source_location": "L51"}], "edges": [{"source": "home_troglodyte_troglodyte_chamber_games_harvest_season_claude_worktrees_ios_test_port_docs_ios_test_port_md", "target": "home_troglodyte_troglodyte_chamber_games_harvest_season_claude_worktrees_ios_test_port_docs_ios_test_port_ios_test_port", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/ios-test-port.md", "source_location": "L1", "weight": 1.0}, {"source": "home_troglodyte_troglodyte_chamber_games_harvest_season_claude_worktrees_ios_test_port_docs_ios_test_port_ios_test_port", "target": "home_troglodyte_troglodyte_chamber_games_harvest_season_claude_worktrees_ios_test_port_docs_ios_test_port_what_the_phone_build_changes", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/ios-test-port.md", "source_location": "L6", "weight": 1.0}, {"source": "home_troglodyte_troglodyte_chamber_games_harvest_season_claude_worktrees_ios_test_port_docs_ios_test_port_ios_test_port", "target": "home_troglodyte_troglodyte_chamber_games_harvest_season_claude_worktrees_ios_test_port_docs_ios_test_port_one_time_setup", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/ios-test-port.md", "source_location": "L24", "weight": 1.0}, {"source": "home_troglodyte_troglodyte_chamber_games_harvest_season_claude_worktrees_ios_test_port_docs_ios_test_port_ios_test_port", "target": "home_troglodyte_troglodyte_chamber_games_harvest_season_claude_worktrees_ios_test_port_docs_ios_test_port_build_and_install", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/ios-test-port.md", "source_location": "L43", "weight": 1.0}, {"source": "home_troglodyte_troglodyte_chamber_games_harvest_season_claude_worktrees_ios_test_port_docs_ios_test_port_ios_test_port", "target": "home_troglodyte_troglodyte_chamber_games_harvest_season_claude_worktrees_ios_test_port_docs_ios_test_port_the_test", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/ios-test-port.md", "source_location": "L51", "weight": 1.0}], "input_tokens": 0, "output_tokens": 0}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -24,6 +24,7 @@ config/icon="res://icon.svg"
buses/default_bus_layout="res://game/resources/audio_buses.tres"
driver/enable_input=true
driver/enable_input.mobile=false
[autoload]
@ -36,6 +37,7 @@ window/size/viewport_height=1080
window/size/mode=3
window/stretch/mode="canvas_items"
window/stretch/aspect="expand"
window/handheld/orientation=4
[editor_plugins]
@ -269,3 +271,4 @@ common/physics_interpolation=true
rendering_device/driver.windows="d3d12"
anti_aliasing/quality/msaa_3d=1
textures/vram_compression/import_etc2_astc=true