All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Literate Commands: Multi-step guided workflows with variable collection, conditional logic, and automated script execution
- Sandbox Plugin: Docker-based isolation for tool execution with mode-specific command routing
- Literate Commands: Added skill for creating guided, multi-step workflows
- Variable collection with types
- Conditional logic support
- In-place array mutation for command abort
- Phase-based execution (parse → substitute → route → execute)
- Sandbox Environment: Isolated execution context for commands
- Workflow Improvements: Enhanced agent architecture with analyze, design, build modes
- Added AGENT.md documentation
- Updated command inventory with literate-commands support
- Added sandbox command documentation
- Dual-mode installer: Copy and link (submodule) installation modes via
--linkflag - Submodule architecture: Converted
.opencodeto git submodule pointing to opencode-core - Note command: Added
/notecommand for journal entry creation
- Documentation accuracy: Fixed documentation to match actual implementation
- Replaced "Gemini CLI" with "OpenCode Framework"
- Replaced
/maintenancewith/auditthroughout - Removed unimplemented commands (/learn, /document, /brainstorm, /cron)
- Updated directory paths to
.knowledge/*structure - Updated agent and subagent tables
- Install script: Simplified to non-interactive mode with
--linkflag - Agent architecture: Restructured to 4-mode framework (analyze, plan, build, release)
- Complete documentation audit and fix
- Updated install URLs to apiad.github.io/opencode
- Updated command inventory tables
- Build Agent with Full TCR Workflow: Implemented a complete Test-Commit-Revert agent for test-driven implementation with single-iteration workflow.
- Task Command: Added dedicated
/taskcommand for managing project roadmap intasks.yaml. - Plan Workflow Improvements: Enhanced task linking workflow with better plan synchronization.
- Maintenance Command: Reassigned from
queryagent toplanagent for improved audit workflows. - Scaffold Command: Streamlined by removing execution phase from command spec.
- TypeScript/YAML Migration: Migrated task and journal tools from Python to TypeScript with YAML storage (BREAKING).
- Build Agent Simplification: Simplified to one-off TCR agent, removing preconditions and constraints.
- Subagent Structure: Flattened subagent directory structure in
.opencode/.
- Updated all references from Python tools to TypeScript/YAML.
- Updated documentation to reference
.opencodepaths. - Added context minification feature documentation and principles.
- Context Minifier System: Introduced a new hook-based system to automatically minify and optimize context for more efficient agent interaction.
- Procedural Task Management: Implemented a new
/taskscript and workflow for managing the project roadmap with a structured lifecycle. - Multi-Model Routing Research: Completed research into multi-model routing and hook-based configuration for improved agentic performance.
- Tier Protocol Implementation: Formally codified and implemented the Tier Protocol for forensic investigation and root-cause analysis.
- Model Overrides: Updated core framework configurations to support dynamic model overrides and optimized hook routing.
- Writer Agent Guidance: Enhanced the
writersubagent with specialized guidance for technical drafting and refinement.
- Added Tier Protocol RCA research reports and documented procedural task management workflows.
- Coder Subagent Integration: Integrated the
codersubagent into the/taskworkflow for granular implementation delegation.
- Task Workflow Refinement: Refactored the
/taskcommand to delegate implementation steps to the specializedcoderagent.
- Updated User Guide to reflect the new
coderagent delegation in the/task workworkflow.
- Unified Discovery-Plan-Execute Lifecycle: Formally established a strict three-phase architectural boundary (Discovery -> Plan -> Execution).
- Modernized Test Suite (uv/pytest): Replaced legacy testing infrastructure with
uvfor dependency management andpytestfor automated validation. - Dynamic Structural Testing: Implemented
tests/test_structure.pyfor discover-based, schema-compliant verification of all 15 commands and 6 agents. - Documentation Overhaul: Updated the entire documentation suite (
docs/index.md,docs/design.md,docs/develop.md,docs/user-guide.md) to reflect the new unified lifecycle and technical stack. - Improved Content Creation: Refactored the
/draftcommand and evolved thewriteragent for review-driven refinement.
- Read-Only Audit Workflows: Refactored
/maintenanceand/review(formerly/revise) to be strictly read-only 'Discovery' commands that produce artifacts for/plan. - Review Command Evolution: Evolved the
/reviewcommand into a non-destructive, multi-phase audit workflow with sidecar reporting. - Agent Naming Alignment: Renamed
editortoreviewerandreportertowriterfor improved semantic clarity. - Test Optimization: Refactored
tests/test_review_command.pyandtests/test_sync.pyto be dynamic and less brittle, removing hardcoded skips and string matches.
- Documentation Suite Overhaul: Major updates to the entire documentation suite (
index.md,deploy.md,design.md,develop.md,user-guide.md, andREADME.md) to accurately reflect the framework's v0.19.0 improvements, including the/learncommand, the dual-layer hook system, and the updated testing philosophy.
- Knowledge Mastering (/learn): Introduced a new 4-phase grounded learning lifecycle (Audit, Research, Execution, Codification) to automate mastering new technologies.
- Learner Sub-agent: A specialized "Grounded Learning Specialist" agent that verifies library behavior through real-world code experimentation.
- Skill System: A permanent project knowledge base in
.gemini/skills/with mandatory YAML frontmatter for autonomous agent activation. - Comprehensive Documentation Update: Integrated the
/learncommand and skill system into the framework's documentation suite.
- Testing Philosophy: Updated documentation to reflect a shift toward agent-driven validation and TCR (Test-Commit-Revert) protocols instead of traditional unit tests.
- Installer Boilerplate Generation:
docs/install.shnow generates clean, generic boilerplate forREADME.md,CHANGELOG.md,TASKS.md, andmakefileinstead of copying project-specific versions when scaffolding a new project. - Scientific Debugging Documentation: Added comprehensive documentation for the
/debugcommand's scientific, hypothesis-driven workflow indocs/design.mdanddocs/user-guide.md.
- Documentation Suite Overhaul: Major updates to the entire documentation suite (
index.md,deploy.md,design.md,develop.md,user-guide.md) to reflect recent framework changes, including the Journal-First philosophy, TCR (Test-Commit-Revert) loop details, and safe update logic.
- Journal Logic Refinement: Simplified the journal entry mechanism in
docs/install.shby consolidating logic to always utilize the project's internaljournal.pyscript, ensuring consistent audit logs across environments.
- Safe Installation Update Logic: Re-engineered
docs/install.shto prevent data loss. It now performs surgical updates of.gemini/subdirectories instead of full overwrites. - Project Configuration Protection: Introduced a whitelist of protected files (e.g.,
settings.json,style-guide.md) that are preserved during framework updates. - Intelligent GEMINI.md Preservation: The installation script now detects and preserves the "Project Notes" section within
GEMINI.md, allowing for seamless framework updates without losing project-specific context. - Enhanced Installation Transparency: Improved the install script's summary phase to explicitly list files being created, updated, or protected.
- Timestamp-Based Journal Validation: Implemented an automated check in the
pre-commit.pyhook that parses the latest journal entry's ISO timestamp and compares it against the modification times of any changed files. - Journal Script Tooling: Added
.gemini/scripts/journal.py, a simple utility script for correctly formatting and appending new journal entries. - Hook Installation Check: Added an automatic check to the
welcome.pyscript that alerts the user if the project's pre-commit hooks are not installed.
- Improved Hook Robustness: Enhanced the pre-commit script to correctly ignore the journal file's own modification when checking for pending documentation updates.
- Consolidated Lifecycle Hooks: Integrated all project-specific lifecycle hooks into a single, efficient
pre-commit.pyscript. - Enabled Gemini Lifecycle Hooks: Enabled the Gemini CLI framework's automatic hook execution system in
.gemini/settings.json. - Improved Hook Robustness: Enhanced the pre-commit script to correctly detect staged files and automatically set the executable bit for required scripts.
- Makefile Integration: Added a new
install-hookstarget to themakefilefor easy setup of the project's hook system.
- Refactored Hook System: Simplified the hook architecture by moving from individual task-based hooks to a unified validation strategy.
- Enhanced Hook Feedback: Improved error messages and output formatting for all lifecycle hooks.
- Notification Hook: Implemented a new
AfterAgenthook (notify.py) that sends a desktop notification usingnotify-sendand plays a system "ping" sound (viapaplay) when the agent completes its turn. - Hook Robustness: Improved project name detection in notifications by correctly identifying the git repository root.
- Hook Sequencing: Refined the
AfterAgenthook block to be sequential, ensuring notifications only trigger if preceding validation hooks (likemakeorjournal) return anallowdecision.
- Hypothesis-Driven Debugging: Refactored the
/debugcommand anddebuggeragent to implement a scientific, hypothesis-driven workflow. Includes status analysis, hypothesis formulation with user approval, and isolated testing in temporarydebug/hyp-*branches. - Content: Added a new blog post draft "Revenge of the Test-Driven Nerds" to the
drafts/directory.
- Command Rename: Renamed the
.gemini/commands/docs.tomlto.gemini/commands/document.tomlfor better semantic clarity. - Settings: Removed the experimental
plansetting from.gemini/settings.json. - Documentation: Enhanced installation and setup documentation with detailed project scaffolding and integration steps.
- Implemented a strict TCR (Test-Commit-Revert) protocol for the
/task workcommand, enforcing Red-Green-Refactor development cycles on dedicated feature branches.
- Refined
install.shto protect project scaffolding files (e.g.,README.md,TASKS.md) from being overwritten while ensuring core framework files are always updated. - Updated documentation and roadmap to reflect the new workflow improvements.
- Unified
install.shscript that handles both initial project bootstrapping and non-destructive framework updates/integrations in existing repositories. - Automatic git environment validation (clean tree requirement) and post-install commits to
install.sh. - Interactive summary and confirmation of proposed changes (created vs. updated files) in the installer.
- Documentation Suite: Integrated MkDocs with Material theme and a comprehensive User Guide based on "The Architect in the Machine" philosophy.
- Operational Safety: Conditional
makeand journal hook execution based on file modification times. - Performance: Simplified
/onboardcommand using direct file analysis instead of sub-agents. - Refinement: Strictly enforced non-execution mandate for
/planoutput.
add-gemini.shscript (its logic is now integrated into the unifiedinstall.sh).
- Streamlined
README.mdwith a single, unified "Quick Start" command for all use cases. - Relocated
install.shtodocs/to enable serving via GitHub Pages athttps://apiad.github.io/starter/install.sh.
- Updated
install.shandadd-gemini.shto suggest runninggemini /onboardinstead of launching the CLI automatically.
- Improved ASCII art and version display in the banner function of installer scripts.
- Implemented
install.shscaffolding script to automate project bootstrapping from the template. - Implemented
add-gemini.shintegration script for adding the framework to existing repositories. - Added professional ASCII banners with versioning to all installer scripts for improved UX.
- Refined
README.mdwith streamlined Quick Start and new Integration sections.
- Implemented
/debugcommand and forensicdebuggersubagent for root-cause analysis (RCA). - Created a specialized forensic investigation workflow for bug detection and documentation.
- Refined
scaffoldandrevisecommand instructions for better clarity and consistency. - Improved README documentation and project metadata.
- Implemented
/plancommand workflow andplannersubagent for architectural planning. - Added
/draftand/reviewcommands withwriterandreviewersubagents for structured content generation. - Created an actionable project style guide in
.gemini/style-guide.md. - Drafted the "The Architect in the Machine" Substack article showcasing the framework.
- Overhauled the
/researchcommand into an extensible, executive-style reporting workflow with iterative updates and asset linking. - Refactored
/draftand/reviewcommands to integrate step-by-step, style-driven audits. - Refined
/planand/taskworkflows.
- Implemented
/croncommand withcron.tomltask configuration using systemd user timers for background execution. - Project badges and emoji headers to
README.mdfor better visual appeal.
- Comprehensive overhaul of
README.mdwith detailed command descriptions and common workflows. - Cleaned up
.gemini/settings.jsonby removing redundant plan path.
- Automate
gh release createin/releasecommand.
- Cleanup deleted maintenance typo file.
- Fix maintenance typo and simplify command descriptions.
- Update
/researchcommand and subagents for better organization.
- Remove unused
subprocimport inwelcomehook.
- New
/issuescommand to manage project issues with GitHub CLI, supporting summaries, creation/updates, and work modes.
- Updated
README.mdandwelcome.pyhook to include information about the/issuescommand. - Internal documentation updates in
TASKS.mdandjournal/.
- Refactored the hook system: centralized shared logic into
.gemini/hooks/utils.pyand renamed hook files for consistency (session.py,log.py,make.py,journal.py). - Added PEP 257 docstrings to all hooks and improved internal documentation.
- Updated
TASKS.mdandjournal/2026-02-28.mdwith details of the hook refactoring. - Ignore
__pycache__directories in.gitignore.
- Refactored the
/researchcommand into a robust 3-phase workflow using specializedresearcherandwritersubagents. - Rewrote the
README.mdto explain the opinionated framework, the agent's behavior, hooks, commands, journaling, and the project initialization workflow.
- Improved the
/releasecommand logic to includeREADME.mdupdates and fix formatting issues.
- Added a new
/scaffoldcommand for project initialization with modern tooling (e.g., Python/uv, JS/npm).
- Updated the
/releasecommand to include updatingREADME.mdand fixed a minor typo.
- Consolidated
/task/*commands into a single/taskcommand in.gemini/commands/task.toml. - Enhanced
/releasecommand to include version update steps. - Initial project task tracking with
TASKS.md. - Daily journal tracking in
journal/.
- Refactoried
.gemini/hooks/welcome.pyto include new commands. - Simplified
GEMINI.mdto a cleaner starter template. - Updated
.gemini/commands/release.tomlto include dependency and source version updates.
- Typo in
release.tomlformatting.