Skip to content

Add staged weekly reporting#113

Draft
juliamuiruri4 wants to merge 2 commits into
juliamuiruri4-read-only-discoveryfrom
juliamuiruri4-weekly-reporting
Draft

Add staged weekly reporting#113
juliamuiruri4 wants to merge 2 commits into
juliamuiruri4-read-only-discoveryfrom
juliamuiruri4-weekly-reporting

Conversation

@juliamuiruri4

@juliamuiruri4 juliamuiruri4 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • fan out the five read-only Quest Master workflows through a manual deterministic orchestrator
  • validate one structured report artifact per successful quest output and convert missing or invalid scopes to blocked digest entries
  • assemble staged parent and material-change child issue previews with deterministic week, marker, fingerprint, and deduplication keys

Safety

  • no schedule is active; the intended 0 8 * * 1 cron remains documented for Phase 2B only
  • no issue, comment, branch, pull-request, workflow-dispatch, or content write permission is granted
  • every gh-aw safe output remains staged

Stack

Validation

  • gh aw compile --strict --validate --no-check-update --purge
  • node scripts/weekly-refresh-report.mjs self-test
  • node scripts/validate-refresh-config.mjs
  • node scripts/validate-content-links.mjs
  • mkdocs build --strict

juliamuiruri4 and others added 2 commits July 24, 2026 17:20
Fan out read-only quest discovery into validated report artifacts and assemble deterministic parent and child issue previews without enabling schedules or repository writes.\n\nCo-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Record the URL-segment and repository-path normalization guards enforced before report artifacts are accepted.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a Phase 2A, manual-only “weekly refresh” reporting layer that turns five quest discovery runs into deterministic, staged artifacts (validated per-quest JSON reports plus digest + issue-preview Markdown) without enabling repository writes or schedules.

Changes:

  • Introduces scripts/weekly-refresh-report.mjs to validate/materialize per-quest report artifacts, compute deterministic keys/markers, and assemble digest + issue-preview artifacts.
  • Adds a manual orchestrator workflow plus a reusable digest workflow to fan out quest runs and aggregate staged outputs.
  • Updates validation/governance docs and config checks to enforce the staged reporting contract and pinned actions.
Show a summary per file
File Description
scripts/weekly-refresh-report.mjs Implements week context, report schema validation/materialization, deterministic keys, and digest/preview generation.
scripts/validate-refresh-config.mjs Extends repo policy validation to cover the new reporting/digest/orchestrator workflow contracts and action pins.
.github/workflows/weekly-refresh-orchestrator.yml Manual-only orchestrator that computes week context, fans out to 5 quest workflows, then runs digest.
.github/workflows/weekly-refresh-digest.md Reusable workflow to download staged quest artifacts and build/upload deterministic digest + previews.
.github/workflows/validate-content.yml Broadens path filters to scripts/** and runs the weekly refresh reporting self-test in CI.
.github/workflows/validate-agentic-workflows.yml Broadens path filters to scripts/** for workflow validation triggers.
.github/workflows/shared/report-output.md Shared safe-output job definition to materialize and upload one validated quest report artifact.
.github/workflows/shared/discovery-policy.md Updates shared policy to require structured emit_weekly_report output alongside a concise summary.
.github/workflows/discover-microsoft-foundry.md Adds workflow_call inputs (week/prior), imports report-output, and updates Phase 2A reporting instructions.
.github/workflows/discover-foundry-toolkit.md Adds workflow_call inputs (week/prior), imports report-output, and updates Phase 2A reporting instructions.
.github/workflows/discover-foundry-local.md Adds workflow_call inputs (week/prior), imports report-output, and updates Phase 2A reporting instructions.
.github/workflows/discover-context-engineering.md Adds workflow_call inputs (week/prior), imports report-output, and updates Phase 2A reporting instructions.
.github/workflows/discover-agentic-rag.md Adds workflow_call inputs (week/prior), imports report-output, and updates Phase 2A reporting instructions.
.github/workflows/discover-microsoft-foundry.lock.yml Recompiled locked workflow to include the new staged report output job and reusable inputs.
.github/workflows/discover-foundry-toolkit.lock.yml Recompiled locked workflow to include the new staged report output job and reusable inputs.
.github/workflows/discover-foundry-local.lock.yml Recompiled locked workflow to include the new staged report output job and reusable inputs.
.github/workflows/discover-context-engineering.lock.yml Recompiled locked workflow to include the new staged report output job and reusable inputs.
.github/workflows/discover-agentic-rag.lock.yml Recompiled locked workflow to include the new staged report output job and reusable inputs.
.github/agentic-refresh/tooling.json Adds pinned download/upload-artifact action SHAs used by staged reporting workflows.
.github/agentic-refresh/report-contract.md Documents the Phase 2A report artifact contract, outputs, and no-write boundary.
.github/agentic-refresh/README.md Updates refresh overview and local validation commands for Phase 2A reporting.
.github/agentic-refresh/governance.md Adds Phase 2A staged reporting guardrails and non-mutation constraints.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 23/23 changed files
  • Comments generated: 7
  • Review effort level: Low

Comment on lines +662 to +673
function validateArtifact(report, quest, expected) {
const core = Object.fromEntries(coreKeys.map((key) => [key, report[key]]));
const errors = validateCoreReport(core, quest, expected);
const derived = addDerivedFields(core, quest);
if (stableJson(report.deduplication) !== stableJson(derived.deduplication)) {
errors.push("deduplication fields do not match deterministic values");
}
if (stableJson(report.childIssuePreview) !== stableJson(derived.childIssuePreview)) {
errors.push("childIssuePreview does not match the deterministic preview");
}
return errors;
}
Comment on lines +21 to +26
tools:
bash:
- "cat /tmp/gh-aw/agent/weekly-refresh-preview/*"
- "find /tmp/gh-aw/agent/weekly-refresh-preview *"
- "jq * /tmp/gh-aw/agent/weekly-refresh-preview/*"
- "wc * /tmp/gh-aw/agent/weekly-refresh-preview/*"
Comment on lines +1246 to +1248
needs:
- agent
- agent
Comment on lines +1246 to +1248
needs:
- agent
- agent
Comment on lines +1246 to +1248
needs:
- agent
- agent
Comment on lines +1246 to +1248
needs:
- agent
- agent
Comment on lines +1246 to +1248
needs:
- agent
- agent
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.

2 participants