Releases: mokhtarabadi/cognitive-lead-hq
Releases · mokhtarabadi/cognitive-lead-hq
Release list
v8.0.2 — Milestone 8 Archive & Core Fixes
Changed
- Commit Lifecycle Rule (ZAC) in system-prompt
<constraints>— Added a<commit_lifecycle_rule>bullet to the top-level<constraints>section documenting the two commit-producing MCP tools (stage_and_inject_difffor development-time,commit_and_clean_taskfor closure-time), their distinct lifecycle semantics, the two-commit flow (feature + closure), and ZAC enforcement. Previously the ZAC intent was only visible in<bash_phase>implementation templates, allowing LLM agents to invokecommit_and_clean_taskduring implementation (Zen Router incident, Task 13). System prompt version bumped to 8.0.1 (PATCH). - Milestone 8 archive — Compacted Tasks 69, 77–79 into
docs/history/milestone-8-summary.mdand moved completed task files totasks/archive/. System prompt version bumped to 8.0.2.
Fixed
- Orphaned commit hash bug in
commit_and_clean_task— The tool captured the commit hash beforegit commit --amend, so the hash stored in the task file pointed to a commit that became unreachable after the amend replaced it. Reworked the tool to a two-commit flow: the feature commit hash is captured and stored in the task file, then the cleaned task file is committed as a separatechore: close task Nclosure commit. The stored hash is now permanently reachable from HEAD,git show <hash>returns the real code diff, and no amend/orphaned commits are produced. The idempotency guard matches the exact cleaned-block structure (regex), so a raw injected diff that merely mentions "Stored in Commit Hash" (e.g. this very changelog entry or the guard's own source line) cannot false-positive and block a legitimate closure. Regression tests:test_commit_and_clean_task_stores_reachable_hash,test_commit_and_clean_task_guard_no_false_positive_on_diff_mention. stage_and_inject_diffcrash when an ignoredcontext-reports/directory exists — the tool staged withgit add . :!...negative pathspecs, which makes git exit 1 with "paths are ignored" whenever an excluded path actually exists on disk (the accumulatedcontext-reports/reports), blocking every closure until deleted. Replaced with plaingit add -A .(gitignore-respected) plus defense-in-depthgit reset -q -- <pattern>for the sensitive/ignored paths. Regression test:test_stage_and_inject_diff_with_ignored_context_reports.
v8.0.0 -- Cognitive Lead AI V8 Ecosystem Overhaul
[8.0.0] - 2026-08-04
Added
- P1 Quality Improvements (V8.0.0 Phase 5) — Added
tests/test_mcp_servers.pyfor basic MCP server import and logic validation. Enhancedmcp-memory-serverwith YAML frontmatter support (pyyaml) for metadata tracking and improvedsearch_memorywith tag filtering and ranking. Createddocs/system-prompt-modularization.mddesign document for V9.0.0 planning. Documented tree-sitter regex fallback for Swift, Ruby, PHP, and C# incode-searchskill. System prompt version bumped to 7.5.0. - New Lint MCP Server & Skill (V8.0.0 Phase 3) — Created
mcp-lint-server/server.pyprovidinglint_markdown,lint_task_file, andlint_all_taskstools for structural validation. Registered server inopencode.jsonandLLM.txtglobal configs. Createdtask-lintskill template. Addedtask-lintto<agent_skills_registry>insystem-prompt.md. System prompt version bumped to 7.4.0.
Changed
- Milestone 7 archive — Compacted tasks 70–76 into
docs/history/milestone-7-summary.mdand moved completed task files totasks/archive/. System prompt version bumped to 8.0.0. - Task Template Ecosystem Enforcement (V8.0.0 Phase 4 Revised) — Enforced new task template sections across the entire ecosystem. Updated
mcp-lint-serverto mandate## Acceptance Criteria,## Verification Evidence, and## Risk & Rollback. Instructedtelegram-issue-syncto populate acceptance criteria from message intent. Enhancedarchive-tasksmilestone summaries to extract and report criteria met. AddedCRITICAL RULE 6 (Evidence Capture)to<bash_phase>insystem-prompt.mdto force verification evidence logging before summary. System prompt version bumped to 7.4.2. - Task Template Enhancement & Lint Integration (V8.0.0 Phase 4) — Enhanced
task-generatorskill template with mandatory## Acceptance Criteria,## Verification Evidence, and## Risk & Rollbacksections for both unified and multi-phase task files. Integratedlint_task_fileMCP tool into the<summary_phase>of both<opencode_implementation_task_template>and<opencode_combined_task_template>to enforce structural validation before diff injection. System prompt version bumped to 7.4.1. - Input Processing Pipeline Enhancement (V8.0.0 Phase 1) — Enhanced
<user_input_processing>insystem-prompt.mdwith mandatory Input Validation Gate (Step 0.5), enriched Intent Expansion, and Prompt Refactor Gate (Step 5.5). Enhancedprompt-refactorskill with Step 0 validation and typo correction. UpdatedAGENTS.mdguardrail to enforce Input Validation Pipeline. Createduser-prompts/input-validation-test.md. System prompt version bumped to 7.3.0.
Fixed
- Fixed search_memory tag-only query edge case — When querying with only
tag:xxx(no additional search terms), the function now correctly returns all files matching the tag filter instead of returning zero results. Previously, the fallback content matching would search for the literal string "tag:xxx" in file content, which would never match. - P0 Consistency & Safety Fixes (V8.0.0 Phase 2) — Resolved AGENTS.md documentation-only contradiction by adding explicit exceptions for MCP servers and tooling. Hardened
stage_and_inject_diffto exclude sensitive files (.env,.pem, etc.) from blindgit add .. Hardenedcommit_and_clean_taskwith empty-staged checks and push-history amend warnings. Fixed version sync rules inversioning-and-releaseskill. ResolvedDESIGN.mdpath conflict (root vs.stitch/). Convertedarchive-tasksto usegit mvfor history preservation. Secured memory deletion by changingdelete_memorypermission toaskinopencode.jsonandLLM.txt, and adding a Safety Gate to theproject-memoryskill. - MCP servers crash on startup with MCP SDK 2.0 — Pinned
mcp[cli]>=1.0,<2.0in the# /// scriptdependency headers ofmcp-context-server/server.pyandmcp-memory-server/server.py. PyPI's latestmcp(2.0.0) removedmcp.server.fastmcp, causingModuleNotFoundErroron boot and disabling bothcustom_contextandproject_memorytools.
v7.2.1 — Milestone 6 Archive & Unified Task Template
What's New in v7.2.1
Release covering the 7.1.0 → 7.2.1 cycle: workflow friction fixes, V7 documentation consistency, the unified task template, and the Milestone 6 archive.
Unified Task Template (7.2.0)
- Unified canonical task-file template in
task-generatorwith a polymorphic## Source Contextsection supporting three provenances:orchestrator,telegram,manager. Source:metadata field in the task header for provenance tracking.- Mandatory
## Goaland## Local TODOsfor all task files;# Task [NN]: [Title]title convention. telegram-issue-syncnow references the unified template instead of defining an inline copy.archive-tasksmilestone summaries now include a## Source Distributiontable.
Workflow Friction Fixes (7.1.0)
- Combined Discovery+Plan workflow — new
<opencode_combined_task>template reduces Manager round-trips from 6 to 3, with explicit halt-on-architecture-mismatch conditions. - Task numbering collision protection — Orchestrator-side pre-assignment validation plus a Collision Check in
task-generator. - Multi-phase task rule — single task file with inline
## Phase N:sections instead of separate subtask files. - CHANGELOG Parse-Then-Append Protocol — prevents duplicate version/section headers.
- Memory hygiene — Memory Validation step in
archive-tasksand Supersession Detection heuristic inproject-memory. - Pre-Commit Verification Gate (CRITICAL RULE 5) for DevOps/infrastructure tasks.
- Topic Shift Detection in
<user_input_processing>for proactive context-switch notices.
Documentation Consistency (7.1.1)
- README now reflects V7: tree label,
## Key V7 Changessection, complete 28-skillskill-templates/tree with standalone group labels. <execution_workflow>renumbered 1–9 (Phase 0 identity preserved), tags on own lines.
Milestone 6 Archive (7.2.1)
- Tasks 66–68 compacted into
docs/history/milestone-6-summary.mdand moved totasks/archive/. - System prompt version bumped to 7.2.1.
Full changelog: see CHANGELOG.md.
v7.0.1 — Milestone 5 Archive
Changed\n\n- Milestone 5 archive — Compacted task 65 into docs/history/milestone-5-summary.md and moved completed task file to tasks/archive/.\n\n### Full Changelog\n\nv7.0.0: Platform-Agnostic Rebrand — Removed all hardcoded references to Google AI Studio and Gemini. The workflow is now vendor-neutral.
v6.12.0 — audit-agents conventions governance
[6.12.0] — 2026-07-23
Added
- audit-agents conventions.md governance — The
audit-agentsskill now auto-generates and auditsdocs/conventions.mdwith Universal DateTime Standard and SOLID Programming Guidelines. Mode 1 (Phase 0) generates conventions.md alongside AGENTS.md. Mode 2 audits and patches conventions.md if missing or incomplete. Agent Audit Summary expanded with conventions.md compliance status.
Changed
- Milestone 4 archive — Compacted tasks 56–64 into
docs/history/milestone-4-summary.mdand moved completed task files totasks/archive/. - System prompt upgraded to V6.12.0 —
<system_version>bumped from 6.11.0 to 6.12.0.
v6.5.1 — Skill Name Standardization & Milestone 3 Archive
What's Changed
Fixed
- Skill name standardization — Aligned YAML
name:fields across all 27 skill templates to match folder names exactly. Removed architecture-prefixed names (backend-architecture-*,frontend-architecture-*,mobile-architecture-*,stitch::extract-design-md) in favor of clean short names. - System prompt consistency — Added missing
archive-tasksandmigrate-kanbanto the skills registry. Aligned all 27 skill descriptions verbatim with their YAML counterparts.
Changed
- Milestone 3 archive — Compacted tasks 49–55 into
docs/history/milestone-3-summary.mdand moved completed task files totasks/archive/.
Full Changelog: v6.5.0...v6.5.1
v6.4.0 — Project Memory System
[6.4.0] — 2026-07-16
Added
- Project Memory MCP Server (
mcp-memory-server/server.py) — new FastMCP server providing persistent, project-scoped memory via atomic-write markdown files under.opencode/memory/. Four tools:store_memory(with atomic writes using tempfile + os.replace),read_memory,search_memory(full-text across namespaces), andlist_namespaces. project-memoryAgent Skill (skill-templates/project-memory/SKILL.md) — companion skill teaching OpenCode when to proactively store Manager constraints and when to retrieve them during the Context Phase.opencode.jsonregistration —project_memoryMCP server registered alongsidecustom_context, with explicit permissions forstore_memory,read_memory,search_memory, andlist_namespaces.- System prompt integration —
project-memoryadded to<agent_skills_registry>under Global Workflow Skills. Software Architect and Senior Programmer personas updated to proactively save Manager constraints via theproject-memoryskill.
Changed
- System prompt upgraded to V6.4.0 —
<system_version>bumped. audit-agentsskill — Target Audit Criteria (Mode 1 and Mode 2) and AGENTS.md Template updated with Context Bootstrapping rule: agents must callsearch_memory/list_namespacesat task start.- README.md — Roadmap item #7 (Memory Management) struck through and marked implemented in V6.4.0.
Security
- Path traversal prevention —
mcp-memory-server/server.py: added_validate_and_resolvewith regex^[a-zA-Z0-9_-]+$sanitization andis_relative_toboundary checks on all user-supplied namespace/key inputs. - Temp file leak fix —
store_memoryatomic write wrapped in try/except with explicitos.unlink(temp_path)cleanup on failure.
v5.19.0
What's Changed
Added
- OpenCode docs mirror — all 36 documentation pages from opencode.ai/docs fetched into
docs/opencode/ LLM.txt— AI agent auto-configuration manual with platform-specific OpenCode setupdocs/conventions.md— centralized syntax rules and automation conventions
Changed
- Rebranded repository to
cognitive-lead-hqwith updated metadata and polished README - Enforced
--body-filepattern for all gh issue create commands - README Quick Start now references
LLM.txtas canonical auto-setup source