Skip to content

fix: source macOS signing identity from secret - #277

Merged
yvonnedevlinrh merged 13 commits into
unbound-force:mainfrom
yvonnedevlinrh:opsx/fix-macos-signing-identity-secret
Sep 29, 2026
Merged

yvonnedevlinrh merged 13 commits into
unbound-force:mainfrom
yvonnedevlinrh:opsx/fix-macos-signing-identity-secret

Conversation

@yvonnedevlinrh

@yvonnedevlinrh yvonnedevlinrh commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Move the macOS signing identity from a GitHub Actions variable with a hardcoded Developer ID fallback to secrets.MACOS_SIGN_IDENTITY. Extend the existing signing-secret readiness check to require both MACOS_SIGN_P12 and the identity secret. Releases without both secrets take the existing unsigned-cask path.

Closes #99.

How to Test

  1. Inspect the workflow change:

    git diff main -- .github/workflows/release.yml

    Confirm check-signing-secrets checks both P12 and identity, and sign-macos maps identity from secrets.MACOS_SIGN_IDENTITY with no vars. or hardcoded fallback.

  2. Run the regression test:

    go test -race -count=1 -run TestReleaseWorkflow ./cmd/gaze/...
  3. Confirm no hardcoded identity or variable remains:

    grep -rn 'vars.MACOS_SIGN_IDENTITY\|Developer ID Application' .github/workflows/

How to Demo

This is a CI/release-pipeline configuration change. On the next release with all six signing secrets configured, sign-macos uses the secret-backed identity. Without the identity secret, the unsigned-cask path runs instead.

Key Files Changed

File Change
.github/workflows/release.yml Two-secret gate, direct identity mapping, removed variable/fallback
cmd/gaze/release_workflow_test.go Static regression test for gate, routing, and mapping
README.md 6 secrets, spec 015 quickstart link
openspec/changes/fix-macos-signing-identity-secret/ OpenSpec change artifacts

This PR was generated by /uf.finale (AI-assisted).

@yvonnedevlinrh yvonnedevlinrh changed the title Opsx/fix macos signing identity secret fix: source macOS signing identity from secret Sep 23, 2026
@yvonnedevlinrh
yvonnedevlinrh requested a review from a team September 23, 2026 17:57
@yvonnedevlinrh yvonnedevlinrh self-assigned this Sep 23, 2026
@fullsend-ai-review

fullsend-ai-review Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 5:57 PM UTC · Completed 6:16 PM UTC

Commit: 80bc05e · View workflow run →

Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $6.62

@yvonnedevlinrh yvonnedevlinrh moved this to Ready for Review 👀 in Unbound Force Planning Sep 23, 2026
@fullsend-ai-review fullsend-ai-review Bot added the risk/moderate PR risk: moderate label Sep 23, 2026
@fullsend-ai-review

fullsend-ai-review Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Risk Assessment: moderate (2/5)

Details

Small, focused CI workflow fix (25+2 YAML lines in release.yml) moving a hardcoded macOS signing identity to a GitHub secret, accompanied by OpenSpec artifacts, a regression test, and a README update. The fix/revert history on release.yml (3 in 90d) warrants moderate caution, but the production change is well-bounded, improves security posture, rollback is trivial, and the PR matches linked issue #99 exactly. Score unchanged from prior assessment.

Previous run

Risk Assessment: moderate (2/5)

Details

Small, focused CI workflow fix (25+2 YAML lines in release.yml) moving a hardcoded macOS signing identity to a GitHub secret, accompanied by OpenSpec artifacts, a regression test, and a README update. The fix/revert history on release.yml (3 in 90d) warrants moderate caution, but the production change is well-bounded, improves security posture, rollback is trivial, and the PR matches linked issue #99 exactly. Score unchanged from prior assessment.

Previous run (2)

Risk Assessment: moderate (2/5)

Details

Small, focused CI workflow fix (7+2 YAML lines in release.yml) moving a hardcoded macOS signing identity to a GitHub secret, accompanied by OpenSpec artifacts and a regression test. The fix/revert history on release.yml (3 in 90d) warrants moderate caution, but the change is well-bounded, improves security posture, rollback is trivial, and the PR matches linked issue #99 exactly. Score unchanged from prior assessment.

Previous run (3)

Risk Assessment: moderate (2/5)

Details

Small, focused CI workflow fix (9 lines of YAML change) moving a hardcoded macOS signing identity to a GitHub secret, accompanied by thorough OpenSpec artifacts and a regression test. The high fix-commit history on release.yml warrants moderate caution, but the change scope is well-bounded, security posture improves, rollback is trivial, and the PR matches the linked issue exactly.

Previous run (4)

Risk Assessment: moderate (2/5)

Details

Small, focused CI workflow fix (9 lines of YAML change) moving a hardcoded macOS signing identity to a GitHub secret, accompanied by thorough OpenSpec artifacts and a regression test. The high fix-commit history on release.yml warrants moderate caution, but the change scope is well-bounded, security posture improves, rollback is trivial, and the PR matches the linked issue exactly.

Previous run (5)

Risk Assessment: moderate (2/5)

Details

Small, focused CI workflow fix (5 lines of YAML) moving a hardcoded signing identity to a GitHub secret, accompanied by thorough OpenSpec artifacts and a regression test. The high fix-commit history on release.yml warrants moderate caution, but the change scope is well-bounded, security posture improves, rollback is trivial, and the PR matches the linked issue exactly.

Previous run (6)

Risk Assessment: moderate (2/5)

Details

Small, focused CI workflow fix (5 lines of YAML) moving a hardcoded signing identity to a GitHub secret, accompanied by spec documentation and a regression test. The CI workflow change and elevated fix-commit history on release.yml add moderate caution, but the change scope is well-bounded, the security posture improves, and the PR matches the linked issue exactly.

Previous run (7)

Risk Assessment: moderate (2/5)

Details

Small, focused CI workflow fix (5 lines of YAML) moving a hardcoded signing identity to a GitHub secret, accompanied by spec documentation and a regression test. The CI workflow change and elevated fix-commit history on these files add moderate caution, but the change scope is well-bounded and matches the linked issue exactly.

@fullsend-ai-review

fullsend-ai-review Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Review

Findings

Medium

  • [protected-path] .github/workflows/release.yml — This PR modifies a file under the protected .github/ path. The linked issue (chore: move Apple Developer ID signing identity to GitHub secret #99) and PR description explain the rationale (moving hardcoded signing identity to a secret and strengthening the readiness gate). Human approval is always required for protected-path changes.

Low

  • [scope-expansion] .github/workflows/release.yml:81 — The gate expansion from 1 secret (P12 only) to all 6 signing secrets exceeds the narrow scope of issue chore: move Apple Developer ID signing identity to GitHub secret #99. The expansion is defensively justified — all 6 values serve the same signing pipeline, and gating on the complete set prevents runtime failures from incomplete credentials.

  • [naming-convention] cmd/gaze/release_workflow_test.go:11 — Test name TestReleaseWorkflow_MacOSSigningIdentity names the subject but not the condition/expectation per project convention TC-003.

  • [code-organization] cmd/gaze/release_workflow_test.go:1 — Test lives in cmd/gaze/ (package main) but validates .github/workflows/release.yml, a CI configuration artifact. Pragmatic given Go test constraints.

  • [stale-doc] AGENTS.md:535 — The Recent Changes entry for 015-native-macos-signing states "Conditional on MACOS_SIGN_P12 secret via job output gate." After this PR, the readiness gate checks all 6 secrets, not just MACOS_SIGN_P12.

Previous run

Review

Findings

Medium

  • [protected-path] .github/workflows/release.yml — This PR modifies a file under the protected .github/ path. The linked issue (chore: move Apple Developer ID signing identity to GitHub secret #99) and PR description explain the rationale (moving hardcoded signing identity to a secret and strengthening the readiness gate). Human approval is always required for protected-path changes.

Low

  • [scope-expansion] .github/workflows/release.yml:81 — The gate expansion from 1 secret (P12 only) to all 6 signing secrets exceeds the narrow scope of issue chore: move Apple Developer ID signing identity to GitHub secret #99. The expansion is defensively justified — all 6 values serve the same signing pipeline, and gating on the complete set prevents runtime failures from incomplete credentials.

  • [code-organization] cmd/gaze/release_workflow_test.go:1 — Test lives in cmd/gaze/ (package main) but validates .github/workflows/release.yml, a CI configuration artifact. Pragmatic given Go test constraints.

  • [naming-convention] cmd/gaze/release_workflow_test.go:11 — Test name TestReleaseWorkflow_MacOSSigningIdentity names the subject but not the condition/expectation per project convention TC-003.

Previous run (2)

Review

Findings

Medium

  • [silent-degradation] .github/workflows/release.yml:81 — The 6-secret AND gate silently falls through to the unsigned-cask path without diagnostic output when any secret is missing. The else branch writes has_secrets=false but does not log which secrets are absent. A maintainer who configures 5 of 6 secrets gets unsigned binaries with no indication of what went wrong.
    Remediation: Add diagnostic output in the else branch listing which specific secrets are missing, e.g., individual -z checks with echo statements before writing has_secrets=false.

  • [protected-path] .github/workflows/release.yml — This PR modifies a file under the protected .github/ path. The linked issue (chore: move Apple Developer ID signing identity to GitHub secret #99) and PR description explain the rationale (moving hardcoded signing identity to a secret). Human approval is always required for protected-path changes.

Low

  • [test-completeness] cmd/gaze/release_workflow_test.go:18 — The test does not verify that the env block in check-signing-secrets maps all 6 secrets — it only checks that the gate condition string exists and that MACOS_SIGN_IDENTITY appears with secrets.. A future edit could remove a secret from the env block while keeping the if-condition, and the test would pass despite the gate being broken at runtime.
    Remediation: Add assertions for each of the 6 secret-to-env mappings in the check-signing-secrets env block.

  • [stale-doc] AGENTS.md:535 — The Recent Changes entry for 015-native-macos-signing states "Conditional on MACOS_SIGN_P12 secret via job output gate." After this PR, the readiness gate checks all 6 secrets, not just MACOS_SIGN_P12.
    Remediation: Update the 015-native-macos-signing entry in AGENTS.md Recent Changes to say "Conditional on all 6 macOS signing secrets via job output gate."


Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR
Previous run (3)

Review

Findings

Medium

  • [silent-degradation] .github/workflows/release.yml:81 — The 6-secret AND gate means that if any single secret is accidentally omitted, the workflow silently falls through to the unsigned-cask path without diagnostic output. The else branch writes has_secrets=false but does not log which secrets are missing. A maintainer who configures 5 of 6 secrets gets unsigned binaries with no indication of what went wrong.
    Remediation: Add diagnostic output in the else branch listing which specific secrets are missing, e.g., individual -z checks with echo statements before writing has_secrets=false.

  • [stale-doc] AGENTS.md:535 — The Recent Changes entry for 015-native-macos-signing states "Conditional on MACOS_SIGN_P12 secret via job output gate." After this PR, the readiness gate checks all 6 secrets (MACOS_SIGN_P12, MACOS_SIGN_PASSWORD, MACOS_SIGN_IDENTITY, MACOS_NOTARY_KEY, MACOS_NOTARY_KEY_ID, MACOS_NOTARY_ISSUER_ID), not just MACOS_SIGN_P12. A reader of AGENTS.md would incorrectly believe only the P12 secret controls the gate.
    Remediation: Update the 015-native-macos-signing entry in AGENTS.md Recent Changes to say "Conditional on all 6 macOS signing secrets via job output gate."

Low

  • [test-completeness] cmd/gaze/release_workflow_test.go:20 — The test does not verify that the env block in check-signing-secrets maps all 6 secrets — it only checks that the gate condition string exists and that MACOS_SIGN_IDENTITY appears with secrets.. A future edit could remove a secret from the env block while keeping the if-condition, and the test would pass despite the gate being broken at runtime.
    Remediation: Add assertions for each of the 6 secret-to-env mappings in the check-signing-secrets env block.

Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR
Previous run (4)

Review

Findings

High

  • [stale-doc] specs/015-native-macos-signing/quickstart.md:8 — The quickstart states "The 5 GitHub secrets from spec 014 must already be configured" and lists only 5 secrets in its prerequisites table. This PR updates the README to say "6 GitHub secrets" and links to this quickstart as the authoritative maintainer setup guide. A maintainer following the linked guide will miss configuring MACOS_SIGN_IDENTITY, causing the 6-secret gate to silently route to unsigned releases. Task 2.3 explicitly calls for updating this file but it was deliberately reverted in PATCH 4 as a "historical artifact" — however the README actively links to it as the current setup guide, creating a documentation coherence bug.
    Remediation: Either update quickstart.md to list 6 secrets and add a MACOS_SIGN_IDENTITY row, or change the README link to point to documentation that reflects the current 6-secret requirement.

Medium

  • [spec-implementation-divergence] .github/workflows/release.yml:81 — The OpenSpec artifacts (proposal.md, design.md, spec.md) consistently describe a 2-secret gate (P12 + IDENTITY), but the implementation checks all 6 secrets (P12, PASSWORD, IDENTITY, NOTARY_KEY, NOTARY_KEY_ID, NOTARY_ISSUER_ID). The 6-secret gate is defensively superior — it prevents the sign-macos job from starting with incomplete credentials — but the spec artifacts were not updated after PATCH 5 expanded the gate in response to review feedback.
    Remediation: Update the OpenSpec spec.md and design.md to document the 6-secret gate and its rationale.

  • [silent-degradation] .github/workflows/release.yml:81 — The 6-secret AND gate means that if any single secret is accidentally omitted, the workflow silently falls through to the unsigned-cask path without diagnostic output. The else branch writes has_secrets=false but does not log which secrets are missing. A maintainer who configures 5 of 6 secrets gets unsigned binaries with no indication of what went wrong.
    Remediation: Add diagnostic output in the else branch listing which specific secrets are missing, e.g., individual -z checks with echo statements before writing has_secrets=false.

  • [protected-path] .github/workflows/release.yml — This PR modifies a file under the protected .github/ path. The linked issue (chore: move Apple Developer ID signing identity to GitHub secret #99) and PR description explain the rationale (moving hardcoded signing identity to a secret). Human approval is always required for protected-path changes.

Low

  • [stale-doc] specs/015-native-macos-signing/checklists/requirements.md:37 — States "The same 5 GitHub secrets from spec 014 are reused. No new secrets needed." Technically stale since MACOS_SIGN_IDENTITY is now a required secret. However, this is a historical spec artifact deliberately preserved by PATCH 4.

  • [code-organization] cmd/gaze/release_workflow_test.go:12 — Test uses filepath.Join("..", "..", ...) upward traversal to reach .github/workflows/release.yml. No other test in cmd/gaze/ uses this pattern. Pragmatic given Go test constraints for CI config files.


Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR
Previous run (5)

Review

Findings

High

  • [incomplete-task-claiming] openspec/changes/fix-macos-signing-identity-secret/tasks.md:30 — Task 2.3 is marked complete ([x]) and claims to update specs/015-native-macos-signing/quickstart.md to list the sixth secret, but the PR diff contains no changes to that file. The quickstart still says "The 5 GitHub secrets from spec 014 must already be configured" and its prerequisites table lists only 5 secrets without MACOS_SIGN_IDENTITY. The README now links to this quickstart as the setup guide for maintainers.
    Remediation: Add the quickstart.md update to the PR (change count to 6, add MACOS_SIGN_IDENTITY row, remove "No new secrets are needed" statement) or uncheck task 2.3.

Medium

  • [spec-implementation-drift] .github/workflows/release.yml:81 — The implementation checks all 6 secrets in the gate (P12, PASSWORD, IDENTITY, NOTARY_KEY, NOTARY_KEY_ID, NOTARY_ISSUER_ID), but the PR's spec artifacts (spec.md, design.md) and PR description describe a 2-secret gate (P12 + IDENTITY only). The 6-secret gate is defensively superior — it prevents the sign-macos job from starting with incomplete credentials — but the spec artifacts should be updated to match the implementation.
    Remediation: Update the OpenSpec artifacts (spec.md, design.md) to describe the 6-secret gate rather than the 2-secret gate.

  • [protected-path] .github/workflows/release.yml — This PR modifies a file under the protected .github/ path. The linked issue (chore: move Apple Developer ID signing identity to GitHub secret #99) and PR description explain the rationale (moving hardcoded signing identity to a secret). Human approval is always required for protected-path changes.

Low

  • [scope-creep] .github/workflows/release.yml:81 — Issue chore: move Apple Developer ID signing identity to GitHub secret #99 authorizes moving the hardcoded identity to a secret. The PR also expands the gate from 1 secret (P12 only) to all 6 signing secrets, beyond the issue's explicit scope. This is a closely-related defensive improvement that prevents sign-macos from starting with incomplete credentials.

  • [code-organization] cmd/gaze/release_workflow_test.go:12 — Test uses filepath.Join("..", "..", ...) upward traversal to reach .github/workflows/release.yml. No other test in cmd/gaze/ uses this pattern. Pragmatic given Go test constraints for CI config files.


Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR
Previous run (6)

Review

Findings

Medium

  • [stale-doc] specs/015-native-macos-signing/quickstart.md:8 — States "The 5 GitHub secrets from spec 014 must already be configured" but the PR changes the required count to 6 (adding MACOS_SIGN_IDENTITY). The prerequisites table lists only 5 secrets. The PR's own task 2.3 explicitly calls out updating this file, but it was not modified in the PR.
    Remediation: Update the quickstart prerequisites to list 6 secrets and add a row for MACOS_SIGN_IDENTITY describing it as the Apple Developer ID Application certificate label.

  • [protected-path] .github/workflows/release.yml — This PR modifies a file under the protected .github/ path. The linked issue (chore: move Apple Developer ID signing identity to GitHub secret #99) and PR description explain the rationale (moving hardcoded signing identity to a secret). Human approval is always required for protected-path changes.

Low

  • [edge-case] .github/workflows/release.yml:81 — The signing-secrets gate checks MACOS_SIGN_P12 and MACOS_SIGN_IDENTITY but not the other 4 signing secrets. If any of those are absent while P12 and identity are present, the sign-macos job will proceed and fail at a later step. Pre-existing gap partially improved by this PR.

  • [code-organization] cmd/gaze/release_workflow_test.go:12 — YAML-content regression test uses filepath.Join("..", "..", ...) path traversal. No other test in this package uses upward traversal. Pragmatic given Go test constraints for CI config files.

  • [stale-doc] specs/015-native-macos-signing/research.md:74 — Decision 4 documents codesign with the now-removed hardcoded identity. Archival design record.

  • [stale-doc] specs/015-native-macos-signing/plan.md:19 — Technical Context states "same 5 secrets from spec 014." Archival plan record.

  • [stale-doc] specs/015-native-macos-signing/checklists/requirements.md:37 — States "same 5 GitHub secrets, no new secrets needed." Archival checklist record.


Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR
Previous run (7)

Review

Findings

Medium

  • [protected-path] .github/workflows/release.yml — This PR modifies a file under the protected .github/ path. The linked issue (chore: move Apple Developer ID signing identity to GitHub secret #99) and PR description explain the rationale (moving hardcoded signing identity to a secret). Human approval is always required for protected-path changes.

  • [stale-doc] specs/015-native-macos-signing/quickstart.md:8 — The quickstart guide (linked from the updated README) states "The 5 GitHub secrets from spec 014 must already be configured" and lists only 5 secrets. With MACOS_SIGN_IDENTITY now a required 6th secret, a maintainer following this guide would miss configuring it.
    Remediation: Update the secret count to 6 and add MACOS_SIGN_IDENTITY to the prerequisites table.

Low

  • [edge-case] .github/workflows/release.yml:81 — The signing-secrets gate checks MACOS_SIGN_P12 and MACOS_SIGN_IDENTITY but not the other 4 signing secrets. This is a pre-existing gap improved by this PR; the remaining secrets are tightly coupled to P12/notary provisioning.

  • [test-inadequate] cmd/gaze/release_workflow_test.go:20 — The strings.Contains assertion matches the secrets reference anywhere in the file, so it cannot distinguish between the two env block sites. The forbidden-pattern check for vars.MACOS_SIGN_IDENTITY provides complementary coverage.

  • [stale-doc] specs/015-native-macos-signing/research.md:74 — Decision 4 documents codesign with the now-removed hardcoded identity. Archival design record.

  • [stale-doc] specs/015-native-macos-signing/plan.md:19, checklists/requirements.md:37, tasks.md:55,173 — Multiple archival spec 015 artifacts reference "5 GitHub secrets" or embed the removed hardcoded identity.

  • [naming-convention] cmd/gaze/release_workflow_test.go:10 — TestReleaseWorkflow_MacOSIdentityReadiness diverges from the TestRunXxx_Scenario pattern, though this test validates YAML rather than exercising a Go function.

  • [code-organization] cmd/gaze/release_workflow_test.go — YAML-content regression test in cmd/gaze/ with ../.. path traversal. Practical given Go test file constraints.

  • [pattern-inconsistency] cmd/gaze/release_workflow_test.go:14 — Error message format differs from sibling tests but follows Go error wrapping conventions.


Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR

fullsend-ai-review[bot]

This comment was marked as outdated.

@yvonnedevlinrh
yvonnedevlinrh force-pushed the opsx/fix-macos-signing-identity-secret branch from 80bc05e to 5216f24 Compare September 24, 2026 09:03
@fullsend-ai-review

fullsend-ai-review Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 9:05 AM UTC · Completed 9:21 AM UTC

Commit: 5216f24 · View workflow run →

Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $5.96

fullsend-ai-review[bot]

This comment was marked as outdated.

yvonnedevlinrh added a commit to yvonnedevlinrh/gaze that referenced this pull request Sep 24, 2026
Expand the check-signing-secrets gate to verify all 6
macOS signing secrets (P12, password, identity, notary
key, key ID, issuer ID) instead of only P12 and identity.
Update regression test to validate the expanded gate.

Addresses PR unbound-force#277 review feedback from @fullsend-ai-review.

Signed-off-by: Yvonne Devlin <[email protected]>
Assisted-by: claude-opus-4-6
@fullsend-ai-review

fullsend-ai-review Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

🤖 Review · ❌ Terminated · Started 12:13 PM UTC · Ended 12:31 PM UTC

Commit: 8b8b973 · View workflow run →

@yvonnedevlinrh

Copy link
Copy Markdown
Contributor Author

stale-doc (quickstart.md, research.md, plan.md, checklists/requirements.md): Spec artifacts under specs/ are point-in-time design records — they document the decisions and context as they existed when the spec was written. Updating archival spec artifacts to reflect subsequent changes would undermine their value as a historical record. The current README already documents the 6-secret requirement.

protected-path: Acknowledged — human approval is the standard process for .github/ changes.

code-organization (path traversal): Go test files must be co-located with their package. Path traversal to reach .github/workflows/ from cmd/gaze/ is the pragmatic standard approach. Alternatives (embedding YAML, walking up from os.Getwd()) add complexity without functional benefit.

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-review

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 12:13 PM UTC · Completed 12:30 PM UTC

Commit: 8b8b973 · View workflow run →

Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $6.78

jflowers pushed a commit to yvonnedevlinrh/gaze that referenced this pull request Sep 25, 2026
Expand the check-signing-secrets gate to verify all 6
macOS signing secrets (P12, password, identity, notary
key, key ID, issuer ID) instead of only P12 and identity.
Update regression test to validate the expanded gate.

Addresses PR unbound-force#277 review feedback from @fullsend-ai-review.

Signed-off-by: Yvonne Devlin <[email protected]>
Assisted-by: claude-opus-4-6
@jflowers
jflowers force-pushed the opsx/fix-macos-signing-identity-secret branch from 8b8b973 to 695744e Compare September 25, 2026 13:55
@fullsend-ai-review

fullsend-ai-review Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 1:57 PM UTC · Completed 2:16 PM UTC

Commit: 695744e · View workflow run →

Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $6.74

fullsend-ai-review[bot]

This comment was marked as outdated.

yvonnedevlinrh added a commit to yvonnedevlinrh/gaze that referenced this pull request Sep 25, 2026
Addresses PR unbound-force#277 review feedback from @fullsend-ai-review[bot].

Signed-off-by: Yvonne Devlin <[email protected]>

Assisted-by: gpt-5.6-sol
yvonnedevlinrh added a commit to yvonnedevlinrh/gaze that referenced this pull request Sep 25, 2026
Addresses PR unbound-force#277 review feedback from @fullsend-ai-review[bot].

Signed-off-by: Yvonne Devlin <[email protected]>

Assisted-by: gpt-5.6-sol
@fullsend-ai-review

fullsend-ai-review Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

🤖 Review · ⚠️ Cancelled · Started 3:36 PM UTC · Ended 3:44 PM UTC

Commit: 21a6ad8 · View workflow run →

yvonnedevlinrh added a commit to yvonnedevlinrh/gaze that referenced this pull request Sep 25, 2026
Expand the check-signing-secrets gate to verify all 6
macOS signing secrets (P12, password, identity, notary
key, key ID, issuer ID) instead of only P12 and identity.
Update regression test to validate the expanded gate.

Addresses PR unbound-force#277 review feedback from @fullsend-ai-review.

Signed-off-by: Yvonne Devlin <[email protected]>
Assisted-by: claude-opus-4-6
yvonnedevlinrh added a commit to yvonnedevlinrh/gaze that referenced this pull request Sep 25, 2026
Addresses PR unbound-force#277 review feedback from @fullsend-ai-review[bot].

Signed-off-by: Yvonne Devlin <[email protected]>

Assisted-by: gpt-5.6-sol
yvonnedevlinrh added a commit to yvonnedevlinrh/gaze that referenced this pull request Sep 25, 2026
Addresses PR unbound-force#277 review feedback from @fullsend-ai-review[bot].

Signed-off-by: Yvonne Devlin <[email protected]>

Assisted-by: gpt-5.6-sol
@yvonnedevlinrh
yvonnedevlinrh force-pushed the opsx/fix-macos-signing-identity-secret branch from 21a6ad8 to 0b05590 Compare September 25, 2026 15:43
@fullsend-ai-review

fullsend-ai-review Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 3:45 PM UTC · Completed 4:02 PM UTC

Commit: 0b05590 · View workflow run →

Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $6.67

yvonnedevlinrh added a commit to yvonnedevlinrh/gaze that referenced this pull request Sep 28, 2026
Addresses PR unbound-force#277 review feedback from @fullsend-ai-review[bot].

Signed-off-by: Yvonne Devlin <[email protected]>

Assisted-by: gpt-5.6-sol
yvonnedevlinrh added a commit to yvonnedevlinrh/gaze that referenced this pull request Sep 28, 2026
Addresses PR unbound-force#277 review feedback from @fullsend-ai-review[bot].

Signed-off-by: Yvonne Devlin <[email protected]>

Assisted-by: gpt-5.6-sol
yvonnedevlinrh added a commit to yvonnedevlinrh/gaze that referenced this pull request Sep 28, 2026
Addresses PR unbound-force#277 MegaLinter feedback.

Signed-off-by: Yvonne Devlin <[email protected]>

Assisted-by: gpt-5.6-sol
@yvonnedevlinrh
yvonnedevlinrh force-pushed the opsx/fix-macos-signing-identity-secret branch from f2ce651 to a6a380e Compare September 28, 2026 11:08
yvonnedevlinrh added a commit to yvonnedevlinrh/gaze that referenced this pull request Sep 28, 2026
Addresses PR unbound-force#277 review feedback from @fullsend-ai-review[bot].

Signed-off-by: Yvonne Devlin <[email protected]>

Assisted-by: gpt-5.6-sol
@fullsend-ai-review

fullsend-ai-review Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 11:10 AM UTC · Completed 11:26 AM UTC

Commit: a6a380e · View workflow run →

Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $6.09

@fullsend-ai-review fullsend-ai-review Bot added the requires-manual-review Review requires human judgment label Sep 28, 2026

@marcusburghardt marcusburghardt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

APPROVE

The change correctly removes the hardcoded Developer ID identity string and vars.MACOS_SIGN_IDENTITY fallback, replacing it with secrets.MACOS_SIGN_IDENTITY. The readiness gate is expanded to require all 6 signing secrets with per-secret diagnostic warnings. A regression test covers the workflow contract statically. All CI checks pass.

Findings (LOW, non-blocking):

  • README.md: Stale quickstart link to superseded spec 014 removed but no link to the current spec 015 quickstart added
  • cmd/gaze/release_workflow_test.go: Test name TestReleaseWorkflow_MacOSSigningIdentity could better express the scenario (e.g., TestReleaseWorkflow_AllSixSecretsRequired)

Operational note: Ensure MACOS_SIGN_IDENTITY is provisioned in repository secrets before the next release.

This review was generated by /uf.review-pr (AI-assisted).

- Require both MACOS_SIGN_P12 and MACOS_SIGN_IDENTITY in
  check-signing-secrets readiness gate
- Map sign-macos identity directly from
  secrets.MACOS_SIGN_IDENTITY with no variable or
  hardcoded fallback
- Update spec 015 artifacts to reflect 6 required secrets
- Add OpenSpec change artifacts

Assisted-by: claude-opus-4
Generated with AI assistance (claude-opus-4)
The 5-to-6 secret count updates were incorrect — these
artifacts are historical planning records for the original
spec 015 implementation and should not be modified by
later changes. Current-state documentation lives in
README.md and quickstart.md.

Assisted-by: claude-opus-4
Generated with AI assistance (claude-opus-4)
Expand the check-signing-secrets gate to verify all 6
macOS signing secrets (P12, password, identity, notary
key, key ID, issuer ID) instead of only P12 and identity.
Update regression test to validate the expanded gate.

Addresses PR unbound-force#277 review feedback from @fullsend-ai-review.

Signed-off-by: Yvonne Devlin <[email protected]>
Assisted-by: claude-opus-4-6
Addresses PR unbound-force#277 review feedback from @fullsend-ai-review[bot].

Signed-off-by: Yvonne Devlin <[email protected]>

Assisted-by: gpt-5.6-sol
Addresses PR unbound-force#277 review feedback from @fullsend-ai-review[bot].

Signed-off-by: Yvonne Devlin <[email protected]>

Assisted-by: gpt-5.6-sol
Addresses PR unbound-force#277 review feedback from @fullsend-ai-review[bot].

Signed-off-by: Yvonne Devlin <[email protected]>

Assisted-by: gpt-5.6-sol
Addresses PR unbound-force#277 review feedback from @fullsend-ai-review[bot].

Signed-off-by: Yvonne Devlin <[email protected]>

Assisted-by: gpt-5.6-sol
Addresses PR unbound-force#277 review feedback from @fullsend-ai-review[bot].

Signed-off-by: Yvonne Devlin <[email protected]>

Assisted-by: gpt-5.6-sol
Addresses PR unbound-force#277 review feedback from @fullsend-ai-review[bot].

Signed-off-by: Yvonne Devlin <[email protected]>

Assisted-by: gpt-5.6-sol
Addresses PR unbound-force#277 MegaLinter feedback.

Signed-off-by: Yvonne Devlin <[email protected]>

Assisted-by: gpt-5.6-sol
Addresses PR unbound-force#277 review feedback from @fullsend-ai-review[bot].

Signed-off-by: Yvonne Devlin <[email protected]>

Assisted-by: gpt-5.6-sol
@yvonnedevlinrh
yvonnedevlinrh force-pushed the opsx/fix-macos-signing-identity-secret branch from a6a380e to 23f3bca Compare September 29, 2026 12:38
@fullsend-ai-review

fullsend-ai-review Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 12:39 PM UTC · Completed 12:58 PM UTC

Commit: 23f3bca · View workflow run →

Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $6.96

@yvonnedevlinrh
yvonnedevlinrh merged commit 2b10a41 into unbound-force:main Sep 29, 2026
15 checks passed
@yvonnedevlinrh
yvonnedevlinrh deleted the opsx/fix-macos-signing-identity-secret branch September 29, 2026 13:02
@fullsend-ai-retro

fullsend-ai-retro Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

🤖 Finished Retro · ✅ Success · Started 1:03 PM UTC · Completed 1:15 PM UTC

Commit: 23f3bca · View workflow run →

Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $4.55

@fullsend-ai-retro

Copy link
Copy Markdown

Retro: PR #277 — fix: source macOS signing identity from secret

PR #277 moved a hardcoded Apple Developer ID signing identity to secrets.MACOS_SIGN_IDENTITY, expanded the signing-secret readiness gate from 1 secret to all 6 macOS signing secrets, and added per-secret diagnostic warnings. The core production change was ~3 lines in release.yml; the PR also included a regression test, README updates, and full OpenSpec artifacts (8 files, +495/-3).

Timeline

  • Sep 23: PR opened by yvonnedevlinrh. Review agent run 1 flagged edge-case (gate only checks 2 secrets), stale-doc, protected-path, naming/code-org nits. Verdict: CHANGES_REQUESTED.
  • Sep 24: Author expanded gate to all 6 secrets (commit 8b8b973), responded to findings. Review runs 2-3 continued CHANGES_REQUESTED — run 3 escalated to HIGH (incomplete-task-claiming on quickstart.md). Author explained spec artifacts are historical records.
  • Sep 25: Review runs 4-5 raised silent-degradation (no diagnostic output when secrets missing). Spec alignment commits pushed.
  • Sep 28: Author added per-secret diagnostic warnings, resolving silent-degradation. Review runs 6-7 acknowledged resolution but still issued CHANGES_REQUESTED (protected-path + LOWs).
  • Sep 29: Review run 8 concluded no blocking findings, output COMMENT verdict. But prior CHANGES_REQUESTED reviews could not be dismissed (403 from branch protections). marcusburghardt approved via /uf.review-pr. PR merged.

Total: 8 review iterations, ~$52 review cost, 6 days to merge.

Review quality assessment

The review agent provided genuinely valuable findings that improved the PR:

  • silent-degradation (MEDIUM): Correctly identified that the 6-secret AND gate silently fell through without diagnostics. Led to per-secret warning output.
  • edge-case (LOW): Correctly identified the initial gate only checked 2 of 6 secrets. Led to the full 6-secret expansion.
  • test-completeness (LOW): Prompted improvements to regression test assertions.

However, the agent also produced false positives and churn:

  • stale-doc on spec artifacts (escalated to HIGH in runs 3-4): Flagged quickstart.md, research.md, plan.md under specs/015-*/ as needing updates. The author correctly pushed back that these are point-in-time design records. The agent eventually dropped these findings but wasted 2-3 iterations.
  • protected-path (MEDIUM, all 8 runs): Un-resolvable by the PR author — only a human can approve .github/ changes. Yet the agent issued CHANGES_REQUESTED on every iteration.
  • Severity instability: The quickstart stale-doc finding oscillated between LOW, MEDIUM, and HIGH across runs.

Corroborating evidence for existing tracked issues

The systemic problems demonstrated by this PR are already well-tracked:

Minor unaddressed finding

The review agent correctly flagged that the AGENTS.md "Recent Changes" entry for spec 015 still says "Conditional on MACOS_SIGN_P12 secret via job output gate" after the gate was expanded to all 6 secrets. This LOW finding was not addressed before merge.

Operational note

In the final review run, sonnet-tier sub-agents failed because claude-sonnet-4-5@20250929 was not available. The orchestrator recovered by falling back to the parent opus model, adding ~2 minutes of wasted time at higher cost.

Proposals filed

yvonnedevlinrh pushed a commit that referenced this pull request Oct 8, 2026
Add explicit "Spec Artifact Immutability" subsection to the
Spec Organization section of AGENTS.md. Completed spec
artifacts (spec.md, plan.md, tasks.md, research.md,
quickstart.md, data-model.md, checklists/) are point-in-time
design records that MUST NOT be retroactively updated when
implementation evolves beyond the original spec. Review agents
MUST NOT flag them as stale documentation.

This codifies the convention that was implicit in the
spec-first workflow, preventing false-positive stale-doc
findings on archival specs (as observed in PR #277 where
2-3 review iterations were wasted on spec 015 artifacts).

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

Labels

requires-manual-review Review requires human judgment risk/moderate PR risk: moderate

Projects

Status: Ready for Review 👀

Development

Successfully merging this pull request may close these issues.

chore: move Apple Developer ID signing identity to GitHub secret

2 participants