Skip to content

Add the plan-approval Adaptive Card - #40

Merged
ari20089 merged 1 commit into
mainfrom
add-plan-approval-card
Nov 5, 2026
Merged

ari20089 merged 1 commit into
mainfrom
add-plan-approval-card

Conversation

@ari20089

@ari20089 ari20089 commented Nov 5, 2026

Copy link
Copy Markdown
Owner

Adds adaptive-cards/plan-approval/: a card that asks a reviewer to approve an implementation plan from HVE Core's Research, Plan, Implement (RPI) workflow before any code is written.

What the card does

  • Shows the plan's executive summary, repository and branch, scope, files touched, plan file and revision, its "What You May Not Know" note, the first four phases (P01–P04) and the critique result, with links to the plan and critique at that revision.
  • Approve is one click. Request changes and Reject are Action.ShowCard forms with a required box (isRequired, errorMessage), so a reason is needed for a no without blocking Approve.
  • Every answer returns actionSubmitId, decision, planPath and planRevision, plus changes or reason, so an approval can't carry over to a later edit of the plan.

What the README covers

  • Where the card fits in RPI, including HVE Core's definitions of the critique dispositions (Pass, Revise, Blocked).
  • A paste-ready repository instruction that makes RPI stop for the approval. Without it, rpi-implement treats a ready plan as "not a human sign-off" and implements it anyway.
  • Steps for Power Automate (Post adaptive card and wait for a response), Copilot Studio (standard harness, with a condition formula) and Teams bots (validDomains, switching to Action.Execute).
  • The checks to run before acting on a response, a 12-step test plan, and limitations, including what isn't documented for Action.ShowCard in Copilot Studio and Power Automate.

Checks

  • npm test passes.
  • The filled-in card (7.3 KB) passes the Adaptive Cards 1.5 JSON schema.
  • The preview image was rendered with the Adaptive Cards JS renderer 3.0.6.
  • Microsoft Learn and HVE Core sources were read on 4 November 2026. An independent review checked every quoted string against its source.
  • Not yet tested in a tenant: the README's test plan covers that.

The root README's catalog row and Adaptive Card count (3 → 4) are updated.

A card that asks a reviewer to approve an RPI plan from HVE Core before any
code is written: the executive summary, scope, files touched, What You May
Not Know, the first four phases and the critique result, with links to the
plan and critique at the revision being approved. Approve is one click;
Request changes and Reject open Action.ShowCard forms with a required reason.

The response carries the decision, plan path and revision, so an approval
can't carry over to a later edit of the plan. The README covers Power
Automate, Copilot Studio (standard harness) and Teams bots, the checks to run
before acting, a repository instruction that makes RPI stop for the approval
(rpi-implement treats readiness as "not a human sign-off"), and a test plan.

Checked against the Adaptive Cards 1.5 JSON schema with the sample data
filled in (7.3 KB); preview rendered with adaptivecards 3.0.6. Sources read
on 4 November 2026.
@ari20089
ari20089 merged commit 4ad6982 into main Nov 5, 2026
3 checks passed
@ari20089
ari20089 deleted the add-plan-approval-card branch November 5, 2026 02:12
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.

1 participant