Add program.md to system context and clean up docs/ - #3498
Open
morganmcg1 wants to merge 31 commits into
Open
Conversation
morganmcg1
marked this pull request as ready for review
August 15, 2026 08:00
# Conflicts: # README.md
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
program.mdsystem contextprogram_pathlaunch setting for advisor and student rolesprogram.mdexistsprogram_path# program.md - <path>ProgramSystemPrompt, nested inside one immutableSenpaiSystemInstructionsvalue with the loaded harness, selected role, and authoritative launch contextStartedConversationLedgerso the initial controller context is not replayed after a successful first turnLaunch configuration
senpai_repo_urlandsenpai_repo_revision, with matchingSENPAI_REPO_*pod variables and no legacy aliasestarget_repo_urlis the required write and PR destinationSENPAI-LAUNCH-CONTEXT.mdand append it afterprogram.mdin the system instructionsPrompting and onboarding
prompt-advisor.md/prompt-student.mdloading, templating, bootstrap guidance, and compatibility;program.mdis the sole repository-specific research contractsenpai_agent/PROMPTS.py, retain strict one-pass interpolation, and remove the Markdown parser and runtime prompt-file loadingprogram.md, and authoritative launch context through the single aggregateprogram.mdguidance in role prompts and live skills, derive metrics and research context from it rather than physical-AI assumptions, and keep the shared harness free ofprogram.mdreferencesdelegate-subagentsskill for agent/model selection and the spawn/await/status/cancel workflow; remove duplicated mechanics from Advisor/Student prompts and keep hard tree limits in the shared harnesscreate_assignmentcontract by putting the complete experiment brief inbodypost_assignment_commentquestion/progress channel conditionally until its implementation in draft PR Restore student PR comments #3494 lands; keep terminal publication onsubmit_experiment_resultAGENTS.md,AGENT.md, orCLAUDE.mdinstruction files as OpenHands project context; explicit target skills remain available through a filtered skill pathprogram.mdauthoring guidance and four examples toAGENTS.md, exposed to human Claude users through the rootCLAUDE.mdsymlink; add a five-section Mission/Data/Evaluation/Files/Research outline to the READMEdocs/source tree and deployment workflow while retaining the README link to the published project site;paper/stays unchanged because every needed figure already exists thereThree independent follow-ups stack directly on this PR: #3500 separates live runtime skills from human/developer guides, #3501 adds the
grilling-autoresearchonboarding skill, and #3502 exposes project skills to Claude.Verification
quick_validate.py plugins/senpai/skills/delegate-subagents— validsenpai_agent/PROMPTS.pywithout the removed Markdown catalog or lowercase loader modulegit diff --checkgit diff --exit-code origin/main -- paper