Repository navigation
feat: add end-to-end agent-assisted SDLC - #40
Merged
Merged
Conversation
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>
There was a problem hiding this comment.
🟡 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 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'); |
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.

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
Checklist
npm testpasses locallynpm run buildpasses locallynpm run verifypasses locally (or unverified checks are explained below)Notes for reviewers