Skip to content

feat(ci): publish reusable devcontainer package and add tf FastMCP tools - #7

Merged
dan-petty merged 3 commits into
release/v0.1.9from
feat/devcontainer-package-and-mcp-tools
Aug 18, 2026
Merged

dan-petty merged 3 commits into
release/v0.1.9from
feat/devcontainer-package-and-mcp-tools

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Summary

This pull request introduces reusable Dev Container packaging on release, integrates OpenTofu FastMCP tools, and resolves AI code review findings:

1. Reusable Docker Dev Container Package (ghcr.io)

  • Release Automation: Integrated devcontainers/[email protected] and docker/login-action@v3 into .github/workflows/release.yml with packages: write permissions.
  • Multi-tagging: Automatically publishes pre-built Dev Container images to ghcr.io/dan-petty/devops-cli/devcontainer:<version>, v<version>, and latest.
  • Documentation: Updated README.md with quickstart commands for pulling and referencing the pre-built Dev Container package.

2. OpenTofu FastMCP Tools & Agent Bridge

  • Added FastMCP tools: tf_plan, tf_apply, tf_output (with tofu_* aliases) in src/devops_cli/ai/mcp/server.py.
  • Exposed OpenTofu tools in src/devops_cli/ai/tools/mcp_bridge.py for direct use by PydanticAgents.
  • Regenerated MCP documentation in docs/MCP_TOOLS.md.

3. Review Findings Remediation & Feedback Loop

  • Converted all legacy multi-exception clauses (except A, B:) across the codebase to standard Python 3 parenthesized tuples (except (A, B):).
  • Replaced mutable defaults in Pydantic models with Field(default_factory=list|dict).
  • Added timeout-minutes: 30 to CI and Release workflows.
  • Enhanced verification heuristics in src/devops_cli/ai/tasks/verify_finding.md and documented invariants in AGENTS.md and docs/KNOWN_ISSUES.md.

Verification

  • uv run devops ci quality gate passing (tests, coverage, lint, format, strict typecheck, docs freshness).
  • 331 tests passing.

Copilot AI lite review requested due to automatic review settings August 17, 2026 23:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@dan-petty
dan-petty merged commit a4f1d80 into release/v0.1.9 Aug 18, 2026
1 check passed
@dan-petty
dan-petty deleted the feat/devcontainer-package-and-mcp-tools branch August 18, 2026 00:41
dan-petty added a commit that referenced this pull request Aug 18, 2026
* docs: update agent instructions for PR branch updating, release targeting, and non-merge policy (#5)

* feat(tf): implement OpenTofu and Terraform subcommands (devops tf) (#6)

* feat(tf): implement OpenTofu and Terraform subcommands (devops tf)

* ci: trigger CI Quality Gate on release branches in ci.yml

* feat(ci): publish reusable devcontainer package and add tf FastMCP tools (#7)

* feat(mcp): add tf_plan, tf_apply, and tf_output FastMCP tools

* fix(review): address review findings, update prompts, and strengthen feedback loop

* feat(ci): build and publish reusable dev container package on github release

* docs(agents): forbid commits to unrelated or merged branches (#8)

* refactor(ai): optimize prompts, clean up command references, and refresh roadmap (#9)

* refactor(ai): optimize prompts for token density, update command references, and refresh roadmap

* docs(roadmap): order milestones chronologically by release and remove Phase n prefixes

* docs(roadmap): add FastAPI REST and OpenAPI service engine to v0.2.0 roadmap

* docs(changelog): update v0.1.9 release notes with OpenTofu, DevContainer package, and prompt optimizations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

2 participants