Skip to content

Agent OS: Implement 'Janitor' capability for automated Ticket Sync #8410

@tobiu

Description

@tobiu

Goal: Automate the commit and push of GitHub ticket metadata (local .md files) to remove the burden of manual "Ticket Sync" commits from the human developer.

Context:
Currently, the github-workflow MCP server automatically runs sync_all on startup, updating the local .github/ISSUE/ files. However, the commit and push of these changes remains a manual task for the developer. Including these changes in feature commits pollutes the diffs. A GitHub Action is suboptimal due to potential git push conflicts.

Solution:
Implement a "Janitor" capability within the Neo Agent OS (Node.js runtime).

  • Trigger: Periodic (e.g., every 30 mins) or Event-based (after Agent task completion).
  • Action:
    1. Run sync_all tool (to capture any mid-session updates).
    2. Check git status for changes in .github/ISSUE/ or .github/RELEASE_NOTES/.
    3. If changes exist: git add .github && git commit -m "chore: Ticket Sync [skip ci]" && git push.
  • Constraint: Should verify the repo is clean/idle to avoid disrupting user work.

Why:
To automate metadata hygiene without polluting feature history or causing remote merge conflicts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions