ENG-457: Add academic platform experiment support#82
Open
madeleinesong wants to merge 5 commits intomainfrom
Open
ENG-457: Add academic platform experiment support#82madeleinesong wants to merge 5 commits intomainfrom
madeleinesong wants to merge 5 commits intomainfrom
Conversation
…apture Introduce PlatformMode enum (standard/academic), credit_budget, credit_used, and artifact_capture fields to GPDProjectConfig. Wire through all config system layers: effective leaves, sections, aliases, storage paths, allowed keys, and model parsing. Add is_academic_mode() and check_credit_budget() helpers. ENG-457
New gpd.core.academic module provides: - log_academic_event(): JSONL event logging with credit metadata - capture_artifact(): artifact provenance and reproducibility tracking - check_budget_guard(): pre-flight budget enforcement raising ConfigError - academic_session_summary(): session-level credit usage aggregation All functions are no-ops when platform_mode is not academic. ENG-457
- Command spec: gpd:academic-platform for enabling/managing academic mode - Workflow spec: step-by-step process for credit status, session logging, artifact provenance, and budget management operations ENG-457
25 tests covering: - PlatformMode enum values and config defaults - is_academic_mode() and check_credit_budget() helpers - Budget guard enforcement (raises ConfigError when exhausted) - Academic event logging with JSONL persistence - Artifact capture with provenance metadata - Session summary aggregation ENG-457
27be97e to
da6b07f
Compare
…ENG-454 - Change context_mode from 'project' to 'project-required' in academic-platform.md - Remove gpd-parallel-reviewer from MODEL_PROFILES (belongs to ENG-454, not this branch) - Update command/workflow scope counts and help.md to reflect new academic-platform command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PlatformModeenum (standard/academic) and credit tracking fields (credit_budget,credit_used,artifact_capture) toGPDProjectConfiggpd.core.academicmodule with credit-aware event logging, artifact provenance capture, budget guards, and session summariesgpd:academic-platformcommand and workflow specs for enabling/managing academic modeTest plan
test_agent_commit_policyunrelated to this PR)Closes ENG-457
🤖 Generated with Claude Code