Skip to content

Agent Wiki Maintenance Guidelines

Kenth Fagerlund edited this page Aug 4, 2026 · 1 revision

Agent Wiki Maintenance Guidelines πŸ€–

CRITICAL DIRECTIVE FOR FUTURE AI AGENTS: Whenever you modify, add, or remove features, keybindings, CLI flags, configuration options, storage schemas, or UI workflows in HalpTask, you MUST update the relevant GitHub Wiki documentation in wiki/.


πŸ“Œ Scope & Responsibilities

As an AI coding agent pair-programming on HalpTask, documentation is a primary codebase artifact. Code modifications are incomplete without updated documentation.

When Code Changes, Update Wiki Pages:

  1. New or Modified Keybindings (ui/keys.go, ui/app.go):

    • Update wiki/Keybindings-Reference.md (tables for Leader Key <space> and Direct Vim motions).
    • Update wiki/Power-User-Guide.md if the change introduces a new motion or speed hack.
    • Update docs/cheatsheet.md and README.md.
  2. New Features or UI Components (e.g. Modals, Panels, Menus):

    • Update wiki/Home.md feature list and screenshot references.
    • Update wiki/Getting-Started.md quickstart tutorial if core workflows are impacted.
    • Update wiki/User-Personas-&-Workflows.md if the feature benefits specific roles (e.g. developers, DevOps, lawyers).
  3. Configuration Options (config/config.go, ui/configmodal.go):

    • Update wiki/Configuration-&-Encryption-Security.md (YAML key reference table & default values).
  4. Storage Format, Encryption, or CLI Flags (model/storage.go, main.go):

    • Update wiki/Configuration-&-Encryption-Security.md and wiki/Getting-Started.md.

πŸ“Έ Screenshots & Visual Media Standards

  • Screenshots tell a better picture: When adding or updating major UI components, ensure screenshot files in wiki/images/ and docs/images/ accurately depict current UI styling.
  • Use generate_image or update snapshot tests when UI layouts evolve significantly.
  • Always use standard GitHub Markdown image references: ![Alt Text](images/filename.jpg) or raw repository links.

πŸ”„ Wiki Synchronization Workflow

All Wiki files are maintained in the repository under wiki/:

wiki/
β”œβ”€β”€ Home.md
β”œβ”€β”€ Getting-Started.md
β”œβ”€β”€ User-Personas-&-Workflows.md
β”œβ”€β”€ Power-User-Guide.md
β”œβ”€β”€ Configuration-&-Encryption-Security.md
β”œβ”€β”€ Keybindings-Reference.md
β”œβ”€β”€ Agent-Wiki-Maintenance-Guidelines.md
β”œβ”€β”€ _Sidebar.md
β”œβ”€β”€ _Footer.md
└── images/
    β”œβ”€β”€ halptask_banner.jpg
    β”œβ”€β”€ halptask_main.jpg
    β”œβ”€β”€ halptask_whichkey.jpg
    └── halptask_config.jpg

Verification Checklist Before Ending Turn:

  • Did I add/update keybinding tables in Keybindings-Reference.md?
  • Is AGENT.md updated with references to new feature behavior?
  • Do links between Wiki pages validate cleanly?
  • Are screenshots and image references intact in wiki/images/?