-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Data Management Challenges
The current flat directory structure in ~/.local/share/goose-perception makes it difficult to distinguish between core system files that are part of the ongoing perception loop (like WORK.md, LATEST_WORK.md, and configuration files) versus generated reports and temporary artifacts that could be safely cleaned up or archived (like OPTIMIZE.md, various DRAFT_*.md files, and analysis reports). The lack of organization complicates maintenance tasks such as disk cleanup, backup strategies, and troubleshooting, as there's no clear way to identify which files are essential for system operation versus which are disposable outputs.
Current Usage Analysis (Based on Code References)
The current .local/share/goose-perception directory has 100+ references throughout the codebase, with (almost) all files being written to the root level. This creates organizational challenges as the system scales and makes it difficult to manage different types of data.
Details
Configuration Files
user_prefs.yaml- User interface preferences (referenced inperception.py,agent.py,configure_interface.py)PERSONALITY_SETTINGS.json- Avatar personality settings (referenced inavatar/observer_avatar_bridge.py)
Work Context Files
Referenced across multiple observer recipes for context gathering:
WORK.md- Work history logLATEST_WORK.md- Current session activityPROJECTS.md- Active projectsINTERACTIONS.md- Recent collaborationsCONTRIBUTIONS.md- GitHub/document contributionsINTERESTS.md- User interests
System Data Files
ACTIVITY-LOG.md- Activity logging (referenced inperception.py,agent.py)spoken.txt- Speech transcription (referenced inperception.py)words.json- Word frequency data (referenced inperception.py)message_queue.json- Message queue state (referenced inmessage_queue.py)CHROME_HISTORY.md- Browser history analysis (referenced in observer recipes)
Generated Reports & Analysis
Files created by various observer recipes:
AVATAR_SUGGESTIONS.jsonAVATAR_CHATTER.mdACTIONABLE_SUGGESTIONS.jsonOPTIMIZE.mdFOCUS.mdAPP_PREFERENCES.md- Various
DRAFT_*.mdfiles
Working Directories
adapted-observers/- Customized observer recipesautomated-actions/daily/- Daily automated tasksautomated-actions/weekly/- Weekly automated tasksworking/- Background task workspacefixing/- Code fix workspacescripts/- Extracted recipe scriptsavatar_state/- Avatar state data
Other Files
notes-todo.txt- Apple Notes requiring attentionactions_taken.txt- Log of actions takenFAILURES.md- Failure tracking
Example Directory Structure
~/.local/share/goose-perception/
├── README.md
├── config/
│ ├── user_prefs.yaml
│ ├── observer-config.json (in review)
│ └── personality_settings.json
├── context/
│ ├── work.md
│ ├── latest_work.md
│ ├── projects.md
│ ├── interactions.md
│ ├── contributions.md
│ └── interests.md
├── system/
│ ├── logs/
│ │ ├── activity.md
│ │ ├── spoken.txt
│ │ ├── actions_taken.txt
│ │ └── failures.md
│ ├── cache/
│ │ ├── words.json
│ │ ├── message_queue.json
│ │ └── chrome_history.md
│ └── state/
│ └── avatar_state/
├── reports/
│ ├── suggestions/
│ ├── analysis/
│ └── drafts/
├── workspace/
│ ├── working/
│ ├── fixing/
│ └── scripts/
└── automation/
├── observers/
│ └── adapted/
└── actions/
├── daily/
└── weekly/
Examples of Recipe-Generated Files
Core System Files (Part of Perception Loop)
WORK.md- Generated byrecipe-work-daily.yaml(appends work summaries)LATEST_WORK.md- Generated byrecipe-work-daily.yaml(current session updates)INTERACTIONS.md- Generated byrecipe-interactions.yaml(interaction reports)CONTRIBUTIONS.md- Generated byrecipe-contributions.yaml(contribution reports)MEETING_ACTIONS.md- Generated byrecipe-meetings-actions.yaml(meeting action items)
Generated Reports & Analysis (Could be Cleaned Up)
OPTIMIZE.md- Generated byrecipe-optimize.yaml(optimization findings)CHROME_HISTORY.md- Generated byrecipe-chrome-history.yaml(browsing analysis)APP_PREFERENCES.md- Generated byrecipe-apps-preferences.yaml(app usage patterns)AVATAR_CHATTER.md- Generated byrecipe-avatar-chatter.yaml(casual conversations)ACTIONABLE_SUGGESTIONS.json- Generated byrecipe-actionable-suggestions.yamlAVATAR_SUGGESTIONS.json- Generated byrecipe-avatar-suggestions.yaml
Draft/Temporary Files (Definitely Could be Cleaned Up)
DRAFT_TEAM_UPDATE.md- Generated bycompose_team_update.yamlDRAFT_QUICK_UPDATE.md- Generated bycompose_team_update.yamlPR_REVIEW_CHECKLIST.md- Generated byreview_pending_prs.yamlSLACK_MCP_SETUP.md- Generated bysetup_slack_mcp_and_post.yamlREADY_TO_POST_SLACK.md- Generated bysetup_slack_mcp_and_post.yamlDRAFT_MEETING_DETAILS.md- Generated bycreate_follow_up_meeting.yamlDRAFT_CALENDAR_INVITE.md- Generated bycreate_follow_up_meeting.yaml