Skip to content

CI-verify first-agent scaffold in 0-to-hero harness#4279

Merged
asim merged 1 commit into
masterfrom
codex/increment-4278
Jul 7, 2026
Merged

CI-verify first-agent scaffold in 0-to-hero harness#4279
asim merged 1 commit into
masterfrom
codex/increment-4278

Conversation

@asim

@asim asim commented Jul 7, 2026

Copy link
Copy Markdown
Member

Summary:

  • Add the maintained micro new 0→1 scaffold contract to the zero-to-hero CI script so scaffold → run/chat → inspect → deploy dry-run is verified from one provider-free entry point.
  • Add a docs guard that fails if the zero-to-hero script drops scaffold, CLI, deploy, first-agent, or support-example checks.
  • Update the harness README to describe the full first-agent 0→hero contract.

Testing:

  • go test ./internal/harness/zero-to-hero-ci -run TestZeroToHeroReferenceDocs -count=1
  • ./internal/harness/zero-to-hero-ci/run.sh
  • go build ./...
  • go test ./... (fails in this environment: atlascloud live stream endpoint returned 400, and loopback gRPC tests were blocked by Envoy)
  • golangci-lint run ./...

Closes #4272
Closes #4278

@asim asim added the codex label Jul 7, 2026
Copilot AI review requested due to automatic review settings July 7, 2026 20:24
@asim asim merged commit 2c562c8 into master Jul 7, 2026
9 checks passed
@asim asim deleted the codex/increment-4278 branch July 7, 2026 20:24

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.

Pull request overview

This PR strengthens the no-secret “0→hero” CI harness contract by ensuring the maintained micro new 0→1 scaffold path is exercised alongside the existing first-agent/run/chat/inspect/deploy dry-run boundaries, and by adding a docs test guard to prevent the CI script from drifting away from the documented lifecycle.

Changes:

  • Extend the zero-to-hero-ci run script to include the micro new 0→1 scaffold contract test.
  • Add a docs guard test that asserts the CI run script continues to include the required lifecycle commands.
  • Update the harness README to describe the full first-agent 0→hero contract, including scaffold.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
internal/harness/zero-to-hero-ci/run.sh Adds the 0→1 scaffold (micro new) contract test to the CI entrypoint before the existing boundary checks.
internal/harness/zero-to-hero-ci/README.md Updates documentation to reflect the full scaffold → first-agent → deploy dry-run contract verified by the harness.
internal/harness/zero-to-hero-ci/docs_test.go Adds a test guard to ensure run.sh continues to include the key lifecycle verification commands.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Loop: build increment #124 CI-verify the first-agent 0-to-hero contract

3 participants