Polish: consolidated minor cleanups from M1-M3 reviews #4
Labels
No labels
correctness
coverage
milestone:M4
polish
security
tech-debt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
public/warden#4
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Umbrella for cosmetic/robustness nits (none blocking):
resolve.py:params: []falsy non-mapping silently collapses to{}; make the checkis not None.remediate.py: Tier0->Tier1 double-bumps reportedattempts(cosmetic);_verify_timeoutreachesVerifier._schedulervia getattr.mesh/exec.py:bound_output(limit<marker)returns marker over-length;_stroptional-empty comment; frozen dataclasses hold a mutableparamsdict.mesh/invoke.py: pre-send rejects carry emptyrequest_id;Invokernot kw-only;nowhint isfloat.config.py:_intdefaultmin_value=0allows negatives;_read_secret_filenoUnicodeDecodeErrorcatch.metrics.py: fresh/expired count could be oneCounterpass; no test for zero-roles/caps agent.Fixed in v0.18.0 (commits
fc2bd78+e8d5348). resolve.py params guard -> is-not-None; exec.py bound_output marker clamp + documented mutable params; invoke.py pre-send request_id + kw-only + now float hint; config.py UnicodeDecodeError -> ConfigError. Two listed nits (config _int negative floor, metrics single-pass) were already correct and got regression tests instead.