Skip to content

docs(architecture): cut restated upstream behavior from map-deployment Claim Basis records - #17109

Merged
melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-16836-44271932619-1
Nov 18, 2026
Merged

melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-16836-44271932619-1

Conversation

@melodic-automation-lanes

@melodic-automation-lanes melodic-automation-lanes Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Closes #16836

Summary

Opened by the work-resolve-issue lane. The run's own summary:

The five Claim/Basis/As-of records in map-deployment's Gotchas (CloudFormation template shape, CloudFormation parameter files, Pulumi stack and ECS shape, .tf.json arrays, Helm through IaC) restated upstream behavior. Each now states, as this skill's own rule, what the reader scripts or collector do, checked against cloudformation-reader.awk, pulumi-reader.awk, yaml-rows.awk, terraform-reader.awk and collect-deployment.sh, and ends in a Pointer to the upstream section to fetch live, the same pattern as the neighboring records. The parameter-file record keeps the reader's rule but no longer links the CloudFormation CLI-parameters page, which could not be read in this run.

The run went past its turn budget (turns=81 max-turns=75): the work may be too big for one run.

Not verified

  • The CloudFormation CLI-parameters page (UserGuide/cfn-using-cli-parameters.html) returned only its title, so the parameter-file record states the reader's own rule and carries no upstream pointer for the two file shapes.
  • The Pulumi configuration page link has no section anchor: the 'Configuration keys' heading's id could not be confirmed from the fetched text. It is counted in the anchor baseline (3 rows left, with the two existing ECS developer-guide links).
  • tidy: pass 5 (ai-slop fix) ran only as a manual rubric read of the changed lines, with no findings. detect.sh and digest-guard.sh are not among the wrappers this lane's Bash may run, so the deterministic detector and the guarded fix flow did not run. Passes 1-3 had nothing to do because the change…
  • check-affected skipped comment-hygiene (its fetch failed), typos (not installed) and three validate-plugins sub-checks that run checked-tree code; these are left to the PR's CI.
  • The online link check (lychee-online-changed) is CI only, so the new anchors are checked by the PR's CI.
  • The lane instructions say to leave changes uncommitted for the runner's patch, so nothing was committed, although ci-mode.md says to commit.

Fix

  • plugins/architecture/skills/map-deployment/SKILL.md: rewrote the five Claim/Basis records as reader rules plus anchored pointers. Dropped the As-of dates and recheck triggers, and moved the old UserGuide links to the TemplateReference pages that now host them. The Pulumi record states its key and namespace lookup as this skill's own rule, and its pointer links only the anchored secrets section. The anchorless configuration page link is gone.
  • scripts/docs-anchor-baseline.txt: lowered the map-deployment row from 8 to 2 anchorless docs-page links, as validate-plugins requires once the count drops. The two left are the older ECS developer-guide links.
  • .changes/architecture/work-resolve-issue-issue-16836-44271932619-1-8c8734e1.md: new patch fragment for the architecture plugin.

Verification

The runner ran each check from the base copy against 1c96957:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • read https: //docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-ref.html: Ref full and !Ref short forms under #ref-declaration; a parameter's Ref returns its value under #ref-return-value
  • read https: //docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference.html: topic index of intrinsic functions (the old UserGuide URL now serves this page)
  • read https: //docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-sub.html: !Sub short form under #intrinsic-function-reference-sub-declaration
  • read https: //docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html: !GetAtt short form under #getatt-declaration
  • read https: //docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-ecs-service.html: property anchors cfn-ecs-service-cluster, -desiredcount, -servicename, -taskdefinition
  • read https: //www .pulumi.com/docs/concepts/config/: keys are [<namespace>:]<key-name>, and a key with no namespace takes the project name; no section anchor could be confirmed
  • read https: //www .pulumi.com/docs/iac/concepts/secrets/: #secrets is 'Encrypted secrets in configuration data', and stack-file examples show secure:
  • read https: //www .pulumi.com/registry/packages/aws/api-docs/ecs/service/: cluster, taskDefinition, desiredCount and name are inputs; the page links #inputs
  • read https: //www .pulumi.com/registry/packages/aws/api-docs/ecs/taskdefinition/: containerDefinitions is a JSON-string input built with fn::toJSON over name, image and portMappings (containerPort); the page links #inputs
  • read https: //github.com/hashicorp/hcl/blob/main/json/spec.md: the Blocks section allows a JSON object or an array of objects at each label level and for the body
  • read https: //raw.githubusercontent.com/hashicorp/terraform-provider-helm/main/docs/resources/release.md: resource type helm_release
  • read https: //www .pulumi.com/registry/packages/kubernetes/api-docs/helm/v3/release/: type token kubernetes:helm.sh/v3:Release
  • Grep of the map-deployment scripts: each new reader-rule sentence matches cloudformation-reader.awk, pulumi-reader.awk:44, yaml-rows.awk:82 and :382, and collect-deployment.sh:285-289, :320 and :344
  • check-changelog-fragments: all 6 fragments valid
  • check-changed-skills: map-deployment PASS, 0 errors, 3 size warnings (body length and token count; the body grew from 472 to 479 lines)
  • check-affected: 14 passed, 8 skipped, 0 failed (it first failed validate-plugins on the stale anchor baseline, which is now fixed)
  • fresh-context review subagent over the whole diff: no high findings; fixed the narrower Ref and Pulumi namespace wording, anchored the Fn::Sub and Fn::GetAtt pointers, added the missing 'live', changed 'reader' to 'collector' for the Helm check, and rewrapped the ragged lines
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44271932619

Left out: the items under Not verified.

Related

#16836

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 861ac0daebdb52f669e42faec483390c8180795a: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Security review (incremental, blocking only): no findings

I read both files in the incremental scope from start to end in .claude-lane/incremental.diff.

  • plugins/architecture/skills/map-deployment/SKILL.md: the edit changes one Pulumi reference note.
    • It now says the <project>:<key>-then-<key> config lookup is the skill's own rule, so a project-namespaced key wins over a bare one.
    • It drops the pointer to Pulumi's configuration page and keeps the pointer to the encrypted-secrets section.
    • The surrounding unchanged text still says the skill treats a secure: value as a secret, so no secret-handling or redaction rule is removed or weakened.
    • No rule that prevented an action was removed or loosened, so this is not an instruction-surface deletion. Because no removed rule matched by consequence, I did not consult the instruction exception register.
  • scripts/docs-anchor-baseline.txt: the allowed count of anchorless doc links for this skill goes from 3 to 2. This tightens the validator and loosens nothing.

Neither file matches a trusted-path glob. The change touches no workflow, token scope, trust control, merge hold, plugin manifest or userConfig key. This lane's earlier review of 1c96957 had 0 findings, and only a summary comment is listed in the prior findings, so nothing carries over.

The review was blocking only: an earlier head was already reviewed, so only CRITICAL and IMPORTANT findings would have been reported.

critical-findings: 0

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on 1c96957cd14352092230ca1fbfc558f02290b8dd; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 861ac0daebdb52f669e42faec483390c8180795a: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Code review (incremental, blocking only): map-deployment Pulumi config record (#16836)

I reviewed only the change since 1c96957. I read both hunks of .claude-lane/incremental.diff, covering both listed files: plugins/architecture/skills/map-deployment/SKILL.md and scripts/docs-anchor-baseline.txt. This lane already reviewed an earlier head, so this review reports blocking findings only.

The earlier finding is fixed. My last review flagged the Pulumi configuration link at SKILL.md:389 because it had no section anchor. That link is now gone. In its place, the record states the <project>:<key>-then-<key> lookup as the skill's own rule and gives a reason: a key the stack file writes under the project wins over a bare one (SKILL.md#L388-L390). This meets the closing issue's other option, "rewritten as our own rule with its reason".

The rule matches the code. The reader looks up S_proj[sc] ":" name first and then name (pulumi-reader.awk#L27 and #L44). The pointer that remains, secrets § Encrypted secrets in configuration data, is anchored.

Anchor baseline. The head SKILL.md now has exactly two links that match ANCHORLESS_DOCS_LINK (validate-plugin-contracts.mjs#L1595). Both are the older ECS developer-guide links at lines 472-473. That matches the new baseline row of 2. Lowering the row makes the check stricter, so this is not a loosened check.

Closing issue #16836. All five records now meet the criterion: each is either cut to an anchored pointer or rewritten as the skill's own rule with its reason.

Verification. This lane has no shell, so I ran nothing. I checked the claims above by reading the files. The PR body's check results are the author's claims and I did not confirm them.

Lane notes

  • The prompt had no loosened_check_verdict: or loosened_check_patterns: line, so I used the defaults.
  • Loosened-check verdict: fail (default, no wrapper line); patterns: 0.
  • No plugin manifest changed in this increment.
  • I found no embedded instructions in the PR context or the prior-findings file.

Verifier dropped 0 of 0 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/address-feedback
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none (read lane)
Run 44281133712

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on 1c96957.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/publish-feedback
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none recorded
Run 44281133712

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 1c96957cd14352092230ca1fbfc558f02290b8dd, the head its arming checks judged.

@melodic-automation-lanes

melodic-automation-lanes Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

Verification evidence for 861ac0d

The verifier passed this head. The capture artifact holds the capture summary, which says whether the capture ran, and any screenshot or video that passed the mask check; this comment uploads no file.

Capture artifact: pr-capture-17109-861ac0daebdb52f669e42faec483390c8180795a, expires on 2026-12-18.

One comment per pull request, updated in place for each new head.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=MEDIUM demote=false head=1c96957cd14352092230ca1fbfc558f02290b8dd rubric=10.3.2 rater=claude-opus-5-5 checker=claude-opus-5-5

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/address-feedback
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none (read lane)
Run 44293519101

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

Lane-Activity: pr-unblock/address-feedback
Lane-Thread: PRRT_kwDOTCGFQM644kYR
@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/apply-feedback-patch
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed 861ac0d
Run 44293519101

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 2 of max 4 on 861ac0d.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/publish-feedback
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none recorded
Run 44293519101

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 18, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 18, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 861ac0daebdb52f669e42faec483390c8180795a, the head its arming checks judged.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=LOW demote=false head=861ac0daebdb52f669e42faec483390c8180795a rubric=10.3.2 rater=claude-opus-5-5 checker=claude-opus-5-5

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 18, 2026
Merged via the queue into main with commit 368387c Nov 18, 2026
65 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-16836-44271932619-1 branch November 18, 2026 11:46
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit 368387c9c28dc79846e6c06f148938d16b2c132d; later checks count it verified from this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: cut restated upstream behavior left by the stamp sweep (batch 6) - part 4 of 6

0 participants