Skip to content

chore: remove the tracked PR-body artifact and ignore .artifacts - #157296

Merged
steipete merged 3 commits into
mainfrom
upd/remove-tracked-pr-body-artifact
Sep 24, 2026
Merged

steipete merged 3 commits into
mainfrom
upd/remove-tracked-pr-body-artifact

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

main tracks .artifacts/release-speedup-pr-body.md (21 KB), a PR body draft that landed with #156812. .artifacts/ is the local scratch directory scripts/pr and the repair lanes write review and proof artifacts into. A tracked file there breaks every Crabbox/Testbox sync from main: the capsule privacy guard rejects the upload (seen on lane L1237, 86 s then refused), so no lane can validate against current main until it is gone.

Why This Change Was Made

Delete the stray file and ignore .artifacts/ so a local review artifact cannot be committed again. No script reads that file; it was a PR-body draft.

User Impact

None at runtime. Repo hygiene only; unblocks Testbox validation for in-flight PRs.

Evidence

@steipete
steipete marked this pull request as ready for review September 24, 2026 12:59
@clawsweeper

clawsweeper Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@github-actions

github-actions Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Security sensitive changes

This maintainer PR changes sensitive security components. This comment is informational because the PR author has repository Maintain or Admin access.

  • Current SHA: d791de0746ea2b34ce1de40acbdc39fb8fb754e0
  • Maintainer: @steipete
  • Repository role: admin

These security sensitive changes were made:

  • .gitignore: Controls which local files and secrets can accidentally enter version control. Check that local credentials and generated secret files stay ignored.

Carefully review these changes before merging.

@clawsweeper

clawsweeper Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 24, 2026, 11:50 AM ET / 15:50 UTC (Revision 2).

ClawSweeper review

What this changes

The branch adds a comment and an .artifacts/ pattern to .gitignore for local review and proof files.

Merge readiness

⛔ Blocked before merge - 4 items remain

Keep open for maintainer disposition. The merged fix in #157308 removed the file that blocked source capture; this PR now adds only an ignore rule that already exists. The prior blocking finding remains unresolved.

Priority: P3
Reviewed head: d791de0746ea2b34ce1de40acbdc39fb8fb754e0
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The remaining patch is a redundant ignore entry, while the useful tracked-file deletion has already merged separately.
Proof confidence 🌊 off-meta tidepool Not applicable: This maintainer-authored cleanup is exempt from contributor proof. The changed Git ignore rule adds no new source-capture behavior; the separately merged deletion has canonical source-capsule sync-plan evidence. No stored-data contract changes.
Patch quality 🦪 silver shellfish (2/6) 1 actionable review finding remain.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This maintainer-authored cleanup is exempt from contributor proof. The changed Git ignore rule adds no new source-capture behavior; the separately merged deletion has canonical source-capsule sync-plan evidence. No stored-data contract changes.
Evidence reviewed 8 items Introduced PR change: The pinned merge-base-to-head delta adds only a comment and a second .artifacts/ pattern.
Existing ignore policy: The pinned base and fetched main both already contain .artifacts/ at line 208.
Merged fixing PR: GitHub confirms that pull request 157308 merged at 2026-09-24T14:21:18Z. Its body identifies the tracked scratch file as the source-capture blocker and reports a successful canonical source-capsule sync plan after deletion.
Findings 1 actionable finding [P1] Remove the duplicate .artifacts/ rule
Security None None.

How this fits together

Git tracks repository files and applies ignore rules to local files. OpenClaw's source-capsule selector checks the resulting file set before sending it to remote validation.

flowchart LR
A[Repository files] --> C[Source capsule selection]
B[Git ignore rules] --> C
C --> D{Tracked source allowed?}
D -->|Yes| E[Remote validation]
D -->|No| F[Sync refusal]
Loading

Decision needed

Question Recommendation
Should this maintainer-authored PR be closed now that its source-capture fix has merged separately and its remaining ignore rule is redundant? Close as superseded: Acknowledge the merged fix and close this PR without merging the duplicate ignore rule.

Why: The repository state identifies the author as a member, so automated cleanup must leave the disposition to a maintainer.

Before merge

  • Remove the duplicate `.artifacts/` rule (P1) - The base already ignores .artifacts/ at line 208. This added pattern changes neither ordinary ignore behavior nor the tracking status of a committed file; the focused merged fix removed that file. The prior review raised this same finding, and the hunk is unchanged at this head.
  • Complete next step (P2) - Have a maintainer decide whether to close this superseded PR; do not merge the duplicate ignore hunk.
  • Improve patch quality - Resolve the carried-forward duplicate-rule finding by removing the remaining hunk or closing the superseded PR.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.

Findings

  • [P1] Remove the duplicate .artifacts/ rule — .gitignore:242
Agent review details

Security

None.

PR surface

Other +3. Total +3 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 3 0 +3
Total 1 3 0 +3

Review metrics

None.

Root-cause cluster

Relationship: superseded
Canonical: #157308
Summary: The merged focused PR removed the exact tracked scratch file; this PR's remaining introduced change repeats an existing ignore rule.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Technical review

Best possible solution:

Keep the merged scratch-file deletion, retain one .artifacts/ ignore rule, and continue using the existing source-capsule privacy guard.

Do we have a high-confidence way to reproduce the issue?

No. Current main no longer tracks the offending file, and the merged fix reports a successful canonical source-capsule sync plan.

Is this the best way to solve the issue?

No. Deleting the tracked file was the narrow fix and has landed; the remaining ignore hunk duplicates an existing rule.

Full review comments:

  • [P1] Remove the duplicate .artifacts/ rule — .gitignore:242
    The base already ignores .artifacts/ at line 208. This added pattern changes neither ordinary ignore behavior nor the tracking status of a committed file; the focused merged fix removed that file. The prior review raised this same finding, and the hunk is unchanged at this head.
    Confidence: 0.98

Overall correctness: patch is incorrect
Overall confidence: 0.97

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against c4333da677cb.

Labels

Label changes:

  • add P3: The source-capture blocker has been fixed on main, leaving a low-impact repository cleanup PR.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🌊 off-meta tidepool and patch quality is 🦪 silver shellfish.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: This maintainer-authored cleanup is exempt from contributor proof. The changed Git ignore rule adds no new source-capture behavior; the separately merged deletion has canonical source-capsule sync-plan evidence. No stored-data contract changes.

Label justifications:

  • P3: The source-capture blocker has been fixed on main, leaving a low-impact repository cleanup PR.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🌊 off-meta tidepool and patch quality is 🦪 silver shellfish.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: This maintainer-authored cleanup is exempt from contributor proof. The changed Git ignore rule adds no new source-capture behavior; the separately merged deletion has canonical source-capsule sync-plan evidence. No stored-data contract changes.

Evidence

What I checked:

  • Introduced PR change: The pinned merge-base-to-head delta adds only a comment and a second .artifacts/ pattern. (.gitignore:242, d791de0746ea)
  • Existing ignore policy: The pinned base and fetched main both already contain .artifacts/ at line 208. (.gitignore:208, c4333da677cb)
  • Merged fixing PR: GitHub confirms that pull request 157308 merged at 2026-09-24T14:21:18Z. Its body identifies the tracked scratch file as the source-capture blocker and reports a successful canonical source-capsule sync plan after deletion. (.artifacts/release-speedup-pr-body.md, 8488c7c2285e)
  • Current main file state: The fetched main tree has no tracked entry under .artifacts/. (c4333da677cb)
  • Source-capsule boundary: The source-capsule selector refuses upload when privacy selection excludes required tracked source, matching the failure described in the PR discussion. (scripts/crabbox-source-capsule.mts:685, d791de0746ea)
  • Re-review continuity: The .gitignore hunk is unchanged from the earlier reviewed head, where ClawSweeper raised the duplicate-rule finding. (.gitignore:242, d791de0746ea)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vincent Koc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (1 earlier review cycle)
  • reviewed 2026-09-24T13:07:16.356Z sha bbb1288 :: needs changes before merge. :: [P1] Remove the duplicate artifact ignore rule

@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 24, 2026
@steipete
steipete merged commit a8e6293 into main Sep 24, 2026
110 checks passed
@steipete
steipete deleted the upd/remove-tracked-pr-body-artifact branch September 24, 2026 15:59
vincentkoc added a commit that referenced this pull request Sep 24, 2026
* commit '9a1a6f7db9783d0b8abaf918bfe12978ea745b57': (26 commits)
  fix(maintainer): restore cold PR worktree provisioning (#157394)
  feat(ios): establish native Cloudflare Access sign-in sessions (#146996)
  fix: restore the Gateway after interrupted Doctor maintenance (#156854)
  refactor(line): retire the Express webhook adapter (#157369)
  refactor(cron): consolidate unavailable delivery targets (#157393)
  ci: apply Go memory defaults to architecture checks
  fix(cli): preserve the first PowerShell completion test failure (#157267)
  refactor(agents): consolidate transcript-tail model selection (#157382)
  fix(release): honor frozen validation contracts (#157034)
  fix(perf): use settled Kova terminal CPU accounting (#157029)
  chore(windows): verify packaged repair worker lifecycle (#157047)
  refactor(logging): share memory pressure threshold selection (#157164)
  fix(release): verify bundled fs-safe native bindings (#157027)
  perf(skills): skip warm prompt search when minimum cannot fit (#157343)
  fix(ui): avoid retaining detached tooltip anchors (#157226)
  perf(ci): reuse compiler state and shorten guard and UI tests (#157265)
  perf(ui): preserve model caches on unrelated metadata updates (#157254)
  chore: remove the tracked PR-body artifact and ignore .artifacts (#157296)
  refactor: consolidate duplicate MCP lifecycle tests (#157360)
  test(qa): consolidate CLI runtime fixtures (#118496)
  ...
@roboclaw-bot roboclaw-bot mentioned this pull request Sep 24, 2026
2 of 8 tasks
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 25, 2026
…nclaw#157296)

* chore: remove the tracked PR-body artifact from .artifacts

* chore: ignore .artifacts so local review artifacts cannot be committed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. security-sensitive-changed size: XS status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant