Skip to content

feat: automate dependency review - #110

Merged
jflowers merged 21 commits into
unbound-force:mainfrom
yvonnedevlinrh:opsx/automate-dependency-update
Oct 1, 2026
Merged

jflowers merged 21 commits into
unbound-force:mainfrom
yvonnedevlinrh:opsx/automate-dependency-update

Conversation

@yvonnedevlinrh

@yvonnedevlinrh yvonnedevlinrh commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds a SHA-pinned GitHub Actions workflow to review Dependabot dependency updates consistently and safely.

  • Invokes the organization general dependency reviewer and Dependabot-specific risk reviewer.
  • Publishes an idempotent, standardized review summary for Dependabot pull requests.
  • Auto-approves only successful, non-high-risk updates with a known release age of at least 24 hours and no active human veto.
  • Fails closed to Manual review required for missing, malformed, failed, cancelled, or unsafe reviewer signals.
  • Preserves manual merge control, branch protection, required checks, code-owner review, and the existing Dependabot configuration.
  • Adds offline workflow regression tests for structure, permissions, pinning, approval policy, malformed outputs, reviewer failures, and human-veto behavior.

Validation

  • go vet ./...
  • Pinned govulncheck ./...
  • .github/scripts/patch-homebrew-cask_test.sh
  • go test ./... -count=1 -race -coverprofile=coverage.out
  • make check-coverage
  • go build -o bin/replicator ./cmd/replicator
  • actionlint
  • openspec validate automate-dependency-update
  • Final review council: APPROVE from all 9 discovered reviewers

Dependency Automation Activation Checklist

Normal pull request

  • Confirm .github/workflows/ci_dependencies.yml runs on a standard pull request targeting main.
  • Confirm no Dependabot-only comment or approval is created for a non-Dependabot author.

Representative Dependabot pull requests

  • Confirm the standardized dependency-review comment is created and subsequent runs replace it rather than duplicating it.
  • Confirm a successful, non-high-risk update with a release age of at least 24 hours and no active human veto receives only an approval review.
  • Confirm high-risk, vulnerable, young, missing, malformed, failed, or cancelled review signals produce Manual review required and do not approve the pull request.
  • Confirm an active human CHANGES_REQUESTED prevents automated approval.
  • Confirm later human APPROVED or DISMISSED clears an earlier veto, while COMMENTED does not.

Protection Preservation

  • Confirm no merge or auto-merge is enabled or performed.
  • Confirm branch protection, required checks, and code-owner requirements remain unchanged.

Fixes #38

@yvonnedevlinrh
yvonnedevlinrh requested a review from a team as a code owner September 17, 2026 15:16
@yvonnedevlinrh yvonnedevlinrh self-assigned this Sep 17, 2026
@yvonnedevlinrh yvonnedevlinrh added bug Something isn't working dependencies Dependency updates or dependency management github_actions Pull requests that update GitHub Actions code and removed bug Something isn't working labels Sep 17, 2026
@fullsend-ai-review

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

Copy link
Copy Markdown

🤖 Review · ⚠️ Cancelled · Started 3:17 PM UTC · Ended 3:28 PM UTC

Commit: 2a7f503 · View workflow run →

@yvonnedevlinrh
yvonnedevlinrh force-pushed the opsx/automate-dependency-update branch from 2a7f503 to d1576d8 Compare September 17, 2026 15:26
@fullsend-ai-review

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

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 3:29 PM UTC · Completed 3:49 PM UTC

Commit: d1576d8 · View workflow run →

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

@fullsend-ai-review fullsend-ai-review Bot added the risk/moderate PR risk: moderate label Sep 17, 2026
@fullsend-ai-review

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

Copy link
Copy Markdown

Risk Assessment: elevated (3/5)

Details

Anchored to prior score of 3 (elevated): Tier 1 signals unchanged (large blast radius, two protected paths, 1505 lines, CI workflow changed, test ratio 0.10), Tier 2 uniformly low-risk (8 of 10 files brand-new), Tier 3 retains partial acceptance-criteria gap (dependabot.yml still absent).

Previous run

Risk Assessment: elevated (3/5)

Details

Anchored to prior score of 3 (elevated): Tier 1 signals unchanged (large blast radius, two protected paths, 1505 lines, CI workflow changed, test ratio 0.10), Tier 2 uniformly low-risk (8 of 10 files brand-new), Tier 3 retains partial acceptance-criteria gap (dependabot.yml still absent).

Previous run (2)

Risk Assessment: elevated (3/5)

Details

Anchored to prior score of 3 (elevated): Tier 1 signals are unchanged (large blast radius, two protected paths, 1505 lines, CI workflow changed, test ratio at boundary 0.10), Tier 2 signals are uniformly low-risk (7 of 10 files are brand-new with no churn history), and Tier 3 retains a partial acceptance-criteria gap (dependabot.yml absent from PR despite being an explicit requirement in issue #38).

Previous run (3)

Risk Assessment: elevated (3/5)

Details

Anchored to prior score of 3 (elevated): Tier 1 signals are unchanged (large blast radius, two protected paths, 1495 lines, CI workflow changed, moderate test ratio), Tier 2 signals are uniformly low-risk (7 of 9 files are brand-new with no churn history), and Tier 3 retains a partial acceptance-criteria gap (dependabot.yml absent from PR despite being an explicit issue requirement).

Previous run (4)

Risk Assessment: elevated (3/5)

Details

Elevated risk: net-new CI workflow with large blast radius, two protected paths touched, and ~1,495 lines warrants careful review; Tier 3 partial acceptance-criteria coverage provides specific reason to score above the prior moderate (2) assessment.

Previous run (5)

Risk Assessment: moderate (2/5)

Details

Moderate risk: all changed files are net-new (no historical churn) and the author is established, but the addition of a CI workflow with large blast radius and 1475 lines warrants standard careful review.

@fullsend-ai-review

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

Copy link
Copy Markdown

Review

Findings

Medium

  • [protected-path] .github/workflows/ci_dependencies.yml, AGENTS.md — PR modifies files under protected governance paths (.github/ and AGENTS.md). The PR links to Issue Dependabot Configuration + Dependency Auto-Approval #38 and the description explains the rationale for the changes. Human approval is always required for protected-path changes, regardless of context.

Low

  • [value-duplication] internal/workflowtest/ci_dependencies_test.go:155 — The threshold drift test verifies consistency between the approval job's if-expression literal and the job-level MIN_RELEASE_AGE_HOURS env value, but does not check the workflow-level env (line 20) consumed by the comment job. If the workflow-level value drifts, the comment job's eligibility check would disagree with the approval gate.
    Remediation: Add an assertion that extracts the workflow-level MIN_RELEASE_AGE_HOURS from the full workflow string and compares it against the approval job values to detect three-way threshold drift.

  • [logic-inconsistency] .github/workflows/ci_dependencies.yml:88 — The report script validates release age with a strict regex /^\d+(?:\.\d+)?$/, rejecting formats like scientific notation. The approval script (line 191) uses Number() which accepts broader formats. Practical risk is negligible because upstream outputs use decimal format, and the inconsistency fails closed in both paths.
    Remediation: Align the release-age validation approach in both scripts.

  • [architectural-coherence] internal/workflowtest/ci_dependencies_test.go — The internal/workflowtest/ package placement deviates from the test/parity/ precedent for non-domain meta-tests. However, test/parity/ contains exported production code while workflowtest contains only test files, making the analogy imprecise. The placement was an intentional, documented choice.
    Remediation: Consider moving the package to test/workflowtest/ to separate meta-tests from domain logic.

  • [undocumented-dependency] internal/workflowtest/ci_dependencies_test.go:983 — The test package introduces Node.js as an external test dependency not documented in AGENTS.md's Testing Conventions. The requireNode pattern mirrors the git test short-mode guard but is not documented alongside it.
    Remediation: Add a Workflow / Node.js Tests bullet to AGENTS.md's Testing Conventions section showing the requireNode(t) pattern.

  • [naming-conventions] internal/workflowtest/ci_dependencies_test.go:594 — The variable command deviates from the established codebase convention of naming exec.Command results cmd. Every other file in the codebase uses cmd or a descriptively-prefixed variant. Same deviation at line 652.
    Remediation: Rename command to cmd at lines 594 and 652.

  • [naming-conventions] internal/workflowtest/ci_dependencies_test.go:828 — Magic number 4 in assertFullSHAPins without a named constant. The check len(matches) < 4 represents the expected minimum number of SHA-pinned uses: references in the workflow.
    Remediation: Declare const minSHAPins = 4 and replace the literal.

  • [missing-doc] .opencode/skills/testing-patterns/SKILL.md:46 — The testing-patterns skill file documents isolation patterns for database, filesystem, HTTP, and git tests but does not cover the Node.js/workflow test pattern introduced by the workflowtest package.
    Remediation: Add a Workflow / Node.js Tests section showing the requireNode(t) pattern.


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

Review

Findings

Medium

  • [protected-path] .github/workflows/ci_dependencies.yml, AGENTS.md — PR modifies files under protected governance paths (.github/ and AGENTS.md). The PR links to Issue Dependabot Configuration + Dependency Auto-Approval #38 and the description explains the rationale for the changes. Human approval is always required for protected-path changes, regardless of context.

Low

  • [value-duplication] internal/workflowtest/ci_dependencies_test.go:155 — The threshold drift test verifies consistency between the approval job's if-expression literal and the job-level MIN_RELEASE_AGE_HOURS env value, but does not check the workflow-level env (line 20) consumed by the comment job. If the workflow-level value drifts, the comment job's eligibility check would disagree with the approval gate.
    Remediation: Add an assertion that extracts the workflow-level MIN_RELEASE_AGE_HOURS from the full workflow string and compares it against the approval job values to detect three-way threshold drift.

  • [logic-inconsistency] .github/workflows/ci_dependencies.yml:88 — The report script validates release age with a strict regex /^\d+(?:\.\d+)?$/, rejecting formats like scientific notation. The approval script (line 191) uses Number() which accepts broader formats. Practical risk is negligible because upstream outputs use decimal format, and the inconsistency fails closed in both paths.

  • [naming-conventions] internal/workflowtest/ci_dependencies_test.go:828 — Magic number 4 in assertFullSHAPins without a named constant. The check len(matches) < 4 represents the expected minimum number of SHA-pinned uses: references in the workflow.
    Remediation: Declare const minExpectedPinnedRefs = 4 alongside the other package-level constants.

  • [missing-doc] AGENTS.md:216 — The Testing Conventions section documents the short-mode skip guard for git tests but does not cover the analogous pattern for tests that shell out to Node.js, skipping in short mode and when node is unavailable outside CI.
    Remediation: Add a bullet alongside the git-test entry for workflow tests that require Node.js and use requireNode(t).


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 (2)

Review

Findings

Medium

  • [protected-path] .github/workflows/ci_dependencies.yml, AGENTS.md — PR modifies files under protected governance paths (.github/ and AGENTS.md). The PR links to Issue Dependabot Configuration + Dependency Auto-Approval #38 and the description explains the rationale for the changes. Human approval is always required for protected-path changes, regardless of context.

Low

  • [value-duplication] internal/workflowtest/ci_dependencies_test.go:155 — The threshold drift test verifies consistency between the approval job's if-expression literal and the job-level MIN_RELEASE_AGE_HOURS env value, but does not check the workflow-level env (line 20) consumed by the comment job. If the workflow-level value drifts, the comment job's eligibility check would disagree with the approval gate.
    Remediation: Add an assertion that extracts the workflow-level MIN_RELEASE_AGE_HOURS from the full workflow string and compares it against the approval job values to detect three-way threshold drift.

  • [logic-inconsistency] .github/workflows/ci_dependencies.yml:88 — The report script validates release age with a strict regex /^\d+(?:\.\d+)?$/, rejecting formats like scientific notation. The approval script (line 191) uses Number() which accepts broader formats. Practical risk is negligible because upstream outputs use decimal format, and the inconsistency fails closed in both paths.

  • [defense-in-depth] .github/workflows/ci_dependencies.yml:156 — Prior finding resolved. The approval job's outer if gate now uses an explicit allowlist (risk_level == 'low' || risk_level == 'medium'), matching the script's allowlist. Both layers are now consistent.


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

  • [missing-doc] README.md:171 — The Package Layout section in README.md enumerates every package under internal/ with a description. This PR adds internal/workflowtest/ and updated AGENTS.md to include it, but README.md's matching Package Layout block was not updated.
    Remediation: Add workflowtest/ Workflow policy regression tests to the Package Layout block in README.md, after the ui/ line and before tools/.

  • [protected-path] .github/workflows/ci_dependencies.yml, AGENTS.md — PR modifies files under protected governance paths (.github/ and AGENTS.md). The PR links to Issue Dependabot Configuration + Dependency Auto-Approval #38 and the description explains the rationale for the changes. Human approval is always required for protected-path changes, regardless of context.

Low

  • [process-gate-incomplete] openspec/changes/automate-dependency-update/tasks.md:48 — Task 5.6 ("Record an activation checklist in the pull request") is unchecked in tasks.md. The activation checklist content is present in the PR body ("Dependency Automation Activation Checklist" section), but the task was not marked complete. Per AGENTS.md bookkeeping rules, tasks must be checked off immediately after completion.
    Remediation: Check off task 5.6 in tasks.md.

  • [logic-inconsistency] .github/workflows/ci_dependencies.yml:88 — The report script validates release age with a strict regex /^\d+(?:\.\d+)?$/, rejecting formats like scientific notation. The approval script (line 192) uses Number() which accepts broader formats. Practical risk is negligible because upstream outputs use decimal format, and the inconsistency fails safe.
    Remediation: Align the report script's release-age validation with the approval script's approach by using Number() plus Number.isFinite() in both scripts.

  • [defense-in-depth] .github/workflows/ci_dependencies.yml:157 — The approval job's outer if gate uses a risk denylist (risk_level != '' && risk_level != 'high') while the in-script validation correctly uses an allowlist (risk === 'low' || risk === 'medium'). The system fails closed because the script is authoritative, but the outer gate could be tightened for consistency.
    Remediation: Replace the denylist with an allowlist: (needs.call_dependabot_reviewer.outputs.risk_level == 'low' || needs.call_dependabot_reviewer.outputs.risk_level == 'medium').

  • [code-organization] internal/workflowtest/ci_dependencies_test.go:670 — Two test functions (TestPolicyEnvironment_ReplacesApprovalScriptInputs and TestWorkflowScriptHarnesses_DoNotInheritHostEnvironment) are interleaved inside the helper function block between policyEnvironment and reportEnvironment. Other test files in the repo group helpers together, separate from test functions.
    Remediation: Move the two test functions alongside the other TestCIDependenciesWorkflow_* functions.

  • [value-duplication] internal/workflowtest/ci_dependencies_test.go:155 — The assertion assertContains(t, approvalJob, "24", "24-hour minimum release age") does not independently verify that the fromJSON(...) >= 24 threshold matches the MIN_RELEASE_AGE_HOURS: 24 env value. Drift between the two literals would not be caught.
    Remediation: Extract and compare the threshold from the if expression and the env value separately using regex.


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

Medium

  • [missing-doc] README.md:171 — The Package Layout section in README.md enumerates every package under internal/ with a description. This PR adds internal/workflowtest/ (901 lines) and updates AGENTS.md to include it, but README.md's matching Package Layout block was not updated.
    Remediation: Add workflowtest/ Workflow policy regression tests to the Package Layout block in README.md, after the ui/ line and before tools/.

Low

  • [value-duplication] .github/workflows/ci_dependencies.yml:159 — The approval job's if expression hardcodes >= 24 while the same threshold is defined as the MIN_RELEASE_AGE_HOURS environment variable (line 20) and redeclared at the job level (line 165). The duplication is a necessary GitHub Actions limitation (env.* unavailable in job-level if), but the two literals could drift if one is updated without the other.
    Remediation: Add a structural test assertion that extracts the literal from the if expression and compares it against the MIN_RELEASE_AGE_HOURS env value to catch drift automatically.

  • [workflow-tier-selection] openspec/changes/automate-dependency-update/specs/dependency-review-automation/spec.md:1 — The spec contains three independent top-level requirements, placing it at the boundary of the OpenSpec threshold (<3 stories). The requirements are tightly cohesive and the OpenSpec pipeline was followed fully.


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

  • [protected-path] .github/workflows/ci_dependencies.yml — PR modifies files under .github/ (a protected governance path). No issue is formally linked to this PR, so the rationale for modifying governance infrastructure cannot be verified from PR metadata alone. The spec artifacts reference Issue Dependabot Configuration + Dependency Auto-Approval #38 but the link is not present in the PR. Human approval is required for all protected-path changes.
    Remediation: Link Issue Dependabot Configuration + Dependency Auto-Approval #38 to the pull request and obtain human approval for the .github/ change.

Medium

  • [missing-authorization] openspec/changes/automate-dependency-update/proposal.md:5 — No issue is formally linked to this PR. The proposal references Issue Dependabot Configuration + Dependency Auto-Approval #38 as the authorizing request, but the formal PR-to-issue link is absent. At 1475 added lines this is unambiguously non-trivial and requires explicit authorization per AGENTS.md.
    Remediation: Link Issue Dependabot Configuration + Dependency Auto-Approval #38 to the pull request (GitHub Development sidebar or Closes #38 / Relates to #38 in the PR body).

  • [code-organization] internal/workflowtest/ci_dependencies_test.go:633 — policyEnvironment and reportEnvironment serve identical purposes (build a filtered OS environment for a Node.js subprocess) but use structurally different filter strategies. policyEnvironment maintains a separate map[string]bool blocklist alongside the values map, creating two sources of truth; reportEnvironment uses the values map itself as the filter. This divergence has already manifested in a minor env-leak gap (DEPENDENCY and VERSION are not filtered by policyEnvironment).
    Remediation: Rewrite policyEnvironment to use the same approach as reportEnvironment: derive the filter set from the values map.

  • [missing-doc] AGENTS.md:403 — The Project Structure section enumerates every package under internal/ with a description. This PR adds internal/workflowtest/ but that package does not appear in the structure map.
    Remediation: Add internal/workflowtest/ with a description to the Project Structure block in AGENTS.md.

Low

  • [value-duplication] .github/workflows/ci_dependencies.yml:158 — The approval job's if expression hardcodes >= 24 while the same threshold is defined as the MIN_RELEASE_AGE_HOURS environment variable (line 20). If someone updates one without the other, the outer gate and inner script would enforce different thresholds.
    Remediation: Replace the hardcoded 24 in the if expression with fromJSON(env.MIN_RELEASE_AGE_HOURS).

  • [test-coverage-gap] internal/workflowtest/ci_dependencies_test.go:311 — The report script fixtures do not include a fixture where risk is "medium" and the expected eligibility is "Eligible for automated approval". A regression removing the || risk === 'medium' branch would not be caught by the report test (though the approval script fixtures do cover medium risk separately).
    Remediation: Add a medium-risk eligible fixture to the report test.

  • [error-handling-idiom] internal/workflowtest/ci_dependencies_test.go:477 — t.Fatal("locate regression test source") does not follow the established "operation: cause" pattern used elsewhere in this file.
    Remediation: Change to t.Fatal("runtime.Caller: could not determine test source path").

  • [workflow-tier-selection] openspec/changes/automate-dependency-update/specs/dependency-review-automation/spec.md:1 — The spec contains three independent top-level requirements, placing it at the boundary of the OpenSpec threshold (<3 stories). The requirements are tightly cohesive and the OpenSpec pipeline was followed fully.

  • [missing-doc] CHANGELOG.md:8 — The Unreleased/Added section records the Dependabot configuration for weekly update proposals but does not include an entry for the new dependency review and auto-approval workflow.
    Remediation: Add a bullet to the Unreleased/Added section describing the new ci_dependencies.yml workflow.


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.

@em-redhat em-redhat 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.

Review: PR #110 — feat: automate dependency review

Verdict: REQUEST CHANGES

The implementation is technically sound, well-tested, and architecturally correct. Three issues should be addressed before approval:

  1. [MEDIUM] Missing formal PR-to-issue link — Issue #38 is the authorizing request for this change. The proposal, design, and spec all reference it, but the PR body contains no Closes #38, Relates to #38, or equivalent GitHub link. For a .github/ protected-path change, traceability to the authorizing issue is required.
  2. [MEDIUM] internal/workflowtest is missing from AGENTS.md Project Structure — the documentation gate assessment in task 5.4 was incorrect. Add internal/workflowtest/ with a one-line description to the Project Structure block.
  3. [LOW] See inline comment on hardcoded threshold in approval job if expression.

None of these are blocking architectural or security problems — fixing them is mechanical and the PR can be approved after addressing them.

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

permissions:
pull-requests: write
env:
MIN_RELEASE_AGE_HOURS: 24

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.

[LOW] Hardcoded >= 24 threshold diverges from MIN_RELEASE_AGE_HOURS constant

The outer if gate hard-codes >= 24 while MIN_RELEASE_AGE_HOURS: 24 is defined at workflow-level env (line 26) and job-level env (line 170). If the constant is updated, this if gate will silently diverge from the inner script threshold.

Note: env.* context is not available in job-level if expressions (only github.*, needs.*, vars.*, inputs.*, secrets.* are supported). Consider adding a comment next to the hardcoded value documenting this constraint and referencing the canonical constant, or moving this threshold check entirely into the script step where env is accessible.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Addressed in 6497dd4: added a comment above the job-level if block explaining that the literal 24 must match MIN_RELEASE_AGE_HOURS because env.* is unavailable in job-level conditions.

yvonnedevlinrh added a commit to yvonnedevlinrh/replicator that referenced this pull request Sep 21, 2026
Addresses PR unbound-force#110 review feedback from @fullsend-ai-review[bot] and @em-redhat.

Signed-off-by: Yvonne Devlin

Assisted-by: gpt-5.6-terra
yvonnedevlinrh added a commit to yvonnedevlinrh/replicator that referenced this pull request Sep 21, 2026
Addresses PR unbound-force#110 review feedback from @fullsend-ai-review[bot] and @em-redhat.

Signed-off-by: Yvonne Devlin

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

Signed-off-by: Yvonne Devlin

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

Signed-off-by: Yvonne Devlin

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

Signed-off-by: Yvonne Devlin

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

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

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 4:36 PM UTC · Completed 4:57 PM UTC

Commit: 79b215b · View workflow run →

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

@fullsend-ai-review fullsend-ai-review Bot added risk/elevated PR risk: elevated and removed risk/moderate PR risk: moderate labels Sep 21, 2026
fullsend-ai-review[bot]

This comment was marked as outdated.

@yvonnedevlinrh

Copy link
Copy Markdown
Contributor Author

@em-redhat Addressed agent issue in dfa0576: added workflowtest/ Workflow policy regression tests to the Project Structure block.

@yvonnedevlinrh

Copy link
Copy Markdown
Contributor Author

Addressed the following findings from the automated review:

  • Policy environment isolation (ci_dependencies_test.go:633): Harnesses are now hermetic — os.Environ() is no longer inherited. DEPENDENCY/VERSION added to fixtures and asserted in approval-body evidence. A sentinel test verifies both Node subprocesses exclude host variables. (79b215b)
  • Medium-risk report fixture (ci_dependencies_test.go:311): Added an eligible medium-risk fixture with risk: "medium" and expected eligibility output. (6497dd4)
  • t.Fatal message (ci_dependencies_test.go:477): Updated to "runtime.Caller: could not determine test source path". (6497dd4)
  • Changelog entry (CHANGELOG.md:8): Added Unreleased entry for the dependency-review workflow. (dfa0576)

Not accepted:

  • env.* in job-level if (ci_dependencies.yml:158): The env context is unavailable in jobs.<job_id>.if — the suggested expression would silently fail. The literal 24 is intentional; a constraint comment was added instead. (6497dd4)
  • OpenSpec tier (spec.md:1): Acknowledged — the requirements are cohesive and within documented OpenSpec scope.
  • Issue Dependabot Configuration + Dependency Auto-Approval #38 link (proposal.md:5): Added in the PR body as Fixes #38

em-redhat
em-redhat previously approved these changes Sep 23, 2026

@em-redhat em-redhat 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.

Review: PR #110 — feat: automate dependency review

Verdict: APPROVE

The requested feedback has been addressed:

  • Issue #38 is formally linked with Fixes #38.
  • internal/workflowtest is documented in AGENTS.md.
  • Workflow policy tests cover environment isolation, medium-risk eligibility, malformed signals, reviewer failures, and human veto handling.
  • The release-age threshold limitation is documented and guarded by a structural test.
  • CI checks pass, including Build and Test and General / Dependencies Review.
  • Workflow actions are pinned to full commit SHAs, permissions are scoped to the mutation jobs, and no PR code is checked out or executed.

No blocking findings remain.

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

yvonnedevlinrh added a commit to yvonnedevlinrh/replicator that referenced this pull request Sep 24, 2026
Addresses PR unbound-force#110 review feedback from @fullsend-ai-review[bot] and @em-redhat.

Signed-off-by: Yvonne Devlin

Assisted-by: gpt-5.6-terra
yvonnedevlinrh added a commit to yvonnedevlinrh/replicator that referenced this pull request Sep 24, 2026
Addresses PR unbound-force#110 review feedback from @fullsend-ai-review[bot] and @em-redhat.

Signed-off-by: Yvonne Devlin

Assisted-by: gpt-5.6-terra
yvonnedevlinrh added a commit to yvonnedevlinrh/replicator that referenced this pull request Sep 29, 2026
Addresses PR unbound-force#110 review-council findings.

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

Assisted-by: gpt-5.6-sol
yvonnedevlinrh added a commit to yvonnedevlinrh/replicator that referenced this pull request Sep 29, 2026
Addresses PR unbound-force#110 review-council findings.

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

Assisted-by: gpt-5.6-sol
yvonnedevlinrh added a commit to yvonnedevlinrh/replicator that referenced this pull request Sep 29, 2026
Addresses PR unbound-force#110 review-council findings.

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

Assisted-by: gpt-5.6-sol
yvonnedevlinrh added a commit to yvonnedevlinrh/replicator that referenced this pull request Sep 29, 2026
Addresses PR unbound-force#110 review-council findings.

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

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

Signed-off-by: Yvonne Devlin

Assisted-by: gpt-5.6-terra
Addresses PR unbound-force#110 review feedback from @fullsend-ai-review[bot] and @em-redhat.

Signed-off-by: Yvonne Devlin

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

Signed-off-by: Yvonne Devlin

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

Signed-off-by: Yvonne Devlin

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

Signed-off-by: Yvonne Devlin

Assisted-by: gpt-5.6-terra
Add workflowtest/ to README.md Package Layout section.
Check off task 5.6 in OpenSpec tasks.md (activation checklist
recorded in the PR body).

Addresses PR unbound-force#110 review feedback from @fullsend-ai-review[bot].

Signed-off-by: Yvonne Devlin <[email protected]>
Assisted-by: claude-opus-4-6
Replace the risk denylist (risk_level != 'high') with an
explicit allowlist (risk_level == 'low' || risk_level == 'medium')
in the approval job's outer if gate, aligning with the
authoritative in-script allowlist.

Addresses PR unbound-force#110 review feedback from @fullsend-ai-review[bot].

Signed-off-by: Yvonne Devlin <[email protected]>
Assisted-by: claude-opus-4-6
Move TestPolicyEnvironment_ReplacesApprovalScriptInputs and
TestWorkflowScriptHarnesses_DoNotInheritHostEnvironment out of the
helper function block to group with other test functions.

Replace the loose assertContains for the 24-hour threshold with
regex extraction that independently verifies the fromJSON threshold
in the if expression matches the MIN_RELEASE_AGE_HOURS env value,
catching drift between the two literals.

Addresses PR unbound-force#110 review feedback from @fullsend-ai-review[bot].

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

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

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

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

Assisted-by: gpt-5.6-sol
Addresses PR unbound-force#110 review feedback and review-council findings.

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

Assisted-by: gpt-5.6-sol
Addresses PR unbound-force#110 review-council findings.

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

Assisted-by: gpt-5.6-sol
Addresses PR unbound-force#110 review-council findings.

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

Assisted-by: gpt-5.6-sol
Addresses PR unbound-force#110 review-council findings.

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

Assisted-by: gpt-5.6-sol
Addresses PR unbound-force#110 review-council findings.

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

Assisted-by: gpt-5.6-sol
Addresses PR unbound-force#110 review-council findings.

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

Assisted-by: gpt-5.6-sol
Addresses PR unbound-force#110 review-council findings.

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

Assisted-by: gpt-5.6-sol
@yvonnedevlinrh
yvonnedevlinrh force-pushed the opsx/automate-dependency-update branch from 71c3d03 to 928b257 Compare October 1, 2026 13:57

@jflowers jflowers 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.

Review: PR #110 — feat: automate dependency review

Verdict: APPROVE

The implementation aligns with Issue #38 and its OpenSpec requirements. It uses least-privilege permissions, full-SHA action pins, fail-closed approval validation, and isolated regression tests.

No blocking findings were identified. Standardized CI / Run linters is a pre-existing failure also present on main; Build and Test passes.

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

@jflowers jflowers 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.

Review: PR #110 — feat: automate dependency review

Verdict: APPROVE

The implementation aligns with Issue #38 and its OpenSpec requirements. It uses least-privilege permissions, full-SHA action pins, fail-closed approval validation, and isolated regression tests.

No blocking findings were identified. Standardized CI / Run linters is a pre-existing failure also present on main; Build and Test passes.

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

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

Labels

dependencies Dependency updates or dependency management github_actions Pull requests that update GitHub Actions code risk/elevated PR risk: elevated

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Dependabot Configuration + Dependency Auto-Approval

3 participants