Skip to content

feat(sdlc): enterprise SDLC conventions, repository governance, and GitHub automation roadmap - #36

Merged
dan-petty merged 5 commits into
release/v0.2.11from
feat/enterprise-sdlc-and-github-integrations
Sep 6, 2026
Merged

dan-petty merged 5 commits into
release/v0.2.11from
feat/enterprise-sdlc-and-github-integrations

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Description

Implements modern enterprise software development life cycle (SDLC) standards, community health and governance templates, pre-commit secret detection, and architectural documentation. Schedules Milestone v0.2.14 (GitHub Enterprise Repository & Project Management Automation) on the Master Strategic Roadmap.

Key Changes

  1. Enterprise Repository Governance & Community Health:

    • .github/pull_request_template.md: Comprehensive SDLC quality gate checklist (TDD, CI, invariants, zero secret leakage, docs sync, conventional commits).
    • .github/ISSUE_TEMPLATE/ (bug_report.yml, feature_request.yml, config.yml): Validated GitHub issue forms with environment diagnostics, reproduction steps, and AGENTS.md invariant compliance.
    • .github/CODEOWNERS: Declarative code ownership mappings across all core domains to @dan-petty.
    • .github/dependabot.yml: Weekly automated updates for github-actions and pip targeting release/v0.2.11.
    • SECURITY.md: Enterprise zero-trust security policy, supported version matrix (0.2.x), private disclosure paths, and 24h/72h SLA.
    • CONTRIBUTING.md: Modernized contributor guide aligning with TDD, architectural invariants (nesting <= 5, complexity <= 10), and routine operations.
  2. Pre-Commit Hardening:

    • .pre-commit-config.yaml: Added detect-private-key (excluding ^tests/), check-merge-conflict, check-toml, and check-json. Verified 12/12 hooks pass.
  3. Enterprise SDLC Architectural Manual:

    • docs/SDLC.md: Comprehensive 7-phase enterprise SDLC framework manual (Inception -> TDD Specification -> Implementation & Invariants -> Shift-Left Verification -> Multi-Persona AI Review -> PR & Release Choreography -> Observability & DORA).
  4. Strategic Roadmap Expansion (Milestone v0.2.14):

    • docs/ROADMAP.md & docs/PENDING_FEATURES.md: Scheduled Milestone v0.2.14 (GitHub Enterprise Repository & Project Management Automation) with 6 strategic deliverables:
      • devops gh issues: Automated issue triage, duplicate detection, and milestone/label assignment.
      • devops gh project: Bidirectional synchronization between docs/agent/task.md and GitHub Projects v2 boards.
      • devops gh branch-protection: Declarative branch protection rule and status check auditor.
      • devops gh secrets: Workstation-to-GitHub Actions secret sync via OS Keyring/Vault.
      • devops gh labels: Declarative repository label schema provisioner.
      • FastMCP GitHub tools (gh_issue_list, gh_issue_create, gh_project_status, gh_branch_protect_audit).
    • Added 6 rows to the Value vs. Effort Prioritization Matrix.

Enterprise SDLC Quality Gate Checklist

  • Test-First Implementation (TDD): Pre-existing tests and invariants validated.
  • Full CI Quality Gate: devops ci executed locally with 10/10 green quality gates.
  • Strict Code Coverage: Maintained strict >= 90% code coverage across src/.
  • Architectural Invariants Gate:
    • Cyclomatic complexity <= 10 project-wide across all functions and closures.
    • Maximum nesting depth <= 5 (< 6 indentation levels) across all code blocks.
    • Standardized domain exceptions inheriting from DevOpsCLIError.
    • Pytest collection hygiene enforced (__test__ = False on dummy/mock models).
  • Zero-Trust Security & Egress Safety:
    • Zero plaintext secrets, API keys, or credentials stored in code, configurations, or commit history.
    • No information leaked or extracted from private or .gitignored paths.
    • SSRF mitigation and bounded subprocess timeouts strictly enforced.
  • Canonical Location Formatting: All CLI outputs, Rich tables, and reports formatted as filename.ext:n-n.
  • Documentation Synchronization: Synchronized with devops docs generate --sync-readme and verified with devops docs check.
  • Conventional Commit Messages: Commit history adheres strictly to Conventional Commits format.

Related Milestones

  • Refs Milestone v0.2.14 (GitHub Enterprise Repository & Project Management Automation)

Copilot AI lite review requested due to automatic review settings September 6, 2026 14:27

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.

🟡 Changes recommended

A few governance/security-gate details are currently misleading or overly broad (notably the PR template’s nonexistent test reference and the pre-commit private-key hook excluding all tests).

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR introduces enterprise SDLC governance and community-health scaffolding for the DevOps CLI repository, adding standardized templates/policies plus roadmap/task-tracking updates to support consistent release-branch-based development and automation planning.

Changes:

  • Adds GitHub governance assets (PR template, issue forms, CODEOWNERS, Dependabot config) and updates project policies (SECURITY.md, CONTRIBUTING.md).
  • Hardens local commit hygiene via additional pre-commit hooks (including private-key detection and structured file checks).
  • Adds an SDLC manual (docs/SDLC.md) and expands roadmap/backlog/log/task-tracking for the v0.2.14 GitHub automation milestone.
File summaries
File Description
SECURITY.md Reworks security policy into supported-version matrix + disclosure/SLA + zero-trust principles.
docs/SDLC.md Adds a comprehensive SDLC framework manual (7 phases, gates, and governance).
docs/ROADMAP.md Schedules v0.2.14 GitHub automation milestone and updates the prioritization matrix.
docs/PENDING_FEATURES.md Adds v0.2.14 milestone section mirroring roadmap deliverables.
docs/LOG.md Logs the SDLC/governance work and roadmap expansion under the working log.
docs/agent/task.md Updates task tracking to include Phase 40 workstream and PR lifecycle status.
CONTRIBUTING.md Modernizes contributing guidance around invariants, TDD, branch targeting, and routine tasks.
.pre-commit-config.yaml Adds secret-detection and config validation hooks to pre-commit.
.github/pull_request_template.md Introduces an SDLC quality-gate PR checklist template.
.github/ISSUE_TEMPLATE/feature_request.yml Adds a structured feature proposal issue form aligned to subsystem boundaries and standards.
.github/ISSUE_TEMPLATE/bug_report.yml Adds a structured bug report form including environment diagnostics and a pre-submission checklist.
.github/ISSUE_TEMPLATE/config.yml Configures issue templates and routes questions/security to discussions/security policy.
.github/dependabot.yml Enables weekly automated dependency updates targeting release/v0.2.11.
.github/CODEOWNERS Defines code ownership mappings across repo domains.
Review details

Suppressed comments (1)

docs/agent/task.md:330

  • This pending-task entry is self-contradictory: it says we’re awaiting merge approval for the Enterprise SDLC PR, but the parenthetical lists already-merged PRs (#31–#35). Consider removing the merged-PR reference (or replacing it with the current PR number) so task status remains unambiguous.
  • Files reviewed: 14/14 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .pre-commit-config.yaml Resolved
Comment thread .github/pull_request_template.md Resolved
@dan-petty
dan-petty merged commit 9fb54a2 into release/v0.2.11 Sep 6, 2026
4 checks passed
@dan-petty
dan-petty deleted the feat/enterprise-sdlc-and-github-integrations branch September 6, 2026 15:40
dan-petty added a commit that referenced this pull request Sep 6, 2026
…b management (#38)

* feat(k8s): replace redis with valkey across cluster stack manifests (#31)

* feat(k8s): replace redis with valkey across cluster stack manifests

* test(k8s): address copilot feedback on manifest parsing and document assertions

* docs(agent): update task tracking to completed for phase 35

* feat(mcp): expand FastMCP tools, prompt templates, and schema export (#33)

* refactor(exceptions): define domain exception classes and canonical error codes

* test(invariants): author architectural and stylistic invariant test specifications

* fix(exceptions): replace bare generic exceptions with strongly typed domain exceptions

* refactor(complexity): flatten excessive nesting and reduce cyclomatic complexity across modules

* fix(test-hygiene): eliminate pytest collection warning and unawaited coroutines

* docs(standards): update architectural guidelines, task tracking, and roadmap

* docs(agent): update task tracking to monitor PR 32 CI

* fix(review): address copilot feedback on vector validation, invariant checks, and error codes

* test(mcp): author contract and integration test specifications for expanded tools, prompts, and resources

* feat(mcp): expand FastMCP server to 72 tools, prompt templates, and schema export command

* docs(mcp): update MCP_TOOLS, README, ROADMAP, and task tracking for phase 37

* fix(mcp): resolve schema union type parsing and update roadmap resource URIs

* refactor(architecture): codebase stylistic and structural drift remediation (#32)

* refactor(exceptions): define domain exception classes and canonical error codes

* test(invariants): author architectural and stylistic invariant test specifications

* fix(exceptions): replace bare generic exceptions with strongly typed domain exceptions

* refactor(complexity): flatten excessive nesting and reduce cyclomatic complexity across modules

* fix(test-hygiene): eliminate pytest collection warning and unawaited coroutines

* docs(standards): update architectural guidelines, task tracking, and roadmap

* docs(agent): update task tracking to monitor PR 32 CI

* fix(review): address copilot feedback on vector validation, invariant checks, and error codes

* fix(agents): prevent ThreadPoolExecutor blocking on tool timeout in runner

* docs(valkey): expand roadmap and add IT domain knowledge base guide (#34)

* refactor(exceptions): define domain exception classes and canonical error codes

* test(invariants): author architectural and stylistic invariant test specifications

* fix(exceptions): replace bare generic exceptions with strongly typed domain exceptions

* refactor(complexity): flatten excessive nesting and reduce cyclomatic complexity across modules

* fix(test-hygiene): eliminate pytest collection warning and unawaited coroutines

* docs(standards): update architectural guidelines, task tracking, and roadmap

* docs(agent): update task tracking to monitor PR 32 CI

* fix(review): address copilot feedback on vector validation, invariant checks, and error codes

* test(mcp): author contract and integration test specifications for expanded tools, prompts, and resources

* feat(mcp): expand FastMCP server to 72 tools, prompt templates, and schema export command

* docs(mcp): update MCP_TOOLS, README, ROADMAP, and task tracking for phase 37

* fix(mcp): resolve schema union type parsing and update roadmap resource URIs

* feat(kb): add Valkey IT domain knowledge base reference guide and dynamic index counters

* docs(roadmap): expand roadmap and pending features for milestone v0.2.12 Valkey integration

* fix(agents): prevent ThreadPoolExecutor blocking on tool timeout in runner

* docs(roadmap): add library ingestion engine and grounded AI guidance for v0.2.13 (#35)

* refactor(exceptions): define domain exception classes and canonical error codes

* test(invariants): author architectural and stylistic invariant test specifications

* fix(exceptions): replace bare generic exceptions with strongly typed domain exceptions

* refactor(complexity): flatten excessive nesting and reduce cyclomatic complexity across modules

* fix(test-hygiene): eliminate pytest collection warning and unawaited coroutines

* docs(standards): update architectural guidelines, task tracking, and roadmap

* docs(agent): update task tracking to monitor PR 32 CI

* fix(review): address copilot feedback on vector validation, invariant checks, and error codes

* test(mcp): author contract and integration test specifications for expanded tools, prompts, and resources

* feat(mcp): expand FastMCP server to 72 tools, prompt templates, and schema export command

* docs(mcp): update MCP_TOOLS, README, ROADMAP, and task tracking for phase 37

* fix(mcp): resolve schema union type parsing and update roadmap resource URIs

* feat(kb): add Valkey IT domain knowledge base reference guide and dynamic index counters

* docs(roadmap): expand roadmap and pending features for milestone v0.2.12 Valkey integration

* docs(roadmap): expand roadmap and pending features for milestone v0.2.13 library ingestion engine

* fix(mcp): validate integer argument bounds and ensure consistent export-schemas instructions output

* docs(agent): update task tracking for phase 39 completion and pr 35 review resolution

* fix(agents): prevent ThreadPoolExecutor blocking on tool timeout in runner

* feat(sdlc): enterprise SDLC conventions, repository governance, and GitHub automation roadmap (#36)

* feat(governance): establish enterprise SDLC repository templates and community health policies

* docs(sdlc): author enterprise software development life cycle architecture manual

* docs(roadmap): expand roadmap with v0.2.14 enterprise GitHub repository automation

* docs(agent): track phase 40 completion and PR 36 submission

* fix(review): address copilot feedback on private key exclusion, PR template, and task status

* feat(review): executive summary reporting, feedback loop hardening, and findings remediation (#37)

* fix(security): remediate review findings for traversal, protocols, and tool validation

* feat(review): harden self-improvement feedback loop and add report executive summary

* docs(review): synchronize review task manual, SDLC, and working log

* docs(agent): mark phase 41 complete and record PR 37 status

* fix(review): address copilot feedback on secret masking, AST symbol fallback, error message, and dynamic patterns

* docs(agent): note PR 36 merged into release branch

* docs(roadmap): update v0.2.11 completed items and task tracking for merged PR 37

* test

* feat(github): add declarative labels, milestones, projects v2, views and FastMCP tools

* refactor(core): consolidate boilerplate decorators, AST cache, scanners, and table builder

* feat(security): DevSecOps zero-trust hardening, secret sanitizer, fail-closed SSRF, sandbox isolation, and K8s perimeter

* fix(review): address Copilot findings for Checkov exit handling, milestone due_on, gitleaks Windows paths, and symlink semantics

* docs(release): record Phase 47.3 release v0.2.11 PR and Copilot remediation in task tracking and log
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