Commit Graph
97 Commits
Author SHA1 Message Date
ruv 1eece3afc0 feat(init): #2089 ADR-127 Phase 4 — attribution opt-in across 19 github command files + last-updated stamps
Remove 13 hardcoded "Generated with Claude Code" attribution strings from
6 github command/agent/skill files (dogfood + init-template copies):
  .claude/agents/github/{release-manager,sync-coordinator,issue-tracker}.md
  .claude/skills/github-project-management/SKILL.md
  v3/@claude-flow/cli/.claude/commands/github/{release-manager,sync-coordinator,issue-tracker}.md

Add <!-- last-updated: 2026-05-21 — ADR-127 --> stamps to the top-level
code-block boundary of each edited file so readers can trace the change
back to this ADR without opening git log.

Export ATTRIBUTION_FOOTER from helpers-generator.ts (ADR-127 §opt-in):
when options.attribution === true, materialise a .claude/helpers/attribution
file during init so PR templates can append it conditionally, without
hard-wiring the emoji into every user's commit history (#1670).

Add scripts/smoke-attribution-opt-in.mjs + github-attribution-opt-in-smoke
CI job: static scan that fails if the 🤖 emoji pattern reappears in the
three github-scoped template trees — prevents copy-paste regression.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-05-21 14:19:35 -04:00
ruv 388665d67c feat(ci): #2089 ADR-127 Phase 3 — bump actions/checkout + setup-node to v4 + deprecated-actions smoke
Replace all actions/checkout@v3 and actions/setup-node@v3 refs with @v4
across .claude/agents/github/, .claude/skills/github-*/,
and v3/@claude-flow/cli/.claude/commands/github/ (19 files total).

Add scripts/smoke-deprecated-actions.mjs: static scan that fails if any
of the deprecated refs (checkout@v3, setup-node@v3,
create-release@*, upload-release-asset@*, softprops/action-gh-release@v1)
reappear in scope — preventing copy-paste regression from blog posts or
AI-generated YAML snippets.

Wire github-deprecated-actions-smoke job and path filter into v3-ci.yml
so every future PR touching the github surface re-runs this gate.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-05-21 14:11:32 -04:00
ruv 7d2fc001ec feat(security): #2089 ADR-127 Phase 2 — github-safe maxBuffer + agent frontmatter tools: + swarm-pr/issue injection fix
github-safe.js (both copies — dogfood + init-template)
  Adds GITHUB_SAFE_VERSION='1.0.0' constant for smoke assertions.
  Adds explicit 256KB body cap (MAX_BODY_BYTES): rejects oversized bodies
  with exit 1 before any temp-file write, matching the GitHub API body
  field limit documented in ADR-127.  Adds strict error handling: all
  execSync calls wrapped in try/catch, cleanup in finally.  Adds
  GITHUB_SAFE_DRY_RUN=1 env-var for smoke tests to skip gh exec.

github-setup.sh (both copies)
  Prepends set -euo pipefail.  Replaces bare `gh auth status &>/dev/null`
  with a check that parses "Logged in" and "repo" scope from the output.
  Adds security rationale comment explaining why each flag is needed.

Agent frontmatter WebFetch removal (dogfood copies only — init-template
commands don't have frontmatter; the relevant change there is the injection
fix below):
  release-manager.md  — removes WebFetch (keeps Write for CHANGELOG)
  release-swarm.md    — removes WebFetch (keeps Write for CHANGELOG)
  repo-architect.md   — removes WebFetch

All 13 agents already have explicit tools: lines; only the 3 above had
WebFetch.  No agent in scope now has WebFetch in its tools: list.

swarm-pr.md + swarm-issue.md (BOTH dogfood .claude/agents/github/ AND
init-template v3/@claude-flow/cli/.claude/commands/github/):
  Replaces unquoted ${{ github.event.comment.body }} interpolated into
  --comment "..." with mktemp + printf + grep + --comment-file pattern.
  Replaces unquoted ${{ github.event.label.name }} == "swarm-ready" with
  mktemp + printf + grep -qx pattern.  Closes prompt-injection path where
  a PR comment with shell metacharacters could execute attacker-controlled
  shell in a pull_request-triggered workflow.

smoke-github-safe-injection.mjs updated:
  Upgrades the >256KB test case from "note" (Phase 1 red) to "ok" (Phase 2
  green) now that the 256KB cap is enforced.

Acceptance checks:
  node scripts/smoke-github-safe-injection.mjs  → all 5 cases pass
  node scripts/smoke-github-actions-pins.mjs    → ok (no regressions)
  grep -r 'github.event.comment.body.*--comment' .claude/agents/ v3/@claude-flow/cli/.claude/
  → exit 1 (no matches)

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-05-21 14:06:59 -04:00
rUvandReuven 511b2ac070 feat(codex): finish Codex ↔ Ruflo integration — real codex exec, dual run --worker, tests, CI guard (#1909) (#1911)
* fix(codex): correct codex MCP server subcommand + sync package version

- mcp-bridge: `@openai/codex mcp serve` → `@openai/codex mcp-server`.
  `codex mcp` manages *external* MCP servers (list/get/add/remove);
  `codex mcp-server` is the "start Codex as an MCP server (stdio)"
  command. `codex mcp serve` errors with "unrecognized subcommand
  'serve'", so the `codex` MCP backend never started. Fixed in both
  ruflo/src/mcp-bridge/index.js and ruflo/src/ruvocal/mcp-bridge/index.js.
- @claude-flow/codex: VERSION const was '3.0.0-alpha.8' while
  package.json is '3.0.0-alpha.9' — `--version`/`info` reported the
  wrong version. Synced to alpha.9.

Verified: `codex mcp serve` → error; `codex mcp-server` is valid.
@claude-flow/codex builds clean (tsc), 162 unit tests pass,
`claude-flow-codex` CLI (init/validate/doctor/templates/skills/dual)
all functional.

Co-Authored-By: RuFlo <ruv@ruv.net>

* feat(codex): W1 — dual-mode orchestrator spawns real `codex exec` for codex workers

Previously `codexCommand` defaulted to `'claude'` ("Both use claude CLI")
and every worker — claude or codex — was launched with Claude-CLI flags
(`-p`, `--output-format text`, `--max-turns`), so "dual-mode" was two
Claude instances. Now:
- `codexCommand` defaults to `'codex'`
- `executeHeadless` builds platform-specific args:
  - claude:  `-p <prompt> --output-format text [--max-turns N] [--model M]`
  - codex:   `exec --sandbox workspace-write --skip-git-repo-check [-m M] <prompt>`
    (PROMPT is positional -> last; `codex exec` runs autonomously)

Remaining in W1 (next iterations): update `.claude/agents/dual-mode/
codex-worker.md` + `codex-coordinator.md` to invoke `codex exec` instead
of `claude -p`; add mocked-spawn smoke test (W4). Tracked: #1909.

Co-Authored-By: RuFlo <ruv@ruv.net>

* feat(codex): W1 (cont.) — dual-mode agent defs invoke `codex exec`, not `claude -p`

codex-worker.md / codex-coordinator.md described "headless Codex workers"
but every spawn example was `claude -p "..." --session-id X` with
Claude-only flags (--max-budget-usd, --allowedTools, --output-format).
Updated to match the W1 orchestrator change:
- spawn syntax → `codex exec --sandbox <workspace-write|read-only>
  --skip-git-repo-check "<prompt>" &`
- dropped Claude-only flags; note that mixed-platform runs still use
  `claude -p` for Claude workers
- swarm/memory CLI refs `claude-flow@v3alpha` → `ruflo@latest`
- MCP tool refs `mcp__claude-flow__*` / `mcp__ruv-swarm__*` → `mcp__ruflo__*`

W1 now complete (orchestrator + agent defs). dual-orchestrator.md left
as-is — it correctly documents the mixed Claude+Codex split. Smoke test
is W4. Tracked: #1909.

Co-Authored-By: RuFlo <ruv@ruv.net>

* feat(codex): W2 — `dual run --worker "<platform>:<role>:<prompt>"` + positional template

`dual run` only accepted `--template <name>` / `--config <path>`, so the
custom-worker syntax documented in CLAUDE.md (`dual run --worker
"claude:architect:..." --worker "codex:coder:..."`) didn't exist, and
`dual run feature` (positional) silently fell through to "specify
--template". Now:
- `dual run [template]` — positional alias for `--template`
- `-w, --worker "<platform>:<role>:<prompt>"` (repeatable; platform =
  claude|codex; prompt may contain `:` — split on first two only).
  Workers chain sequentially (each `dependsOn` the previous) unless
  `--parallel-workers`. Unique ids derived from role.
- `parseWorkerSpecs()` exported for testing; clear errors on malformed
  specs / bad platform.
- improved no-args usage text.

build clean (tsc), 162 tests pass. Tracked: #1909 (W2). Tests for
parseWorkerSpecs land in W4.

Co-Authored-By: RuFlo <ruv@ruv.net>

* feat(codex): W3 — standardize CLI ref claude-flow@alpha -> ruflo; fix MCP-server registration

The dual-mode orchestrator/CLI shelled out to `npx claude-flow@alpha
memory ...`, `claude-flow-codex init` registered the MCP server as
`codex mcp add claude-flow -- npx claude-flow mcp start`, and the
config.toml / migration generators emitted `[mcp_servers.claude-flow]`
with `args = ["-y", "@claude-flow/cli@latest"]` — the wrong package, an
inner-package name, and (in config-toml) **missing the `mcp start`
subcommand** so the server never actually started.

- dual-mode/{orchestrator,cli}.ts: `claude-flow@alpha` -> `ruflo@alpha`
- initializer.ts: `codex mcp add claude-flow -- npx claude-flow mcp start`
  -> `codex mcp add ruflo -- npx ruflo mcp start`; "MCP server (ruflo)
  registered"; `npx @claude-flow/cli mcp start` -> `npx ruflo mcp start`
- generators/config-toml.ts: default server `name: 'ruflo'`,
  `args: ['-y', 'ruflo@latest', 'mcp', 'start']` (adds the missing
  subcommand); `[mcp_servers.ruflo]` in all examples; the
  already-configured check accepts both `ruflo` and legacy `claude-flow`
- generators/{agents-md,skill-md}.ts: `npx @claude-flow/cli ...` -> `npx ruflo ...`
- migrations/index.ts: default emitted server -> `[mcp_servers.ruflo]` /
  `args = ["-y", "ruflo@latest", "mcp", "start"]` (user-provided servers
  pass through unchanged)
- validators/index.ts: suggestion text -> `[mcp_servers.ruflo]`
- tests: updated generator/migration assertions to the new output

`npx vitest run` 162/162 pass. Note: `npm run build` (tsc) currently
fails on an UNRELATED uncommitted WIP file `src/loop/index.ts`
(exactOptionalPropertyTypes on prompt/command) — not from this change;
my files compile clean. Branding-only refs (config-toml header, repo
URLs in generated docs, remaining `@claude-flow/cli` in skill-md examples)
deferred to W7. Tracked: #1909 (W3).

Co-Authored-By: RuFlo <ruv@ruv.net>

* test(codex): W4 — dual-mode tests (parseWorkerSpecs, templates, orchestrator leveling, `dual` wiring)

New tests/dual-mode.test.ts (18 tests, no real workers spawned):
- parseWorkerSpecs: single spec, sequential chaining, --parallel-workers,
  colons-in-prompt, id dedup, whitespace trim, and the 3 error paths
  (too-few-colons / empty-prompt / unknown-platform)
- CollaborationTemplates: feature/security/refactor pipelines — ids,
  platforms, dependsOn chains, task interpolation
- `dual` command wiring: run/templates/status subcommands; `run` exposes
  --worker / --parallel-workers / --template and a positional [template]
- DualModeOrchestrator: safe defaults (codexCommand === 'codex'),
  buildDependencyLevels for linear / fan-in / circular cases

Full suite: 184/184 pass (162 prior + 18 new + 4 loop). `npm run build`
still blocked on the unrelated uncommitted `src/loop/index.ts`. Deferred:
a full `CodexInitializer.initialize()` integration test (it shells out
`codex mcp add`, which would touch the user's real codex config — needs
a mock first). Tracked: #1909 (W4).

Co-Authored-By: RuFlo <ruv@ruv.net>

* feat(codex): W5 — generated SKILL.md frontmatter gets version/author/tags

`claude-flow-codex init` / `generate-skill` produced SKILL.md files with
only `name` + `description`, so `claude-flow-codex validate` flagged 3
"Consider adding field: version/author/tags" warnings per skill.

- SkillMdOptions: optional `version` ("1.0.0"), `author` ("rUv"), `tags`
  (defaults to the skill name split on `-`)
- generateSkillMd emits `version: "..."`, `author: ...`, `tags: [...]`
  in the frontmatter; built-in skills (via generateBuiltInSkill) inherit
  the defaults automatically

Verified: a generated built-in skill validates with 0 warnings (was 3);
a bare `generate-skill` stub now has 1 warning ("No examples provided",
expected for a skill with no commands — out of scope here). `init →
validate → doctor` clean on the local build. `npm run build` + 184/184
tests pass. (The ~150 repo `.agents/skills/*/SKILL.md` are generated by
@claude-flow/cli, not this generator — out of scope.) Tracked: #1909 (W5).

Co-Authored-By: RuFlo <ruv@ruv.net>

* ci(codex): W6 — codex-integration-audit guard + workflow

`scripts/audit-codex-integration.mjs` — pure-Node static checks for the
Codex ↔ Ruflo invariants (issue #1909), exits non-zero on any failure:
- `codex` MCP backend uses `mcp-server` (not the invalid `mcp serve`) in
  both ruflo/src/mcp-bridge and ruvocal/mcp-bridge
- @claude-flow/codex VERSION const === its package.json version
- dual-mode orchestrator: `codexCommand` defaults to 'codex', codex
  workers spawn `codex exec --sandbox …`, no 'claude' fallback
- dual-mode agent defs reference `codex exec`, no legacy
  `claude -p … --session-id` worker pattern
- no `claude-flow@alpha` / `@claude-flow/cli@latest` left in codex src
- `dual run` exposes `--worker <spec>` + positional `[template]`,
  `parseWorkerSpecs` exported
- generateSkillMd emits version/author/tags frontmatter
- config.toml generator default MCP server = `ruflo` w/ `mcp start`

`.github/workflows/codex-integration-audit.yml` runs it on PRs / pushes
touching the codex package, mcp-bridge, dual-mode agents, or the script.
No `npm install` needed — build + tests stay in the main CI.

Audit passes on current branch. `npm run build` + 184/184 tests pass.
Tracked: #1909 (W6).

Co-Authored-By: RuFlo <ruv@ruv.net>

* feat(codex): claude-flow-codex loop runner — Codex-native /loop equivalent

Codex doesn't expose Claude Code's ScheduleWakeup, so this is a
process-based runner with the same behaviour:
- `loop run [prompt]` — repeated `codex exec` runs (or a custom
  `--command`), bounded by `--max-iterations`/`--interval`, with
  `--dry-run`, model/sandbox options, and a completion-marker-file
  contract
- `loop status [--name <name>]` / `loop stop [--name <name>]`
- state persisted to `.codex/loop/<name>.json`; stop-file aware
- wired into the CLI (`src/cli.ts`), exported (`src/index.ts`), with a
  `./loop` package export and README docs

(Implemented by rUv; landing it here so it isn't sitting dirty in the
worktree while the #1909 loop commits around it. `npm run build` +
184/184 tests pass; `git diff --check` clean.)

Co-Authored-By: RuFlo <ruv@ruv.net>

* chore(codex): W7 — package.json hygiene + repo URLs ruvnet/claude-flow -> ruvnet/ruflo

- package.json: drop dead `"templates"` from `files` (no templates/ dir
  at the package root — templates compile to dist/templates/); repository
  / homepage / bugs URLs -> ruvnet/ruflo; description -> "Ruflo (claude-flow)"
- src/index.ts: PACKAGE_INFO.repository -> ruvnet/ruflo
- src/initializer.ts, generators/{agents-md,config-toml}.ts: generated
  AGENTS.md / config.toml doc URLs -> ruvnet/ruflo (+ "Ruflo:" label)
- README.md: badge + footer URLs -> ruvnet/ruflo
- tests: assertion for the config.toml Documentation line

`npm run build` + 184/184 tests pass; codex-integration audit passes.
(Committed `.agents/AGENTS.md` / `.agents/config.toml` in the repo still
carry old URLs — generated artifacts; the generators are now fixed so
re-init produces ruvnet/ruflo. The published `claude-flow-codex`
package name stays as-is.) Tracked: #1909 (W7).

Co-Authored-By: RuFlo <ruv@ruv.net>

---------

Co-authored-by: Reuven <cohen@ruv-mac-mini.local>
2026-05-11 11:50:56 -04:00
rUvandReuven 47704f83d8 fix(agents): coder agents now read docs/adr/*.md alongside docs/SPEC.md (#1749) (#1752)
* fix(agents): coder agents now read docs/adr/*.md alongside docs/SPEC.md (#1749)

Issue #1749 (Coder agents ignore ADRs and only reference docs/SPEC.md)
documents real architectural drift in spec-driven workflows: the
Architect agent generates ADRs under docs/adr/, then Backend / Frontend
coders are spawned and only consult docs/SPEC.md, ignoring the ADRs
entirely. Code ends up out of sync with the architectural contract.

This change updates three coder agent definitions to declare ADRs as
authoritative inputs alongside SPEC.md:

- .claude/agents/core/coder.md (the Task-tool default `coder` subagent)
- .claude/agents/templates/implementer-sparc-coder.md (SPARC Refinement
  / Completion phase coder template)
- plugins/ruflo-core/agents/coder.md (the plugin form)

Each now contains an "Authoritative project documents" section that:

1. Mandates reading docs/SPEC.md AND docs/adr/*.md before
   architecture/scope-affecting work
2. States the contract explicitly: SPEC describes WHAT, ADRs describe
   HOW. ADRs are *binding* unless superseded by a newer Accepted ADR.
3. Calls out the multi-agent case explicitly: ADRs are the cross-agent
   contract that prevents bounded-context drift between parallel
   backend / frontend / tester implementations.
4. Tells coders that on conflict, they MUST surface it (propose either
   following the ADR or drafting a successor) rather than silently
   diverging.

No code generation behavior change — only the prompts spawned coder
agents see. Closes #1749.

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(agents): also wire ADR-awareness into sparc-coder template + ruflo-core/agents/coder.md (#1749)

Companion to the previous commit on this branch. The first commit only
landed for .claude/agents/core/coder.md because the Edit tool requires
Read first for the other two files. This commit adds the same
"Authoritative project documents" section to:

- .claude/agents/templates/implementer-sparc-coder.md (SPARC coder)
- plugins/ruflo-core/agents/coder.md (plugin form)

Closes #1749 — all three coder agent variants now mandate reading
docs/adr/*.md alongside docs/SPEC.md.

Co-Authored-By: RuFlo <ruv@ruv.net>

---------

Co-authored-by: Reuven <cohen@ruv-mac-mini.local>
2026-05-05 09:46:31 -04:00
rUv 4609a49179 fix: standardize agent/skill YAML frontmatter to Claude Code spec
- Convert 11 .yaml agent files to .md format
- Remove invalid frontmatter fields from 100+ agent files
  (type, color, capabilities, priority, triggers, role, version, etc.)
- Remove malformed hooks fields (Python dict serialization)
- Fix tools field from YAML arrays to comma-separated strings
- Rename 2 lowercase skill.md to SKILL.md
- Remove invalid skill fields (version, tags, category, author, etc.)
- Map invocable -> user-invocable, tools -> allowed-tools in skills

Only valid Claude Code fields remain:
  Agents: name, description, tools
  Skills: name, description, user-invocable, allowed-tools

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-25 20:28:58 +00:00
rUvandClaude Opus 4.5 52b08dbaf0 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: rebrand/ruvflow-umbrella
- Timestamp: 2026-02-11T20:54:14Z
- Changes: 20 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-11 20:54:14 +00:00
rUvandClaude Opus 4.5 da2e24179d Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: feature/codex-integration
- Timestamp: 2026-02-07T18:49:10Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-07 18:49:10 +00:00
rUvandClaude Opus 4.5 ac69a0311b Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: feature/codex-integration
- Timestamp: 2026-02-07T18:47:53Z
- Changes: 4 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-07 18:47:53 +00:00
rUvandClaude Opus 4.5 3d283f6b16 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: feature/codex-integration
- Timestamp: 2026-02-07T18:47:35Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-07 18:47:35 +00:00
rUvandClaude Opus 4.5 3e42a067a5 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: feature/codex-integration
- Timestamp: 2026-02-07T18:47:02Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-07 18:47:02 +00:00
rUvandClaude Opus 4.5 ed8962c0d3 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: feature/codex-integration
- Timestamp: 2026-02-07T18:46:36Z
- Changes: 6 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-07 18:46:36 +00:00
rUvandClaude Opus 4.5 e43da122b1 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: feature/codex-integration
- Timestamp: 2026-02-07T18:43:55Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-07 18:43:55 +00:00
rUvandClaude Opus 4.5 db6469ce06 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: feature/codex-integration
- Timestamp: 2026-02-07T18:43:29Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-07 18:43:29 +00:00
rUvandClaude Opus 4.5 96890e85d9 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: feature/codex-integration
- Timestamp: 2026-02-07T18:43:09Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-07 18:43:09 +00:00
rUvandClaude Opus 4.5 308c77f5d2 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: feature/codex-integration
- Timestamp: 2026-02-07T18:42:52Z
- Changes: 2 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-07 18:42:52 +00:00
rUvandClaude Opus 4.5 3cdc7a35e6 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-14T18:56:28Z
- Changes: 7 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 18:56:28 +00:00
rUvandClaude Opus 4.5 7778422a3c Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-14T18:55:04Z
- Changes: 17 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 18:55:04 +00:00
rUvandClaude Opus 4.5 109e3af781 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-14T18:53:36Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 18:53:36 +00:00
rUvandClaude Opus 4.5 2741ddc11b Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-14T18:53:22Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 18:53:22 +00:00
rUvandClaude Opus 4.5 16854c99e3 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-14T18:53:20Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 18:53:20 +00:00
rUvandClaude Opus 4.5 47869b7ee6 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-14T18:53:19Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 18:53:19 +00:00
rUvandClaude Opus 4.5 7a81227e66 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-14T18:53:18Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 18:53:18 +00:00
rUvandClaude Opus 4.5 bed599b799 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-14T18:53:00Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 18:53:00 +00:00
rUvandClaude Opus 4.5 9ca2751943 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-14T18:52:59Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 18:52:59 +00:00
rUvandClaude Opus 4.5 3fc2a429f8 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-14T18:52:58Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 18:52:58 +00:00
rUvandClaude Opus 4.5 a4ac5e6ac5 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-14T18:52:57Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 18:52:57 +00:00
rUvandClaude Opus 4.5 ead075597c Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-14T18:52:40Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 18:52:40 +00:00
rUvandClaude Opus 4.5 6722a608ea Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-14T18:52:34Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 18:52:34 +00:00
rUvandClaude Opus 4.5 46af19583c Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-14T18:52:32Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 18:52:32 +00:00
rUvandClaude Opus 4.5 75b082f8ad fix(hooks): use absolute paths for all hook scripts
- Update all 19 hook commands in settings.json to use absolute paths
- Prevents "not found" errors when shell working directory differs from project root
- Add error suppression (2>/dev/null || true) for non-critical hooks
- Refactor agent files for cleaner structure
- Add new specialized agent directories (code-review, architecture, data, devops, etc.)
- Clean up CLAUDE.md with SPARC methodology focus
- Net reduction of ~5,000 lines through consolidation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-06 16:44:41 +00:00
rUvandClaude Sonnet 4 47d6dd8998 checkpoint: Testing V3 checkpoint system setup
🚀 Generated with [Claude Code](https://claude.com/claude-code)
📊 V3 Development Progress Checkpoint

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
2026-01-04 16:56:44 +00:00
rUvandClaude Opus 4.5 1b6a1971f7 feat(v3): add comprehensive v3 implementation plans and swarm architecture
- Reorganize v3/ into implementation/ subfolders:
  - planning/, architecture/, migration/, integration/
  - security/, adrs/, research/, swarm-plans/

- Add 15-agent concurrent swarm implementation plans:
  - SWARM-OVERVIEW.md: Hierarchical mesh topology, 4 phases
  - AGENT-SPECIFICATIONS.md: 15 agent configs with capabilities
  - TDD-LONDON-SCHOOL-PLAN.md: Mock-first TDD methodology
  - BENCHMARK-OPTIMIZATION.md: Performance targets (2.49x-7.47x)
  - DEPLOYMENT-PLAN.md: Release strategy, CI/CD, rollback
  - GITHUB-ISSUE-TRACKING.md: Issue workflow with agent replies

- Update .claude/settings.json with proper hooks format
- Add bash aliases for claude --dangerously-skip-permissions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 15:40:51 +00:00
rUv 94a80842e7 [release] v2.7.0-alpha.11 - Skills System Integration
✨ Features:
- 21 built-in skills via MCP server
- Complete skills tutorial (3000+ lines)
- Commands → Skills migration
- Auto-discovery system
- Init command creates .claude/skills/

📚 Documentation:
- New: docs/skills/skills-tutorial.md
- New: docs/COMMANDS_TO_SKILLS_MIGRATION.md
- New: docs/FINAL_INIT_STRUCTURE.md
- Updated: CHANGELOG.md

🔧 Changes:
- Removed 68 command files (migrated to skills)
- Version bump to alpha.11
- Enhanced init system

🚀 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-20 01:15:53 +00:00
rUvandClaude 839f6b47b1 [feat] Complete help system integration & smarter pre-commit hook
Help system updates with ReasoningBank, Agent Booster, and Proxy integration.

## Help System Updates
- Added ReasoningBank to main help with 46% faster metrics
- Added OpenRouter Proxy with 85-98% cost savings
- Added Agent Booster with 352x speed improvement
- Updated all command descriptions with performance data

## Pre-commit Hook Improvements
- Smart detection of documentation placeholders
- Recognizes (paste), (your-key), ... patterns
- Skips docs/, example, template files, and .map files
- Prevents false positives on documentation

## Files Modified
- src/cli/help-text.js: Complete integration (ReasoningBank + Proxy)
- src/hooks/redaction-hook.ts: Smart placeholder detection
- src/cli/simple-commands/{env-template,proxy}.js: Placeholder format
- docs/REASONINGBANK-*.md: Documentation examples (7 files)

## Verification
✅ All 18 agent commands working (docs/COMMAND-VERIFICATION-REPORT.md)
✅ Agent Booster: 0.17ms avg (352x faster confirmed)
✅ ReasoningBank: 14 memories, 0.76 confidence, operational
✅ MCP Server: 10 tools registered
✅ Zero regressions found

Related: 51d4cfc31, 0f2d55531

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-12 15:18:06 +00:00
rUv da7a72d080 🏁 Session end checkpoint: session-20250926-175225 2025-09-26 17:52:25 +00:00
rUv af1e004a9b 🔖 Checkpoint: Edit /workspaces/claude-code-flow/.claude/agents/core/reviewer.md 2025-09-26 17:51:20 +00:00
rUv daafac11e9 🔖 Checkpoint: Edit /workspaces/claude-code-flow/.claude/agents/core/planner.md 2025-09-26 17:51:01 +00:00
rUv 79b3577371 🔖 Checkpoint: Edit /workspaces/claude-code-flow/.claude/agents/core/researcher.md 2025-09-26 17:50:42 +00:00
rUv 62e48e70bb 🔖 Checkpoint: Edit /workspaces/claude-code-flow/.claude/agents/core/tester.md 2025-09-26 17:50:04 +00:00
rUv e836c30ceb 🔖 Checkpoint: Edit /workspaces/claude-code-flow/.claude/agents/core/coder.md 2025-09-26 17:49:38 +00:00
rUv b022461195 🐝 Add hive-mind agents with mandatory memory coordination
- Create collective-intelligence-coordinator for distributed cognition
- Add swarm-memory-manager for distributed memory operations
- Create queen-coordinator for hierarchical control
- Add worker-specialist for task execution with progress reporting
- Create scout-explorer for reconnaissance and discovery
- Update hierarchical-coordinator with memory protocol
- Inject memory coordination into swarm and hive-mind commands
- All agents now enforce memory writes to coordination namespace
- Implement 5-step mandatory coordination pattern
- Enable automatic CLAUDE.md injection with --claude flag
2025-09-26 17:38:57 +00:00
rUv f0cae11b40 🔖 Checkpoint: Edit /workspaces/claude-code-flow/.claude/agents/hive-mind/scout-explorer.md 2025-09-26 17:38:20 +00:00
rUv 8a976ad865 🔖 Checkpoint: Edit /workspaces/claude-code-flow/.claude/agents/hive-mind/worker-specialist.md 2025-09-26 17:37:26 +00:00
rUv f31c4079f7 🔖 Checkpoint: Edit /workspaces/claude-code-flow/.claude/agents/swarm/hierarchical-coordinator.md 2025-09-26 17:36:32 +00:00
rUv d889df53b5 🔖 Checkpoint: Edit /workspaces/claude-code-flow/.claude/agents/swarm/hierarchical-coordinator.md 2025-09-26 17:36:06 +00:00
rUv 93467d027b 🔖 Checkpoint: Edit /workspaces/claude-code-flow/.claude/agents/hive-mind/queen-coordinator.md 2025-09-26 17:35:12 +00:00
rUv 62e751c4ce 🔖 Checkpoint: Edit /workspaces/claude-code-flow/.claude/agents/hive-mind/swarm-memory-manager.md 2025-09-26 17:34:22 +00:00
rUv f441b23260 🔖 Checkpoint: Edit /workspaces/claude-code-flow/.claude/agents/hive-mind/collective-intelligence-coordinator.md 2025-09-26 17:33:35 +00:00
rUv 4b25074c87 🔖 Checkpoint: Edit /workspaces/claude-code-flow/.claude/agents/templates/coordinator-swarm-init.md 2025-09-26 17:09:54 +00:00