Skip to content

ENG-457: Add academic platform experiment support#82

Open
madeleinesong wants to merge 5 commits intomainfrom
eng-457-academic-platform-experiment
Open

ENG-457: Add academic platform experiment support#82
madeleinesong wants to merge 5 commits intomainfrom
eng-457-academic-platform-experiment

Conversation

@madeleinesong
Copy link
Copy Markdown
Collaborator

Summary

  • Add PlatformMode enum (standard/academic) and credit tracking fields (credit_budget, credit_used, artifact_capture) to GPDProjectConfig
  • Wire academic config through all config system layers: effective leaves, sections, aliases, storage paths, allowed keys, and JSON parsing
  • Create gpd.core.academic module with credit-aware event logging, artifact provenance capture, budget guards, and session summaries
  • Add gpd:academic-platform command and workflow specs for enabling/managing academic mode
  • Add 25 tests covering config integration, budget enforcement, event logging, artifact capture, and session summaries

Test plan

  • All 25 new academic tests pass
  • All 41 existing config tests pass (no regressions)
  • Full test suite passes (1 pre-existing failure in test_agent_commit_policy unrelated to this PR)

Closes ENG-457

🤖 Generated with Claude Code

…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
@madeleinesong madeleinesong force-pushed the eng-457-academic-platform-experiment branch from 27be97e to da6b07f Compare April 6, 2026 17:06
…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
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.

1 participant