Repository navigation
Conversation
…late enhancements Add new issue templates (refactor, documentation, ci/build), a Cursor rule for changelog updates, a template chooser config, and enhance existing templates with a Changelog Category dropdown and the PR template with an explicit Changelog Entry section. This closes the agent workflow loop from issue to commit to PR. Refs: #61
Add 11 Cursor commands covering the full development lifecycle (brainstorm, plan, execute-plan, start-issue, create-issue, tdd, review, verify, check-ci, fix-ci, debug) and an always-on TDD rule enforcing RED-GREEN-REFACTOR discipline. Refs: #63
Add 11 Cursor commands covering the full development lifecycle (brainstorm, plan, execute-plan, start-issue, create-issue, tdd, review, verify, check-ci, fix-ci, debug) and an always-on TDD rule enforcing RED-GREEN-REFACTOR discipline. Refs: #63
The sync-workspace hook is devcontainer-repo-specific and should not be included in the workspace template. Downstream projects don't have scripts/sync-workspace.sh, causing pre-commit install-hooks to fail during container image builds. Refs: #63
Python yaml.dump() was creating malformed YAML with duplicate keys and wrong indentation. Reverted to text-based sed/awk approach that preserves original formatting while removing hook blocks and empty repo stanzas. Refs: #63
- Comment out transformed files in sync-manifest.txt (now handled by sync-workspace.sh) - Auto-fix markdown formatting (pymarkdown) and trailing whitespace in docs - Auto-fix typos in CONTRIBUTE.md, README.md, justfile These are pre-existing formatting issues caught by CI that are now fixed. Refs: #63
The docs/COMMIT_MESSAGE_STANDARD.md file was still referenced in sync-manifest.txt but wasn't being copied by sync-workspace.sh, causing test_manifest_files to fail. Added explicit copy to sync script. Refs: #63
Consolidate the dual sync systems (sync-manifest.txt + prepare-build.sh bash function, and sync-workspace.sh shell script) into a single declarative Python manifest (scripts/sync_manifest.py). The manifest defines both which files to sync and what transformations to apply, making it the single source of truth for workspace template generation. Transforms include removing devcontainer-specific hooks, generalizing paths, and stripping Docker config sections. - Add scripts/sync_manifest.py with Entry, Sed, RemoveLines, RemoveBlock, RemovePrecommitHooks, ReplaceBlock, StripTrailingBlankLines - Update prepare-build.sh to call sync_manifest.py instead of bash fn - Add just sync-workspace recipe calling same script - Update test_manifest_files to skip checksums for transformed entries - Update BATS tests for new prepare-build.sh structure - Remove scripts/sync-manifest.txt (replaced by Python manifest) Refs: #67
Merge agent-friendly issue templates, changelog Cursor rule, and PR template enhancements from #61 into the consolidated branch. Re-synced workspace templates to pick up new files (refactor.yml, documentation.yml, ci_build.yml, config.yml, changelog.mdc). Updated CHANGELOG to include both #61 and #67 entries. Refs: #61, #63, #67
…heck Add assignee verification step that warns about existing assignees and offers to assign the current user via `gh issue edit --add-assignee @me`. Refs: #67
Replace local plan files and issue-body editing with GitHub issue comments as the single source of truth for /plan, /execute-plan, and /brainstorm workflows. Agent reads/writes plans via gh api and triggers sync-issues for local availability. Refs: #63
Each RED-GREEN-REFACTOR phase now requires its own commit so the git history proves TDD compliance to regulatory/quality auditors. Refs: #63
Propagate start-issue to claim-issue rename (with assignment check) into assets/workspace via sync manifest. Refs: #63
Generalize just test-image to just test for plan.md in the workspace template, matching existing tdd.md and verify.md transforms. Refs: #67
File belongs in .github_data/ and was duplicated in docs/ by an older sync-issues run.
Add label-taxonomy.toml as single source of truth for 7 canonical labels (bug, chore, discussion, docs, feature, refactor, wontfix). Rename templates for consistency (bug.yml, feature.yml, docs.yml, refactor.yml) and merge ci_build + task into chore.yml. Add setup-labels.sh for idempotent label provisioning on any repo. Refs: #80
Introduce a new document outlining the Single Source of Truth (SSoT) principle, emphasizing the importance of linking to canonical sources instead of duplicating information. This document applies to various aspects including documentation, configuration, infrastructure, and comments, providing practical steps for implementation. Refs: #80
Move 14 commands from .cursor/commands/ to .cursor/skills/ as SKILL.md files with proper frontmatter. Update sync manifest to sync skills instead of commands. Fix all cross-skill and rule relative paths. Remove orphaned assets/workspace/.cursor/commands/. Refs: #81
Rename 15 skills using action-domain namespaces (issue:, design:, code:, git:, ci:, pr:) for faster invocation filtering: - issue: create, claim, triage - design: brainstorm, plan - code: execute, tdd, debug, verify, review - git: commit - ci: check, fix - pr: create, post-merge Update frontmatter, cross-references, sync_manifest.py transform targets, label-taxonomy.toml, and CHANGELOG.md. Refs: #67
- justfile.gh with `gh-issues` recipe using rich tables - scripts/gh_issues.py: issues grouped by milestone, PRs section, linked branches via GraphQL, issue↔PR cross-references - source_directory() for portable script path resolution - Sync manifest ships both files to downstream workspaces - Downstream justfile template imports .devcontainer/justfile.gh Refs: #84
This commit merges the feature/67-declarative-sync-manifest branch into the dev branch.
Native Cursor worktree config (.cursor/worktrees.json), CLI-based justfile recipes with tmux + cursor-agent for devcontainer environments, and seven autonomous worktree skills (brainstorm, plan, execute, verify, pr, ask, solve-and-pr) that mirror the interactive workflow without blocking for user feedback. Refs: #64
…rative-sync-manifest
The worktree-start recipe now checks `agent status` first, falls back to CURSOR_API_KEY, and offers interactive `agent login` as a last resort instead of failing immediately. Refs: #64
Worktrees inherit the main repo's git config which may have core.hooksPath set (e.g. .githooks from devcontainer setup), causing pre-commit to refuse installation. Refs: #64
Hook environments are cached in ~/.cache/pre-commit/ and shared across worktrees. Only the git hook shim needs registering. Refs: #64
Add worktree path to ~/.cursor/cli-config.json trustedDirectories via jq before launching cursor-agent, and pass --yes flag to skip the interactive workspace trust prompt. Refs: #64
The --trust flag only works in headless (--print) mode. For interactive agent chat sessions, trustedDirectories in cli-config.json handles it. Refs: #64
Extract trust logic into _wt_ensure_trust function and call it in both the new-worktree and existing-worktree code paths. Refs: #64
Worktree agents run unattended in tmux, so auto-approve all shell commands instead of blocking on confirmation prompts. Refs: #64
Add tests for just check recipe integration: - Verify check recipe calls version-check.sh - Test verbose mode and subcommand passthrough - Test config, mute, enable/disable functionality Add tests for post-attach integration: - Verify post-attach.sh calls version-check.sh - Test silent mode invocation - Test graceful failure handling - Verify call is at end of script Add tests for notification message corrections: - Verify correct upgrade command shown - Ensure no misleading "just update" reference - Test curl fallback and host terminal clarification - Verify rebuild reminder and mute options Add tests for devcontainer-upgrade recipe: - Verify recipe exists in justfile.base - Test container environment detection - Test error message when run in container - Test runtime availability check - Verify install.sh call with --force flag All tests currently fail (RED phase) as features not yet implemented. Also includes implementation plan document. Refs: #73 Co-authored-by: Cursor <[email protected]>
Implement just check recipe that provides user-friendly interface
to version-check.sh:
- Accepts variadic arguments (*args) to pass through subcommands
- Default behavior (no args) runs in verbose check mode
- Supports: check config, check on/off, check 7d, etc.
- Located in [group('info')] for discoverability
- Includes error handling for missing script
- Uses justfile_directory() for correct path resolution
The recipe acts as a proxy to expose all version-check.sh
functionality through the just interface, making it more
discoverable and consistent with the project's tool usage patterns.
Refs: #73
Co-authored-by: Cursor <[email protected]>
Call version-check.sh at the end of post-attach to provide automatic update notifications when attaching to the devcontainer: - Uses silent mode (no arguments) for non-intrusive checks - Throttled by 24-hour interval (configurable) - Respects mute/disable preferences - Graceful failure (|| true) ensures attach never breaks - Runs after all other setup is complete Users will now be notified when a newer devcontainer release is available, without manual checking or workflow disruption. Refs: #73 Co-authored-by: Cursor <[email protected]>
…ication Replace misleading upgrade instructions in notify_update(): - Remove incorrect "just update" command (updates Python deps, not devcontainer) - Show correct "just devcontainer-upgrade" command - Clarify it must run from host terminal, not inside container - Provide curl install.sh fallback for users without just on host - Add reminder to rebuild container in VS Code after upgrade - Keep mute/disable options prominent The old message directed users to "just update" which only runs "uv lock --upgrade" for Python dependencies, not a devcontainer upgrade. This fixes the confusion and provides clear, actionable instructions. Refs: #73 Co-authored-by: Cursor <[email protected]>
Add just devcontainer-upgrade recipe for convenient host-side upgrades: Container detection: - Checks /.dockerenv and $container environment variable - Shows clear error when run inside container - Guides user to run from host terminal instead Host-side functionality: - Auto-detects podman or docker - Shows installation instructions if neither available - Downloads and runs install.sh with --force flag - Provides both just and curl upgrade paths in error messages The recipe is in the info group for discoverability and provides a memorable, easy-to-use upgrade command that complements the automatic update notifications. Refs: #73 Co-authored-by: Cursor <[email protected]>
Document all changes in issue #73: Added: - Automatic update notifications on devcontainer attach - Host-side devcontainer upgrade recipe (just devcontainer-upgrade) - just check recipe for version management Changed: - Updated notification message with correct upgrade instructions - Clarified host terminal requirement - Fixed misleading "just update" reference Refs: #73 Co-authored-by: Cursor <[email protected]>
Update version check to match GitHub CLI 2.87.0 released on 2026-02-18. The CI detected this new version during image tests. Refs: #73 Co-authored-by: Cursor <[email protected]>
9 tasks
Contributor
Author
Security Vulnerabilities UpdateThe 6 security vulnerabilities mentioned during Analysis✅ Confirmed: No dependency changes in this PR
✅ Pre-existing issues: All alerts created Jan 13-26, 2026 (weeks before this PR) ✅ Tracked separately: Created issue #88 to address these vulnerabilities
RecommendationThis PR is clear to merge - it neither introduces nor worsens existing vulnerabilities. The dependency updates will be handled in #88. |
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements automatic devcontainer update notifications and adds a convenient host-side upgrade recipe as specified in #73.
What Changed
Automatic notifications:
version-check.shintopost-attach.shfor silent, throttled checks|| true) ensures attach never breaksUser-friendly version management:
just check- verbose version checkjust check config- show configurationjust check on/off- enable/disable notificationsjust check 7d- mute for 7 daysversion-check.shwith proper argumentsHost-side upgrade recipe:
just devcontainer-upgrade- convenient upgrade from hostFixed notification message:
just update(Python deps, not devcontainer)just devcontainer-upgradecommandImplementation
Following strict TDD methodology with RED-GREEN-REFACTOR discipline:
just checkrecipe (1 commit)just devcontainer-upgraderecipe (1 commit)Total: 6 commits, all following commit message standard with
Refs: #73Files Changed
Templates (assets/workspace/):
.devcontainer/justfile.base- Added check and devcontainer-upgrade recipes.devcontainer/scripts/post-attach.sh- Added version-check.sh call.devcontainer/scripts/version-check.sh- Fixed notify_update() messageTests:
tests/test_integration.py- Added 400+ lines of integration testsDocumentation:
CHANGELOG.md- Documented all changes in Unreleased section.github_data/issues/issue-73-plan.md- Implementation planTest Plan
✅ Integration tests added:
✅ Manual verification checklist:
just check→ verbose version checkjust check config→ configuration displayjust check off→ disable notificationsjust check 7d→ mute for 7 daysjust devcontainer-upgradeinside container → error messagejust devcontainer-upgradeon host → downloads install script✅ Syntax validation:
✅ Code quality:
Breaking Changes
None. This is fully additive:
just check offjust devcontainer-upgradeand curl methods supportedImpact
Closes #73