ARN-66: port Foresight file-write prompt contracts - #420
Draft
rita-aga wants to merge 1 commit into
Draft
Conversation
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
Ports the ARN-66 prompt/file-write fix onto GitHub main without taking over ARN-65's broader self-heal lane.
paw-foresightWASM prompt builders<file-id-from-temper.write>guidance with exacttemper.write("/...md", ...)recipes andresult["file_id"]capture instructionsBundleWrittenwording for the diversity gatedocs/proofs/2026-06-18-arn-66-foresight-port.mdTopology Notes
Verified canonical run target is the Railway
foresightservice on Supabase (aws-1-us-west-1.pooler.supabase.com), not theopenpawservice on Railway Postgres. Both checked services remain configured forLLM_PROVIDER=openai_codexandLLM_MODEL=gpt-5.5; this PR does not change provider.Genesis inspection found canonical
temperpaw/paw-foresight@659e40c663024af1acf1ed6d2a39d872d3dbdf14already contains Endpoint self-heal workflow markers (Sampled,ResumeWriter,state_timeout,UnderRepair), while GitHub main lacks those source commits. ARN-65 is the active owner for broader self-heal source convergence. This PR deliberately ports only the prompt/file-write contract delta.DSF UI Note
Read-only inspection found the run-progress UI on local Deep Sci-Fi branch
codex/dsf-2(dfe5a904,efcc166f), not in the deployed April Railway backend. The UI path usesTEMPER_API_URL/TEMPER_API_KEY/TEMPER_TENANTand has no openpaw hardcode in the checked path, but a second DSF repo PR/deploy plus production Temper config is required before using it as canonical Foresight run proof.Verification
See the proof doc for deployment evidence and the fresh-run readiness checklist.