Skip to content

Bump AWF firewall to v0.25.44 #31784

Closed

Description

@lpcox

Summary

Bump the AWF firewall dependency from v0.25.43 to v0.25.44.

New Firewall Spec Changes for the Compiler

1. --enable-token-steering (NEW flag)

Config path: apiProxy.enableTokenSteering → --enable-token-steering
Env var: AWF_ENABLE_TOKEN_STEERING=true

Token steering injects budget-warning system messages directly into the model request body when effective token usage crosses thresholds (80%, 90%, 95%, 99%). This is opt-in (disabled by default).

Compiler front matter to expose:

firewall:
  effective-token-steering: true  # maps to --enable-token-steering

Spec section: docs/awf-config-spec.md §10.5 — new "Token Steering" section with provider-specific injection rules (OpenAI, Anthropic, Gemini).

2. --max-model-multiplier (NEW flag)

Config path: apiProxy.modelMultipliers → --max-model-multiplier <model:multiplier,...>
Env var: AWF_EFFECTIVE_TOKEN_MODEL_MULTIPLIERS

Previously config-only, now has a CLI flag. Allows workflow authors to penalize expensive models (e.g., claude-opus-4-1m:10) so they consume more of the effective token budget.

Compiler front matter to expose:

firewall:
  model-multipliers:
    claude-opus-4-1m: 10
    claude-opus-4-200k: 2.5

3. Threshold changes (BREAKING if any consumers relied on old values)

Effective token warning thresholds changed from [50, 75, 90, 95]% to [80, 90, 95, 99]%. This affects token usage logs and the /reflect introspection endpoint.

Other Notable Changes (no compiler action needed)

Version Constants

Update in pkg/constants/version_constants.go:

AWFVersion = "v0.25.44"

Related Issues

Activity

  1. added
    dependencies
    enhancement
    on May 12, 2026
  2. pelikhan commented on May 12, 2026

    @pelikhan
    Collaborator

    @copilot ignore step 2 2. --max-model-multiplier (NEW flag) ignore that one for now.

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

Metadata

Metadata

Labels

compilerdependenciesenhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions