Repository navigation
refactor: use authored configuration metadata without field badges - #149162
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review blockedAutomated review did not run, so no review verdict was produced. Reason: The input-safety check rejected material in this revision. No detected value, path, or scanner output is reproduced here. ClawSweeper will not retry this unchanged revision. Next step: If this is a genuine credential, remove and rotate it. If it is an intentional test fixture, a maintainer must review and qualify it. |
|
Codex review: blocked before merge. Reviewed September 15, 2026, 1:13 PM ET / 17:13 UTC (Revision 5). ClawSweeper reviewWhat this changesThe PR removes inferred configuration tags and field badges, preserves authored-tag search, updates documentation and regression expectations, and switches a QA subprocess fixture to its lightweight test API. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Blocked before merge - 7 items remain Keep open: the visual cleanup is useful and demonstrated, but the previously reported credential-redaction regression remains unresolved. Current main still retains tag normalization, so this work is not already implemented. Priority: P2 Review scores
Verification
How this fits togetherThe configuration schema combines core and plugin metadata for Settings rendering and configuration-response redaction. Tags therefore feed both presentation and credential protection. flowchart TD
A[Core schema metadata] --> C[Configuration schema builder]
B[Plugin authored hints] --> C
C --> D[Settings forms and tag search]
C --> E[Configuration redaction]
F[Stored configuration] --> E
E --> G[Gateway configuration response]
Before merge
Findings
Agent review detailsSecurityNeeds attention: The metadata cleanup retains a concrete credential-redaction regression; no separate supply-chain concern was found. PR surfaceSource -246, Tests +4, Docs 0, Generated 0. Total -242 across 17 files. View PR surface stats
Review metricsNone. Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep authored presentation metadata intact while making the shared URL-secret consumer recognize normalized tags, with schema-to-response redaction and restoration coverage. Do we have a high-confidence way to reproduce the issue? Yes, source establishes a precise PR-head trigger: a custom endpoint marked sensitive:false with tags:[" URL-SECRET "] bypasses exact tag recognition after schema construction. No runtime reproduction or tests were executed in this read-only review. Is this the best way to solve the issue? No, removing presentation inference also removes normalization needed by a security consumer. Normalizing recognition at that shared consumer preserves the intended authored metadata without restoring inferred badges. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 3fc1d89b80b8. LabelsLabel justifications:
EvidenceSecurity concerns:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (4 earlier review cycles)
|
4b4fe3d to
081ee3d
Compare
081ee3d to
f5e244b
Compare
|
Addressed the URL-secret finding and matching rank-up move in f5e244b. The shared security consumer trims and normalizes the authored tag when recognizing it; presentation metadata remains authored. The regression runs schema construction → public snapshot redaction → restoration with a custom endpoint and padded/mixed-case tag. It fails before the repair; all 170 related cases pass afterward. The stack is rebased onto 3fc1d89, which already contains the separate QA fixture repair from #149243. This PR no longer duplicates that patch. No persistent data model, stored configuration shape, default, or migration changes: the flagged schema files build UI/protocol metadata. |
f5e244b to
efd7eb2
Compare
af36ccb to
3176c52
Compare
Punchcard-Session: crisp-summit-lantern-qk
Punchcard-Session: crisp-summit-lantern-qk
Punchcard-Session: crisp-summit-lantern-qk
3176c52 to
83d66c9
Compare
Punchcard-Session: crisp-summit-lantern-qk
|
@clawsweeper re-review Refreshed onto current main and addressed the reported URL-secret concern at the shared consumer: padded/mixed-case tags retain redaction and restoration protection. Schema/redaction/docs tests passed (103); schema/hints tests passed after the final test-only relocation (99), and the line-cap ratchet passes. No value/default/validation or persistence contract change. Fresh scoped P0 review is clean. Hosted CI is running on |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Merged via squash.
|
…penclaw#149162) * refactor: use authored configuration tags without field badges Punchcard-Session: crisp-summit-lantern-qk * test: align documentation metadata with authored tags Punchcard-Session: crisp-summit-lantern-qk * fix: preserve URL-secret tag recognition during redaction Punchcard-Session: crisp-summit-lantern-qk * test(config): keep authored metadata coverage with schema hints Punchcard-Session: crisp-summit-lantern-qk
Configuration fields currently show category badges inferred from their names. This change carries authored metadata directly and removes those field badges while retaining authored-tag search. Configuration values, defaults, validation, sensitivity and advanced hints are unchanged.
The shared security consumer still recognizes whitespace-padded and mixed-case URL-secret tags. The inferred-tag module and unused form styles are removed: production +29/−270 (net −241). There is no persistent data-model, storage, configuration-value or migration change.
Validation
b2a9dc036c3e.openclaw/ci-gate.Review disposition
The ClawSweeper URL-secret finding and rank-up move are addressed at the shared security consumer, with schema→redaction→restoration regression coverage. Authored presentation metadata changes; value/default/validation and persistence contracts do not. Rebase conflicts were resolved against current owners, and an obsolete, unrelated subprocess-fixture cleanup was dropped because main now owns that implementation.
Tracks CLAW-877, within CLAW-860.
The requested ClawSweeper refresh failed in its input scanner before review. The older URL-secret finding and rank-up are addressed above; fresh independent source review and scoped autoreview passed. No new ClawSweeper verdict is claimed.