Skip to content

Merge dev to main#302

Merged
zbigniewsobiecki merged 9 commits intomainfrom
dev
Feb 16, 2026
Merged

Merge dev to main#302
zbigniewsobiecki merged 9 commits intomainfrom
dev

Conversation

@zbigniewsobiecki
Copy link
Copy Markdown
Member

Summary

  • Claude Code model dropdown for agent backend selection
  • Richer progress reports with tool details, text snippets, and task summaries
  • GitHub Actions API migration for fine-grained PAT compatibility
  • seed-prompts simplification and test fixes

All CI checks pass on dev.

🤖 Generated with Claude Code

zbigniewsobiecki and others added 9 commits February 16, 2026 16:12
The claude-code backend generates `--flag` syntax for all tool
parameters, but PM and GitHub CLI commands used oclif positional Args
which don't accept `--` prefix. Convert all positional args to Flags
so the generated CLI invocations work correctly.

Also fix tool manifest parameter names to match actual flag names
(includeComments → include-comments, checkItemId → check-item-id)
and remove unused Args import from dashboard prompts command.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Move agent system prompts and partials from disk-only .eta templates to
a database-backed system where admins can edit them via CLI/web without
deployments. The .eta files become bootstrap fallbacks.

Key changes:
- New prompt_partials DB table with migration and repository
- Pre-processing include resolution (DB partials → disk fallback → Eta rendering)
- Fixed prompt resolution chain: project → org/global DB → .eta file
- New prompts tRPC router with template introspection and partial CRUD
- 8 new CLI commands under `cascade prompts`
- Web UI prompt editor with reference panel (variables + partials)
- Template validation on save in agentConfigs mutations
- Seed script for bootstrapping DB from .eta files
- Refactored 6 functions to resolve all linter complexity warnings
- Added 85 new tests (prompts, modelResolution, prompts router, ADF)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add graceful fallback in partialsRepository when prompt_partials
  table doesn't exist yet (returns empty results instead of 500)
- Fix TypeScript error accessing 'id' on union type in PartialEditor
  reset mutation by using 'in' type guard

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…nd-jq

fix: CLI args-to-flags for claude-code compat + add jq to worker
- Add Claude Code model constants (models.ts) and expose via tRPC query
- Replace free-text model input with dropdown when backend is claude-code
  (defaults form, global agent config, project agent config)
- Improve resolveClaudeModel() with known model ID check and fallback warning
- Enrich progress reports with tool details, agent text snippets, and
  completed task summaries (progressModel/progressMonitor)
- Add onTaskCompleted to ProgressReporter, handle task_notification in SDK stream
- Migrate GitHub getCheckSuiteStatus from Checks API to Actions API
  (workflow runs + jobs) for fine-grained PAT compatibility
- Simplify seed-prompts to update-first approach
- Fix pre-existing test failures: update GitHub client tests for Actions API
- Fix cognitive complexity lint warning by extracting processTaskNotification

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…dropdown-and-progress-enrichment

feat: claude-code model dropdown, richer progress, and fixes
…it-tests

test(config): add unit tests for provider module
@zbigniewsobiecki zbigniewsobiecki merged commit dbbbc07 into main Feb 16, 2026
8 checks passed
aaight pushed a commit that referenced this pull request Mar 13, 2026
…ent_runs

- Add src/queue/cancel.ts module with publishCancelCommand() and subscribeToCancelCommands()
  for Dashboard→Router kill command communication via Redis pub/sub
- Add job_id TEXT column to agent_runs table via migration 0035
- Update Drizzle schema to include jobId field
- Add repository functions updateRunJobId() and getRunJobId()
- Include jobId in enrichedRunSelect for API visibility
- Add comprehensive unit tests for pub/sub module (9 tests) and repository functions (7 tests)
- All tests passing, lint and typecheck clean

Fixes: #302
aaight added a commit that referenced this pull request Mar 13, 2026
…ent_runs (#773)

- Add src/queue/cancel.ts module with publishCancelCommand() and subscribeToCancelCommands()
  for Dashboard→Router kill command communication via Redis pub/sub
- Add job_id TEXT column to agent_runs table via migration 0035
- Update Drizzle schema to include jobId field
- Add repository functions updateRunJobId() and getRunJobId()
- Include jobId in enrichedRunSelect for API visibility
- Add comprehensive unit tests for pub/sub module (9 tests) and repository functions (7 tests)
- All tests passing, lint and typecheck clean

Fixes: #302

Co-authored-by: Cascade Bot <bot@cascade.dev>
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