Skip to content

Align token audit workflows with upstream AIC updates#111

Merged
mnkiefer merged 4 commits into
mainfrom
copilot/workflow-consolidation-gh-aw-update
Jun 9, 2026
Merged

Align token audit workflows with upstream AIC updates#111
mnkiefer merged 4 commits into
mainfrom
copilot/workflow-consolidation-gh-aw-update

Conversation

Copilot AI commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

This updates the published audit and optimizer workflows to incorporate the recent upstream gh-aw changes without dropping the richer reporting behavior that exists in this package. The result is a narrower consolidation: adopt the compatible upstream AIC/runtime updates, keep the local snapshot/report schema and packaging model.

  • Workflow frontmatter

    • Adopt upstream AIC naming in workflow titles/descriptions.
    • Add the upstream Python network allowlist to the audit workflow so its chart dependency install remains explicitly supported.
    • Preserve the local source-package model by leaving source: out of workflows/*.md.
  • Runtime data compatibility

    • Switch raw log reads from ai_credits to aic where upstream changed the log schema.
    • Keep the local aggregate/output schema (total_ai_credits, avg_ai_credits, total_tokens, avg_tokens, active_workflows) so repo-memory history and downstream reporting stay consistent.
  • Published workflow copies

    • Reinstall and regenerate the checked-in workflow copies and lockfiles under both:
      • workflows/
      • .github/workflows/
  • Docs

    • Update README workflow names/descriptions to match the AIC terminology used by the workflows.
network:
  allowed:
    - defaults
    - python
{
  workflow_name: .workflow_name,
  ai_credits: (.aic // 0),
  tokens: (.token_usage // 0)
}

Copilot AI linked an issue Jun 9, 2026 that may be closed by this pull request
Copilot AI and others added 2 commits June 9, 2026 07:42
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Copilot AI changed the title [WIP] Consolidate workflows with updates from gh-aw for AIC Align token audit workflows with upstream AIC updates Jun 9, 2026
Copilot AI requested a review from mnkiefer June 9, 2026 07:48
@mnkiefer mnkiefer marked this pull request as ready for review June 9, 2026 07:59
@mnkiefer

mnkiefer commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

@copilot Add entry to new release accordingly

Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>

Copilot AI commented Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

@copilot Add entry to new release accordingly

Addressed in 96e19d4 by adding a 0.3.1 changelog entry for the workflow alignment release.

Copilot AI requested a review from mnkiefer June 9, 2026 08:12
@mnkiefer mnkiefer merged commit c31cadc into main Jun 9, 2026
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.

Workflow consolidation with gh-aw update for AIC

2 participants