11 KiB
11 KiB
GENOME.md — Timmy_Foundation/timmy-home
Generated by pipelines/codebase_genome.py.
Project Overview
Timmy Foundation's home repository for development operations and configurations.
- Text files indexed: 3004
- Source and script files: 186
- Test files: 28
- Documentation files: 701
Architecture
graph TD
repo_root["repo"]
angband["angband"]
briefings["briefings"]
config["config"]
conftest["conftest"]
evennia["evennia"]
evennia_tools["evennia_tools"]
evolution["evolution"]
gemini_fallback_setup["gemini-fallback-setup"]
heartbeat["heartbeat"]
infrastructure["infrastructure"]
repo_root --> angband
repo_root --> briefings
repo_root --> config
repo_root --> conftest
repo_root --> evennia
repo_root --> evennia_tools
Entry Points
gemini-fallback-setup.sh— operational script (bash gemini-fallback-setup.sh)morrowind/hud.sh— operational script (bash morrowind/hud.sh)pipelines/codebase_genome.py— python main guard (python3 pipelines/codebase_genome.py)scripts/auto_restart_agent.sh— operational script (bash scripts/auto_restart_agent.sh)scripts/backup_pipeline.sh— operational script (bash scripts/backup_pipeline.sh)scripts/big_brain_manager.py— operational script (python3 scripts/big_brain_manager.py)scripts/big_brain_repo_audit.py— operational script (python3 scripts/big_brain_repo_audit.py)scripts/codebase_genome_nightly.py— operational script (python3 scripts/codebase_genome_nightly.py)scripts/detect_secrets.py— operational script (python3 scripts/detect_secrets.py)scripts/dynamic_dispatch_optimizer.py— operational script (python3 scripts/dynamic_dispatch_optimizer.py)scripts/emacs-fleet-bridge.py— operational script (python3 scripts/emacs-fleet-bridge.py)scripts/emacs-fleet-poll.sh— operational script (bash scripts/emacs-fleet-poll.sh)
Data Flow
- Operators enter through
gemini-fallback-setup.sh,morrowind/hud.sh,pipelines/codebase_genome.py. - Core logic fans into top-level components:
angband,briefings,config,conftest,evennia,evennia_tools. - Validation is incomplete around
wizards/allegro/home/skills/red-teaming/godmode/scripts/auto_jailbreak.py,timmy-local/cache/agent_cache.py,wizards/allegro/home/skills/red-teaming/godmode/scripts/parseltongue.py, so changes there carry regression risk. - Final artifacts land as repository files, docs, or runtime side effects depending on the selected entry point.
Key Abstractions
evennia/timmy_world/game.py— classesWorld:91,ActionSystem:421,TimmyAI:539,NPCAI:550; functionsget_narrative_phase():55,get_phase_transition_event():65evennia/timmy_world/world/game.py— classesWorld:19,ActionSystem:326,TimmyAI:444,NPCAI:455; functions none detectedtimmy-world/game.py— classesWorld:19,ActionSystem:349,TimmyAI:467,NPCAI:478; functions none detectedwizards/allegro/home/skills/red-teaming/godmode/scripts/auto_jailbreak.py— classes none detected; functions none detecteduniwizard/self_grader.py— classesSessionGrade:23,WeeklyReport:55,SelfGrader:74; functionsmain():713uni-wizard/v3/intelligence_engine.py— classesExecutionPattern:27,ModelPerformance:44,AdaptationEvent:58,PatternDatabase:69; functions none detectedscripts/know_thy_father/crossref_audit.py— classesThemeCategory:30,Principle:160,MeaningKernel:169,CrossRefFinding:178; functionsextract_themes_from_text():192,parse_soul_md():206,parse_kernels():264,cross_reference():296,generate_report():440,main():561timmy-local/cache/agent_cache.py— classesCacheStats:28,LRUCache:52,ResponseCache:94,ToolCache:205; functions none detected
API Surface
- CLI:
bash gemini-fallback-setup.sh— operational script (gemini-fallback-setup.sh) - CLI:
bash morrowind/hud.sh— operational script (morrowind/hud.sh) - CLI:
python3 pipelines/codebase_genome.py— python main guard (pipelines/codebase_genome.py) - CLI:
bash scripts/auto_restart_agent.sh— operational script (scripts/auto_restart_agent.sh) - CLI:
bash scripts/backup_pipeline.sh— operational script (scripts/backup_pipeline.sh) - CLI:
python3 scripts/big_brain_manager.py— operational script (scripts/big_brain_manager.py) - CLI:
python3 scripts/big_brain_repo_audit.py— operational script (scripts/big_brain_repo_audit.py) - CLI:
python3 scripts/codebase_genome_nightly.py— operational script (scripts/codebase_genome_nightly.py) - Python:
get_narrative_phase()fromevennia/timmy_world/game.py:55 - Python:
get_phase_transition_event()fromevennia/timmy_world/game.py:65 - Python:
main()fromuniwizard/self_grader.py:713
Test Coverage Report
- Source and script files inspected: 186
- Test files inspected: 28
- Coverage gaps:
wizards/allegro/home/skills/red-teaming/godmode/scripts/auto_jailbreak.py— no matching test reference detectedtimmy-local/cache/agent_cache.py— no matching test reference detectedwizards/allegro/home/skills/red-teaming/godmode/scripts/parseltongue.py— no matching test reference detectedtwitter-archive/multimodal_pipeline.py— no matching test reference detectedwizards/allegro/home/skills/red-teaming/godmode/scripts/godmode_race.py— no matching test reference detectedskills/productivity/google-workspace/scripts/google_api.py— no matching test reference detectedwizards/allegro/home/skills/productivity/google-workspace/scripts/google_api.py— no matching test reference detectedmorrowind/pilot.py— no matching test reference detectedmorrowind/mcp_server.py— no matching test reference detectedskills/research/domain-intel/scripts/domain_intel.py— no matching test reference detectedwizards/allegro/home/skills/research/domain-intel/scripts/domain_intel.py— no matching test reference detectedtimmy-local/scripts/ingest.py— no matching test reference detected
Security Audit Findings
- [medium]
briefings/briefing_20260325.json:37— hardcoded http endpoint: plaintext or fixed HTTP endpoints can drift or leak across environments. Evidence:"gitea_error": "Gitea 404: {\"errors\":null,\"message\":\"not found\",\"url\":\"http://143.198.27.163:3000/api/swagger\"}\n [http://143.198.27.163:3000/api/v1/repos/Timmy_Foundation/sovereign-orchestration/issues?state=open&type=issues&sort=created&direction=desc&limit=1&page=1]", - [medium]
briefings/briefing_20260328.json:11— hardcoded http endpoint: plaintext or fixed HTTP endpoints can drift or leak across environments. Evidence:"provider_base_url": "http://localhost:8081/v1", - [medium]
briefings/briefing_20260329.json:11— hardcoded http endpoint: plaintext or fixed HTTP endpoints can drift or leak across environments. Evidence:"provider_base_url": "http://localhost:8081/v1", - [medium]
config.yaml:37— hardcoded http endpoint: plaintext or fixed HTTP endpoints can drift or leak across environments. Evidence:summary_base_url: http://localhost:11434/v1 - [medium]
config.yaml:47— hardcoded http endpoint: plaintext or fixed HTTP endpoints can drift or leak across environments. Evidence:base_url: 'http://localhost:11434/v1' - [medium]
config.yaml:52— hardcoded http endpoint: plaintext or fixed HTTP endpoints can drift or leak across environments. Evidence:base_url: 'http://localhost:11434/v1' - [medium]
config.yaml:57— hardcoded http endpoint: plaintext or fixed HTTP endpoints can drift or leak across environments. Evidence:base_url: 'http://localhost:11434/v1' - [medium]
config.yaml:62— hardcoded http endpoint: plaintext or fixed HTTP endpoints can drift or leak across environments. Evidence:base_url: 'http://localhost:11434/v1' - [medium]
config.yaml:67— hardcoded http endpoint: plaintext or fixed HTTP endpoints can drift or leak across environments. Evidence:base_url: 'http://localhost:11434/v1' - [medium]
config.yaml:77— hardcoded http endpoint: plaintext or fixed HTTP endpoints can drift or leak across environments. Evidence:base_url: 'http://localhost:11434/v1' - [medium]
config.yaml:82— hardcoded http endpoint: plaintext or fixed HTTP endpoints can drift or leak across environments. Evidence:base_url: 'http://localhost:11434/v1' - [medium]
config.yaml:174— hardcoded http endpoint: plaintext or fixed HTTP endpoints can drift or leak across environments. Evidence:base_url: http://localhost:11434/v1
Dead Code Candidates
wizards/allegro/home/skills/red-teaming/godmode/scripts/auto_jailbreak.py— not imported by indexed Python modules and not referenced by teststimmy-local/cache/agent_cache.py— not imported by indexed Python modules and not referenced by testswizards/allegro/home/skills/red-teaming/godmode/scripts/parseltongue.py— not imported by indexed Python modules and not referenced by teststwitter-archive/multimodal_pipeline.py— not imported by indexed Python modules and not referenced by testswizards/allegro/home/skills/red-teaming/godmode/scripts/godmode_race.py— not imported by indexed Python modules and not referenced by testsskills/productivity/google-workspace/scripts/google_api.py— not imported by indexed Python modules and not referenced by testswizards/allegro/home/skills/productivity/google-workspace/scripts/google_api.py— not imported by indexed Python modules and not referenced by testsmorrowind/pilot.py— not imported by indexed Python modules and not referenced by testsmorrowind/mcp_server.py— not imported by indexed Python modules and not referenced by testsskills/research/domain-intel/scripts/domain_intel.py— not imported by indexed Python modules and not referenced by tests
Performance Bottleneck Analysis
angband/mcp_server.py— large module (353 lines) likely hides multiple responsibilitiesevennia/timmy_world/game.py— large module (1541 lines) likely hides multiple responsibilitiesevennia/timmy_world/world/game.py— large module (1345 lines) likely hides multiple responsibilitiesmorrowind/mcp_server.py— large module (451 lines) likely hides multiple responsibilitiesmorrowind/pilot.py— large module (459 lines) likely hides multiple responsibilitiespipelines/codebase_genome.py— large module (557 lines) likely hides multiple responsibilitiesscripts/know_thy_father/crossref_audit.py— large module (657 lines) likely hides multiple responsibilitiesscripts/know_thy_father/index_media.py— large module (405 lines) likely hides multiple responsibilitiesscripts/know_thy_father/synthesize_kernels.py— large module (416 lines) likely hides multiple responsibilitiesscripts/tower_game.py— large module (395 lines) likely hides multiple responsibilities