vajeeda's picture
feat(phase1): OpenEnv scaffold + R1/R2 rewards — PHASE 1 GATE PASS
41ea373
Raw
History Blame Contribute Delete
582 Bytes
from enum import Enum
from pydantic import BaseModel
class ActionType(str, Enum):
HOOK_REWRITE = "hook_rewrite"
SECTION_REORDER = "section_reorder"
CULTURAL_REF_SUB = "cultural_ref_sub"
CTA_PLACEMENT = "cta_placement"
class ArbitratorAction(BaseModel):
action_type: ActionType
target_section: str # "hook" | "body" | "cta" | "full"
instruction: str # natural language instruction to the Rewriter
critique_claim_id: str # which CritiqueClaim this responds to, e.g. "C2"
reasoning: str # why this action was chosen