Repository navigation
feat(code-metrics): read the personal override from docs conventions with a dual-read window for the old paths - #18069
Conversation
Lane-Activity: work-resolve-issue/resolve-issue
Lane run report
Run 44957921860, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
Lane run report
Run 44962695163, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
Lane-Activity: pr-unblock/fix-ci
Lane run report
Run 44962695163, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
|
claude-security-review reviewed Security review: PR #18069, incremental (98658e3 → 4facd93)No security issues found. This lane already reviewed an earlier head, so this review reports blocking findings only. It covers the 3 files changed since What changed and what I checked:
Manifest lines (1)
critical-findings: 0 |
|
claude-review reviewed Code review (incremental): PR #18069,
|
|
Unattended merge: native auto-merge leaves this pull request unarmed at head |
|
The unattended merge path is about to arm native auto-merge at head |
|
Merge-Risk: max=HIGH demote=true head=73730440903f387328db8a8c32e9f95eae77edde rubric=10.4.6 rater=claude-opus-5-5 checker=claude-opus-5-5 |
Lane run report
Run 44979521766, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM66dhq8 Lane-Thread: PRRT_kwDOTCGFQM66dhq_
Lane run report
Run 44960948468, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
|
pr-unblock / address-feedback finished round 1 of max 4 on 3bd7277. |
Lane run report
Run 44979521766, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
Lane-Activity: pr-unblock/fix-ci
|
Held by the PR lane until a session reviews the HIGH (demote=true) rating at 7373044. Its Reversibility row names docs/conventions/code-metrics.local.yaml, and a MEDIUM row says 🤖 Generated with Claude Code |
|
Risk review (R18) of the HIGH demote=true rating at 7373044: its one HIGH reason is Reversibility. |
Issue #18001 maps ~/.claude/code-metrics.yaml to the userConfig layer, so the plugin now declares a file-typed config_file userConfig option. The layer holds the same nested keys as the team file, which no scalar option can carry, so the option names a YAML file, as multi-agent's role_map_file does. Plugin options do not reach Bash commands, so each skill passes '${user_config.config_file}' to its scripts as --user-file; the entry scripts export it as CODE_METRICS_USER_FILE and cm_resolve_config hands it to the resolver, the one place the value is guarded: empty or unsubstituted is unset, a leading ~/ expands against the home, and a value still not absolute is skipped with a warning. The resolver reads that file as layer userConfig, below team. During the dual-read window the old ~/.claude/code-metrics.yaml is read in its place, labeled userConfig as docs-naming labels its old file, only while the option's file is absent or outside the YAML subset; one warning names the old file and the option's file, or the option itself while it is unset. Both layers now share one dual-read helper, so the personal override keeps its behavior and warnings. setup-check names the userConfig layer and the old file's new location, and its help moves into a usage() heredoc. setup-apply --copy-old copies old user-global keys into the option's file after a preview and a yes, never into the personal override; while the option is unset it copies none and says to set it. Copying no longer skips keys the team file sets, since the option's file sits where the old file did. Both preview and write run git check-ignore on docs/conventions/code-metrics.local.yaml and warn with the docs/conventions/**/*.local.* line when it is not ignored. The positional first layer file is now labeled userConfig too, so provenance uses one name for the layer. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RAoAtUnz4WHB5auUnwQYq7
… unset claude-review showed --copy-old printing "delete it once check shows the values you expect" for the old ~/.claude/code-metrics.yaml even when the option was unset and none of its keys were copied; check still passes then (the dual read), so deleting it would drop those settings, which #18001 forbids. The run now says to keep the file until the option is set and a rerun copies its keys; setup step 4 says the same, and the unset-option test asserts both lines. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RAoAtUnz4WHB5auUnwQYq7
|
pr-unblock / address-feedback finished round 2 of max 4 on 4facd93. |
|
The pr-unblock lane stopped
When a retry on this head can change the outcome, the lane runs one on its own, up to its per-head cap, and edits this comment if it stops again; a run that does not stop clears the status. When no retry can (a review thread the lane does not take or settle, or a failing check after the retries are spent), a person resolves the threads or gets the checks green, then dispatches the workflow below: that run finds the cause gone and clears the status. On a pull request the lanes App opened, the dispatchers start that run once per stop; on any other, a person does. A new commit to the branch starts clean. To run it again on this head now, dispatch the gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=18069 -f activity=address-feedback |
Lane run report
Run 44979521766, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
|
The unattended merge path is about to arm native auto-merge at head |
|
Merge-Risk: max=HIGH demote=true head=4facd93cf37822d479678b9ea728afa6835076c1 rubric=10.6.0 rater=claude-opus-5-5 checker=claude-opus-5-5 |
|
Merge-risk acceptance at 4facd93 (rating run 44979882831, HIGH demote=true). The only HIGH row is Reversibility: the new |
|
The post-merge check verified merge commit |
Closes #18001
Summary
Opened by the work-resolve-issue lane. The run's own summary:
Not verified
Fix
Verification
The runner ran each check from the base copy against 19e9d34:
The run reports:
Left out: the items under Not verified.
Related
#18001