SkillsReviewed · gmickel

flow-next-audit

flow-next-audit is a skill for developers maintaining AI coding agents’ project memories, and its automatic mode can rewrite or delete memory entries. It directs an agent to compare stored lessons with current code and Git history, repair outdated guidance and propose enforceable checks for recurring mistakes. It depends on flow-next tooling; runtime behavior and audit accuracy were not assessed.

Researched 17 Nov 2026

In short.

flow-next-audit is a project-memory review skill for developers using flow-next, and its automatic mode can rewrite or delete memory entries and commit changes. Its instructions cover outdated references, overlapping lessons, superseded decisions, glossary terminology and recurring mistakes that could become lint or CI checks. Human approval is required before applying those hardening proposals. The supplied folder contains instructions rather than the underlying flowctl implementation, and some persistence directions conflict. No installation, command execution, compatibility, accuracy or cost measurements were assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Covers all nine supplied files under plugins/flow-next/skills/flow-next-audit and the repository-root MIT LICENSE at revision e394798e6216fd5d73aeb5d80b09ae8f8e758a7c. The licence is outside the skill folder and accompanies it as a related notice. Excludes the rest of flow-next, bundled flowctl implementation, command registration, referenced parent documents and host implementations. Installation, runtime behavior, persistence guarantees, audit accuracy, gate enforcement, performance and costs were not tested. A copy of SKILL.md alone does not supply the complete workflow or its dependencies.

The overview

Identity

flow-next-audit is an instruction-based skill inside gmickel/flow-next. Its documented entry point is /flow-next:audit. It reviews the categorized project-memory store under .flow/memory/, where agents keep bug lessons, conventions and decisions. It also reviews relevant GLOSSARY.md terminology.

The resource is the audit skill folder, rather than the complete flow-next plugin or a standalone application. The upstream folder is [https://github.com/gmickel/flow-next/tree/main/plugins/flow-next/skills/flow-next-audit].

Assessment

The skill offers a detailed maintenance procedure for teams whose agents accumulate repository-specific advice. Its useful distinction is between references that merely moved, guidance that became wrong, duplicate lessons and lessons suitable for automatic enforcement. These require different corrections.

Suitability depends on accepting an agent’s semantic judgments and reviewing its write permissions. Autofix is an editing workflow, not a preview: it can update, merge, replace or remove entries and create commits. Its conservative provisions include marking uncertain cases stale and withholding all hardening changes from unattended runs. Their actual enforcement remains unverified.

Who it suits

The strongest fit is a developer or team already using flow-next’s categorized memory files in a changing codebase. Typical needs include fixing lessons after refactors, consolidating repeated advice and preserving the rationale behind architectural decisions.

Beginners need familiarity with Git, repository paths and the distinction between agent instructions and executable tooling. Experienced developers gain more control through scope filters, cross-reference maintenance and lint or CI proposals. A repository without .flow/memory/ has nothing for the memory audit to review; legacy flat memory files require migration first.

Capabilities

The six documented outcomes are Keep, Update, Consolidate, Replace, Delete and Harden. They distinguish unchanged guidance, reference repairs, merged duplicates, misleading advice needing a successor, obsolete problem areas and recurring lessons suitable for deterministic checks. Uncertain cases can receive a stale flag instead of a guessed correction.

Decision replacements preserve the old decision as superseded and link it to a successor. Glossary review searches tracked code for canonical terms and discouraged aliases, adds stale comments when terms disappear and reports alias usage without automatically renaming code.

Harden proposes a lint rule or CI check in infrastructure the repository already has. Interactive acceptance and verification are required before the memory entry becomes a pointer to the gate. Autofix reports these proposals without applying them.

Using it

Requirements

The workflow requires the bundled flowctl script, a compatible coding-agent host, repository read and search access, Git, jq and python3 or python on PATH. Applying changes additionally needs file-write and appropriate Git permissions. Interactive operation needs a reachable question mechanism. The documents describe host arrangements for Claude Code, Codex, Droid and Cursor, plus OpenCode-specific command spelling; compatibility was not tested.

Memory entries use categorized bug and knowledge tracks with YAML metadata. Git history supports change detection and recurrence estimates. The folder also references parent resources, including working-rules.md, docs/prose.md and hardening-ladder.md, whose contents are not supplied. Minimum host versions, operating-system support and model requirements are unknown.

How it works

The host agent supplies the judgment. flowctl memory audit-scan supplies mechanical information such as entry metadata, module-change probes and recurrence counts. The agent reads memory, code and Git history, compares related entries, classifies findings and authors persistence actions. The documented memory apply interface supports metadata changes, replacement bodies, moves, removals and reference rewrites.

A change-detection shortcut can retain previously audited entries when their tracked module is conclusively unchanged. Recurring lessons bypass that shortcut. Primary recurrence signals are at least two Update headings or four substantive entry-file commits, excluding audit bookkeeping and pure renames. These are evidence of edits, not counts of successful retrieval or use.

Stale entries are excluded from default active-memory searches. Hardened entries receive a gate-liveness check on later audits. A missing or inactive gate produces a proposal to return the lesson to active memory.

Setup

The documented starting point is an existing flow-next installation with its bundled scripts and categorized memory store. flowctl is explicitly described as bundled rather than globally installed. The workflow exits without auditing memory when .flow/memory/ is absent and points to memory init. The supplied files do not establish the complete plugin installation procedure.

The normal documented command is /flow-next:audit, with an optional scope such as auth. OpenCode installations carrying the specified manifest use /flow-next-audit. Actual command registration is outside this folder, and the skill frontmatter itself says user-invocable: false.

Interactive mode is the default. Automatic operation can be selected through mode:autofix, mode:autonomous, FLOW_AUTONOMOUS=1 or AUTONOMOUS=1. These environment settings matter when expecting an interactive review. No setup steps were executed.

Example use

Illustrative scenario: a stored authentication lesson names src/auth/callback.ts, but the implementation moved to src/auth/oauth/callback.ts without changing the relevant fix. The documented outcome is Update: repair the references while preserving the lesson’s recommendation and unrelated metadata.

If the implementation instead adopts a materially different solution, the outcome becomes Replace when there is enough evidence to write a trustworthy successor. A decision entry is superseded and retained; an ordinary lesson follows the replacement procedure. Insufficient evidence leads to a stale flag rather than an invented explanation. These are examples of the rules, not observed audit results.

Assessment & evidence

Limitations

The underlying flowctl implementation, host command registration and several referenced parent documents are outside the supplied folder. Schema validation, atomic-write claims, reference rewriting and host behavior therefore remain unverified. No audit was run, and no measured accuracy or benchmark results are supplied.

Persistence directions conflict. workflow.md and the opening of phases.md require memory apply for edits and removals, while SKILL.md and later replacement recipes still mention direct writes or git rm. The workflow also initially says autofix skips already-stale entries, then later places stale entries in the investigation set. These ambiguities need resolution before relying on unattended maintenance.

The documented apply interface can apply some entries while reporting errors for others, so a failed batch need not leave everything unchanged. The unchanged-module shortcut also does not establish that every dependency or external constraint stayed unchanged. Decision constraints visible only in contracts or other external context cannot be verified from code alone.

Design reasoning

The strongest design choice is its ordering: establish correctness before merging lessons, then consider enforcement. This avoids turning obsolete advice into a rule that blocks future work. Requiring both recurrence evidence and a deterministic check also separates repeated judgment calls from mistakes a machine can prevent.

Preserving superseded decisions and hardened lesson bodies retains explanations for future maintainers. Requiring an active gate, rather than a matching configuration string, addresses the difference between writing a rule and enforcing it. These are sound procedural safeguards, but instruction text alone does not demonstrate that an agent or tool will follow them reliably.

Alternatives

A practical alternative is manually comparing memory files with current code and Git history. That would leave classification, cross-reference repair and scope tracking with the maintainer. For a single deterministic recurring mistake, an existing lint or CI check may address the problem directly without a broader memory audit.

The source names /flow-next:memory-migrate for legacy flat files; it prepares that material for categorized auditing rather than replacing the audit. It also routes product-code fixes to the wider flow-next workflow when an audit cannot place a suitable gate. No competing memory-maintenance products were assessed.

Evidence

The available sources comprise nine instruction files: SKILL.md, workflow.md, phases.md and six references covering decisions, glossaries, hardening, interactive choices and scope narrowing. The repository’s root LICENSE supplies the rights notice. These sources establish the intended procedure, not successful execution.

The fixed-revision entry file is [https://raw.githubusercontent.com/gmickel/flow-next/e394798e6216fd5d73aeb5d80b09ae8f8e758a7c/plugins/flow-next/skills/flow-next-audit/SKILL.md]. Its companion workflow is [https://raw.githubusercontent.com/gmickel/flow-next/e394798e6216fd5d73aeb5d80b09ae8f8e758a7c/plugins/flow-next/skills/flow-next-audit/workflow.md]. No implementation code, execution receipts or independent evaluations are included.

Access & freshness

Costs

Operating cost is unknown. The supplied files contain no host subscription prices, model rates, token measurements, audit durations or measured cost savings. The MIT licence grants software permissions without establishing the cost of running the required agent or services.

Work can include reading entries and source files, searching Git history, investigating independent entries through subagents and verifying accepted gates. Store size and investigation depth therefore affect the work requested. The unchanged-module shortcut is intended to reduce repeated investigation, but its runtime and financial effects were not measured.

Licence and rights

The supplied repository licence is MIT, copyright 2025 Gordon Mickel. It permits use, copying, modification, distribution, sublicensing and sale, provided the copyright and permission notices remain in copies or substantial portions. It provides the software without warranty.

The licence source is [https://raw.githubusercontent.com/gmickel/flow-next/e394798e6216fd5d73aeb5d80b09ae8f8e758a7c/LICENSE]. Terms for coding-agent hosts, model services and repository contents are not established by this notice.

Freshness

The supplied files were captured on 2026-11-17 at 13:38:57.267 UTC from Git revision e394798e6216fd5d73aeb5d80b09ae8f8e758a7c. Findings apply to that snapshot. The supplied manifest records the scope checksum as 55dbbc366abce056e67d1e07d6d558e18224064a738192c6e9d90bad75831691.

No release number or commit date is established by the supplied text. The 2025 copyright year does not establish the last maintenance date. Changes on the default branch after this revision, and compatibility with later host or flowctl releases, are unknown.

Practical next steps

For an initial evaluation, obtain the complete skill folder together with its required flow-next tooling and parent references. Confirm command registration, dependencies and memory schema in the intended host. Resolve the conflicting persistence and stale-entry directions before permitting automatic writes.

Use a disposable Git checkout with recoverable memory and glossary files, check that autonomous environment settings are absent, and begin with a narrow interactive scope. Interactive mode still permits deletion when every automatic-delete condition is met. Review the resulting diff and any per-entry errors before accepting the changes.

For hardening proposals, require the exact proposed artifact and evidence that the gate is active and catches the relevant occurrence. If verification fails, the documented rule is to leave the lesson active. Actual evaluation results and operating costs remain unknown.

Evidence for this report

LICENSEnotice · checked 2026-11-17