Skip to content

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.

5.9 KB
Raw Blame

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

  1. Resolve the actual checkout and current branch.
  2. Read repository instructions and named contracts.
  3. Inspect status without modifying files.
  4. Identify user-owned or concurrent changes.
  5. Read the implementation, tests, configuration, and callers.
  6. Reproduce the gap with a focused check where possible.
  7. Compare issue and pull request claims to repository evidence.
  8. Inspect current primary sources for volatile product facts.
  9. Record confirmed facts, inferences, suspicions, and unavailable checks.
  10. Define the smallest coherent change surface.

Plan

  1. Write outcome-focused steps.
  2. Put prerequisite or evidence work before mutation.
  3. Identify files owned by the change.
  4. State what remains deliberately out of scope.
  5. Choose focused tests and broader gates proportional to risk.
  6. Preserve a rollback for generated or destructive work.
  7. Mark external actions as separate human decisions.
  8. Identify release claims that require direct evidence.
  9. Set a replan trigger if repeated attempts fail.
  10. Keep the plan updated as facts change.

Code

  1. Edit only after reading the relevant pattern.
  2. Use the repository’s existing abstractions.
  3. Keep untrusted text as data.
  4. Add validation at the authority boundary.
  5. Fail closed for secrets, unsafe paths, or missing evidence.
  6. Write tests for the reported defect and the safe path.
  7. Avoid unrelated refactors.
  8. Regenerate lockfiles only with the declared tool.
  9. Preserve generated-file determinism.
  10. Review edits while context is fresh.

Verify

  1. Run syntax or compile checks.
  2. Run focused tests.
  3. Run type, lint, and build gates where applicable.
  4. Run security and secret scans.
  5. Run repository consistency checks.
  6. Run release packaging in an isolated destination.
  7. Validate generated artifacts and hashes.
  8. Inspect the final diff against the request.
  9. Separate new failures from pre-existing failures.
  10. State skipped browser, native, live, or human checks.

Commit boundary

  1. Prepare a Conventional Commit message only when requested.
  2. Stage only intended files.
  3. Review the staged diff and secret scan.
  4. Commit only with explicit authorization.
  5. Push or create a pull request only with separate authorization.
  6. Never describe an unpushed local commit as published.
  7. 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.