Skip to content

feat: add end-to-end agent-assisted SDLC - #40

Merged
Todd Toler (msfttoler) merged 3 commits into
mainfrom
msfttoler/agentic-sdlc
Nov 8, 2026
Merged

Todd Toler (msfttoler) merged 3 commits into
mainfrom
msfttoler/agentic-sdlc

Conversation

@msfttoler

@msfttoler Todd Toler (msfttoler) commented Nov 8, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Connect CATES's existing delivery components into a simple, thorough agent-assisted lifecycle: issue intake, planning, implementation, review, release, deployment and maintenance. Retain existing security and release controls without another orchestrator.

Adds an agent-ready task template, scoped CATES SDLC custom agent, repository instructions and planning/implementation/review prompts. The guide defines acceptance evidence, handoffs, failure classification, artifact verification and rollback responsibilities. Authorized maintainers retain merge, publishing, deployment and permission authority.

CI preserves its Node matrix, job names, pinned actions and coverage thresholds, and runs npm run verify: runtime vulnerability audit, types, coverage, CLI/service builds and installed npm artifact checks.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing behavior to change)
  • Documentation only
  • Refactor / internal cleanup

Checklist

  • I have read CONTRIBUTING.md
  • npm test passes locally
  • npm run build passes locally
  • I added/updated tests for my change
  • I updated documentation where relevant
  • My commits follow Conventional Commits
  • No secrets or credentials are included in this PR
  • npm run verify passes locally (or unverified checks are explained below)

Notes for reviewers

  • Based on current main, preserving existing release safeguards and runtime compatibility controls.
  • Fixed CI's CLI integration timeout by isolating subprocess assertions into focused tests, without raising timeouts or removing assertions.
  • Patched locked body-parser, proxy-addr and zod versions. Runtime npm audit reports zero vulnerabilities. Existing scanners remain enabled.
  • Added regression tests binding CI to the full verification contract and ensuring lockfile tarballs resolve through public npm rather than environment-specific mirrors.
  • Local verification passes: 472 tests, coverage thresholds, both builds and installed-package success/failure paths. Both Node matrix jobs and Trivy passed on the preceding fix commit; final portability-guard commit is undergoing fresh checks.
  • Package smoke testing needs registry access, not publishing credentials; temporary files are cleaned on success/failure.
  • Copilot client support varies; documented paste-in fallback is available. No permissions, external automation, publication or infrastructure were activated.
  • Rollback: revert these configuration/test/dependency commits; no API/schema migration.

Todd Toler and others added 3 commits November 8, 2026 10:19
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add regression coverage for the CI delivery contract and audit runtime dependencies before handoff. Preserve existing security and coverage thresholds.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Guard lockfile registry portability with regression coverage.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@msfttoler
Todd Toler (msfttoler) requested a balanced review from Copilot November 8, 2026 15:34
@msfttoler
Todd Toler (msfttoler) merged commit 29be835 into main Nov 8, 2026
8 checks passed

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

The smoke-package script leaks a temporary directory when npm_execpath is unset because the invocation guard runs after directory creation and outside the cleanup block.

1 open issue
What changed in this PR

This PR connects CATES’s existing development and delivery controls into an agent-assisted lifecycle, while retaining maintainer authority over merge, publication and deployment.

Changes:

  • Adds task intake, repository instructions, an SDLC agent and planning, implementation and review prompts.
  • Unifies local and CI verification, including runtime auditing and installed-package smoke checks.
  • Updates locked dependencies, guards registry portability and splits CLI integration tests into focused cases.
File Description
tests/​sdlc-gates.test.ts Guards verification scripts, CI integration and public registry URLs.
tests/​copilot.test.ts Splits CLI assertions into focused tests.
scripts/​smoke-package.mjs Checks packaged contents and installed CLI success/failure paths.
README.md Introduces the agent-assisted workflow.
package.json Adds verification, runtime audit and package smoke scripts.
package-lock.json Updates dependencies and normalizes a registry URL.
docs/​AGENTIC-SDLC.md Defines lifecycle handoffs, verification and recovery responsibilities.
CONTRIBUTING.md Documents verification and agent-assisted contribution guidance.
.github/​workflows/​ci.yml Runs the shared verification gate.
.github/​PULL_REQUEST_TEMPLATE.md Requests verification and acceptance evidence.
.github/​prompts/​sdlc-review.prompt.md Defines read-only review expectations.
.github/​prompts/​sdlc-plan.prompt.md Defines bounded planning output.
.github/​prompts/​sdlc-implement.prompt.md Defines implementation and validation expectations.
.github/​ISSUE_TEMPLATE/​agent_task.md Captures task scope, acceptance criteria and handoff requirements.
.github/​copilot-instructions.md Sets repository conventions and authorization boundaries.
.github/​agents/​sdlc.agent.md Adds the scoped CATES SDLC agent.

Review effort: Balanced

Comment thread scripts/smoke-package.mjs
Comment on lines +10 to +12
const temporary = mkdtempSync(join(tmpdir(), 'cates-package-'));
const npmCli = process.env.npm_execpath;
assert.ok(npmCli, 'Run this check through npm run smoke:package');
@msfttoler
Todd Toler (msfttoler) deleted the msfttoler/agentic-sdlc branch December 3, 2026 16:59
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.

2 participants