Free, open source blog writer for Claude Code. Researches current sources, writes answer-first posts for Google and AI answers, has an independent reviewer score each one out of 100 and ships only after five delivery gates. 32 skills, 30 /blog commands, 5 agents. Active development at AI-Marketing-Hub/claude-blog; public releases ship here.
type: flow title: "Explore Plan Code Commit" status: active created: 2026-08-25 updated: 2026-08-25 tags: [engineering, verification, flow] domain: "Blog Content Brain" confidence: verified related: - "[[Quality Gate Failure Modes]]" - "[[Delivery Contract Gate]]" - "[[Claim Verification Flow]]" - "[[Context Compaction Routine]]" - "[[Memory Governance Policy]]" - "[[Provenance Trace Policy]]" - "[[Evidence Gap Register]]" - "[[Uncertainty Eval Policy]]" source_urls: - "https://git-scm.com/docs/git-diff" - "https://git-scm.com/docs/git-status"
Explore Plan Code Commit
Trigger
Use this flow for a repository change that spans more than one file, depends on unfamiliar contracts, touches release behavior, or begins from claims in issues and pull requests that have not been verified.
Prerequisites
- A clear requested outcome.
- The real repository and current branch.
- Read access to code, tests, configuration, and local instructions.
- A recorded dirty-worktree state.
- A reversible edit path.
- A closest reliable verification command.
- Explicit authorization before commit, push, publication, or deployment.
- A stop condition for ambiguous product decisions.
Steps
Explore
- Resolve the actual checkout and current branch.
- Read repository instructions and named contracts.
- Inspect status without modifying files.
- Identify user-owned or concurrent changes.
- Read the implementation, tests, configuration, and callers.
- Reproduce the gap with a focused check where possible.
- Compare issue and pull request claims to repository evidence.
- Inspect current primary sources for volatile product facts.
- Record confirmed facts, inferences, suspicions, and unavailable checks.
- Define the smallest coherent change surface.
Plan
- Write outcome-focused steps.
- Put prerequisite or evidence work before mutation.
- Identify files owned by the change.
- State what remains deliberately out of scope.
- Choose focused tests and broader gates proportional to risk.
- Preserve a rollback for generated or destructive work.
- Mark external actions as separate human decisions.
- Identify release claims that require direct evidence.
- Set a replan trigger if repeated attempts fail.
- Keep the plan updated as facts change.
Code
- Edit only after reading the relevant pattern.
- Use the repository’s existing abstractions.
- Keep untrusted text as data.
- Add validation at the authority boundary.
- Fail closed for secrets, unsafe paths, or missing evidence.
- Write tests for the reported defect and the safe path.
- Avoid unrelated refactors.
- Regenerate lockfiles only with the declared tool.
- Preserve generated-file determinism.
- Review edits while context is fresh.
Verify
- Run syntax or compile checks.
- Run focused tests.
- Run type, lint, and build gates where applicable.
- Run security and secret scans.
- Run repository consistency checks.
- Run release packaging in an isolated destination.
- Validate generated artifacts and hashes.
- Inspect the final diff against the request.
- Separate new failures from pre-existing failures.
- State skipped browser, native, live, or human checks.
Commit boundary
- Prepare a Conventional Commit message only when requested.
- Stage only intended files.
- Review the staged diff and secret scan.
- Commit only with explicit authorization.
- Push or create a pull request only with separate authorization.
- Never describe an unpushed local commit as published.
- Never close issues based only on local evidence.
Outputs
| Output | Evidence |
|---|---|
| Scope statement | Requested outcome and excluded work |
| Repository inventory | Branch, status, contracts, affected code |
| Plan | Ordered steps with one current action |
| Scoped diff | Relevant files only |
| Focused verification | Exact command and result |
| Broad verification | Test, lint, build, audit, package |
| Risk note | Blast radius and rollback |
| Boundary note | Commit, push, deploy, and external status |
| Open items | Genuine remaining work |
| Handoff | Reproducible next action |
Gates
- Repository instructions were read.
- Dirty work was preserved.
- The defect or gap was evidenced.
- Edits match existing patterns.
- Focused tests cover the change.
- Broad gates match the risk.
- The final diff was inspected.
- No failing check is called green.
- No external action occurred without authorization.
- Rollback remains possible.
Failure modes
- Editing the wrong checkout.
- Trusting an issue’s diagnosis.
- Overwriting user changes.
- Expanding scope during cleanup.
- Suppressing a failing test.
- Updating a lock without its source declaration.
- Treating static success as live proof.
- Committing unreviewed generated output.
- Pushing because credentials are available.
- Hiding remaining vendor or account work.
Rollback
Revert only the files owned by the change, using the saved diff or a user-approved version-control operation. Never use a broad destructive reset. If generated outputs are wrong, rebuild from the source declaration after restoring the prior inputs. If a commit exists, recommend reverting that commit rather than rewriting shared history.
Decision point
A clean local gauntlet authorizes a completion report. It does not authorize commit, push, publication, deployment, third-party contact, spending, or issue closure.
Evidence ledger
Keep a task-scoped ledger of assumptions, checks, results, and changed decisions. This prevents repeated exploration and makes replanning explicit.
| Entry | Required detail |
|---|---|
| Assumption | What could change the result |
| Check | Exact read-only or test action |
| Result | Direct observation |
| Decision | Keep, change, or stop |
| Owner | Responsible reviewer |
| Next trigger | Condition for recheck |
Discard noisy command history, but preserve failures that changed the approach.