Merged
Conversation
- Update README to reflect content repo as canonical Lab Notes source - Document deterministic CLI behavior and JSON output guarantees - Add explicit CLI contract, contributing, and security policies - Align docs with automation-safe, human-owned design principles co-authored-by: Lyric <lyric@thehumanpatternlab.com> co-authored-by: Carmel <carmel@thehumanpatternlab.com>
- Introduce json:check script targeting CLI entrypoint - Prevent stdout contamination in machine mode co-authored-by: Lyric <lyric@thehumanpatternlab.com> co-authored-by: Carmel <carmel@thehumanpatternlab.com>
- Add contract test to ensure --json emits JSON only on stdout - Prevent accidental logging regressions co-authored-by: Lyric <lyric@thehumanpatternlab.com> co-authored-by: Carmel <carmel@thehumanpatternlab.com>
- Shrink CLI entrypoint to pure command wiring - Formalize domain-based command mounting (notes/list/get/sync) - Enforce stdout-pure JSON mode and validate via tsx runs - Add content repo support for notes sync (--content-repo) - Separate rendering from command logic (text/table) - Align CLI types with API lab note contracts - Prove automation safety across version, notes, and sync co-authored-by: Lyric <lyric@thehumanpatternlab.com> co-authored-by: Carmel <carmel@thehumanpatternlab.com>
|
😼✨ Carmel Approval Stamp™
|
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.
This PR stabilizes the HPL CLI architecture and formally proves its automation-safe JSON contract behavior.
✨ Highlights
notes list/get/sync)--json)--content-repo)🧪 Verification
tsx ./bin/hpl.ts --json versionparses cleanlytsx ./bin/hpl.ts --json notes get <slug>parses cleanlytsx ./bin/hpl.ts --json notes sync --dry-run --content-repo …parses cleanly📦 Release
0.0.1-alpha.6alphatag🦊 The lantern is lit. The contracts hold.