danhdue/d3nexus
Mobile engineering agent kit: epic lifecycle orchestration, 3-tier quality gates, and security/architecture/UI/code-health audits for Flutter, Android Native, and iOS Native.
Changelog
Notable changes per release. Starts at 1.1.0 — earlier versions were released without notes.
Versions follow MAJOR.MINOR.PATCH. A bump is required for any release: claude plugin update
compares the version in .claude-plugin/plugin.json and does nothing when it is unchanged, leaving
every installed machine on the old cached copy.
1.28.2 — 2026-11-10
Delivers automated multi-profile anti-abuse remediation, hardware fingerprint & device ID decoupling, AirDrop & host OS Keychain safeguards with zero CLI mutations, and synchronizes profile isolation rules across critical rules, agent guidelines, and safe provisioning workflows.
Added
- Hardware Fingerprint Decoupling & Telemetry Opt-Out (
rules/CRITICAL_RULES.md,.agents/rules/profile_isolation_rules.md,skills/audit-account-block/references/profile-isolation-and-remediation.md):- Enforces cryptographically independent SHA-256
telemetry.machineIdand UUIDv4telemetry.devDeviceIdin every profile'sstorage.json, eliminating cross-account device cloning flags. - Mandates
"telemetry.telemetryLevel": "off"insettings.jsonacross all profiles, preventing Antigravity IDE and VS Code telemetry from leaking workspace paths (backupWorkspaces) to external cloud services. - Prohibits trajectory cloning (
conversation_summaries.db,agyhub_summaries_proto.pb) to prevent foreign UUID querying and repetitive 403PERMISSION_DENIEDerrors in background indexing.
- Enforces cryptographically independent SHA-256
- Automated Profile Initialization Safeguard (
ag_run <profile> init) (skills/audit-account-block/SKILL.md,skills/audit-account-block/references/profile-isolation-and-remediation.md):- Integrates automated unique machine ID generation, devDeviceId assignment, telemetry opt-out, workspace path clearing, and trajectory cleanup into
ag_run initworkflow.
- Integrates automated unique machine ID generation, devDeviceId assignment, telemetry opt-out, workspace path clearing, and trajectory cleanup into
Changed
- AirDrop & Host OS Keychain Safeguard with Zero CLI Mutation (
rules/CRITICAL_RULES.md,.agents/rules/profile_isolation_rules.md,skills/audit-account-block/references/profile-isolation-and-remediation.md):- Strictly prohibits mutating
security default-keychainandsecurity list-keychains -sduring CLI operations (ag_run <profile> cli,{profile}-cli). Resolves credentials directly via subshell environment (HOME="$ag_home") and~/Library/Preferences/com.apple.security.plist, protecting macOSsharingd(AirDrop) andidentityservicesd(Apple ID) from service interruption. - Shortens GUI IDE atomic launch window to 1.5 seconds with verification of host keychain restoration.
- Strictly prohibits mutating
- Rule Synchronization Across Ecosystem (
rules/CRITICAL_RULES.md,.agents/rules/profile_isolation_rules.md):- Adds Section 9.2 Zero CLI Keychain Mutation and Section 9.6 Hardware Fingerprint & Telemetry Decoupling to
rules/CRITICAL_RULES.md. - Expands
profile-isolation-and-remediation.mdto "The 6 Core Isolation Rules" with dedicated guidelines for Anti-Sybil defense and Rogue Symlink elimination.
- Adds Section 9.2 Zero CLI Keychain Mutation and Section 9.6 Hardware Fingerprint & Telemetry Decoupling to
1.28.1 — 2026-11-10
Switches Antigravity profile pre-warming and scheduling to Claude 5.5 Sonnet (claude-sonnet-5-5-low), adds quick access "Argon Profiles" filter tag to Quota Dashboard, and cleans up redundant drawer content.
Added
- Argon Profiles Quick Access Filter Badge (
skills/check-quota/resources/dashboard/quota_dashboard.html):- Adds interactive quick access tag
• Argon Profilesto the 2nd row of the Quota Dashboard alongsideActive Profiles. - Enables 1-click filtering to display exclusively profiles with active Argon model support, toggling back to all profiles on second click.
- Synchronizes filter state with the status dropdown (
#statusFilter) and URL query parameters (?status=ARGON).
- Adds interactive quick access tag
Changed
- Antigravity Profile Pre-Warming & Scheduled Activation to Claude 5.5 (
skills/refresh-session/resources/scripts/refresh_session.py,scripts/agy_quota.py):- Replaces default Gemini model invocation (
agy -p ...) withclaude-sonnet-5-5-lowinping_profileandexecute_ping_profile. - Automatically initializes and pre-warms the 5-hour rolling rate-limit window for Claude 5.5 / GPT models when running manual pings or daily scheduled daemons (
/refresh-session schedule), preserving weekly Argon activation for entitled profiles.
- Replaces default Gemini model invocation (
Removed
- TypeScript Contract Spec Drawer (
skills/check-quota/resources/dashboard/quota_dashboard.html):- Removes redundant static contract drawer at the bottom of the Quota Dashboard for a cleaner, streamlined interface.
1.28.0 — 2026-11-10
Delivers the 3-Round Scope-Narrowing Review Convergence Funnel (Full -> Delta -> Blocker-Only), Quota-Aware Provider Priority (Claude -> Codex -> Kiro -> Argon), 4 Anti-Fix-Loop Prompt Strategies, Source-of-Truth Forward Alignment & 3 Circuit Breaker Halts, Top 3 Highest-Risk Findings Executive Report, 3-Level Test Scope Pyramid, 3-Layer Lifecycle Documentation Separation (preventing Attention Dilution and Lost-in-the-Middle), and Live Argon Quota & Unblocked Account Probing Fixes.
Added
- 3-Round Scope-Narrowing Convergence Funnel & Quota-Aware Provider Priority (
skills/dev-implementation/resources/scripts/run_external_review.py,skills/principal-review/SKILL.md,skills/cross-model-review/SKILL.md,rules/CRITICAL_RULES.md):- Enforces
MAX_REVIEW_ROUNDS = 3: Round 1 runs Full Scope Audit (Scope: full); Round 2 narrows scope to Delta Verification (prev_sha..curr_sha, prohibiting newMinorfindings on untouched files); Round 3 enters Strict Blocker-Only Convergence Mode (Scope: convergence). Attempting Round 4 without--forcehalts at pre-check ([PRECONDITION BLOCKED] — Max review rounds (3) reached, 0 credits used). - Adds
--auto-quotaandselect_provider_by_quota()following priorityClaude -> Codex -> Kiro -> Argon(PROVIDER_PRIORITY = ("claude", "codex", "kiro", "agy")) with combined thresholds:- Claude & Codex:
status == "ACTIVE",5H Session >= 15%(0.15), AND7D Weekly > 2%(0.02). - Kiro (
kiro):statusstarts with"ACTIVE",Monthly Credits >= 3%(0.03), ANDremaining >= 15.0 credits. - Argon (
agy):status == "ACTIVE"andArgon Weekly >= 10%(0.10) or5H >= 15%(0.15).
- Claude & Codex:
- Enforces
- 4 Anti-Fix-Loop Prompt Strategies & Cross-Round Shared Context Ledger (
skills/dev-implementation/resources/scripts/run_external_review.py,skills/dev-implementation/references/external-review-prompt.md,skills/principal-review/references/principal-review-prompt.md,skills/principal-review/references/document-triage.md,skills/cross-model-review/references/review-triage.md):- Strategy 1 (Exhaustive Per-File Pass in Round 1): Instructs reviewers in Round 1 to report all
CriticalandImportantissues within each inspected file up front, preventing piecemeal drip-feeding across rounds. - Strategy 2 (Universal Anti-Ping-Pong Guardrail): Injects
### Cross-Provider Handoff & Anti-Ping-Pong Guardrailin all Round $\ge 2$ runs (both single-model and mixed-model stateless sessions) alongside### Earlier Rounds Shared Context Ledger (Cumulative Memory), prohibiting solution reversals unless an objective defect is introduced. - Strategy 3 (Previously Fixed Locations Registry —
Verify-Then-Close): Compiles all priorfixed in <sha>items into### Previously Fixed Locations Registry (Verify-Then-Close), requiring silent closure (PASS) once resolved. - Strategy 4 (Diff-Hunk Isolation on Fixed Files): Prohibits reporting pre-existing issues on untouched lines of previously fixed files; re-reporting is restricted strictly to
[INCOMPLETE_FIX]or[NEW_REGRESSION]inprev_sha..sha.
- Strategy 1 (Exhaustive Per-File Pass in Round 1): Instructs reviewers in Round 1 to report all
- Source-of-Truth Hierarchy (Forward Alignment), Top 3 Highest-Risk Findings Report & 3 Circuit Breaker Halts (
skills/dev-implementation/resources/scripts/run_external_review.py,rules/CRITICAL_RULES.md,skills/principal-review/references/principal-review-rules.md):- Enforces Tier 1 (User-Approved Spec & HLD) > Tier 2 (
shared-contracts/) > Tier 3 (Legacysrc/): forbids proposing reversion of intentional HLD changes (e.g.7 steps -> 5 steps) back to stale contracts/code; mandates Forward Alignment (shared-contracts/sync +Allowed filesexpansion). - Emits
## Top 3 Highest-Risk Findings (Executive Report)at the top ofrun_external_review.py triagewithDesign AnchorandProposed actioncolumns. - Implements
compute_auto_triage_gate()with 3 hard circuit breakers:CIRCUIT_BREAKER_HALT (SHARED_CONTRACT_CONFLICT): Immediate halt in any round when aCritical/Importantfinding impacts or conflicts withshared-contracts/.CIRCUIT_BREAKER_HALT (FIX_LOOP): Immediate halt when a previously fixed file still fails in Round $N$.CIRCUIT_BREAKER_HALT (MAX_ROUNDS_CRITICAL_REMAINING): Immediate halt when anyCriticalfinding survives after 3 rounds (while Round 3 with0 Criticalfindings triggersAUTO_PASS_FINAL_SWEEP).
- Enforces Tier 1 (User-Approved Spec & HLD) > Tier 2 (
- 3-Level Test Scope Pyramid & Anti-Stub Gate 4 Enforcer (
skills/dev-designer/SKILL.md,skills/dev-designer/references/verification-rows.md,skills/finishing-a-development-branch/SKILL.md,skills/dev-implementation/resources/scripts/audit_epic.py):- Defines Level 1 (
Task-Scoped< 5sper task), Level 2 (Blast-Radius Scoped< 30sin HLDIntegration results:at Gate 4), and Level 3 (Test Allfull workspace suite executed once infinishing-a-development-branchbefore merging todevelop). - Adds deterministic Anti-Stub Enforcer in
audit_epic.pyrejecting_stub(,raise NotImplementedError, and# STUBinsrc/.
- Defines Level 1 (
- Manual Re-Check Button & Real Model Inference for Blocked Accounts (
scripts/agy_quota.py,skills/check-quota/resources/dashboard/quota_dashboard.html):- Adds manual re-check button on blocked account cards with anti-bot jitter and live model inference verification (
d12415d,656f7cb).
- Adds manual re-check button on blocked account cards with anti-bot jitter and live model inference verification (
Changed
- 3-Layer Lifecycle Documentation Separation (Anti-Attention-Dilution) (
docs/lifecycles.en.md,docs/lifecycles.vi.md,skills/dev-lifecycle/SKILL.md,skills/principal-review/SKILL.md,skills/cross-model-review/SKILL.md):- Slims runtime
SKILL.mdfiles to keep only operational sequences and gates while separating the/dev-lifecycleskills catalog, autonomous pipeline architecture, and 4 Anti-Fix-Loop strategies intodocs/lifecycles.{en,vi}.mdand on-demandreferences/*.mdfiles.
- Slims runtime
Fixed
- Argon Availability & Circular Disabled Detection on Unblocked Accounts (
scripts/agy_quota.py):- Derives Argon availability strictly from live Google quota groups (
53b064e) and removes circular disabled detection when probing unblocked accounts (c2c405d).
- Derives Argon availability strictly from live Google quota groups (
1.27.0 — 2026-11-09
Official release of Kiro CLI Native Power Support, AI Quota Dashboard Header Overhaul, Claude Code Anthropic Live OAuth Usage Polling, and Profile Isolation & Ghost Provider Exclusion.
Added
- Official Kiro CLI Native Power Support (
plugin.json,README.md,scripts/release.sh):- Adds Kiro CLI as the 4th official runtime supported by
ai-agent-toolsalongside Codex, Antigravity, and Claude Code. - Distributes the plugin as a native Kiro power installed directly via GitHub repo (
kiro-cli powers install https://github.com/DanhDue/ai-agent-tools.git) or local checkout (kiro-cli powers install .). - Shares root
plugin.jsonand unified steering instructions inAGENTS.mdacross all four runtimes without duplication or configuration drift. - Automates Kiro CLI power synchronization in
scripts/release.shon release publish.
- Adds Kiro CLI as the 4th official runtime supported by
- AI Quota Dashboard Header Overhaul (
skills/check-quota/resources/dashboard/quota_dashboard.html,scripts/agy_quota.py):- Renames the dashboard from "Antigravity Quota Dashboard" to AI Quota Dashboard across page title, browser tab, and sync notifications to reflect multi-agent capabilities.
- Promotes fixed system metrics (Live Server address
● Live Server (127.0.0.1:8765)and Last Sync time● Đồng bộ ...m trước) up to Row 1 alongside the dashboard title for visual balance. - Strips redundant tags (
12 Active Profilesand% CÒN LẠI (REMAINING)) from the title line. - Adds quick-click
● Tất cảfilter button (statBtnAll) at the beginning of Row 2 with glowing cyan active ring indicator (ring-2 ring-sky-400 bg-sky-500/30). - Streamlines Kiro CLI card: launches
kiro-clidirectly and removes inapplicable recurring scheduler / Argon activation buttons from the monthly credit pool.
- Anthropic Live API Usage Polling for Claude Code (
scripts/agy_quota.py,skills/check-quota/SKILL.md):- Replaces stale offline JSON file inspection with live HTTP polling to Anthropic's OAuth API (
/v1/oauth/claude_cli/usage). - Automatically loads access tokens from macOS Keychain (
Claude Code-credentials) or~/.claude.json. - Accurately captures live token percentages, 5-hour rolling session reset countdowns, and 7-day rate limit statistics with automatic fallback to local cache.
- Replaces stale offline JSON file inspection with live HTTP polling to Anthropic's OAuth API (
Fixed
- Ghost Profile & AI Provider Conflict Prevention (
scripts/agy_quota.py):- Excludes provider names (
kiro,claude,codex) inget_all_profiles(), preventing accidental or obsolete directories inantigravity_homes/(such asantigravity_homes/kiro) from registering as Antigravity profiles. - Adds strict safety guards in
format_profile_for_dashboard()to guarantee AI Provider cards are never overwritten or marked as "Auth Needed" by profile enumeration scans.
- Excludes provider names (
1.26.3 — 2026-11-08
Integrates Kiro CLI Quota Provider (check-quota kiro), establishes Local Profile Isolation & Remediation Rules (preventing Attention Dilution / "Lost in the Middle" while protecting macOS host services and eliminating stale RAM process overwrites), delivers the Dreamy Purple Theme & Mascot 👻 for Kiro, and adds 4-Category Account Filtering in both the Web Dashboard and Terminal CLI.
Added
- Kiro CLI Quota Provider Integration (
scripts/agy_quota.py,skills/check-quota/SKILL.md,tests/test_kiro_quota.py):- Integrates
kiro-clias the 3rd AI Agent Provider alongside Claude Code and OpenAI Codex. - Automatically parses AWS CodeWhisperer
GetUsageLimitstokens & Monthly Credits Pool (used, limit, remaining, countdown timer, model tier, and overages status). - Adds dedicated CLI commands:
check-quota kiro,check-quota all --providers, and interactive quota cards. - Adds comprehensive unit test suite in
tests/test_kiro_quota.pywith 7 test cases covering parsing, color thresholds, offline fallback, and unauthenticated handling.
- Integrates
- Local Profile Isolation & Anti-Contamination Rules (
.agents/rules/profile_isolation_rules.md,skills/audit-account-block/references/profile-isolation-and-remediation.md,rules/CRITICAL_RULES.md):- Implements localized, progressive-disclosure rule architecture to prevent Attention Dilution and "Lost in the Middle" during general engineering tasks.
- Enforces Pre-Remediation Process Fencing: checks and terminates resident Antigravity IDE / agy processes (
pkill -9 -f antigravity_homes/<profile>) before modifyingstate.vscdb, preventing Electron in-memory RAM from continuously overwriting database repairs. - Enforces
signedOutToken Elimination: purgesantigravityUnifiedStateSync.oauthTokenfromItemTableinstate.vscdbto prevent silent fallback to root/default identity. - Documents Atomic Launch Window: temporary 2.5s search-list promotion of profile keychain during launch with automated rollback to
login.keychain-db, preserving macOS host daemons (AirDrop, Apple ID, Wi-Fi, browser sessions). - Outlaws unanchored shell wildcards (
antigravity)$\rightarrow$*antigravity*) ;;) to protect.gemini/antigravity*physical directories from accidental symlinking.
- Dreamy Purple Theme & Mascot 👻 for Kiro (
skills/check-quota/resources/dashboard/quota_dashboard.html,scripts/agy_quota.py):- Dresses Kiro CLI in a dreamy purple theme (
#c084fc,text-purple-300, glow effects) with Kiro's cute ghost mascot 👻 in title, badges (👻 KIRO STUDENT,AI PROVIDER), and monthly credits pool bar. - Synchronizes purple ANSI styling and ghost icon across terminal CLI outputs.
- Dresses Kiro CLI in a dreamy purple theme (
- 4-Category Account Filtering in Dashboard & CLI (
skills/check-quota/resources/dashboard/quota_dashboard.html,scripts/agy_quota.py):- Categorizes all 26 accounts into 4 distinct groups:
3 Providers(Claude, Codex, Kiro),12 Active Profiles,4 Needed Login Profiles, and7 Blocked Profiles. - Streamlines header statistics badges to clean, concise counts without redundant name listings.
- Adds matching CLI filtering flags:
check-quota all --providers,--active,--login,--blocked.
- Categorizes all 26 accounts into 4 distinct groups:
Fixed
- Profile Identity Bleed & Keychain Parity Remediation (
scripts/remediate_profiles.py,~/.zshrc):- Upgrades
remediate_profiles.pywith automated process termination before database writes, Keychain-to-DB email parity reconciliation, andsignedOuttoken purging across all 23 profiles. - Corrects rogue symlink parsing in
.zshrcpreventing internal agent runtime state bleeding into root.
- Upgrades
1.26.2 — 2026-11-07
Ships Detached Background Daemon Mode for check-quota --ui, Automated Argon 7D Activation with Reset Guard, Anti-Bot Jitter Pacing across multi-model pings, resilient JSON cache persistence in quota_dashboard.html, and a comprehensive unit test suite in tests/test_agy_quota.py.
Added
- Detached Background Daemon Mode for Quota Web Server (
scripts/agy_quota.py,skills/check-quota/SKILL.md):- Upgrades
check-quota --ui/agy-quota uito spawn a detached background server (start_new_session=True, PID tracking in/tmp/agy_quota_server.pid, logs in/tmp/agy_quota_server.log), freeing the terminal immediately (<0.2s) so developers can safely close the terminal without terminating the live dashboard. - Adds
check-quota --stopto cleanly kill daemon processes and release port 8765, andcheck-quota --statusto inspect active PID, URL, and logs. - Adds
--foreground/-fflag for direct terminal logging during debugging. - Hardens
log_messageandsend_jsonagainstBrokenPipeErrorto ensure terminal disconnects never crash request handlers.
- Upgrades
- Automated Argon 7D Weekly Activation & Reset Guard (
scripts/agy_quota.py):- Automatically identifies whether a profile has Argon enabled (
hasArgon: true) and its weekly quota is at max 7D (fraction >= 0.999and weekly timer not yet locked in). - Automatically dispatches a lightweight 1-token prompt to
--model gemini-4-argon-lowto start the 7-day rolling countdown at the beginning of the week. - Adds reset-time guard preventing Argon pings when reset is under 7 hours (
is_argon_near_reset) or when Argon is already actively counting down, preserving valuable weekly quota.
- Automatically identifies whether a profile has Argon enabled (
- Randomized Humanized Jitter & Anti-Bot Protection (
scripts/agy_quota.py):- Enforces randomized sleep jitter (1.8s – 3.5s) between consecutive Gemini and Argon CLI turns.
- Enforces distinct prompt selection from
NATURAL_PROMPTSbetween calls to simulate natural human pacing and prevent Google WAF / anti-abuse 429 rate limits and Terms of Service suspensions.
- Unit Test Suite for Quota Daemon & Rules (
tests/test_agy_quota.py):- Adds 9 unit test cases covering daemon readiness, PID parsing, pipe resilience, Argon max 7D pinging, <7h reset skip guard, and jitter duration.
Fixed
- Resilient JSON Dashboard Extraction & Persistence (
scripts/agy_quota.py):- Replaces first-semicolon substring slicing in
load_cached_profiles()andupdate_cached_profile()with block-boundary matching (\n};), preventing corruption and truncation ofquota_dashboard.htmlduring atomic cache writes.
- Replaces first-semicolon substring slicing in
1.26.1 — 2026-11-07
Documents sticky .devtool/review_config.json loading across principal-review, cross-model-review, and dev-lifecycle, and upgrades load_review_config() in run_external_review.py to automatically backfill newly added DEFAULT_REVIEW_CONFIG providers (such as kiro) onto untracked local .devtool/review_config.json files on disk.
Changed
- Sticky Provider Config Loading & Auto-Backfill (
skills/principal-review/SKILL.md,skills/cross-model-review/SKILL.md,skills/dev-lifecycle/references/principal-review.md,skills/dev-implementation/resources/scripts/run_external_review.py):- Explicitly instructs agents in
principal-reviewandcross-model-reviewto read.devtool/review_config.jsonbefore prompting for a reviewer CLI solast_used_providerand per-providermodel+thinking_level(claude,codex,agy,kiro,ollama) are surfaced to the developer. - Updates
load_review_config()inrun_external_review.pyto detect missing default providers in existing untracked.devtool/review_config.jsonfiles and atomically persist the merged provider map back to disk.
- Explicitly instructs agents in
1.26.0 — 2026-11-07
Adds Kiro CLI (--cli kiro) as a first-class external reviewer across principal-review, cross-model-review, and run_external_review.py, establishes the 3-Tier Epic Documentation Architecture ("Prompt to Maintain" HLD vs Exhaustive Edge-Case BDD vs Self-Contained Task SSOT) to reduce LLM token bloat while maximizing edge-case coverage, and completes bin/d3nexus subcommand & Gate Approval Ledger wiring across /dev-lifecycle.
Added
- Kiro CLI External Reviewer Support (
skills/dev-implementation/resources/scripts/run_external_review.py,skills/principal-review/,skills/cross-model-review/,skills/dev-lifecycle/,rules/CRITICAL_RULES.md):- Adds
--cli kiro(kiro-cli/kiro) torun_external_review.py(DEFAULT_REVIEW_CONFIG["providers"]["kiro"] = {"model": "claude-opus-5.5", "thinking_level": "high"}), invokingkiro-cli chat --no-interactive --trust-all-tools --wrap never --effort <effort> --model <model>. - Automatically forwards
HOME=$REAL_HOMEwhen executingkiro-clifrom inside an isolated Antigravity profile (/antigravity_homes/<profile>) so Kiro accesses the host macOS Keychain Builder ID session cleanly.
- Adds
- Complete
bin/d3nexusSubcommand & Gate Ledger Wiring (bin/d3nexus,skills/dev-brainstorming/,skills/dev-implementation/):- Adds
audit-epic,check-bdd,check-impact,integrate,package-epic,quality-check, andrun-external-reviewsubcommands tobin/d3nexus. - Wires
resume_context.py --gate 1,--gate 4, and--gate 5intodev-brainstorminganddev-implementationso all 5 lifecycle gates are recorded deterministically in.devtool/GATE_LEDGER.md.
- Adds
Changed
- 3-Tier Epic Documentation Separation ("Prompt to Maintain" vs LLM Execution SSOT) (
skills/dev-designer/SKILL.md,skills/dev-implementation/SKILL.md,skills/dev-lifecycle/SKILL.md):- Human-Facing HLD (
<epic_name>.{en,vi}.md): Redesigned as a concise System Overview &Feature Maintenance Map ("Prompt to Maintain" Index)mapping capabilities to canonical source entry points, core invariants, and troubleshooting hooks; keeps 1 mandatory High-Level Architecture diagram and makes Sequence Diagrams conditional on multi-actor/async flows (dropping redundant Use Case flowcharts and embedded Gherkin duplicates). - Exhaustive Edge-Case & Exception BDD Suite (
bdd_scenarios.{en,vi}.md): Dedicated exclusively to adversarial boundary testing across the 5 dimensions, prioritizing malformed inputs (EC), invalid state transitions (ST), concurrency/race conditions (AR), and fault injection with atomic rollback invariants (FR). - Strict Bounded Context in
dev-implementation& Single-Pass Readiness Check: Phase 0 loads only orchestration metadata (handoff.md, HLD Maintenance Map & Integration Test Plan, and task headers), while Phase 2 loads one self-containedtask_*.mdSSOT at a time; Step 3 ofdev-designerruns single-passcheck_epic_readiness.pyand Phase 2 Step 7 skips redundant per-task rebase when localdevelophas not moved.
- Human-Facing HLD (
1.25.0 — 2026-11-07
Delivers the Contract & Authoring Ergonomics, Execution & Verification Infrastructure, and Multi-Epic Orchestration & Governance epics alongside Account Block Security Auditing (audit-account-block), Multi-Profile OS & IPC Boundary Hardening (Rule 9), Automated Gate 2 Handoff & Post-Review Quality Gates, Worktree-Aware IDE Theme & Title Synchronization, Scope-Aware NOT_APPLICABLE UI Audits, and Parallel + Two-Tier Cached scripts/verify.sh.
Added
- Contract & Authoring Ergonomics (
bin/d3nexus,skills/dev-implementation/):- Ships portable
bin/d3nexusCLI with zero-setup runtime dispatch acrosscheck-task-contract,check-epic-readiness,sync-task-status,run-task-checks,package-epic,audit-epic,run-external-review, andresume-context. - Adds
Evidence Filestask contract section, single-source task rendering (render_epic_tasks.py), shift-left R2/R3 parity checks, and verification row grammar diagnostics.
- Ships portable
- Execution & Verification Infrastructure (
skills/dev-implementation/resources/scripts/):- Adds task text replay engine (
replay_task_text.py), static anchor verification againstHEAD, andMEASUREphase execution. - Adds failure-set baseline recording (
record_failure_baseline.py) and regression comparison CLI (compare_failure_sets.py). - Enhances
bootstrap_worktree.shwith polyglot dependency detection (uv sync,npm,cargo,flutter), automatic.vscode/settings.jsonand.env*seeding fromREPO_ROOT, and immediate window title synchronization.
- Adds task text replay engine (
- Multi-Epic Orchestration & Governance (
skills/dev-implementation/resources/scripts/,scripts/resume_context.py):- Adds inter-epic
Depends Ondeclarations, readiness dependency resolution, and prerequisite task replay across queued epics. - Adds conflict-aware concurrent epic backlog management (
promote_epic_tasks.py) and bulk task promotion with file-overlap inspection. - Adds
package_epic.py --reviseworkflow and HLDSpec Erratacontract for in-place packaged epic revisions without silent handoff overwrites. - Adds structured Gate Approval Ledger in
scripts/resume_context.py(--gate,--status,--notes).
- Adds inter-epic
- Account Block Auditing & Multi-Profile OS Safety (
skills/audit-account-block/,rules/CRITICAL_RULES.md,scripts/agy_quota.py):- Adds
d3nexus:audit-account-blockskill to audit Antigravity profiles for cloned machine IDs, cross-account trajectory leaks, and 403 ToS suspension risks. - Codifies Rule 9 in
rules/CRITICAL_RULES.mdenforcing.zshrcbackup/syntax verification, host macOS default keychain protection, subshell-scoped profile environments, shared toolchain symlinks, and parent IPC handle stripping inag_run. - Upgrades
quota_dashboard.htmlandscripts/agy_quota.pywith live OpenAI usage API, Claude/Codex hashed session tracking, 30-minute init refresh throttling, and schedule auto-expiration.
- Adds
- Gate 4 Active Execution Lease & Receipt (
verify_polyglot_registry.py,integrate_branch.py):- Writes
.gate4_active.leaseduring active polyglot Gate 4 execution andgate4_receipt.jsonupon completion;integrate_branch.pyrefuses branch landing while a Gate 4 run is still in progress.
- Writes
Changed
- Automated Gate 2 Packaging & Post-Review Quality Gates (
skills/dev-designer/,skills/dev-lifecycle/,skills/dev-implementation/,skills/principal-review/,skills/cross-model-review/,rules/CRITICAL_RULES.md):- Automatically runs
package_epic.pyand/save-context(--gate 2,--state,--emit-prompt) upon Gate 2 approval and presents a single unified Handoff Choice (/principal-reviewvs/dev-implementationvsDone). - Automatically executes local mechanical quality gates (
Phase 4 / Gate 4in Stage 3;package_epic.py --revise+/save-contextin Stage 2) immediately after developer-approved review triage fixes are committed, while preserving the mandatory human Triage decision checkpoint.
- Automatically runs
- Scope-Aware UI Quality Checks & Impact Analysis (
audit_ui_state_and_styles.py,validate_web_quality.py,check_code_impact.py,*-quality-check/SKILL.md):- Short-circuits
ui_reviewwithstatus: "NOT_APPLICABLE"(code: "scope_unmodified") whengit diff --name-only <base_ref>...HEADmodifies zero UI files. - Upgrades
check_code_impact.pyto discovertests/**/test_<stem>.py, parse Pythoncoverage.json, and report 3 distinct states (MEASURED,TESTS_PRESENT_NO_REPORT,NO_TESTS_FOUND).
- Short-circuits
- Worktree-Aware IDE Theme & Context Reporting (
scripts/resume_context.py):- Resolves the primary repository root (
resolve_primary_repo_root) when running inside.worktrees/<epic_dir>soREPO_SIGNATURES(icon🔴/🟢/🔵/🟠and persistent title/status bar colors) are always preserved and synced to both primary repo and worktree.vscode/settings.json. - Separates base-branch progress, worktree-branch progress, and uncommitted dirty file counts in
scan_active_tasks.
- Resolves the primary repository root (
- Parallel & Cached Verification Runner (
scripts/verify.sh):- Replaces
root.rglob("*")in Section 8 withgit ls-files, combines Sections 1 & 1b into a single Python invocation, runs all 39unittestandpytestsuites in parallel viaThreadPoolExecutor(Longest-Job-First scheduling), and adds worktree-safe 2-tier content-hash caching (FULL_HASH:CODE_HASHin$GIT_DIR_PATH/.verify_tests_tree_cachewith--fulloverride), cutting full verification from ~151s to ~32s and cached runs to ~1s.
- Replaces
1.24.0 — 2026-11-05
Introduces the Web Quality Assurance Provider and Integration Quality Gate, delivers Playwright zero-console-and-layout-defect watchdog fixtures for TypeScript and Python, adds in-place Vanilla JavaScript JSDoc type-checking, implements Polyglot Gate 4 registry fan-out, embeds anti-rationalization doubt-driven workflow rules, adds automated manual smoke checklist generation, introduces component UI state and styling audits, and supports worktree-isolated window title synchronization with zero-context tool exemptions.
Added
- Web Quality Assurance Provider & Contract (
skills/web-quality-check/,skills/quality_check/):- Adds
d3nexus:web-quality-checkskill implementing Provider Result Contract v1 for Astro TypeScript and Vanilla JavaScript projects. - Adds
skills/web-quality-check/resources/scripts/validate_web_quality.pyto validate web quality configurations, run platform capabilities, verify genuine XML test results (build/test-results/), enforce execution freshness against Git HEAD, and ensure watchdog attachment evidence. - Adds
skills/web-quality-check/resources/scripts/run_playwright_harness.pyfor headless browser test execution and artifact capture. - Defines web quality capabilities (
type_check,lint,test_unit,test_e2e,ui_review,contracts) and standard profiles (pr,epic,release,scheduled).
- Adds
- Playwright Zero-Console-And-Layout-Defect Watchdog & Fixtures (
skills/web-quality-check/resources/templates/):- Delivers
playwright-zero-error.fixture.tsandplaywright_zero_error.pytest fixtures for TypeScript and Python environments. - Implements 4-tier watchdog protection: console error interceptor (
console.error, unhandled exceptions), 404 network failure trap (static assets, stylesheets, fonts), visual layout defect checker (assertVisualIntegrityinspecting unstyled defaults and CSS rule cascade), and consecutive duplicate text / DOM state leak detector. - Adds accessibility and visibility clipping filters to prevent false positives on hidden or offscreen elements.
- Delivers
- Vanilla JS JSDoc Type-Checking Engine (
skills/web-quality-check/resources/scripts/check_vanilla_js.py):- Provides in-place static type checking for Vanilla JavaScript files using TypeScript compiler (
tsc --project jsconfig.json --noEmit) without migrating to.ts. - Scaffolds
jsconfig.jsontemplate (skills/web-quality-check/resources/templates/jsconfig.template.json) withcheckJs: true, DOM lib types, and strict parameter inspection.
- Provides in-place static type checking for Vanilla JavaScript files using TypeScript compiler (
- Polyglot Gate 4 Registry & Multi-Provider Fan-Out (
skills/quality_check/resources/scripts/verify_polyglot_registry.py):- Implements concurrent fan-out and dispatch across multiple registered providers in
.agents/quality/check_quality.json. - Adds
--executerunner flag for end-to-end multi-provider quality gate runs. - Enforces repository SHA binding, Git HEAD verification, and rejects stale evidence or SHA drift.
- Scaffolds polyglot templates (
polyglot-check-quality.template.jsonandweb-quality.template.json) inskills/setup_quality_check/.
- Implements concurrent fan-out and dispatch across multiple registered providers in
- UI State & Styles Audit Engine (
skills/web-quality-check/resources/scripts/audit_ui_state_and_styles.py):- Implements static and AST analysis of CSS and styling declarations across HTML, Astro, and CSS files.
- Detects component-scoped style definitions, inline CSS attributes, and visual styling adherence.
- Includes worktree path filtering, git base diff cache-busting, and strict word boundary matching.
- Automated Manual Smoke Checklist Generator (
skills/dev-implementation/resources/scripts/generate_smoke_checklist.py):- Generates a concise 3-5 step
manual_smoke_checklist.mdupon epic completion, targeting extracted CLI and script entrypoints. - Drastically compresses manual verification time for human architects from 30 minutes to 2 minutes.
- Generates a concise 3-5 step
- Anti-Rationalization & Doubt-Driven Workflow Rules (
skills/test-driven-development/SKILL.md,skills/dev-implementation/SKILL.md):- Codifies strict Anti-Rationalization Tables banning test fakery, trivial unit mocks for Tier C integration tests, and ungrounded completion claims.
- Requires genuine integration test execution, real DOM logic assertions, and evidence-backed triage.
- Self-Verification Quality Manifest for
ai-agent-tools(.agents/quality/check_quality.json,.agents/quality/python-quality.json):- Registers
agent-tools-pythonquality provider executingruff format,ruff check,mypy,pytest tests, andverify.sh.
- Registers
- Worktree-Aware Window Title Sync & Fast-Execution Exemption (
scripts/resume_context.py,rules/CRITICAL_RULES.md):- Updates
sync_window_titleto detect git worktree paths and isolate window title updates to current worktree context, preventing clobbering primary repository titles. - Adds Section 8.1 Zero-Context and Fast-Execution Exemption in
CRITICAL_RULES.mdfor routine operational commands (/refresh-session,/setup_keybindings, git status/diff inspections).
- Updates
Changed
- Scenario Runner Constraints & Provenance Verification (
skills/dev-implementation/resources/scripts/result_reports.py):- Recognizes compiler and audit workflow integration patterns in test report summaries.
- Extracts explicit Tier tags from scenario metadata and enforces positive integration evidence.
- Extracts Dart test URL provenance and enforces classname runner provenance for Tier C integration verification.
- Quality Check Provider Acceptance (
skills/quality_check/resources/scripts/test_quality_provider_acceptance.py):- Updated to test multi-provider acceptance and contract compatibility across polyglot architectures.
1.23.0 — 2026-11-04
Introduces visual multi-epic workspace synchronization and persistent color customization, adds dynamic SQLite account & email ID extraction across 19 Antigravity profiles, guarantees multi-profile GUI isolation without cross-account title contamination, hardens Python 3.9 compatibility across all lifecycle tools and test suites, and publishes bilingual architecture specifications and implementation plans.
Added
- Visual Multi-Epic Workspace Synchronization Engine (
scripts/resume_context.py):- Adds
sync_window_titlewith support for--sync-title,--stage, and--profileCLI options. - Implements repository color signatures: 🔴
[LYRICS-SYNC](#7f1d1d), 🟢[D3NEXUS](#065f46), 🔵[NEXUS](#0d47a1), and 🟠[AGENT-TOOLS](#b45309). - Enforces persistent inactive bar parity: synchronizes
titleBar.inactiveBackgroundandstatusBar.inactiveBackgroundto match active theme backgrounds, eliminating IDE dimming when windows lose focus. - Formats window titles dynamically:
"<ICON> [<REPO_NAME>] [@<account_id>] <Vietnamese Epic Name> - <Stage / Task>". - Integrates Vietnamese Epic titles parsed from
.devtool/epic/<slug>/*.vi.mdH1 headers.
- Adds
- Dynamic SQLite Account & Email ID Extraction (
scripts/resume_context.py):- Adds
extract_email_id_from_profileinspectingstate.vscdb(google.google-antigravityonboarding storage) in read-only URI mode (file:...mode=ro). - Implements 4-tier account resolution precedence: CLI/environment override -> active process inspection (
ps -eo command) ->workspaceStorageMRU timestamp matching ->HOMEdirectory fallback. - Supports all 19 Antigravity profiles seamlessly (
brother,buivantrong8901,d3molt,daddy,danhdue,duedd,duvthinh403,hau,hoangcongtam690,khe,mau,molt,mommy,ngocanh000690,nguyenhieu000690,peter,phungthuy8901,tess,trananh). - Adds comprehensive unit test
test_extract_email_id_from_profileinscripts/test_resume_context.py.
- Adds
- Multi-Profile GUI Isolation & Rule Governance (
rules/CRITICAL_RULES.md):- Establishes Section 8.4 in
CRITICAL_RULES.mdmandating window title synchronization, active/inactive bar parity, and repository color signatures. - Separates personal identity (
User/settings.json) from workspace invariants (.vscode/settings.json), preventing cross-account title leakage when opening repositories directly from Antigravity IDE GUI (File -> Open Folder). - Updates template settings in
templates/.vscode/settings.jsonand canonical rule templatetemplates/.agents/rules/window_title_sync.md.
- Establishes Section 8.4 in
- Bilingual Specifications & Plans (
docs/superpowers/):- Publishes full bilingual High-Level Design (HLD) specifications:
docs/superpowers/specs/2026-11-04-visual-multi-epic-workspace-sync-design.en.mdanddocs/superpowers/specs/2026-11-04-visual-multi-epic-workspace-sync-design.vi.md. - Publishes full bilingual implementation plans:
docs/superpowers/plans/2026-11-04-visual-multi-epic-workspace-sync-plan.en.mdanddocs/superpowers/plans/2026-11-04-visual-multi-epic-workspace-sync-plan.vi.md.
- Publishes full bilingual High-Level Design (HLD) specifications:
Changed
- Python 3.9 Compatibility Hardening:
- Adds
from __future__ import annotationsacross 29 test and CLI tool scripts to enable PEP 604 type unions (type | None) on macOS default Python 3.9.6. - Adds backward-compatible UTC timezone fallbacks (
timezone.utc) insync_task_status.py,run_task_checks.py,run_external_review.py, andsync_contracts.py. - Hardens symlink loop detection in
sync_contracts.pyto catchRuntimeErrorraised by Python 3.9Path.resolve(). - Resolves
socket.timeoutexception inheritance inlocal_review.pyfor Python 3.9. - Replaces
itertools.pairwisewithzip(chats, chats[1:])intest_local_review.py.
- Adds
1.22.0 — 2026-11-03
Introduces contract diff gating across multi-repo Hub/Satellite topologies, adds diff-check engine and contract map validation to sync-shared-contracts, aligns quality check schemas across all 5 platforms, and publishes bilingual shared contracts quick-guides.
Added
- Contract Diff-Check Engine (
skills/sync-shared-contracts/resources/scripts/sync_contracts.py):- Adds
diff-checksubcommand with--contract-map,--base-ref,--hub-root,--format(text/json), and--strictoptions. - Implements contract map schema validation (
.agents/contracts/contract_map.json) with strict rule semantics and path safety checks. - Implements glob pattern matching (
rules[].includeandexclude) to detect modifications in contract-bound source files. - Resolves multi-domain Hub topologies and validates satellite outbound symlinks.
- Enforces base-ref resolution precedence (CLI
--base-ref, merge-base against upstream,origin/develop,origin/main, andHEAD~1fallback). - Enforces gap waiver proof tracking: verifies whether contract drifts or contract-bound code modifications are documented with valid active RFC/Gap references in
gaps_and_rfcs.md. - Integrates interactive and programmatic contract synchronization workflows (
check,brief,ack,diff-check).
- Adds
- Standardized
contract_diffQuality Provider Schemas (skills/*-quality-check/resources/schemas/):- Aligns and expands schema definitions across all 5 quality check platforms: Android (
android-quality.schema.json), Flutter (flutter-quality.schema.json), iOS (ios-quality.schema.json), Python (python-quality.schema.json), and Rust (rust-quality.schema.json). - Scaffolds contract diff capability placeholders and validation in quality provider test suites.
- Aligns and expands schema definitions across all 5 quality check platforms: Android (
- Contract Map Template (
skills/setup-shared-contracts/resources/templates/contract_map.json.tmpl): Adds canonical starter template for repo-level contract mapping. - Bilingual Shared Contracts Quick Guides (
docs/shared-contracts-quick-guide.en.md,docs/shared-contracts-quick-guide.vi.md): Detailed 626-line quick-lookup guides covering Hub & Satellite topologies, Canonical Contract Triad (api_contract.md,architecture_and_flow.md,gaps_and_rfcs.md), symlink configuration, drift detection (diff-check), gap lifecycles, and troubleshooting. - Expanded Contract & Lifecycle Unit Tests (
skills/sync-shared-contracts/resources/scripts/test_sync_contracts.py,scripts/test_lifecycle_document_contract.py): Adds 958 lines of unit tests covering contract map validation, glob patterns, base ref resolution, gap waivers, satellite quoting, and multi-domain hub topologies, plus contract diff gate assertions.
Changed
- Lifecycle Skills Integration (
skills/dev-brainstorming/SKILL.md,skills/dev-designer/SKILL.md,skills/sync-shared-contracts/SKILL.md,skills/setup-shared-contracts/SKILL.md):- Updates
dev-brainstorminganddev-designerto enforce contract diff gating and contract-first sequencing (task_01). - Updates
sync-shared-contractsdocumentation with fulldiff-checkCLI options, output formats, and CI integration. - Refreshes capability contract reference specifications for Python and Rust.
- Updates
1.21.0 — 2026-11-01
Adds a 30-second default safety delay buffer (offset) to scheduled pre-warming daemons in the refresh-session engine to guarantee complete cloud rate-limit rollover, updates CLI flags, and synchronizes bilingual quick-guides.
Added
- Safety Delay Buffer for Scheduled Daemons (
skills/refresh-session/resources/scripts/refresh_session.py):- Adds
--delayand--offsetoptions torefresh-session schedule. - Sets default delay buffer to 30 seconds for scheduled OS daemons (
--delay 30), ensuring background pings wake at the reset minute (e.g.05:00:00) but sleep 30 seconds to execute safely at05:00:30, absorbing any cloud rate-limit worker clock skew or delayed quota bucket replenishment. - Keeps on-demand manual pings immediate (
--delay 0) for zero-latency manual refreshes.
- Adds
- Delay Buffer Invariants & Unit Tests (
skills/refresh-session/resources/scripts/test_refresh_session.py): Adds 4 new unit tests verifying delay argument defaults (0 for ping, 30 for schedule), custom delay overrides, launchd plist argument generation with delay, and delay sleep execution (31 total unit tests).
Changed
- Native OS Daemon Integration (
skills/refresh-session/resources/scripts/refresh_session.py): Injects--delay <sec>into macOS launchd agent plists and Linux crontab commands, and displays delay buffer configuration in daemon status reports (• Delay buffer: 30s). - Bilingual Quick Guides & Skill Documentation (
skills/refresh-session/SKILL.md,docs/refresh-session-quick-guide.en.md,docs/refresh-session-quick-guide.vi.md): Documents the 30-second safety delay buffer across natural language examples, cheat-sheet command tables, and underlying architecture sections.
1.20.0 — 2026-11-01
Adds daily scheduling automation (Shift-Left Quota Staggering) to the refresh-session engine via macOS launchd and Linux crontab daemons, flexible time parsing, and comprehensive bilingual quick guides.
Added
- Daily Scheduled Session Pre-Warming Engine (
skills/refresh-session/resources/scripts/refresh_session.py): Addsschedulesubcommand supporting--time,--target,--status,--uninstall(--remove), and--json. Allows developers to schedule pre-warming daemons at custom hours (e.g.05:00,5h,6am) so rolling 5-hour quota windows reset ahead of deep work hours. - Flexible Natural Time Parser (
skills/refresh-session/resources/scripts/refresh_session.py): Parses standard 24-hour time (05:00,14:30), short hour (5h,6h,5,6), and 12-hour AM/PM (5am,5:30am,6pm,12pm) formats into(hour, minute)with robust validation. - Native OS Daemon Management (
skills/refresh-session/resources/scripts/refresh_session.py):- macOS: Generates launchd agent plist (
~/Library/LaunchAgents/com.d3nexus.refresh-session.plist) with absolute paths and injectedPATHenvironment, and controls lifecycle vialaunchctl load/unload. - Linux: Automates user crontab entries with idempotent comment block delimiters.
- macOS: Generates launchd agent plist (
- Bilingual Refresh-Session Quick-Guides (
docs/refresh-session-quick-guide.en.md,docs/refresh-session-quick-guide.vi.md): Detailed quick-lookup cheat sheets covering all chat and CLI commands, Shift-Left Quota Staggering strategy, launchd troubleshooting, and logs inspection. - Expanded Scheduling Unit Tests (
skills/refresh-session/resources/scripts/test_refresh_session.py): Adds 14 unit tests covering 24h, short hour, and AM/PM time parsing, plist generation, daemon install/status/uninstall workflows, and schedule CLI argument parsing (27 total unit tests).
Changed
refresh-sessionSkill Documentation (skills/refresh-session/SKILL.md): Documents natural language scheduling triggers, daily daemon configuration commands, flexible time format examples, and links to the bilingual quick guides while preserving 100% backward compatibility for on-demand pings.
1.19.0 — 2026-11-01
Adds the refresh-session skill and engine for pre-warming 5-hour rolling session windows with minimum token consumption and zero skill initialization, formalizes review triage standardization and sticky review preferences, and strengthens context memory and task observer resilience.
Added
refresh-sessionskill and engine (skills/refresh-session/SKILL.md,skills/refresh-session/resources/scripts/refresh_session.py,skills/refresh-session/resources/scripts/test_refresh_session.py): Pings Claude Code CLI (claude) and OpenAI Codex CLI (codex) inside an ephemeral isolated sandbox to pre-warm or refresh rolling 5-hour quota windows with near-zero tokens (~50 tokens on Claude, 1,645 tokens on Codex) and zero skill/plugin/MCP initialization.- Release Verification Harness Section 16 (
scripts/verify.sh): Adds automated Section 16 verifying therefresh-sessionCLI engine contracts, sandboxed temporary directory execution, isolation flags, and unit test suite.
Changed
- Review Triage Standardization & Sticky Preferences (
skills/dev-implementation/resources/scripts/run_external_review.py,skills/dev-implementation/resources/scripts/test_run_external_review.py): Enforces a unified 4-bullet triage header (Candidate SHA,Reviewer,Thinking Level,Verdict), persists sticky per-provider reviewer preferences in.devtool/review_config.json, implements dynamic Claude--effort/--thinkingflag probing, and embeds senior 5-layer reviewer verification instructions. - Context Memory & Task Observer Resilience (
scripts/resume_context.py,skills/task-observer/SKILL.md): Ignores volatile Tier 2 runtime state files in status checks, fixes nested repository.devtoolpath resolution, and guards zsh session-start glob expressions againstno matches founderrors.
1.18.0 — 2026-10-31
Reminds brainstorming sessions about shared-contract drift and lets Rust quality manifests call plugin scripts without machine-specific paths.
Added
{skills_dir}placeholder (skills/rust-quality-check/SKILL.md,skills/rust-quality-check/references/rust-capability-contract.md): Capability commands may start an argument with{skills_dir}, which the provider resolves to the installed plugin'sskills/directory.
Changed
- Contract reminder in brainstorming (
skills/dev-brainstorming/SKILL.md): Whenshared-contracts/exists, run the read-onlycheckandbriefand record shared-contract impact in the spec. Neverackduring brainstorming.
1.17.0 — 2026-10-31
Adds the Tri-Role Context Memory Quick-Guide, robust multi-line array parsing and metafied zsh history decoding in --sync-zshrc, automatic sibling workspace repository context harvesting in resume_context.py, and external review runner hardening across Antigravity and Claude CLIs.
Added
- Tri-Role Context Memory Quick-Guide (
docs/context-memory-quick-guide.en.md,docs/context-memory-quick-guide.vi.md): Comprehensive bilingual quick-guide detailing the Tri-Role operating model (Role 2.1 Human Architect, Role 2.2 AI Assistant, Role 2.3 AI Programmer), a 10-second command cheat-sheet, and 5 step-by-step workflow scenario playbooks (Principal Review, AI Programmer task execution, Cross-Model Review, Independent Technical Discussion, and Interrupted Session Resume). - Updated Lifecycle State Diagrams (
docs/lifecycles.en.md,docs/lifecycles.vi.md): Synchronized Mermaid lifecycle and resume diagrams annotated with Tri-Role governance personas and context restoration checkpoints. - Sibling Workspace Repository Auto-Harvest (
scripts/resume_context.py,docs/architecture/resume_context.py): Automatically discovers and scans sibling repositories (ai-agent-tools,D3Nexus,lyrics-sync,nexus) when executed from within any individual repository directory, displaying Git working tree status across all repos, open contract RFCs inD3Nexus/shared-contracts/*/gaps_and_rfcs.md, and active Kanban tasks.
Changed
- Multi-Line Array & Metafied Byte History Sync (
scripts/resume_context.py,docs/architecture/resume_context.py): Hardensupdate_zshrc_sync_itemsto cleanly parse multi-linesync_items=(...)arrays containing comment lines (# ...), and decodes.zsh_historywitherrors="replace"to handle non-UTF-8 metafied bytes (0x83) on macOS. - External Review Runner Hardening (
skills/dev-implementation/resources/scripts/run_external_review.py): Tolerates severity tags without square brackets in reviewer output, strips backtick wrappers from integration results and roots in HLD files, adds--dangerously-skip-permissionsto Antigravity CLI invocations, and supports optional--developer-notein Principal Review prompts. - BDD Traceability & Task Execution Tooling (
skills/dev-implementation/resources/scripts/check_bdd_traceability.py,skills/dev-implementation/resources/scripts/compute_execution_order.py,skills/dev-implementation/resources/scripts/result_reports.py): Normalizes whitespace and comma separation in Covers declarations, supports both&andandin dependency headers while including completed tasks fromfeatures/done/, and improves Dart test event JSON stream detection. - Brainstorming Server Idle Timeout (
skills/dev-brainstorming/scripts/server.cjs): Extends default idle timeout to 4 hours, configurable viaBRAINSTORM_IDLE_TIMEOUT_MS.
1.16.0 — 2026-10-31
Delivers Two-Tier Project Memory (scripts/resume_context.py), Tri-Role Governance Model, multi-profile shell environment & shared history synchronization, new resume-context and save-context skills, Critical Rule 8 in CRITICAL_RULES.md, automatic context hooks across all 9 dev-lifecycle skills, and full JSON harvest export.
Added
- Two-Tier Context Engine (
scripts/resume_context.py,docs/architecture/resume_context.py): Delivers a zero-dependency Python CLI engine providing Tier 1 permanent project memory (.devtool/PROJECT_LEDGER.md) and Tier 2 active feature isolation (.devtool/state/<epic_slug>.md$\le 20$ lines and.devtool/logs/activity_<epic_slug>.log) protected by exclusivefcntl.flockconcurrency locking (.devtool/.memory.lock). Automatically resolves primary repo root from git worktrees (git rev-parse --git-common-dir) and generates unified rollups into.devtool/assistant_state.mdand.devtool/activity_stream.log. - JSON Harvest Serialization (
scripts/resume_context.py): Adds--jsoncapability to export comprehensive context telemetry in machine-readable JSON format, including ledger milestones, active state snapshots, recent programmer activity logs, git working tree status, open contract RFCs, and active Kanban tasks. - Tri-Role Persona Governance Discipline: Formalizes and enforces strict persona boundaries: Human Architect (Role 2.1 — Strategic decisions & approval gates), AI Assistant (Role 2.2 — Technical Advisor & Reviewer, strictly prohibited from editing production code), and AI Programmer (Role 2.3 — Senior TDD Software Engineer, executing Kanban tasks under strict TDD and bounded context boundaries). Deterministic handoff prompt emission via
--emit-promptcovers 5 standard lifecycle scenarios (principal-review,implement,cross-review,finish,assistant). - Standalone
resume-context&save-contextSkills (skills/resume-context/,skills/save-context/): New core skills to restore context on startup, check environment health, persist real-time decisions and activity logs to disk, and save non-destructive checkpoints without premature feature archiving. - Mandatory Memory & Persona Rule in Critical Rules (
rules/CRITICAL_RULES.md): Adds Section 8 establishing non-negotiable two-tier project memory hygiene, strict 20-line state ceiling, advisory file locking, and Tri-Role persona discipline across all agent runtimes. - Multi-Profile Shell Environment & History Sync (
scripts/resume_context.py --sync-zshrc): Synchronizes.zshrcacross Antigravity and user home directories (~/.zshrcandantigravity_homes/*), establishes real-time shared history (HISTFILE="$REAL_HOME/.zsh_history",SHARE_HISTORY), creates symlinks (Projects -> AllProjects), and defines universal shell aliases (alias resumeandalias save-context). - Release Verification Harness Section 15 (
scripts/verify.sh): Adds automated Section 15 verifying context memory management CLI capabilities, multi-epic concurrency locking, worktree routing, legacy migrations, and Tri-Role governance rules.
Changed
- Dev-Lifecycle Skills Context Integration: Integrates automatic
resume_context.pystate/activity recording and handoff prompt hooks across 9 dev-lifecycle skills and templates (dev-brainstorming,dev-designer,dev-lifecycle,dev-implementation,principal-review,cross-model-review,finishing-a-development-branch,handoff-template.md, andprincipal-review.md). - Dev-Implementation Pre-Finish Hook: Extends Stage 4 Pre-Finish Hook to execute
python3 scripts/resume_context.py --complete <slug> "<milestone>"to record permanent milestones and archive feature states upon branch landing.
1.15.0 — 2026-10-25
Adds support for the Antigravity CLI (agy) with Gemini 4 Argon (Medium) as an external review engine for both Principal Review (Shift-Left design verification) and Cross-Model Review (Shift-Right code verification).
Added
- Antigravity CLI (
agy) Review Engine (skills/dev-implementation/resources/scripts/run_external_review.py): Integratesagyinto the review runner with sandboxed execution (--sandbox --mode plan), automatic stdin streaming, and default model configuration to"Gemini 4 Argon (Medium)". Supports custom model overrides via--model. - Review CLI Selection Coverage: Expands CLI choices across
--kind principaland--kind codeto includeagyalongsideclaude,codex, andollama. - Automated Test Suite for
agyCLI (skills/dev-implementation/resources/scripts/test_run_external_review.py): Adds unit tests verifyingagyexecution flags, sandboxing, model defaults, and output parsing in both code review and principal review modes.
Changed
- Principal Review Procedure & Choice Prompt (
skills/dev-lifecycle/references/principal-review.md,skills/principal-review/SKILL.md): Updates the packaging checkpoint prompt and documentation to offer Antigravity CLI (agy --model "Gemini 4 Argon (Medium)") alongside Claude CLI and Codex CLI. - Review Choice at Gate 4 (
skills/dev-implementation/SKILL.md,skills/dev-lifecycle/SKILL.md,skills/cross-model-review/SKILL.md): Extends Gate 4 Review Choice Option 2 prompt (command -v claude codex agy) to include Antigravity CLI. - Critical Rules & Lifecycle Documentation (
rules/CRITICAL_RULES.md,docs/lifecycles.en.md,docs/lifecycles.vi.md): Authorizesagyunder Critical Rules 5 & 6 as an allowed review CLI, and updates bilingual architecture documentation and triage guides.
1.14.0 — 2026-10-23
Decouples external AI review into two standalone skills (principal-review and cross-model-review), adds ad-hoc document and branch diff review modes with live streaming triage, establishes Critical Rules banning autonomous review triggers and infinite loops, and refactors orchestrators to delegate to the new standalone review skills.
Added
- Standalone Principal Review Skill (
skills/principal-review/): Extracts design document verification into a reusable, modular skill (d3nexus:principal-review) equipped with prompt templates, severity classification rules (Critical, Important, Minor), and revision loop protocols. - Standalone Cross-Model Review Skill (
skills/cross-model-review/): Extracts multi-model and local code review into an independent skill (d3nexus:cross-model-review) covering Claude CLI, Codex CLI, and local Ollama review passes, with dedicated triage protocols and setup guides. - Ad-Hoc Review Modes (
skills/dev-implementation/resources/scripts/run_external_review.py): Adds--document <path>for standalone document reviews outside epics and--diff-range <base..head>for ad-hoc git diff reviews between branches or commits. - Streaming Review & Live Triage Output (
skills/dev-implementation/resources/scripts/run_external_review.py): Streams raw model response tokens and dynamically extracts and renders live markdown triage tables as reviewer findings emerge. - Critical Rules Against Autonomous Reviews & Infinite Loops (
rules/CRITICAL_RULES.md): Mandates strict human checkpointing by forbidding AI agents from autonomously triggering Principal or Cross-Model reviews, and strictly prohibiting infinite re-review chaining by requiring human self-review and explicit developer confirmation after fixing findings.
Changed
- Orchestrator Delegation Refactor (
skills/dev-lifecycle/SKILL.md,skills/dev-implementation/SKILL.md): Refactors Stage 2 Gate 2 and Stage 3 Gate 4 review phases to invoked3nexus:principal-reviewandd3nexus:cross-model-reviewdirectly while preserving hard gate invariants and loop properties. - Bilingual Lifecycle & Architecture Documentation (
docs/lifecycles.en.md,docs/lifecycles.vi.md): Updates Mermaid flowcharts, subgraphs, and bilingual text to document the standalone review skills at Stage 2 and Stage 3. - Task Archival & Lifecycle Sync: Finalizes the
split_review_skillsepic with 100% test coverage and 19/19 BDD scenario traceability, archiving completed tasks into the epic record.
1.13.0 — 2026-10-21
Introduces full offline Local Model Review powered by Ollama, dependency-aware diff slicing with token budget enforcement, shared platform review checklists, multi-pass aggregation and triage tooling, 3-option Review Choice at Gate 4, and resilient test result parsing.
Added
- Local Model Review via Ollama (
skills/dev-implementation/resources/scripts/local_review.py,skills/dev-implementation/resources/scripts/run_external_review.py): Delivers a 100% free, offline, private code review engine connecting directly to local Ollama models (qwen2.5-coder:14b,deepseek-r1:14b,llama3.3:70b, etc.) over streamed NDJSON HTTP transport with automatic endpoint health checks and timeout controls. - Dependency-Aware Diff Slicing & Token Budgets (
skills/dev-implementation/resources/scripts/local_review.py): Intelligently chunks complex code diffs into bounded slices topologically ordered by dependency depth and constrained by configurable token budgets (--token-budget,--pass-budget), with graceful snippet markers ([SNIP: remainder of file diff exceeds slice budget]) to prevent context window blowouts. - Shared Platform Review Checklists & Verification Rules (
skills/dev-implementation/references/review-rules.md,skills/dev-implementation/references/local-review-*.md): Centralizes universal verification standards across mobile (Flutter, Android, iOS), web, Python, and Rust stacks, shared seamlessly between external reviewers (Claude/Codex CLI) and local reviewers (Ollama). - Multi-Pass Finding Aggregation & Deduplication (
skills/dev-implementation/resources/scripts/local_review.py): Executes concurrent or sequential review passes with live progress streaming, deduplicating matching findings across passes and producing structured markdown rounds inreview_results.md. - Review Triage & Round Comparison Subcommands (
skills/dev-implementation/resources/scripts/run_external_review.py): Addsrun_external_review.py triageto classify findings (accept/reject/fix) andrun_external_review.py compareto track resolution and regression deltas across successive review rounds.
Changed
- 3-Option Review Choice at Gate 4 (
rules/CRITICAL_RULES.md,skills/dev-lifecycle/SKILL.md,skills/dev-implementation/SKILL.md): Extends the post-Gate 4 review decision to offer three explicit paths: Option 1 (Finish to Gate 5), Option 2 (Local model review via Ollama), and Option 3 (Cross-model review via Claude CLI or Codex CLI). Any findings generating Fix commits mandate a full Gate 4 rerun before offering Review Choice again. - Bilingual Lifecycle & Architecture Documentation (
docs/lifecycles.*,docs/choosing-a-lifecycle.*): Updates English and Vietnamese documentation, flowchart diagrams, and lifecycle guides to reflect the 3-option Review Choice workflow and local review capabilities. - Resilient Test Result Parsing & Archive Slug Matching (
skills/dev-implementation/resources/scripts/result_reports.py,skills/dev-implementation/resources/scripts/sync_task_status.py): Protects Dart test event parsing from malformed JSON lines or non-dict payloads, and supports interchangeable hyphens and underscores in epic directory slugs during task archival.
1.12.0 — 2026-10-19
Introduces mechanical task tamper protection, deterministic fast-model contract checks, bounded context injection, dynamic cross-model review recommendation at Gate 4, runtime skill slimming with diagram relocation to bilingual docs, and strict Python TIER-B verification.
Added
- Mechanical Task Tamper Guard (
skills/dev-implementation/resources/scripts/run_task_checks.py): Halts task execution and evidence collection (TASK_TAMPERED_ERROR) if active task files or their epic mirrors deviate in core sections (Files,Verification,Definition of Done, orCovers) from each other or committedHEAD. - Deterministic Fast-Model Contract Checks (
skills/dev-implementation/resources/scripts/check_task_contract.py): Rejects pytest-kexpressions without exact node IDs (path/to/test.py::test_name), bans weak assertion patterns in BDD scenarios (should be truthy,returns non-empty), and requires non-empty grounded decisions for executable tasks. - Dynamic Cross-Model Review Recommendation (
skills/dev-lifecycle/SKILL.md): Dynamically prompts for Claude CLI or Codex CLI review at Gate 4 when fast executor models performed task execution. - Bounded Context Injection Protocol (
skills/dev-designer/SKILL.md,skills/dev-lifecycle/references/handoff-template.md): Establishes strict receiving-LLM execution guardrails (Bounded context, Strict spec fidelity, Zero test fakery, No contract repair) and mandatorily enforces grounded decision anchors and TOC generation. - Semantic Test Integrity Governance (
skills/dev-implementation/SKILL.md,skills/dev-implementation/resources/scripts/audit_epic.py): Gate 4 audit rejects reconstructed production logic in test fixtures, synthetic fixture substitutions, and wrapper exit code rewriting.
Changed
- Runtime Skill Slimming & Diagram Relocation (
skills/dev-lifecycle/SKILL.md,skills/dev-implementation/SKILL.md,docs/lifecycles.*): Slimsdev-lifecyclebelow 2,500 words anddev-implementationbelow 4,500 words, removing all Mermaid fences from runtime skills while embedding synchronized bilingual state and resume diagrams in human-facing documentation. - Python TIER-B Requirement Enforcement (
skills/dev-implementation/resources/scripts/check_task_contract.py): Requires Python tasks to accompany linting with type checking (mypy,pyright,ty) or registered quality provider suites. - Pytest RED Recording Semantics (
skills/dev-implementation/resources/scripts/run_task_checks.py): Validates failure summaries to prevent exit 1 test selection or syntax failures from falsely recording as valid RED proof.
1.11.0 — 2026-10-18
Universalizes CRITICAL RULES across all AI Agent plugins and runtimes, restructures the Review Choice workflow into a strict post-Gate 4 verification loop, and enhances external review execution with live ANSI status streaming.
Added
- Universal Multi-Plugin Governance (
rules/CRITICAL_RULES.md): Extends mandatory critical rules to all AI Agent plugins, orchestrators, and subagents (Claude Code, Antigravity IDE, Cursor, Codex, Windsurf, OpenCode, and custom plugins) across projects and repositories. - Mandatory Review Choice Rule: Strictly forbids bypassing Review Choice or auto-selecting Finish. Mandates developer choice between Finish and Cross-model review before proceeding to branch completion.
- Live Status Streaming for Preconditions (
skills/dev-implementation/resources/scripts/run_external_review.py): Displays real-time ANSI status indicators and blocking step diagnostics while gathering audit and traceability facts.
Changed
- Looped Review Choice Workflow (
skills/dev-lifecycle/SKILL.md,skills/dev-implementation/SKILL.md): Moves Review Choice to evaluate after Gate 4 PASS (Gate 4 PASS → Review Choice; Finish → Gate 5; Cross-model review → Gate 4 in full). Every review round, decision, or Fix commit invalidates candidate SHA and requires a full Gate 4 rerun. - Lifecycle Documentation & Diagrams Synchronized (
docs/lifecycles.*,docs/choosing-a-lifecycle.*,templates/AGENTS.md): Updates English and Vietnamese documentation, flowchart diagrams, and templates to reflect the 5 approval gates, Handoff Choice, and post-Gate 4 Review Choice loop.
1.10.0 — 2026-10-18
Hardens the cross-model review workflow against parsing failures and malformed table rows, adds a fail-fast precondition architecture to protect API credit budgets, introduces smart hybrid diff inlining with multi-stack exclusions, and adds test quality rules prohibiting vacuous false-PASS loops.
Added
- Smart Hybrid Diff Inlining (
skills/dev-implementation/resources/scripts/run_external_review.py,skills/dev-implementation/references/external-review-prompt.md): Automatically inlines the filtered code diff directly into the prompt when within budget (<=1,500 lines and <=60 KB), transforming common reviews into single-turn executions while preventing prompt blowout on large changes. Full file change statistics (git diff --stat) are always included for complete visibility. - Multi-Stack Noise Excludes: Comprehensive exclusion filters automatically omit noisy lock files, Flutter/Dart codegen (
*.g.dart,*.freezed.dart), Android Gradle wrappers, Xcode metadata and assets (*.pbxproj,*.xcassets,*.storyboard,*.xib,*.xcstrings), Rust/Python generated protobufs/snapshots, and minified web assets from the inlined diff. - Fail-Fast Precondition Gates:
collect_factsnow immediately halts execution (exit code 2 withPreconditionFailedError) without invoking the AI CLI ifaudit_epic.pyfails, if any integration test command exits non-zero or times out, or ifcheck_bdd_traceability.pyfails, preventing wasted AI credits on broken builds. - Facts Timeout Isolation: Added
--facts-timeoutparameter (default: 300s) separated completely from the AI reviewer CLI execution--timeout(default: 1800s). - Test Quality & Assertion Health Rule (
HLT-TEST-01) (skills/code-health-audit/SKILL.md,skills/dev-implementation/SKILL.md): Prohibits candidate iteration loops on build artifacts (e.g. WASM binaries, shared libraries, generated schemas) that assert conditions only insideif path.exists()without validating evaluated counts (assert!(found > 0)).
Changed
- Resilient Verdict & Finding Parser:
run_external_review.pynow tolerates Markdown bold markers (**Verdict:** PASS), headings (### Verdict: CHANGES REQUIRED), and case variations. Severity tags (Critical,Important) are normalized to Title Case for case-sensitive blocking checks.UNPARSED_BLOCKINGstrictly requires bracketed tags to avoid false positives on conversational list items. - Table Cell Sanitization: Strips Windows carriage returns (
\r), converts internal newlines (\n) to spaces, and escapes pipe characters (\|) so each finding stays on exactly one table row, eliminatingunreadable findings rowfailures. - Prompt Hierarchy & Negative Constraints: Instructs reviewers on task-level scope vs. Gate 4 workspace quality orchestrator, compiled language TDD RED semantics, and strictly forbids bracketed severity tags in prose above the final verdict block.
Fixed
- Template Dollar Sign Collisions: Switched prompt generation to
Template.safe_substitute()so diffs containing raw shell variables ($VAR) or regex patterns do not crash the runner.
1.9.1 — 2026-10-16
Lets epic status synchronization handle overview documents that write the colon inside the bold label.
Fixed
- Epic Status lines with the colon inside the bold (
skills/dev-implementation/resources/scripts/sync_task_status.py):sync_task_status.py epic <epic_dir> <status>now rewrites- **Status:** …and- **Trạng thái:** …as well as- **Status**: …, so overviews written in that style no longer keep a stale Status after packaging, resuming or archiving.
1.9.0 — 2026-10-16
Makes epic tasks verifiable when they are handed to another model: a task reaches done only through evidence a script recorded by running the task's declared commands, traceability is proved by test results rather than identifier strings, every grader change is disclosed at Gate 4, and the developer can have the finished epic reviewed by the Claude CLI or the Codex CLI before Gate 4.
Upgrade notes
- Epics in flight must be retrofitted. For a code epic (an overview with an
Integration test roots:line),sync_task_status.py task <id> donenow refuses a task file without a## Verificationsection with "retrofit required". Retrofit the remaining tasks through dev-designer's Updating an Existing Epic before continuing. Document epics are unaffected. - Run the done gate in the epic worktree. It reads the evidence of the checkout it runs in and refuses from a checkout that lacks the task.
- Results reports must be git-ignored (for example
build/), and results paths are read per file: only reports written by the current run count.
Added
- Task contract (
skills/dev-designer/): task files gain## Files(Allowed files:with(new)markers,Read-only context:), a## Verificationtable (ID | Phase | Command | Expect | Needs, phasesRED/GREEN/TIER-B/TIER-C,RED: n/a — <reason>), Definition of Done bullets that reference rows or(Gate 5),## Stop and Report Ifand## Decisions Already Made. HLDs gainProtected paths:,Integration results:and a## Verification Environmentsection. Newreferences/verification-rows.mdgives example rows and report commands per platform. - Design-time contract check (
check_task_contract.py [--design]): structure, grounding of paths and commands against the repository, and HLD declarations, run at dev-designer Step 3, the packaging preflight and Gate 3. - Evidence recorder (
run_task_checks.py red|verify|status): runs a task's Verification rows, checks scope against Allowed files and protected paths, and writes.devtool/epic/<epic_dir>/evidence/<task_id>.jsonwith a tree fingerprint and patch-id;statuspreviews the done gate. - Done gate (
sync_task_status.py task <id> done): refuses a code-epic task unless its recorded evidence matches the current table and tree, RED preceded the change, every covered identifier has a passing test case, and SCOPE passed. - Result-based traceability (
check_bdd_traceability.py tests --results,result_reports.py): reads JUnit XML and the Dart JSON reporter; an identifier passes only with a passed, non-skipped test case named after it. - Gate 4 audit (
audit_epic.py): checks every done task's committed evidence against its table and discloses protected-path changes, grader amendments, commits outside tasks and(Gate 5)items. - Cross-model review (
run_external_review.py run|check,references/external-review-prompt.md): after the last task, dev-implementation offers a Review Choice; the developer picks the Claude CLI or the Codex CLI, the reviewer runs read-only, rounds are recorded inreview_results.md, and Critical or Important findings block Phase 4 until each has a decision. - Standard-library JUnit runner (
scripts/run_unittest_junit.py) for the kit's ownunittestsuites, and the epic's end-to-end and skill-text tests wired intoscripts/verify.sh.
Changed
- One owner per identifier:
check_bdd_traceability.py planfails an identifier named on more than one task'sCovers:line. - dev-implementation: Phase 2 records
redandverifyand passes the done gate before the single task commit; fixes made after the last task land as[<EPIC>] Fix …commits disclosed by the audit; Phase 4 runs the review check,audit_epic.py, the Integration results commands,tests --results, thenquality_check. - dev-lifecycle and the handoff template: Gate 4 criteria name the audit and result-based traceability; the packaging preflight runs the contract check; receiving agents never edit a task's grader sections.
- subagent-driven-development: for a task with a Verification table, the evidence file is the test evidence, implementers leave the change uncommitted, reviewers run
run_task_checks.py status, andreview-packagegains aWORKTREEmode for uncommitted diffs.
Fixed
- Done tasks reach
done/(sync_task_status.py):task <id> donemoves each checkout's.devtool/features/<task_id>.mdinto.devtool/features/done/, and back when the status leaves done, so the finishing hook'sarchive-donefinds them.
1.8.1 — 2026-10-16
Tightens BDD integration traceability and epic lifecycle reliability: prevents ignored files from masking missing test coverage, accepts prose in task Covers: lines, reports non-UTF-8 files as usage errors, discovers remote-only epic branches before fetching, and fixes handoff staleness checks and queued packaging.
Added
- Lifecycle Signal Integration Tests (
scripts/test_lifecycle_signals.py): Standalone integration test suite testing lifecycle git signals against throwaway repositories: verifies remote branch discovery (git ls-remote --heads), fallback on unreachable remotes, handoff staleness check scoping against base branch, and queued epic packaging status synchronization and grep validation. Integrated intoscripts/verify.sh. - Gitignore-Aware Test File Discovery (
skills/dev-implementation/resources/scripts/check_bdd_traceability.py): Scans integration test roots usinggit -C <root> ls-files --cached --others --exclude-standard -zso generated test reports, vendored code, and gitignored artifacts never count toward BDD scenario coverage. Falls back to directory walking when run outside a git repository. - Python E2E Integration Roots Default (
skills/dev-designer/): Addstests/e2e/alongsidetests/integration/in default integration test roots for Python projects.
Changed
- Fault-Tolerant Covers Parsing (
skills/dev-implementation/resources/scripts/check_bdd_traceability.py): Matches BDD scenario identifiers by token shape (ID_TOKEN) acrossCovers:lines, cleanly accepting trailing punctuation and descriptive prose (e.g.,Covers: SCN-01 (happy path), SCN-02.) without causing false "unknown identifier" failures. - Strict UTF-8 Enforcement (
skills/dev-implementation/resources/scripts/check_bdd_traceability.py): Requires scenario documents (.en.md,.vi.md) and task files to be valid UTF-8, exiting immediately with usage code 2 and a clear error message instead of unhandled decode exceptions. - Direct Remote Branch Discovery (
skills/dev-implementation/): Entry-Point Detection checks remote branches usingfor remote in $(git remote); do git ls-remote --heads "$remote" "epic/<epic_slug>"; done, detecting epic branches pushed from other clones before any localgit fetchruns, and falling back gracefully on unreachable remotes. - Handoff Staleness Scoping (
skills/dev-lifecycle/references/handoff-template.md): Scopes the handoff staleness check against<base_branch>instead ofHEAD, preventing task commits on the epic branch from triggering false "stale handoff" warnings. Handles uncommitted designs whenauto_commitis false. - Queued Epic Packaging & Review Re-Entry (
skills/dev-lifecycle/,skills/dev-implementation/): Preserves queued status when packaging epics (Packaged (queued behind <epic>)), allows interrupted tasks atreviewto re-enter at review verification instead of restarting implementation, and permits BDD retrofit commits to carry interrupted task status fields.
1.8.0 — 2026-10-15
Introduces automated 100% BDD-to-Test integration traceability tooling with Gate 4 verification, formalizes Stage 4 (Gate 5) Epic Handoff Choice and packaging lifecycle, and integrates entry-point detection and in-flight epic resume capabilities into dev-implementation.
Added
- BDD Integration Traceability Tooling (
skills/dev-implementation/resources/scripts/check_bdd_traceability.py): Standalone CLI tool withplanandtestsmodes enforcing 100% traceability between Gherkin BDD scenario identifiers (e.g.[SCN-FEATURE-001]) and executable test cases. Validates bracketed IDs, checks for stale references, and verifies test suites directly. - Scenario IDs and Covers Mapping in Design (
skills/dev-designer/): Requires all BDD scenarios to carry uppercase hyphenated scenario IDs, mandates aCovers:metadata line in Kanban task files, and requires Tier C BDD Automation coverage across all testable requirements. - BDD Traceability Enforcement in Implementation (
skills/dev-implementation/): Enforces that the System Integration Engineer (Tier C persona) authors an automated test for every identifier in the task'sCovers:line. Gates task completion oncheck_bdd_traceability.py tests --idsexit 0, and runs full traceability verification beforequality_checkin Phase 4. - Gate 4 BDD Traceability Verification (
skills/dev-lifecycle/): Mandates thatcheck_bdd_traceability.py testsexits 0 alongsidequality_checkPASS on the exact same commit SHA before passing Gate 4. - Epic Handoff Choice & Packaging Lifecycle (
skills/dev-lifecycle/): Introduces formal Stage 4 (Gate 5) handoff protocol with 4 explicit delivery options:- Pull Request & Review: Push branch, open PR, and delegate to
pr_review. - Push Branch: Push epic branch to remote and notify user.
- Local Merge: Fast-forward / rebase merge directly to local base branch with post-merge verification.
- Pack & Park: Clean worktree, preserve branch, and archive tasks into
.devtool/epic/<epic_dir>/for future handoff.
- Pull Request & Review: Push branch, open PR, and delegate to
- Entry-Point Detection & Epic Resume (
skills/dev-implementation/): Auto-detects whether an epic is starting fresh (Row 1) or resuming from an existing branch or worktree (Rows 4/6). Recreates worktrees when needed, discovers entry points, and provides BDD mapping retrofits for epics created before scenario identifiers.
1.7.1 — 2026-10-12
Enforces 100% BDD-to-Test Traceability rule across lifecycle design, implementation, and observation skills. Extends dev-designer, dev-implementation, and writing-plans with automated Tier C integration test suites and live web browser verification, introduces dedicated Web Frontend Tri-Persona and Python Clean Architecture support across project detection, worktree bootstrap, and 3-Tier Testing discipline.
Added
- 100% BDD-to-Test Traceability Rule: Enforced across
dev-designer,dev-implementation,writing-plans, andtask-observer. Mandates that 100% of BDD scenarios ([Tier A - Unit]and[Tier C - Integration]) inbdd_scenarios.*.mdand task files map 1-to-1 to executable test cases; tasks and epics cannot be marked complete without full test suite coverage. - Web Frontend Tri-Persona Architecture (
skills/dev-implementation/): Introduces specialized Web Tri-Persona execution blocks (##### 🌐 If Project Type is web:) specifyingnode --test/ Vitest for Tier A unit testing,tests/e2ehost integration suites for Tier C, and live web browser verification viabrowser_subagentrecording video (.webp) and screenshot artifacts. - Python Project Detection & Worktree Bootstrap (
skills/dev-implementation/resources/scripts/): Extendsdetect_project_type.shto recognize Python environments (pyproject.toml,setup.py,Pipfile,requirements.txt), andbootstrap_worktree.shto synchronize dependencies usinguv sync(with fallback topoetry installorpip install -r requirements.txt). - Python 3-Tier Testing Standard & Tri-Persona (
skills/dev-designer/,skills/dev-implementation/): Integrates Python into the canonical 3-tier testing standard:- Tier A (Unit Tests):
pytest tests/unit/usingpytest-mockandunittest.mock. - Tier B (Tooling & Governance): Ruff formatting and linting (
ruff check .,ruff format --check .), strict Mypy type-checking (mypy --strict src), and architectural boundary validation (lint-imports). - Tier C (Acceptance & Integration):
pytest tests/integration/andpytest tests/e2e/. - Python Tri-Persona: Red Team QA, Principal Backend Engineer (TDD Master), and System Integration & E2E Engineer.
- Tier A (Unit Tests):
1.7.0 — 2026-10-12
Introduces dedicated Python quality check provider (d3nexus:python-quality-check) with capability schema, manifest validator, and architectural governance via import-linter. Extends the automated onboarding engine (setup_quality_check) to detect Python projects (pyproject.toml, uv.lock, requirements.txt, etc.), and integrates Python into the multi-provider end-to-end acceptance test suite.
Added
python-quality-check(skills/python-quality-check/): dedicated provider for Python environments (uv, standardpython -m, andpytest). Enforces Ruff formatting compliance (uv run ruff format --check .), Ruff static analysis (uv run ruff check .), strict Mypy type-checking (uv run mypy --strict src), Clean Architecture layer boundaries via Import-Linter (uv run lint-imports), Pytest unit test suites, and line coverage thresholds.- Python Quality Capability Schema & Validator (
skills/python-quality-check/resources/schemas/python-quality.schema.json,validate_python_quality.py): machine-readable JSON Schema and standalone CLI validator enforcing capability contracts and authoritative architecture checks for epic profiles. - Python Scaffolding Support (
skills/setup_quality_check/resources/scripts/scaffold_quality_manifest.py): auto-detects Python codebases via root markers (pyproject.toml,uv.lock,requirements.txt,setup.py,Pipfile), generates.agents/quality/python-quality.json, and registerspython-coreincheck_quality.json. - Python Acceptance Verification (
skills/quality_check/resources/scripts/test_quality_provider_acceptance.py): end-to-end multi-provider acceptance test verifying Python provider registration, result reconciliation, and executive report emission.
1.6.0 — 2026-10-12
Introduces dedicated quality check providers for Flutter, Android Native, and iOS Native modeled on canonical digital wallet architecture templates, hardens quality contracts against false-PASS vulnerabilities and candidate SHA drift, and introduces an automated onboarding scaffolding engine.
Added
flutter-quality-check(skills/flutter-quality-check/): dedicated provider for Flutter and Melos multi-package workspaces modeled afterbloc_digital_wallet. Enforces Dart formatting (dartfmt.sh), static analysis (fvm flutter analyze), Clean Architecture module boundaries (check_module_boundaries.sh), license headers (check_license_header.sh), package tests (melos run test), and LCOV coverage thresholds (testWithCoverage.sh).android-quality-check(skills/android-quality-check/): dedicated provider for Android Gradle multi-module codebases modeled afterandroid_digital_wallet. Enforces Spotless formatting (spotlessCheck), Detekt static analysis (detekt), Binary Compatibility Validator (apiCheck), Konsist architectural governance (:konsist-test:test), unit testing (testDebugUnitTest), Jacoco coverage (jacocoTestReport), and Gradle daemon cleanup (pkill -9 java).ios-quality-check(skills/ios-quality-check/): dedicated provider for iOS Tuist and SwiftPM workspaces modeled afterios_digital_wallet. Enforces SwiftFormat (swiftformat), strict SwiftLint (swiftlint), ArchTests AST architectural governance (swift test --package-path ArchTests), framework boundary validation (check_module_boundaries.sh), unit testing (swift test), and profdata code coverage thresholds (check_coverage_thresholds.sh).setup_quality_check(skills/setup_quality_check/): automated scaffolding engine and operational skill that inspects repository roots, auto-detects project platforms (Flutter, Android, iOS, Rust, and Polyglot composites), and generates standardized.agents/quality/check_quality.jsonand platform capability manifests with zero configuration friction.- Multi-provider end-to-end acceptance test suite (
skills/quality_check/resources/scripts/test_quality_provider_acceptance.py): tests pure platform workspaces, composite repositories, and False-PASS vulnerability elimination.
Changed
- Quality contract validator (
validate_quality_contract.py): hardened against False-PASS vulnerabilities F1–F3. Reject top-level PASS when checks fail (contract_violation), reject top-level PASS with sub-threshold coverage (coverage_deficit), reject stale candidate SHAs (repository_sha_mismatch), and reject empty command arrays (command_array_empty). - Result aggregator engine (
aggregate_quality_results.py): synthesizes BLOCKED provider records for missing required providers and demotes contradictory provider results to BLOCKED. - Pre-release verification harness (
scripts/verify.sh): step 13 now runs contract, schema, aggregation, Rust, Flutter, Android, iOS, scaffolding, and end-to-end acceptance test suites.
1.5.0 — 2026-10-09
Makes integrating a development branch safe: conflicts are resolved on the branch, inside its
worktree, and the base branch only ever receives a --no-ff merge of the exact tree that passed
verification — at finish time and after every epic task.
Added
integrate_branch.py(finishing-a-development-branch/resources/scripts/): a standard-library CLI with five commands —sync-base(fetch, fast-forward a local base that is behind, stop on divergence),preflight(read-only report of upstream commits and epics, overlap files, predicted tier, regenerate and manifest flags),rebase(backup ref, rerere,--continue/--abort),verify-tier(measuresnoop/clean/conflictsfrom zero-context net diffs) andland(--no-ffmerge of the verified sha with pre- and postcondition checks and rollback). Exit codes 0–4. Hardened against user git config (rebase.updateRefs,rerere.autoUpdate,log.showSignature,core.quotePath).- 38 CLI tests against temporary repositories, run by
scripts/verify.shstep 12. - Conflict playbook (
finishing-a-development-branch/references/conflict-playbook.md): the--ours/--theirsreversal during a rebase, and the regenerate / Kanban-mirror / mechanical / semantic classification with a stop-and-ask template.
Changed
finishing-a-development-branch: Options 1 and 2 run Update onto Base — preflight, rebase in the worktree, re-bootstrap when manifests changed, verify by measured tier — and Option 1 lands throughintegrate_branch.py landinstead ofgit checkout <base> && git pull && git merge. An already-pushed branch is never rebased.dev-implementation: new Phase 2 step 7 integrates the epic branch withdevelopafter every task, with lighter task-boundary verification. Phase 1 runssync-basebefore creating the worktree, and the Gate 3 checkpoint asks once for permission to fast-forwarddevelop.dev-lifecycle: a Gate 4 🟢 belongs to the SHA it ran on; Stage 4 rebases, re-verifies by tier and lands with--no-ff.
Fixed
- The pre-finish archival hook looked for
sync_task_status.pyonly in the repository and the Antigravity install, so under Claude Code it skipped archival silently. It now resolves the script throughSKILL_DIRand stops loudly when it is missing. - Restoring the main checkout before archival re-dirtied it and aborted the first merge. Archival
copies are now restored only when
landnames them as colliding, after archival.
1.4.3 — 2026-10-04
Standardizes modern Mermaid diagram syntax, Graphviz DOT conventions, and Markdown lint rules across the development and document lifecycles.
Added
- Modern Mermaid syntax standard: Mandates
flowchartover deprecatedgraphsyntax, enabling per-subgraphdirectioncontrols, richer styling, and AST stability. Requires enclosing node labels with special characters (parentheses, brackets, colons) in double quotes. - Graphviz (DOT) conventions: Enforces semantic node shapes (
box,diamond,cylinder,ellipse), statement terminating semicolons, quoted labels, andcluster_subgraph naming. - Markdown linting standards: Enforces single H1 (MD025), sequential heading increments (MD001/MD003), spaces after
#(MD018), and mandatory language tags on fenced code blocks (MD040). - Automated mechanical validation: Extended
check_document.pywith AST checks for legacy Mermaidgraph, unquoted special-character labels, missing fence language tags, heading whitespace, and DOT statement syntax. - Regression test coverage: Added unit tests in
test_check_document.pyvalidating detection of legacy Mermaid syntax, untagged code fences, and heading format issues.
Changed
dev-lifecycleanddoc-lifecycle: Integrated Markdown and modern diagram standards directly into their Document Contracts, Gate criteria, and Red Flags.dev-designer: Updated Step 1 architecture prompt to default tomermaid flowchart TD(explicitly prohibiting legacygraph TD).dev-brainstorming,doc-brainstorming,writing-plans,doc-designer,doc-implementation,doc_quality_check,brainstorming, anddecision-records: Added explicit diagram and markdown lint rules into drafting guidelines and self-review checklists.
1.4.2 — 2026-10-03
Makes bilingual, navigable design documentation a verified contract across the development and document lifecycles.
Added
- Bilingual lifecycle artefacts: specs, HLD/overview documents, BDD scenario documents,
non-epic implementation plans, document outlines, and published documents now require a
canonical English
.en.mdfile and a synchronized Vietnamese.vi.mdtranslation. - Complete table-of-contents contract for every lifecycle document regardless of length.
Implementation plans must also link every
### Taskheading. - Lifecycle document regression tests covering missing translations, omitted variants, heading-structure drift, incomplete tables of contents, short documents, and decorated ToC headings.
Changed
dev-designernow generates bilingual HLD and BDD scenario pairs;writing-plansgenerates bilingual implementation-plan pairs. Kanbantask_*.mdfiles remain English-only.dev-brainstorming,doc-brainstorming,doc-designer, anddoc-implementationnow create, synchronize, and mechanically verify both language variants before their approval gates.dev-lifecycleanddoc-lifecycleexplicitly carry the bilingual and ToC requirements in their handoff contracts and red flags.doc_quality_checknow requires both variants in the same run, checks heading-shape parity, verifies complete ToC coverage, and audits semantic translation parity.dev-implementationconsumesbdd_scenarios.en.mdas the canonical behavioral contract.
Verification
scripts/verify.shnow runs the lifecycle document contract suite as a release gate.
1.4.1 — 2026-10-02
Adds a mandatory critical rule prohibiting unauthorized remote git push operations and improves worktree bootstrapping resilience.
Added
- Git push operations guard in
rules/CRITICAL_RULES.md, strictly prohibiting agents from runninggit pushto remote repositories without explicit user permission or confirmation.
Fixed
- Worktree bootstrap script (
bootstrap_worktree.sh) now falls back to locatingcopy_secure_files.shdirectly within the installed plugin directory when not vendored in.agents/. - Kanban task status synchronizer (
sync_task_status.py) falls back tosanitize_slug(epic_dir)to prevent lookup failures during task synchronization.
1.4.0 — 2026-09-28
Adds Codex distribution while keeping one shared skill library for Codex, Claude Code, and Antigravity.
Added
- Codex plugin manifest at
.codex-plugin/plugin.json, with discovery metadata, starter prompts, and the existingskills/directory as its skill source. - Codex installation and update instructions in the README, including the distinction between GitHub marketplace distribution and submission to OpenAI's public Plugins Directory.
- Codex tool mapping in
using-superpowers, covering skill loading, file and shell tools, optional subagents, and explicit rule loading through a project'sAGENTS.md.
Changed
- The shared
.agents/plugins/marketplace.jsonuses a local source path at the repository root, so Codex resolves the plugin from the checked-out marketplace. - Project scaffolding includes Codex installation commands and explicit instructions to read
rules from the project or installed plugin. The bootstrap hook directs agents to the runtime
tool mapping instead of assuming Claude's
Skilltool exists. release.shrequires dated release notes and a newer version, releases frommain, and keeps the root, Claude, and Codex manifests plus Claude marketplace versions synchronized. It verifies again after the bump and prints Codex refresh commands.verify.shchecks Codex metadata, shared skill paths, marketplace identity, version agreement, dated release notes, and README anchors in addition to the existing checks.
Fixed
- Claude marketplace metadata still advertised
1.3.0after the plugin reached1.3.1. - The shared marketplace described
./as a remote URL instead of a local plugin path.
Upgrading
Install in Codex:
codex plugin marketplace add DanhDue/ai-agent-tools
codex plugin add d3nexus@danhdue-agent-tools
Start a new thread after installation. Existing consuming projects should merge the Rules section from templates/AGENTS.md so Codex reads the kit's rule files. Claude Code and Antigravity users can use their existing update commands.
1.3.1 — 2026-09-18
Adds planning-mode interception guards to prevent agents from bypassing the d3nexus workflow
by writing implementation_plan.md directly (the Antigravity native planning artifact).
Changed
dev-lifecycle: Added<HARD-GATE>prohibitingimplementation_plan.mdcreation. Added 2 new Red Flags (writingimplementation_plan.md, skipping brainstorming). Added Rationalization Table covering 5 common bypass excuses.dev-brainstorming: Expanded<HARD-GATE>to explicitly coverimplementation_plan.mdas a gate bypass.
1.3.0 — 2026-09-17
Splits brainstorming into a development variant and a documentation variant, and makes the
document lifecycle's inception stage mandatory.
Added
| Skill | What it does |
|---|---|
dev-brainstorming | Turns an idea for code work into an approved design spec. The former brainstorming, with the document branch removed. Keeps the visual companion and its server scripts |
doc-brainstorming | Turns an idea or a document request into an approved content spec. Written around what a document must say rather than around architecture. No visual companion |
scripts/verify.shgains step 10. It fails when either orchestrator names thebrainstormingrouter instead of a concrete variant. The check is scoped to the two orchestrators and to the two forms that denote the skill, becausebrainstormingis also an ordinary English word and a repo-wide sweep like step 9's would fire on four legitimate uses.
Changed
brainstormingis now a router. It keeps its name and path, holds one question — idea, document, or coding — and invokes the matching variant. It has no default: an unclear answer is asked about again rather than guessed at. Everything that namesd3nexus:brainstormingtoday keeps working, including the session-start hook andrules/CRITICAL_RULES.md.doc-lifecycleStage 0 is mandatory, and the gates renumber from three to four. Gate 1 is now spec approval; the former gates 1, 2 and 3 become 2, 3 and 4. The stage was optional, and its skip condition asked whether the content was already known — a question an agent answers yes to essentially always. The stage is now required to happen while its depth still scales, so a runbook's spec is three sentences.- The upstream escape to
lean-product-lifecyclesplits asymmetrically.dev-brainstormingkeeps the original trigger.doc-brainstormingfires only when the document is a product argument whose idea has no evidence; a runbook or reference page never triggers it. - Each variant can correct a misroute to its sibling, using the existing test: if the work changes a file that ships in the build, it is code.
dev-lifecycleStage 1 now namesdev-brainstorming; its five gates and stage order are unchanged.- Stage entry in both orchestrators is now imperative — a stage is entered by invoking its skill,
not by reading its description and doing the work.
dev-lifecyclehad never contained the word "invoke", which is why agents skipped Gate 1. - Guidance in
dev-brainstormingthat leaned toward code is no longer branch-conditional, since the branch is gone.
Fixed
- Fifteen stale
doc-lifecyclegate numbers acrossdoc-designer,doc-implementationanddoc_quality_check, left wrong by the renumber. - A dead path in
dev-brainstormingtoskills/brainstorming/visual-companion.md, which the rename broke at exactly the point where the user had just accepted the visual companion. - A claim in
dev-brainstormingthatdev-lifecyclehas four approval gates. It has five.
Upgrading
No action is required. d3nexus:brainstorming still resolves, and now asks which kind of work you
want before routing. Name d3nexus:dev-brainstorming or d3nexus:doc-brainstorming directly to
skip the question. Anything that quotes doc-lifecycle gate numbers needs re-reading: they shifted
by one.
1.2.0 — 2026-09-17
Adds the Document Lifecycle Suite: work whose deliverable is a document now has its own lifecycle, its own quality gate and its own stage skills, instead of being forced through gates built for code.
Added
| Skill | What it does |
|---|---|
doc-lifecycle | Orchestrates document work through three gates — brief and outline, verification, sign-off |
doc-designer | Establishes the audience, classifies the document into exactly one Diátaxis type, produces the outline and the section breakdown |
doc-implementation | Drafts section by section, one commit each, reusing the existing Kanban machinery unchanged |
doc_quality_check | The documentation quality gate: refusal rule, mechanical checks, type conformance, content audit |
decision-records | Architecture Decision Records in Michael Nygard's format, plus spike reports |
brainstorminggains two exits. It now routes todoc-designerfor document deliverables, and upstream tolean-product-lifecyclewhen the problem space was never validated — a route that did not previously exist in that direction.scripts/verify.shgains two checks. Step 8 fails when a skill's own supporting file is referenced by nothing; it found seven pre-existing orphans on its first run, including a second reviewer prompt that had never been wired in. Step 9 fails when a live file still names a pre-rename skill.docs/lifecycles.en.md— reference: what each lifecycle is for, what it produces, and its process flow.docs/choosing-a-lifecycle.en.md— how-to: picking one for a specific piece of work, including when to skip all of them. Both carry a Vietnamese variant.docs/adr/— decision records for this repository, starting with why the documentation quality gate is a separate skill.evals/doc-designer/mixed-mode-material— the first ablation case for a documentation skill. Arm A 5/5, arm B 2/5. The report leads with where the baseline beat the skill.
Changed
rules/CRITICAL_RULES.mdnow selects the quality gate by the kind of work:@quality_checkfor anything that changes a file shipping in the build,@doc_quality_checkfor prose. The previous mandate was unsatisfiable for a Markdown deliverable.skills/quality_check/SKILL.mdis unmodified. The documentation gate is a separate skill precisely so that the gate guarding every merge in every project did not have to change.
Caution
Breaking. Three skills are renamed.
/d3nexus:epic-lifecycle,/d3nexus:epic-designerand/d3nexus:epic-implementationno longer resolve, and any per-projectAGENTS.mdnaming them must be updated.
Renamed — the development lifecycle
"Epic" becomes the umbrella term covering both development and documentation work, so the development lifecycle takes a name that distinguishes it:
| Old | New |
|---|---|
epic-lifecycle | dev-lifecycle |
epic-designer | dev-designer |
epic-implementation | dev-implementation |
Each renamed skill keeps the word "epic" in its description, so a request phrased as epic-scale
work still activates it. finishing-a-development-branch and the directory .devtool/epic/ are
unchanged — both kinds of epic live there, distinguished by a Kind: field. There is no data
migration, and the historical epic records under .devtool/ deliberately keep the old names.
Changed — source fidelity
check_source_fidelity.pybecomes a multi-source registry instead of a Lean-Product-only guard, andverify.shstep 7 is retitled accordingly.
1.1.1 — 2026-09-17
Strengthens the quality_check master governance skill by making Tier B zero-tolerance explicit and introducing Tier C2 Native Build Smoke Testing.
Changed — quality_check
- Tier B Zero-Tolerance Enforcement: Formally documents that all analyzer errors, compiler warnings, module boundary leaks, formatting issues, and license headers must be 100% resolved (0 errors, 0 warnings).
- Tier C2 Native Build Smoke Gate: Adds an explicit binary compilation check (
flutter build apk --debug,./gradlew assembleDebug,xcodebuild build) to Tier C before merging, closing the blind spot where headless tests pass but native binary assembly fails. - Reporting: Updates the 3-Tier Automated Test Results table to track Tier C1 (Integration Flows) and Tier C2 (Native Build Smoke Gate) separately.
1.1.0 — 2026-09-16
Adds the Lean Product Lifecycle Suite: four skills covering upstream product discovery, for
deciding what to build and for whom before epic-lifecycle takes over the engineering. Also adds
a reusable harness for measuring whether a skill changes agent behaviour at all.
Added — Lean Product Lifecycle Suite
Four skills implementing Dan Olsen's Lean Product Process, grounded in The Lean Product Playbook (Wiley, 2015).
| Skill | Covers | Produces |
|---|---|---|
lean-product-lifecycle | Orchestration, three human gates, five guardrails | routes the other three |
lean-market-discovery | Steps 1–2: target customer, underserved needs | 01_problem_space_spec.md |
lean-value-strategy | Step 3: Kano classification, competitive grid | 02_value_proposition_spec.md |
lean-mvp-scoping | Step 4: chunking, ROI, MVP candidate grid | 03_mvp_feature_backlog.md |
Artefacts land in .devtool/product/<slug>/. The Gate 3 backlog is consumed directly by
epic-designer.
Process steps 5 (build an MVP test) and 6 (test with customers) are not implemented. The orchestrator says so at Gate 3 rather than implying the journey is complete.
Added — skill ablation harness (evals/)
Measures whether a skill changes behaviour, rather than whether an agent holding it can recite it. Each scenario runs with the skill, without it, and optionally with the pre-correction rules; a third agent grades all arms blind against a rubric that cites the book rather than the skill.
Five reusable cases, a protocol, and pre-correction fixtures. Not wired into verify.sh — each run
costs real agent invocations, so it belongs at release time or after a skill is edited.
Added — source-fidelity regression gate
scripts/check_source_fidelity.py, wired into scripts/verify.sh as step 7. Fails the build if any
of six corrected errors reappears in skills/lean-*/ or docs/books/. Every rule was confirmed to
fire on an injected regression.
Fixed — six errors in the documentation this suite was derived from
The suite was originally specified from three LLM-written summaries in docs/books/, not from the
book. Reading the primary source found six behaviour-changing errors that had propagated through
four layers of artefacts. All are corrected in docs/books/ at source, with provenance headers
naming the book as the authority. Evidence with the author's wording:
.devtool/epic/lean_product_suite/source_fidelity_review.md.
| Was | Is |
|---|---|
| "MVP = ROI cells 1–3" | All must-haves enter v1 regardless of ROI rank |
| Guardrail 1 forbids solution-space talk | Capture, convert, park — Olsen's rule is separate and alternate |
| 6-layer PMF Pyramid | 5-layer Pyramid and a separate 6-step Process; UX is the top layer |
Gate 1 bar OS >= 10 | > 15 attractive · 10–15 marginal · < 10 unattractive |
| Importance and Satisfaction both 1–10 | 5-point unipolar / 7-point bipolar, normalized before use |
| 3×3 grid is the ROI method | Numeric ROI is primary; the grid is Olsen's declared fallback |
"Cupcake MVP" was also removed as an attribution error — Figure 7.1 is adapted from Jussi Pasanen; the cupcake metaphor is Brandon Schauer's and does not appear in the book.
Known limitations
Stated because they change how much to trust this suite, not as boilerplate.
- No measured advantage over an unaided agent. Two scenarios were ablated with a blind judge. Both scored 0 delta — a competent agent without the skill reached the same decisions. The process layer (gates, artefacts, session resumption) is untested and is where the value plausibly sits, but that is a belief, not a measurement.
- One correction has measured value, one does not. Against an arm carrying the pre-correction
rules: the
OS >= 10and scale corrections scored +3; thecells 1–3correction scored 0, because the agent overrode the broken rule unprompted. lean-value-strategyandlean-product-lifecyclehave never been ablated. Three of five cases are unrun.- n = 1 per arm.
evals/protocol.mdrequires three runs before a result is cited as settled. - Results and full reasoning:
evals/results/2026-09-16-baseline/report.md.
Notes
- Skill count 42 → 47.
evals/must stay outsidecheck_source_fidelity.py's glob — its fixtures deliberately contain the corrected errors.