Skip to content

feat(automation): add a thin LineageWeave hourly review-repair caller - #1259

Closed
seonghobae wants to merge 2 commits into
mainfrom
feat/lineageweave-hourly-review-repair-thin
Closed

feat(automation): add a thin LineageWeave hourly review-repair caller#1259
seonghobae wants to merge 2 commits into
mainfrom
feat/lineageweave-hourly-review-repair-thin

Conversation

@seonghobae

@seonghobae seonghobae commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Product result

LineageWeave open heads receive the same hourly NVIDIA NIM review-repair heartbeat as OriginWeave, DiskSage, and fast-mlsirm, instead of waiting only on mention sweeps.

Why this repository

Privileged review/repair automation lives in ContextualWisdomLab/.github. LineageWeave remains a standalone product. This is a thin caller, not a LineageWeave-owned workflow and not a product-specific stack driver.

What this head changes

  • Add lineageweave-hourly-review-repair.yml at minute 4 targeting ContextualWisdomLab/LineageWeave protected main.
  • Inspect up to 50 open PRs, dispatch at most one exact-head repair, two-hour same-head retry floor, non-cancelling single-flight group.
  • Workflow contents: read, job-scoped id-token: write, explicit PR_REVIEW_MERGE_TOKEN and OPENCODE_APPROVE_TOKEN only. No secrets: inherit, no NVIDIA_NIM_API_KEY on the caller, no COPILOT_GITHUB_TOKEN.
  • Contract tests, doctoring (APA 7th), ARCHITECTURE, AGENTS, CHANGELOG, and the focused quality path filter.

This thin caller supersedes the custom stacked-queue driver in #1086. The reusable scheduler already owns exact-head admission and one-dispatch repair; a hard-coded LineageWeave stack list drifts as soon as new heads land.

Verification

python3 -m pytest -q tests/test_lineageweave_hourly_review_caller.py tests/test_originweave_hourly_review_caller.py tests/test_fast_mlsirm_hourly_review_caller.py tests/test_hourly_scheduler_runtime_budget.py tests/test_pr_review_fix_hourly_contract.py tests/test_pr_review_autofix_nvidia_nim_contract.py — 59 passed.

Remaining gates

Independent exact-head OpenCode / Strix / Noema review is required. This identity cannot self-approve. After merge, OPENCODE_REPOSITORY_DISPATCH_TARGETS must already contain ContextualWisdomLab/LineageWeave for protected-main activation.

No self-approval, no force-push, no PII.


Open in Devin Review

LineageWeave open heads never entered the OriginWeave, DiskSage, or
fast-mlsirm heartbeats. Add a minute-4 read-only caller that names
ContextualWisdomLab/LineageWeave and protected main, maps only established
scheduler credentials, and dispatches at most one exact-head repair with a
two-hour same-head retry floor. Privileged RCA stays in the reusable engine.
@coderabbitai

coderabbitai Bot commented Aug 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@seonghobae, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 52 minutes

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

Wait for the limit to reset, then comment @coderabbitai review or push new commits to the PR.

An organization admin can change what happens after included review limits in Billing.

How do review limits work?

CodeRabbit enforces per-developer PR review limits within each organization.

For paid Pro and Pro+ reviews, CodeRabbit uses a developer's included PR review attempts over the past 7 days to set the current hourly allowance. At typical activity levels, the full plan allowance applies. Higher sustained activity can lower the allowance until earlier attempts leave the 7-day window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: d474049f-f221-4e3d-bf8e-c7ed0174bf5f

📥 Commits

Reviewing files that changed from the base of the PR and between 885f2cd and 6041f2a.

📒 Files selected for processing (8)
  • .github/workflows/hourly-nvidia-nim-review-repair.yml
  • .github/workflows/lineageweave-hourly-review-repair.yml
  • AGENTS.md
  • ARCHITECTURE.md
  • CHANGELOG.md
  • docs/automation/hourly-review-repair.md
  • docs/doctoring/lineageweave-hourly-review-caller.md
  • tests/test_lineageweave_hourly_review_caller.py

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copy link
Copy Markdown
Contributor Author

@opencode-agent independent exact-head review requested. This identity cannot self-approve.

Thin LineageWeave hourly caller at minute 4. Reuses pr-review-fix-scheduler.yml. No model secrets on the caller. Supersedes the custom stack driver in #1086.

@seonghobae
seonghobae enabled auto-merge (squash) August 23, 2026 14:05

@devin-ai-integration devin-ai-integration Bot 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.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@seonghobae

Copy link
Copy Markdown
Contributor Author

@opencode-agent @cwl-noema-review current-head review for 6041f2aa9e23af5850cd83fa838a3eb6c45d84b9.

@opencode-agent
opencode-agent Bot disabled auto-merge August 23, 2026 14:11

Copy link
Copy Markdown
Contributor Author

Cycle retry (2026-08-23T23:24KST): write probe from seonghobae. Independent exact-head APPROVE still required; author will not self-approve. LineageWeave TEPP accepted-receipt slice is now #496. Do not squash-merge without independent APPROVE plus exact-head required success. LineageWeave issues #79 and #87 stay open.

Copy link
Copy Markdown
Contributor Author

@opencode-agent @cwl-noema-review current-head review for 6041f2a. Thin LineageWeave minute-4 caller. This identity cannot self-approve.

@seonghobae
seonghobae enabled auto-merge (squash) August 23, 2026 15:44

Copy link
Copy Markdown
Contributor Author

@opencode-agent @cwl-noema-review current-head review for 6041f2aa9e23af5850cd83fa838a3eb6c45d84b9.

Thin LineageWeave minute-4 caller. Auto-merge is armed. This identity cannot self-approve. Independent OpenCode / Strix / Noema required.

Copy link
Copy Markdown
Contributor Author

@opencode-agent @cwl-noema-review current-head review for 6041f2aa9e23af5850cd83fa838a3eb6c45d84b9. Thin LineageWeave minute-4 caller. Independent OpenCode / Strix / Noema required. This identity cannot self-approve.

1 similar comment

Copy link
Copy Markdown
Contributor Author

@opencode-agent @cwl-noema-review current-head review for 6041f2aa9e23af5850cd83fa838a3eb6c45d84b9. Thin LineageWeave minute-4 caller. Independent OpenCode / Strix / Noema required. This identity cannot self-approve.

Copy link
Copy Markdown
Contributor Author

@opencode-agent @cwl-noema-review current-head review for 6041f2aa9e23af5850cd83fa838a3eb6c45d84b9.

Thin LineageWeave minute-4 hourly review-repair caller. Devin found no issues. Independent OpenCode / Strix / Noema required. This identity cannot self-approve.

Copy link
Copy Markdown
Contributor Author

@opencode-agent @cwl-noema-review current-head review for 6041f2aa9e23af5850cd83fa838a3eb6c45d84b9.

Thin LineageWeave hourly review-repair caller. Independent OpenCode / Strix / Noema required. This identity cannot self-approve.

Copy link
Copy Markdown
Contributor Author

Exact-head ping for independent OpenCode/Strix/Noema review on 6041f2aa9e23af5850cd83fa838a3eb6c45d84b9. Auto-merge remains armed. No self-approval. Checks are not blockers.

@opencode-agent opencode-agent Bot 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.

Pull request overview

OpenCode could not approve from deterministic current-head evidence because GitHub Checks have failed.

Findings

1. HIGH Current-head GitHub Checks - Fix failed required checks before approval

  • Problem: Failed same-head checks remain for 6041f2aa9e23af5850cd83fa838a3eb6c45d84b9.
  • Root cause: The model-unavailable evidence fallback is allowed only when peer GitHub Checks are complete and clean.
  • Fix: Read and fix the failed check logs below, then rerun the current-head checks.
  • Regression test: Keep the model-unavailable fallback gated on an empty failed-check rollup.

Failed checks:

Changed-File Evidence Map

flowchart LR
  PR["PR changed files"] --> Evidence["OpenCode bounded evidence"]
  Evidence --> S1["Workflow (2 files)"]
  S1 --> I1["GitHub Actions review job"]
  I1 --> R1["Review risk: Workflow (2 files)"]
  R1 --> V1["actionlint plus required checks"]
  Evidence --> S2["Changed file (3 files)"]
  S2 --> I2["repository behavior"]
  I2 --> R2["Review risk: Changed file (3 files)"]
  R2 --> V2["required checks"]
  Evidence --> S3["Docs (2 files)"]
  S3 --> I3["operator or user guidance"]
  I3 --> R3["Review risk: Docs (2 files)"]
  R3 --> V3["docs review"]
  Evidence --> S4["Test: test_lineageweave_hourly_review_caller.py"]
  S4 --> I4["regression suite"]
  I4 --> R4["Review risk: Test: test_lineageweave_hourly_review_caller.py"]
  R4 --> V4["targeted test run"]
Loading

@opencode-agent

Copy link
Copy Markdown
Contributor

OpenCode Review Overview

  • Head SHA: 6041f2aa9e23af5850cd83fa838a3eb6c45d84b9
  • Workflow run: 32653022156
  • Workflow attempt: 1
  • Gate result: REQUEST_CHANGES (approval step)

Pull request overview

OpenCode could not approve from deterministic current-head evidence because GitHub Checks have failed.

Findings

1. HIGH Current-head GitHub Checks - Fix failed required checks before approval

  • Problem: Failed same-head checks remain for 6041f2aa9e23af5850cd83fa838a3eb6c45d84b9.
  • Root cause: The model-unavailable evidence fallback is allowed only when peer GitHub Checks are complete and clean.
  • Fix: Read and fix the failed check logs below, then rerun the current-head checks.
  • Regression test: Keep the model-unavailable fallback gated on an empty failed-check rollup.

Failed checks:

Changed-File Evidence Map

flowchart LR
  PR["PR changed files"] --> Evidence["OpenCode bounded evidence"]
  Evidence --> S1["Workflow (2 files)"]
  S1 --> I1["GitHub Actions review job"]
  I1 --> R1["Review risk: Workflow (2 files)"]
  R1 --> V1["actionlint plus required checks"]
  Evidence --> S2["Changed file (3 files)"]
  S2 --> I2["repository behavior"]
  I2 --> R2["Review risk: Changed file (3 files)"]
  R2 --> V2["required checks"]
  Evidence --> S3["Docs (2 files)"]
  S3 --> I3["operator or user guidance"]
  I3 --> R3["Review risk: Docs (2 files)"]
  R3 --> V3["docs review"]
  Evidence --> S4["Test: test_lineageweave_hourly_review_caller.py"]
  S4 --> I4["regression suite"]
  I4 --> R4["Review risk: Test: test_lineageweave_hourly_review_caller.py"]
  R4 --> V4["targeted test run"]
Loading

Copy link
Copy Markdown
Contributor Author

@opencode-agent @cwl-noema-review exact-head independent review for 6041f2aa9e23af5850cd83fa838a3eb6c45d84b9.

Thin LineageWeave minute-4 hourly review-repair caller. Devin found no issues. Strix fail is provider infrastructure, not a finding on this head. Auto-merge remains armed. This identity cannot self-approve. Checks are not blockers.

Copy link
Copy Markdown
Contributor Author

@opencode-agent @cwl-noema-review exact-head re-review for 6041f2aa9e23af5850cd83fa838a3eb6c45d84b9.

Strix failure on this head is provider infrastructure (LLM connection / missing artifact), not a finding in the thin LineageWeave minute-4 caller. Checks are not blockers. Coverage-evidence, CodeQL, pip-audit, gitleaks, and Semgrep are green. Devin found no issues. Auto-merge remains armed. This identity cannot self-approve.

@opencode-agent
opencode-agent Bot disabled auto-merge August 23, 2026 17:48

Copy link
Copy Markdown
Contributor Author

Exact-head independent review required on 6041f2aa9e23af5850cd83fa838a3eb6c45d84b9.

  • Minute-4 thin LineageWeave hourly review-repair caller.
  • Strix prior failure was provider infrastructure; re-queued. OpenCode / Strix / Noema on this SHA only. Checks are not blockers. No self-approval.

Copy link
Copy Markdown
Contributor Author

@opencode-agent @cwl-noema-review exact-head independent review for 6041f2aa9e23af5850cd83fa838a3eb6c45d84b9.

Strix failure is provider infrastructure, not a finding in the thin LineageWeave minute-4 caller. Devin found no issues. coverage-evidence SUCCESS. Checks are not blockers. Auto-merge remains armed. This identity cannot self-approve.

Copy link
Copy Markdown
Contributor Author

@opencode-agent @cwl-noema-review exact-head independent review for 6041f2aa9e23af5850cd83fa838a3eb6c45d84b9.

OpenCode CHANGES_REQUESTED is Strix provider infrastructure only (not a product finding). Devin found no issues. Checks are not blockers. Auto-merge remains armed. This identity cannot self-approve.

Copy link
Copy Markdown
Contributor Author

@opencode-agent @cwl-noema-review exact-head independent review for 6041f2aa9e23af5850cd83fa838a3eb6c45d84b9.

OpenCode CHANGES_REQUESTED is Strix provider infrastructure only. Devin found no issues. Checks are not blockers. Auto-merge remains armed. This identity cannot self-approve.

…rly-review-repair-thin

# Conflicts:
#	CHANGELOG.md

@devin-ai-integration devin-ai-integration Bot 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.

Devin Review found 1 new potential issue.

Open in Devin Review

Comment on lines +10 to +11
# Scopeweave (31), DiskSage (37), Appguardrail (41), GRC (43),
# newsdom-api (43), Inkspan (47), fast-mlsirm (49), BandScope (53), and

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.

📝 Info: Schedule comment lists two products at minute 43

The schedule comment lists both GRC (43) and newsdom-api (43) at the same minute (lineageweave-hourly-review-repair.yml). Cosmetic only; comments do not affect scheduling, and minute 4 remains free.

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

@seonghobae

Copy link
Copy Markdown
Contributor Author

Superseded by #1288.

The current #1288 caller is the smaller replacement: it keeps the protected main boundary, exact scheduler contract, minute-4 heartbeat, two-hour same-head floor, and focused tests without the conflicting legacy base/documentation changes in this PR. The remaining Devin note here is informational only. Continue review and merge from #1288.

@seonghobae

Copy link
Copy Markdown
Contributor Author

Closed as superseded by #1288; use the current exact-head caller there.

@seonghobae seonghobae closed this Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant