Release Notes: Name-Matched Object Lists and Firewall Policy Rule Collection Groups
Lists of nested objects in Terraform plans (such as Application Gateway listeners, WAF custom rules, and firewall rule collections) used to be compared purely by array index. Inserting or removing one element shifted every subsequent element, causing noisy false diffs and numeric paths like http_listener[4]. This release matches qualifying nested object lists by name instead of index, adds a dedicated rule-collection template for azurerm_firewall_policy_rule_collection_group, and hides unchanged items by default across existing resource-specific item tables.
✨ Features
- Name-matched nested object lists (#677):
- Lists where every element on both sides has a known, non-empty, non-sensitive, unique
nameare matched by name instead of position at any nesting depth. - Generic
Attribute | Before | After(and create/deleteAttribute | Value) tables display each shown element as an indented group headed by its list attribute and element name, with change markers (➕, 🔄, ❌, ⏺️) and relative attribute names. - Added and removed elements show all attributes; changed elements show only changed attributes by default; unchanged elements are hidden unless
--show-unchanged-valuesis passed. - Order-only changes (same elements with identical content in a different order) are reported once on the list without marking individual elements changed.
- Resource summaries, large-value sections, and drift reports use escaped name-keyed paths (such as
http_listener["app-private-http"].host_name) and count one change per added, removed, or changed element.
- Lists where every element on both sides has a known, non-empty, non-sensitive, unique
- Dedicated
azurerm_firewall_policy_rule_collection_grouptemplate (#676):- Automatically renders each changed, added, or removed rule collection as its own section ordered by Azure Firewall processing order (NAT, network, application) and ascending priority.
- Displays NAT, network, and application rule tables with merged source/destination/translated cells, value-kind indicators (
🌐address,🆔IP group name,📄URL,🏷️FQDN tag,📚web category),-/+inline diffs, uncolumned attribute changes (such ashttp_headers) inside Description, and nested(known after apply: <ref>)hints when referenced IP groups are being replaced. - Falls back to the generic renderer if collections or rule lists are marked unknown after apply, contain duplicate names, or have collection/rule order-only changes.
- Consistent
--show-unchanged-valuesbehavior across existing item tables:- Existing resource-specific tables (classic firewall rule collections, NSG security rules, Azure DevOps variable groups and build definitions, and inline parent-child child tables) now hide unchanged items by default and reveal them with
--show-unchanged-values.
- Existing resource-specific tables (classic firewall rule collections, NSG security rules, Azure DevOps variable groups and build definitions, and inline parent-child child tables) now hide unchanged items by default and reveal them with
🐛 Fixes
- Fall back cleanly to the generic renderer when
azurerm_firewall_policy_rule_collection_groupcollection or rule lists are unknown after apply or only reordered. - Escape newlines and pipe characters inside inline diff cells so multi-line values and special characters preserve Markdown table structure.
- Mask per-element and descendant sensitive attributes (including unchanged sensitive siblings in
http_headers) without prepending value-kind icons or leaking prior values on unknown collection priority/action headings.
📚 Docs
- Updated
README.md,docs/features.md,docs/architecture.md,docs/report-style-guide.md, CLI help text, and addeddocs/adr-012-name-keyed-attribute-paths.md.
▶️ Getting started
No new CLI options are required — name matching and the firewall policy rule collection group template activate automatically:
terraform show -json plan.tfplan | docker run -i oocx/tfplan2md:latest > plan.mdPass --show-unchanged-values when you want unchanged elements, rules, collections, and unchanged attributes inside changed items included in the report.
📸 Screenshots
Name-matched element groups in the generic attribute table and summary (azurerm_application_gateway):
Dedicated azurerm_firewall_policy_rule_collection_group sections with merged cells and IP group replacement hints:
🔗 Commits
feat: match nested object lists by name and add firewall policy RCG templatefix: handle unknown or reordered RCG lists and multiline item diffsfix: mask per-element sensitivity and strip placeholder kind icons in RCG
Workflow simplification and #155 tooling fixes
Internal workflow and tooling updates (no shipped CLI or user-facing output changes):
- Consolidated pre-implementation feature roles (
Architect+Quality Engineer+Task Planner→Architectwithdesign.md) and foldedTechnical WriterintoDeveloper, with global doc verification checked byCode Reviewer. - Moved
Retrospectivedirectly ontomainpost-release and made it conditional on friction or Maintainer request, alignedRelease ManagerPR-approval rules with prior human gates, and eliminated standalonestate.jsonbookkeeping commits. - Fixed bug-fix UAT artifact ownership and
artifacts/*.mdfreshness rules, addedscripts/env-paths.sh, hardened UAT submodule/retry/credential helpers, and added workflow/agent/freshness pre-flight checks inscripts/workflow-gate.shandpre-pr-checklist.
Role and per-harness effort configuration
Internal workflow and tooling update (no shipped CLI or user-facing output changes):
- Added per-harness default
effortsettings (claude:medium,gemini:high) to thedeeptier in.agents/tiers.json, keepingdeveloperand otherdeeproles harness-neutral while pinningmediumon Claude Opus 5.5+ andhighon Gemini 4 Neon. - Pinned
effort: highin.agents/roles/requirements-engineer.mdand.agents/roles/architect.mdbecause upstream spec and design errors propagate through every downstream stage. - Updated
scripts/sync-agent-config.sh,scripts/validate-agents.py,scripts/workflow-lib.sh,scripts/workflow-next.sh, andscripts/code-review.shto resolve, validate, emit, and apply effort across.claude/agents/*.md, driver output, and cross-family code review runs, with regression coverage inscripts/test-workflow-driver.sh.

