ForgeFlow / User guide

ForgeFlow / Reference

User Profile Guidance

The slash commands below are Claude Code entrypoints. Codex users can invoke the corresponding helpers using the runtime path guidance. The profile helper currently defaults to the Claude home even when invoked from another runtime; do not assume installing Codex moves existing preferences into .codex.

Forgeflow user profiles are local advisory preferences about how the user wants Forgeflow to operate and how a specific project should look, feel, and speak.

They are separate from project learnings:

Artifacts

~/.claude/forgeflow/user-operating-profile.jsonl
.forgeflow/<project-name>/project-experience-profile.jsonl

The global file stays under the local Claude home. It is not project state and should not be committed or synced. The project file stays under .forgeflow/<project-name>/ and should remain local unless the project explicitly chooses to share a sanitized version.

Command

Show the current compact profile:

/forgeflow-profile

Run the quality gate:

/forgeflow-profile --check

Review conflicts, scope moves, ask-user prompts, and cleanup actions before agent-heavy work:

/forgeflow-profile-review

Record an explicit operating preference:

/forgeflow-profile --record --scope global --category autonomy --preference "User prefers autonomous safe-slice execution." --evidence "Explicit user instruction." --confidence high --applies-to plan,implement,review,next-step

Record a project look/feel preference:

/forgeflow-profile --record --scope project --category ui --preference "Project screens should feel quiet, dense, and operational." --confidence medium --applies-to plan,implement,review,ui

Categories

Global operating categories:

Project experience categories:

Quality Gate

check-user-profile.js validates:

If the quality gate warns or fails, context packs include a gate note instead of raw profile text.

The checker also reports suggested profile updates and potential conflicts. Suggestions are advisory prompts only; Forgeflow never writes inferred preferences automatically. Conflict warnings mean overlapping active preferences should be clarified or superseded by the user.

Context Injection

build-context-pack.js writes:

.forgeflow/<project-name>/context/latest/user-profile.md

and includes a compact User Profile Guidance section in each agent packet. The packet artifact manifest records whether the profile was included or reduced to metadata-only.

The guidance is advisory only. It never overrides:

What To Record

Good global examples:

Good project examples:

Do not record secrets, private URLs, raw settings JSON, source snippets, customer names, or one-off guesses as high-confidence preferences.

Agent Role Use