Skip to content

v4.3.0

Choose a tag to compare

@rafaelghif rafaelghif released this 28 Jul 13:29
· 21 commits to main since this release

Added

  • Task-Driven Execution Protocol (.agents/plans/*.md): Transitioned from volatile state pointers to file-backed micro-task checklists as the Single Source of Truth, enabling zero-amnesia session recovery.
  • Humanized Senior Co-Pilot Persona (soul.md): Upgraded agent persona to embody an authentic, warm, senior engineering partner with zero-yes-man technical firmness.
  • Zero-Assumption System State Schemas (schema.md): Defined explicit structural data contracts for .agents/plans/<task-slug>.md, .agents/locks/<hash>.lock/owner.json, and .agents/brain/audit.jsonl.
  • Session Boot Anti-Amnesia Pre-Checks (AGENTS.md): Hardened memory recovery to run direct filesystem scans and empirical test verification before executing uncompleted micro-tasks.
  • Docker / Podman Gitea MCP Integration: Aligned Gitea MCP server setup with gitea.com/gitea/gitea-mcp stdio specification using container runner (gitea/gitea-mcp:latest) with GITEA_HOST and GITEA_ACCESS_TOKEN.
  • POSIX Directory-Based Mutex Locks (.agents/locks/): Implemented atomic directory creation (mkdir -p .agents/locks/<md5_hash_of_filepath>.lock) with owner.json metadata and 60-second auto-expiration to resolve TOCTOU race conditions across parallel subagent executions.
  • Mandatory Swarm Triggers: Added explicit triggers in AGENTS.md and config.json requiring Orchestrator subagent spawning for multi-file audits ($\ge 3$ files) and multi-domain tasks.
  • Decisions & /grill-me Ledger: Introduced mandatory ## 1. Decisions & Architectural Trade-offs section in task plans to freeze user directives, design choices, and /grill-me interview logs directly to disk.
  • Strict Pre-Execution Hard-Lock Gate: Prohibited any source code edits until (1) a granular plan file exists in .agents/plans/ AND (2) a dedicated Git branch (task/<slug>) is created.
  • Zero-Batching & Empirical Verification Gate: Enforced single micro-task execution per turn with mandatory physical CLI output (exit code 0 from npm test or tsc) before marking tasks - [x].
  • Empirical Artifact Pre-Check & Auto-Backup (.bak): Added plan file .bak backup protection and full empirical test checks on existing files during session boot to prevent redundant code execution.
  • Git Merge Conflict & Rebase Protocol: Added strict git rebase main requirements in devops-manager prior to testing, prohibiting merge conflict markers (<<<<<<< HEAD) from reaching source code.
  • Stale Lock Pruning Protocol: Added automated owner.json timestamp scanning in system-janitor to purge locks older than 60 seconds.

Changed

  • Gitea Token & Host Standardization: Renamed legacy GITEA_PAT to official GITEA_TOKEN and added explicit GITEA_HOST across .env, .env.example, mcp_config.json, and env-required.json.
  • Optimized Core Directive Length: Refactored AGENTS.md to 153 lines per Google Antigravity Best Practices to maximize LLM attention window performance and eliminate context token bloat.
  • Symmetrical Tiered Execution Thresholds: Refactored execution tier criteria to Tier 1 (< 50 lines single file), Tier 2 ($\ge$ 50 lines or multi-file), and Tier 3 (> 100 lines or core architecture refactors).
  • Skill Core Version Decoupling: Updated all 6 core domain skills (code-engineer, system-architect, quality-assurance, devops-manager, security-docs-auditor, system-janitor) to require core version >=4.3.0.
  • Installer Script Scaffolding: Updated install.sh and install.ps1 to automatically create .agents/locks/ scaffolding during one-line installations and completely purged obsolete state.json reset logic.

Fixed

  • Manifest Complete Consistency: Added audit.jsonl, env-required.json, and mcp_config.json explicitly to AGENTS.md Complete Directory Manifest.
  • Legacy Interactive Syntax Removal: Replaced deprecated ask_question function calls in devops-manager/SKILL.md with natural agent conversation directives.
  • Orphan Scratch Context Leakage: Resolved context confusion across session switches by enforcing autonomous purging of orphan ephemeral files in .agents/scratch/ during Session Boot.
  • TOCTOU Race Condition in Parallel Subagents: Fixed file locking race conditions by replacing file-level JSON mutations with atomic POSIX directory creation using MD5 filepath hashing.

Removed

  • Legacy state.json Persistence File: Completely eliminated .agents/brain/state.json and its schema references from schema.md, AGENTS.md, and README.md, deprecating volatile state tracking.
  • Obsolete Config & Registry Files: Removed deprecated "task_claim_lock" key from config.json and purged duplicate mcp-registry.json file.