---
title: "Architecture decisions"
description: "Explore Madison Hope Steiner's architecture decisions across policy correctness, agent integration, and browser delivery, with trade-offs and public work."
url: https://mh0pe.github.io/decisions/
author: "Madison Hope Steiner"
---

Architecture decisions

# The trade-off is part of the architecture.

A policy test can fail for the wrong reason. I chose to test the rule that produced the failure, not just the exit code. It takes more work to maintain those tests, but they protect the meaning of the result.

Read the policy testing decision

1. 01 security

    Question

    ### How do you prove that a policy test failed for the intended rule, rather than for an unrelated error?

    **Decision**
    Trace evaluator, scope, coercion, negation, and reporter semantics, then assert the rule path and diagnostic rather than accepting any nonzero exit.

    **Result**
    The verdict-integrity correction merged upstream and shipped in CloudFormation Guard 3.2.1.

    **Trade-off**
    The broader semantic audit and more exact fixtures cost more than a superficial regression test, but they protect the meaning of the policy result.

    [Read about Madison’s role in the Guard fix](https://mh0pe.github.io/work/cloudformation-guard/)

    Public sources

    [CloudFormation Guard #717, verdict integrity correction](https://github.com/aws-cloudformation/cloudformation-guard/pull/717) [CloudFormation Guard 3.2.1](https://github.com/aws-cloudformation/cloudformation-guard/releases/tag/3.2.1)

2. 02 agents

    Question

    ### How can fifteen agent integrations stay aligned without maintaining fifteen independent copies?

    **Decision**
    Make one validated model the source of truth, then generate platform-specific packages through explicit backends and verify them with smoke tests and external schema validators.

    **Result**
    One contract now produces integrations for fifteen agent platforms in the upstream ASH project.

    **Trade-off**
    The generator, schema cache, and backend validators become infrastructure that must be maintained, while cross-platform drift becomes visible and correctable in one place.

    [See how one definition became 15 agent tools](https://mh0pe.github.io/blog/one-definition-many-agent-tools/)

    Public sources

    [ASH #331, integrations for 15 agent platforms](https://github.com/awslabs/automated-security-helper/pull/331)

3. 03 browser

    Question

    ### How can a broad SVG DOM proposal become reviewable within a fast-moving browser architecture?

    **Decision**
    Rebuild the feature as seven dependency-ordered layers, with each pull request establishing the interface needed by the next.

    **Result**
    Lightpanda merged the complete stack from prototype inheritance through deterministic text metrics.

    **Trade-off**
    The layered path requires more integration sequencing, but each capability is independently testable, reviewable, and reusable.

    [See how the SVG work was divided into seven changes](https://mh0pe.github.io/blog/typed-svg-dom/)

    Public sources

    [Lightpanda #2157, broad SVG prototype](https://github.com/lightpanda-io/browser/pull/2157) [Lightpanda #3012, SVG prototype chains](https://github.com/lightpanda-io/browser/pull/3012) [Lightpanda #3034, live SVG scalar values](https://github.com/lightpanda-io/browser/pull/3034) [Lightpanda #3030, transactional SVG collections](https://github.com/lightpanda-io/browser/pull/3030) [Lightpanda #3033, analytic SVG geometry](https://github.com/lightpanda-io/browser/pull/3033) [Lightpanda #3031, structural SVG DOM](https://github.com/lightpanda-io/browser/pull/3031) [Lightpanda #3029, typed SVG resources](https://github.com/lightpanda-io/browser/pull/3029) [Lightpanda #3032, deterministic SVG text DOM](https://github.com/lightpanda-io/browser/pull/3032) [Complete seven-layer SVG implementation](https://github.com/mh0pe/browser/tree/codex/svg-07-text)
