Repository navigation
fix(ci): code PR validators read the specs repo; clear App key errors (G32, G33) - #9
Merged
Merged
Conversation
… (G32, G33) - G33: validate.yml takes specs_repo. Code PRs clone the specs repo and run gate.py ci --repo <specs> --code-repo . ; doctor FAILs without specs_repo - G32: a step after each App token step names the secret and prints the gh secret set ... < key.pem command; README says to set keys from the file - harness_version 1.3.2, example pins v1.3.2 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
This PR fixes two blockers found when the repos' CI started working.
G33: the code repo validators had never worked.
validate.ymlloaded the config from the code repo checkout. The code repo has noharness-overrides.yaml, so the$GITHUB_ORGand$REPO_*placeholders stayed undefined (ai-sdlc-code1#3: "config uses undefined variable(s)"). The dev exit gate also needs the specs.validate.ymlhas a new input,specs_repo. Withkind: code, it clones the specs repo outside the workspace and runsgate.py config-check --repo <specs>andgate.py ci --repo <specs> --code-repo .. Ifspecs_repois missing, the job fails with a clear message.gate.py cihas a new--code-repooption: the diff, lint and tests run in the code repo, and the config and specs come from--repo.doctorcheck,code validate: it FAILs when the code repo callsvalidate.ymlwithkind: codebut withoutspecs_repo. Live, it FAILs for ai-sdlc-code1 today.G32: a wrong App key only said
Invalid keyData.gh secret set … < key.pem..pemfile, not by pasting them.Version:
harness_versionis now 1.3.2, and the example workflows pinv1.3.2. v1.3.1 still said 1.3.0.Tests:
gate ci --kind codenow loads the specs config and runs lint and tests in the code repo. The new test fails without this fix. Also new: a test for the doctorcode validatecheck. All tests pass.After you merge: tag
v1.3.2. I then update ai-sdlc-code1#3 (pinv1.3.2,specs_repo: vieplatfrm/ai-sdlc-spec) and ai-sdlc-spec#9 (pinv1.3.2).🤖 Generated with Claude Code