Draft plan 17 (self-hosting v1) and harden AGENTS.md - #9
Merged
Conversation
Land the self-hosting execution plan as DRAFTED, and fix agent-entry epistemics so intended truth and implementation evidence stay distinct. Pin plan selection, clean-clone check order, and public contracts the first session will implement.
AGENTS is not a plan/diary genre: drop ISO dates, numbered plan paths, and Session-N handles so check:temporal stays green.
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
This PR does two related things, both documentation-only:
plans/17-self-hosting-v1.md— the DRAFTED execution plan for the first self-hosting slice: author the Protocol’s own delivery as Markdown (.sdp.md) specs, build the product Markdown parser the corpus forces, and prove the loop on this repo itself.AGENTS.mdso agents (and humans) get an honest entrypoint: intended design vs current implementation stay distinct, plan selection matches how this repo actually sequences work, and status language matches what the package has actually shipped (landed onmain, not a release).No engine code changes. The goal is to make plan 17 execution-ready before anyone starts Session 1 on a feature branch.
Why this matters
The carrier competition is settled: authored specs will be Markdown (
.sdp.md). The next real work is self-hosting — not more paper design. Plan 17 deliberately reorders the post-ruling schedule so we author the Protocol’s own specs first and let that corpus force the parser, the public carrier seam, and the exact syntax rulings we need.Before that work starts, the agent entrypoint and the plan itself needed a few honesty fixes. Review of both files found real epistemic and operational gaps; every claim was checked against the codebase (discovery excludes, package version
0.0.0, no release tags,15a–15das real execution plans, no rootREADME.md, MD-18 /CONTEXT.mdstill stating sole-canonical TS, etc.).What changed
AGENTS.mdsrc/over prose”)src/+ tests as evidence of realization; disagreement is drift to resolve, never silent promotion of code into intent14a/15a)main” / “implemented undersrc/” — package remains0.0.0, no tagsgenerated/(regenerated in-pipeline)npm run checkrowplans/17-self-hosting-v1.md(new)The plan covers four progressive sessions after a schema freeze:
CONTEXT.mdresolved entry, and the interim sentence inAGENTS.md(not a note-only amendment).checksequence.Pinned executable defaults (overturnable at Review #1):
--excludewith root-relative path-prefix semantics; repo recipe excludesexplorationsandexamplesso exploration dual-IDs never pollute the Protocol graph.CarrierReification+ promotedderiveGraph; anchors stay a third surface.checkorder: build → generate (self-hosting + checkout) → typecheck → test → check legs, so tracer imports of untrackedgenerated/work from a fresh clone.Out of scope for this phase (tracked in the plan’s docket ledger):
sdp import, checkout-v1 migration / full canonical flip, full parser-hardening baseline, markdown pack syntax.How to read this PR
AGENTS.mdif you care about agent onboarding.Test plan
AGENTS.md,plans/17-self-hosting-v1.md)git diff --checkcleanCarrierReificationcontracts;docs/concept/README.md(not a nonexistent root README)DECISIONS.md/CONTEXT.md/package.json(those are Session 1 / Session 4 targets when plan 17 executes)Greptile Summary
This PR updates the repo guidance and adds the drafted self-hosting plan.
plans/17-self-hosting-v1.mdfor the first Markdown self-hosting slice.AGENTS.mdaround design intent, current implementation, plan selection, and check guidance..omo/and.pi/state directories.Confidence Score: 5/5
This looks safe to merge.
No blocking issues found in the changed code.
No files need attention.
What T-Rex did
Important Files Changed
Reviews (3): Last reviewed commit: "Git ignore omo and pi agent state folder..." | Re-trigger Greptile