Skip to content

[workshop-sync] workshop/26-manage-costs-and-budgets.md: max-daily-ai-credits default behavior is described incorrectly #3194

Description

@github-actions

Workshop file reviewed

workshop/26-manage-costs-and-budgets.md

Problem

The description of the max-daily-ai-credits frontmatter field is inaccurate. The file states:

A system default threshold applies when this field is omitted; set to -1 to disable the guardrail, or provide an explicit integer value to override the default.

This implies the guardrail is active by default with some built-in threshold.

Current correct behavior

According to the current gh-aw reference syntax docs (syntax-agentic.md):

max-daily-ai-credits: - Per-user 24-hour AI Credits (AIC) guardrail: activation blocks execution once the triggering user's aggregated AI Credits for this workflow over the last 24h exceed the threshold (integer or K/M short-form string, or -1). Disabled by default; omit the field to leave the guardrail off, or set an explicit threshold to enable it.

So there is no implicit "system default threshold" — omitting the field simply leaves the guardrail off entirely, not enforcing a hidden default cap.

Suggested fix

Update the sentence to read something like:

This guardrail is disabled by default — omit the field to leave it off entirely, or set an explicit integer (or short-form like 2500 / -1) to enable/disable it.

This also affects the accompanying bullet list under "Reduce token consumption and set guardrails" where the same wording appears for max-daily-ai-credits.

Reference

Generated by 🔍 Workshop Sync Check · copilot · auto · 104.4 AIC · ⌖ 6.32 AIC · ⊞ 8.6K ·

  • expires on Sep 12, 2026, 1:14 AM UTC

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions