Skip to content

chore: complete workflow V2 migration and stop tracking .claude/#14

Merged
kschlt merged 2 commits intomainfrom
core/workflow-v2-migration
Mar 26, 2026
Merged

chore: complete workflow V2 migration and stop tracking .claude/#14
kschlt merged 2 commits intomainfrom
core/workflow-v2-migration

Conversation

@kschlt
Copy link
Copy Markdown
Owner

@kschlt kschlt commented Mar 26, 2026

Why

The project had accumulated two parallel systems: legacy V1 workflow docs in guide/dev/ and shell scripts in scripts/, alongside the new V2 agent system in .agent/. This left the agent harness pointing to stale locations and created confusion about the authoritative source of truth. The .claude/ directory was also being tracked in git, which should be local-only IDE/agent config.

Approach

Two focused changes:

  1. Stop tracking .claude/ — added to .gitignore and removed from the git index. These are local configuration files (skills, memory, settings) that are environment-specific and shouldn't be versioned. This is a one-way door: once untracked, they stay local.

  2. Remove V1 artifacts — deleted guide/dev/task-workflow.md, guide/dev/git-workflow.md, and scripts/branch-context.sh, all of which had direct V2 replacements already in place (adr_kit/agent/workflows/ and .agent/scripts/branch_context.py). Updated the root CLAUDE.md session protocol to be a thin dispatcher that points to .agent/CLAUDE.md as the single authoritative reference, removing the duplicated quick-summary content that was drifting out of sync.

No runtime code was modified — this is purely a developer tooling and documentation cleanup.

What Was Tested

  • Quality suite ran clean: make quality passed (ruff, mypy, black — no issues, 313 tests passing)
  • Verified .claude/ no longer appears in git status after removal
  • Confirmed V2 workflow scripts remain intact at .agent/ paths after V1 deletion

Risks

Additive/removal changes only — no production code modified. The only risk is if a developer had a workflow memorized that relied on the V1 file paths; they would need to update to .agent/CLAUDE.md. The root CLAUDE.md now explicitly redirects there, mitigating this.

kschlt added 2 commits March 25, 2026 22:44
Add .claude/ to .gitignore and remove tracked files from index.
These are local IDE/agent configuration files that shouldn't be versioned.
Remove remaining V1 workflow files replaced by the V2 system:
- guide/dev/task-workflow.md → .agent/workflows/session-workflow.md
- guide/dev/git-workflow.md → .agent/workflows/git-workflow.md
- scripts/branch-context.sh → .agent/scripts/branch_context.py

Update root CLAUDE.md with V2 session protocol dispatcher
pointing to .agent/CLAUDE.md as the authoritative reference.
@kschlt kschlt merged commit 10b7855 into main Mar 26, 2026
8 checks passed
@kschlt kschlt deleted the core/workflow-v2-migration branch March 26, 2026 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant