Add session-to-prose OpenProse example#85
Open
rawwerks wants to merge 2 commits into
Open
Conversation
Add a bundled OpenProse example that turns Claude Code, Codex, and Pi session logs into reusable Contract Markdown programs. The example includes the V5 quality-regression gate, baseline-run support, receipt/tail audit outputs, workspace-only raw session retention, and a README entry for the examples catalog.
Tighten the example contract after the six-run audit found receipt and provenance edge cases. This requires populated manifest mappings, post-publication checks for self-produced audit outputs, per-service citation coverage, current-vs-historical provenance separation, and propagation of recovered probe/write failures.
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
Adds a bundled
session-to-proseOpenProse example underskills/open-prose/examples/.The example turns local Claude Code, Codex, or Pi session logs into reusable Contract Markdown programs. It includes:
src/session-to-prose.prose.mdsystem with 15 servicesquality-regression-gatesupport viabaseline-runruns/,state/,deps/, anddist/scaffoldingDevelopment Notes
This was developed through an iterative local evaluation loop. The submitted V5 contract is a hybrid of the two strongest earlier versions:
quality-regression-gateso future runs can reject generated-program/report regressions while preserving the stronger receipt envelope.After a six-session local audit, I added a follow-up hardening commit so the example explicitly rejects:
Local run receipts and source session logs are intentionally not committed.
Validation
git diff --checkpassed.prose lint skills/open-prose/examples/session-to-prose/src/session-to-prose.prose.mdpassed via the in-session OpenProse lint path.prose preflight skills/open-prose/examples/session-to-prose/src/session-to-prose.prose.mdpassed via the in-session OpenProse preflight path.safe-pushpublic-repo reviewer approved the branch twice and found no secrets or private data leakage.complete-with-warningswith the expected eight logical outputs. The warning status is expected because nestedproseCLI invocation is intentionally blocked inside the wrapper, so validation uses the in-session OpenProse VM path rather than recursively shelling out.Notes For Reviewers
The example documents
~/.claude,~/.codex, and~/.pisession locations generically. No absolute local paths, session logs, run receipts, or generated internal artifacts are included in this branch.