Skip to content

test(profiles): remove obsolete setup from ClawHub judge checks - #181

Merged
vincentkoc merged 2 commits into
mainfrom
test/profile-contract-cleanup
Nov 20, 2026
Merged

vincentkoc merged 2 commits into
mainfrom
test/profile-contract-cleanup

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Summary

The ClawHub smoke now reports the status, verdict and overview produced by the current Codex profile. Removed obsolete Decisions setup and fields. A failed scan prints the stage summary before returning the CLI’s failure status. The operator guide describes the current harness. Profile tests drop an unused scanner stub, unused Codex recorder fields and a weaker duplicate unknown-profile check.

Verification

  • actionlint .github/workflows/judge-inspection-smoke.yml, make docs-site and go test -count=1 ./internal/profiles ./cmd/clawscan passed.
  • Ran the workflow’s Python step against the built CLI and a controlled Codex executable. Success produced a verdict, completed overview and exit 0. Judge failure reported a skipped overview and exit 1.
  • In the live invocation both fixtures completed and Codex reached OpenAI. The repository credential received HTTP 401. A successful live verdict requires refreshing that credential. Live workflow run
  • Structured review returned no actionable findings.

@clawsweeper

clawsweeper Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

🦞👀
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.

@vincentkoc
vincentkoc marked this pull request as ready for review November 20, 2026 09:27
@vincentkoc
vincentkoc requested review from a team and Patrick-Erichsen as code owners November 20, 2026 09:27
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. labels Nov 20, 2026
@clawsweeper

clawsweeper Bot commented Nov 20, 2026

Copy link
Copy Markdown

Codex review: needs maintainer review before merge.

What this changes

This PR removes obsolete Decisions smoke setup, unused test scaffolding, and a duplicate profile-error test.

Example: Run the manual ClawHub judge smoke with Codex 0.164.0.

  • Before: Setup also installs the unused clawscan-decisions-judge executable and prints absent Decisions metadata.
  • After: Setup installs Codex and retains judge completion, verdict, and overview assertions.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Useful, minimal maintenance supported by source verification and passing test checks; the optional live smoke failure remains unattributed.
Proof confidence 🐚 platinum hermit (4/6) This workflow and test cleanup changes no shipped user behavior; existing assertions remain and head test and lint checks passed.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Maintenance · Worth it: Yes · Fix scope: Complete
User problem: Maintainers encounter obsolete Decisions setup and irrelevant result fields when running the Codex-based ClawHub smoke.
Reason: Maintainer-authored direction aligns with the merged Codex transition and removes unused scaffolding without changing product behavior.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR provides useful cleanup still absent from main, and inspection found no introduced defect.

Priority: P3
Reviewed head: 749f5c0b78d367e30328d7ed702a9a39f29e3c78

Before merge

None.

Findings

None.

Agent review details

How this fits together

The manual workflow builds ClawScan and exercises its bundled ClawHub profile with scanner fixtures; profile and CLI tests verify command wiring and evidence isolation.

flowchart LR
  A[Manual workflow] --> B[ClawScan CLI]
  C[Scanner fixtures] --> B
  B --> D[ClawHub profile]
  D --> E[Codex judge and overview]
  E --> F[Report assertions]
Loading

Technical review

Best possible solution:

Retain this focused cleanup and classify the optional smoke failure before deciding whether separate repair is needed.

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

Source inspection confirms the obsolete setup and unused scaffolding; no target code was executed during this read-only review.

Is this the best way to solve the issue?

The deletions are a small, complete cleanup that preserves the existing runtime owners and stronger regression coverage.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against bb2caf5924d9.

Provenance checked

  • Manual judge smoke keeps the original intent (22d2f69: feat!: add a Decisions API judge and a pluggable overview step for clawhub #148 installed the then-active Decisions judge and reported its metadata; the later Codex transition superseded that setup.)
  • Fake Codex metadata keeps the original intent (80d11a3: The evidence-only judge tests record arguments, prompt, workspace contents, and metadata; the removed working-directory record, timestamp, and target field have no consumers.)
  • Unknown-profile coverage keeps the original intent (d09d799: The original profile test checked unknown-profile diagnostics; the retained explicit-discovery test checks the complete diagnostic and available-profile list.)
  • Scanner-result test runner keeps the original intent (13c6cb5: Declarative gate tests introduced the fixture runner; searches of the introduction base find no remaining consumer.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Patrick Erichsen: Raw commit 80d11a3 adds cmd/clawscan/codex_evidence_judge_test.go:19 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 80d11a34a97a; files: cmd/clawscan/codex_evidence_judge_test.go)
  • Jesse Merhi: Raw commit c924525 adds internal/profiles/resolver_test.go:198 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: c924525c887a; files: internal/profiles/resolver_test.go)
  • Vincent Koc: Raw commit 490bd16 adds internal/profiles/resolver_test.go:118 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 490bd167ea43; files: internal/profiles/resolver_test.go)

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P3: Focused workflow and test cleanup preserves public CLI behavior and existing assertions.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: Focused workflow and test cleanup preserves public CLI behavior and existing assertions.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 20, 2026, 4:40 AM ET / 09:40 UTC.

@vincentkoc
vincentkoc merged commit 21803e1 into main Nov 20, 2026
10 checks passed
@vincentkoc
vincentkoc deleted the test/profile-contract-cleanup branch November 20, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant