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

Architecture decisions

  1. 01security

    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

    Public sources

  2. 02agents

    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

    Public sources

  3. 03browser

    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

    Public sources