Skip to content

feat(spec-doc-sync): add review-gated OpenAPI doc updates - #128

Open
ashish921998 wants to merge 2 commits into
superdocsapp:mainfrom
ashish921998:feat/ashish-spec-doc-sync
Open

feat(spec-doc-sync): add review-gated OpenAPI doc updates#128
ashish921998 wants to merge 2 commits into
superdocsapp:mainfrom
ashish921998:feat/ashish-spec-doc-sync

Conversation

@ashish921998

@ashish921998 ashish921998 commented Aug 20, 2026

Copy link
Copy Markdown

Description

Ashish Huddar built Spec Doc Sync for the SuperDocs hiring task. It compares two OpenAPI snapshots, conservatively classifies changes, searches every Markdown reference page, and creates item-level edit proposals. Approved intents can run through the documented SuperDocs async review and export flow; uncertain cases escalate instead of being guessed.

The committed fixture proves exhaustive rename updates, byte-identical untouched pages, a no-spend preview, and a stopping rule that prevents generated output from retriggering the loop.

Related Issue

No issue - SuperDocs hiring-round assigned build.

Potential Risk & Impact

  • The live client follows the current documented API contract but requires the reviewer’s own API key and an explicit interactive decision.
  • Rename inference is intentionally conservative and escalates ambiguous same-schema candidates.
  • All changes are contained within use-cases/ashish921998/spec-doc-sync/.

How Has This Been Tested?

  • make test - 6 offline behavioral tests passed.
  • make demo - 4 changes, 5 proposals, 2/2 rename references updated, unrelated page byte-identical, second invocation stopped.
  • Credentialed live verification - one SuperDocs review item explicitly approved, async job completed, customer_id renamed to account_id, and a 36,683-byte DOCX exported and visually inspected.
  • Python compile check completed.
  • Repository-wide secret scan completed with no findings.

Provide conservative spec diffing, no-spend preview, exhaustive rename proof, byte-identity verification, SuperDocs async approval/export integration, fixtures, and offline tests.
Document and automate the reviewed SuperDocs round-trip without persisting or printing the API key.
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.

1 participant