Skip to content

Publish all NCC-00 event kinds with nscript ncc - #19

Merged
imattau merged 5 commits into
mainfrom
feat/ncc-event-kinds
Nov 27, 2026
Merged

imattau merged 5 commits into
mainfrom
feat/ncc-event-kinds

Conversation

@imattau

@imattau imattau commented Nov 27, 2026

Copy link
Copy Markdown
Owner

Adds repository-facing support for NCC-00 succession (30051), endorsement (30052), and supporting documents (30053), alongside the existing document publisher.

  • new nscript-ncc builders, validation, event-reference/steward normalization, and supporting sidecar discovery
  • nscript ncc support / succession / endorse
  • publish --supporting and publish --succession (auto-references the signed document)
  • ncc check validates supporting sidecars and reports them in JSON
  • conformance vectors/fixtures and drift tests for all four kinds
  • docs updated for the expanded workflow

Verified locally with cargo fmt, clippy on 1.100, full workspace tests, and check-spec.

lostcause added 5 commits November 28, 2026 09:18
- model kinds 30051, 30052, and 30053 with per-kind content limits
- normalize event references, stewards, roles, and supporting types
- discover ncc-XX/supporting Markdown and JSON sidecars
- add builder and discovery tests
- publish supporting documents with ncc support or publish --supporting
- publish succession records with ncc succession and publish --succession
- publish endorsements with ncc endorse, including role validation
- validate supporting sidecars in ncc check and report them in JSON
- cover all four event schemas with drift tests and CLI dry runs
- document the expanded repository workflow
- cover the kind 30051 and 30052 wire shapes
- add checked NScript fixtures for succession, endorsement, and supporting docs
- extend the matrix row for the expanded NCC-00 lifecycle
NCC-00 defines d as unique per author, not per convention directory.
- add nscript ncc latest with optional author filtering
- query every connected relay, dedupe, and select by created_at/id
- support succession --authoritative latest and endorse --event latest
- accept pubkey or npub authors
- keep JSON output clean by reporting relay connections on stderr
- add latest-selection and author-normalization tests
@imattau
imattau merged commit fb8cb88 into main Nov 27, 2026
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.

1 participant