Skip to content

refactor: ecosystem surfaces — publish prep, transcript format spec (slice I)#533

Open
CSRessel wants to merge 1 commit into
refactor/rename-nori-harnessfrom
refactor/ecosystem-surfaces
Open

refactor: ecosystem surfaces — publish prep, transcript format spec (slice I)#533
CSRessel wants to merge 1 commit into
refactor/rename-nori-harnessfrom
refactor/ecosystem-surfaces

Conversation

@CSRessel

@CSRessel CSRessel commented Jul 4, 2026

Copy link
Copy Markdown
Collaborator

Slice I (final) of the crate-layering refactor (design doc). Stacked on #532 (harness rename).

What

  • Publish prep for the Layer-0 crates: nori-acp-host and mock-acp-agent gain description/license/repository/keywords/categories; the workspace gains a repository key. Actual crates.io publication is deferred — cargo publish --dry-run confirms the workspace dep tree (codex-protocol, codex-rmcp-client, nori-config) must publish first, and publishing is an outward-facing action for a human to trigger.
  • docs/reference/transcript-format.md — the on-disk session transcript format for external builders: nori-home layout, the JSONL envelope, all seven entry types with example objects, and the actual compatibility rules (unknown fields ignored, unknown/corrupt lines skipped, first line must be session_meta). Verified against harness/src/transcript/.
  • Cleanups surfaced by writing the spec: deleted mock-acp-agent/Cargo.lock (tracked since the workspace rename, unused — members resolve from the root lock); deleted the deprecated discover_transcript_for_agent stub (always errored, zero callers); fixed transcript/project.rs doc comments that claimed project ids are SHA-256 (the implementation uses DefaultHasher — the format doc documents ids as opaque).

Net −659 lines.

Deferred from the slice-I design row

  • Headless exec/RPC mode — a new feature, out of scope for this logic-preserving train.
  • crates.io publication — blocked on the dep tree + user go-ahead, as above.

Validation

  • Full workspace suite green; tui-pty-e2e green (23 suites).
  • elizacp close-the-loop TUI drive: prompt → response rendered → prompt returns.
  • just fmt, just fix -p nori-harness clean.

@cursor

cursor Bot commented Jul 4, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

…slice I)

Prepare the Layer-0 crates for eventual crates.io publication and document
the transcript format for external ACP/harness-ecosystem builders, per
docs/specs/crate-layering.md slice I:

- nori-acp-host, mock-acp-agent: add description/license/repository/
  keywords/categories metadata (workspace gains a repository key).
  Actual publication is deferred: the workspace dep tree is unpublished
  and publishing is a user-gated action.
- docs/reference/transcript-format.md: the on-disk session transcript
  format (nori home layout, JSONL envelope, all seven entry types with
  examples, compatibility rules), verified against harness/src/transcript.
- delete mock-acp-agent/Cargo.lock — tracked since the workspace rename
  but unused; workspace members resolve from the root lock.
- delete the deprecated discover_transcript_for_agent stub (always
  returned NoSessionsFound, zero callers) and its re-export.
- fix transcript/project.rs doc comments that claimed project ids are
  SHA-256 — the implementation uses DefaultHasher; the format doc
  documents ids as opaque.

Headless exec/RPC mode from the slice-I design row is deferred: it is a
new feature, not logic-preserving cleanup, and this train is constrained
to the latter.

Validation: full workspace suite green; tui-pty-e2e green (23 suites);
elizacp close-the-loop TUI drive green; just fmt + just fix clean.

Part of the crate-layering refactor (docs/specs/crate-layering.md).
🤖 Generated with [Nori](https://noriagentic.com)

Co-Authored-By: Nori <contact@tilework.tech>
@CSRessel CSRessel force-pushed the refactor/ecosystem-surfaces branch from f95f618 to 79b0926 Compare July 4, 2026 03:42
@cursor

cursor Bot commented Jul 4, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

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