Skip to content

Rewrite CLI in Go with incremental prompt bundling workflow#6

Merged
dana-feng merged 2 commits into
mainfrom
danafeng/update-the-workflow
Apr 4, 2026
Merged

Rewrite CLI in Go with incremental prompt bundling workflow#6
dana-feng merged 2 commits into
mainfrom
danafeng/update-the-workflow

Conversation

@dana-feng
Copy link
Copy Markdown
Collaborator

  • Replace TypeScript CLI with Go rewrite (pcr add/commit/push workflow)
  • Add open bundles: bundles stay open for amendment until explicitly sealed with 'pcr commit "name"', replacing the old git-hook-based auto-bundling
  • Capture git diff (HEAD, capped 50KB) per prompt at watcher capture time
  • Add 'pcr add "bundle-name"' to create/append to a named open bundle
  • Add 'pcr commit "bundle-name"' to seal a bundle for pushing
  • Add pcr_after_turn MCP tool to nudge users about unreviewed prompts
  • Versioned DB migrations (schema_version table) for safe schema evolution
  • pcr push skips open bundles with a warning
  • pcr log shows OPEN BUNDLES and SEALED sections separately
  • Remove git hook installation and all git-commit-tied bundling logic

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
EOF

  - Replace TypeScript CLI with Go rewrite (pcr add/commit/push workflow)
  - Add open bundles: bundles stay open for amendment until explicitly sealed
    with 'pcr commit "name"', replacing the old git-hook-based auto-bundling
  - Capture git diff (HEAD, capped 50KB) per prompt at watcher capture time
  - Add 'pcr add "bundle-name"' to create/append to a named open bundle
  - Add 'pcr commit "bundle-name"' to seal a bundle for pushing
  - Add pcr_after_turn MCP tool to nudge users about unreviewed prompts
  - Versioned DB migrations (schema_version table) for safe schema evolution
  - pcr push skips open bundles with a warning
  - pcr log shows OPEN BUNDLES and SEALED sections separately
  - Remove git hook installation and all git-commit-tied bundling logic

  Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
  EOF
@dana-feng dana-feng force-pushed the danafeng/update-the-workflow branch from 032ca9b to a9e8588 Compare April 4, 2026 01:54
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