Skip to content

feat(oss): complete PolyScribe CLI v0.1.0 - #1

Merged
mosesman831 merged 7 commits into
mainfrom
cursor/polyscribe-detailed-spec-df63
Jul 11, 2026
Merged

feat(oss): complete PolyScribe CLI v0.1.0#1
mosesman831 merged 7 commits into
mainfrom
cursor/polyscribe-detailed-spec-df63

Conversation

@mosesman831

@mosesman831 mosesman831 commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Full OSS build for PolyScribe — @polyscribe/core + @polyscribe/cli at v0.1.0.

Commands

Command Description
draft AI release notes with semver suggestion
changelog Keep a Changelog merge (--write, --dry-run, --unreleased, --notes)
sources Debug ingestion JSON (--count, --pretty)
publish GitHub Releases API (--update, --draft, default RELEASE.md)
config / validate-config / doctor Setup and preflight

Core features

  • Git + optional GitHub PR ingestion with Octokit retry/throttling
  • OpenAI + Anthropic LLM with structured output + citation validation + repair retry
  • Semver heuristics with conventional commits + reasons
  • Secret redaction, diff caps, linked issue parsing
  • 65 tests, GitHub Actions CI, full docs

Verification

pnpm build && pnpm test && pnpm typecheck && pnpm lint  ✅
65 tests (54 core + 10 cli + 1 integration)

Remaining (Phase 1c)

  • npm registry publish
  • Dogfood release on LatticeAG repo
Open in Web Open in Cursor 

cursoragent and others added 3 commits July 11, 2026 12:57
Replace the thin MVP outline with a detailed product specification:
locked Hybrid (OSS + SaaS + self-host) recommendation, pricing,
architecture, LLM rails, security, UX, milestones, and decision log.

Co-authored-by: Moses Man <mosesman831@users.noreply.github.com>
Co-authored-by: Moses Man <mosesman831@users.noreply.github.com>
- Scaffold pnpm/turbo monorepo with @polyscribe/core and @polyscribe/cli
- Core: config, git/github ingestion, semver, changelog merge, redaction
- Core: LLM draft pipeline (OpenAI + Anthropic) with citation validation
- CLI: draft, changelog, config, validate-config, doctor commands
- 32 unit tests; build, typecheck, and lint all pass
- SPEC §0.1: detailed OSS Phase 1 implementation contract
- README quickstart for local development

Co-authored-by: Moses Man <mosesman831@users.noreply.github.com>
@cursor cursor Bot changed the title docs: detailed PolyScribe SPEC (Hybrid OSS + SaaS) feat(oss): PolyScribe core + CLI with OSS-first SPEC Jul 11, 2026
cursoragent and others added 4 commits July 11, 2026 13:16
- Add polyscribe sources command with --from/--to/--json/--pretty/--count
- Enhance changelog with --dry-run, --date, and --notes (skips LLM)
- Add draft --sources-only/--no-llm aliases and spec exit codes
- Add publish stub with RELEASE.md integration help text
- Extract shared gather-sources, print-sources, format-date, line-diff utils
- Add CLI tests for sources registration and changelog dry-run helpers

Co-authored-by: Moses Man <mosesman831@users.noreply.github.com>
…ning

- Add citation validation tests and git integration fixture/tests
- Return { level, reasons } from suggestSemverFromSources with conventional commit detection
- Configure Octokit with retry/throttling plugins and fix createOctokit stub
- Parse linked issues (Fixes #123) from PR bodies
- Add PR parsing unit tests and update semver tests

Co-authored-by: Moses Man <mosesman831@users.noreply.github.com>
- Document fully implemented polyscribe publish command
- Mark O6, sources, git/citation tests done in SPEC §0.1.8
- Expand README quickstart with publish, dry-run, and sources

Co-authored-by: Moses Man <mosesman831@users.noreply.github.com>
- Retry LLM once on citation validation failure with repair prompt
- Add changelog --unreleased to update [Unreleased] section only
- Default publish --notes to RELEASE.md with helpful error message
- Add updateUnreleased merge helper and generate-retry test (65 tests)
- Update CHANGELOG, SPEC tracker, and CLI docs

Co-authored-by: Moses Man <mosesman831@users.noreply.github.com>
@cursor cursor Bot changed the title feat(oss): PolyScribe core + CLI with OSS-first SPEC feat(oss): complete PolyScribe CLI v0.1.0 Jul 11, 2026
@mosesman831
mosesman831 marked this pull request as ready for review July 11, 2026 13:44
Copilot AI review requested due to automatic review settings July 11, 2026 13:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@mosesman831
mosesman831 merged commit 52810f4 into main Jul 11, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants