Draft RFDs
Drafts are proposals that haven't been assigned a permanent number yet. They carry a temporary DNN id and may change substantially — or be abandoned — before promotion. See RFD 001 for the full process, and the published RFDs for accepted and implemented proposals.
| RFD ▼ | Title | Category |
|---|---|---|
| D70 | Provider-Native Token Counting Adds `Provider::count_input_tokens` backed by provider token-counting endpoints to compute fitting turn ranges when summarization overflows. | Design |
| D69 | Built-in compact Tool for Assistant-Driven Compaction Adds a built-in `compact` tool for the assistant to propose user-approved compaction rules that apply on the next turn. | Design |
| D68 | D68-text-addressing-within-events.md Extends `jp://` URLs with quote- and position-anchored fragments that address stream entries, text spans, and ranges. | Design |
| D67 | D67-event-annotations.md Stores schema-tagged JSON annotations addressed to conversation locations in `annotations.json` without sending them to the model. | Design |
| D66 | Interactive Compaction Review Adds `jp conversation compact --interactive` to review and revise proposed compactions in a forked conversation before applying. | Design |
| D65 | End-to-End CLI Test Harness Adds a PTY-backed end-to-end test harness that spawns the `jp` binary against a scripted LLM provider. | Design |
| D64 | Config Values Sourced from Files Allows configuration fields to load their values from external files and JSON Pointers at config load time. | Design |
| D63 | Unified System Prompt Configuration Unifies `assistant.system_prompt` and `assistant.system_prompt_sections` into a single `assistant.system_prompts` list that accepts strings, tables, or entry arrays. | Design |
| D62 | Configurable Tool Parameter Visibility Adds an `enabled` flag on tool parameters to hide disabled parameters from model schemas and reject model-supplied values. | Design |
| D61 | Root-Qualified Extends Paths Allows `extends` entries to specify a configuration root (`workspace`, `user_global`, or `user_workspace`) for cross-root path resolution. | Design |
| D60 | Plugin Prompt Channel Adds a `prompt` request to the command plugin protocol so plugins can ask confirm, select, text, and secret questions. | Design |
| D59 | Cross-Session Rate-Limit Budgets Shares provider-reported rate-limit budgets across concurrent `jp` sessions in a credential-keyed local store so sessions wait before overdrawing. | Design |
| D58 | Multi-Participant Conversations (split origin) Proposes multi-participant conversations with named assistant configs, event authorship, and speaker-labeled provider projections. | Design |
| D57 | Capability-Aware Terminal Theming Splits styling into a frontend-agnostic `jp_style` crate and capability-aware terminal color and theme adaptation in `jp_printer`. | Design |
| D56 | D56-conversation-local-external-file-attachments.md Snapshots files attached from outside the workspace into conversation-local storage under an `external:` URI scheme. | Design |
| D55 | Recipient-Scoped Blob Encryption Adds optional per-blob, per-recipient `age` encryption to the content-addressable blob store for private attachments in shared conversations. | Design |
| D54 | Multi-Participant Conversations Generalizes conversations from a single human-assistant pair to multiple named assistant and human participants sharing one event stream. | Design |
| D53 | D53-inline-attachment-uri-parsing.md Parses registered URI schemes inline from `jp query` prompts into attachments and replaces `@path` shorthands with `file:` URIs. | Design |
| D52 | Session as a Cross-Client Concept Defines a session as a cross-client durable cursor to an active workspace and conversation, decoupling it from terminal PIDs. | Design |
| D51 | D51-assistant-scoped-tool-configuration.md Moves per-conversation tool configuration from `conversation.tools.*` to `assistant.tools.*` while retaining `conversation.tools.*` as a legacy alias. | Design |
| D50 | Automatic Compaction Appends a rolling compaction overlay automatically between turns when a conversation's projected size exceeds a configured context-window ratio. | Design |
| D49 | Conversation Export and Import Adds `jp conversation export` and `import` subcommands to transfer self-contained conversation JSON envelopes across workspaces. | Design |
| D48 | Frontend-Neutral Styling and Terminal Color Adaptation Introduces a frontend-neutral semantic style model and adapts terminal color output in `jp_printer` to the active terminal profile. | Design |
| D47 | Divergent Display View for Tool Results Allows local tools to produce a user-facing display view of a tool result distinct from the assistant-facing payload. | Design |
| D45 | D45-elelem-a-standalone-llm-provider-streaming-crate.md Extracts LLM provider SSE streaming and event normalization into a standalone, feature-gated `elelem` crate. | Design |
| D44 | MCP Server Sandboxing Extends OS-level subprocess sandboxing to stdio MCP servers with `stateful` server-wide and stateless per-tool access policies. | Design |
| D43 | D43-tool-access-to-external-paths-via-workspace-symlinks.md Allows tools to access external paths through workspace symlinks with `external` access rules and a `--mount` CLI flag. | Design |
| D42 | Replace MCP Provider Checksum with Typed Verify Block Replaces `[providers.mcp.*].checksum` with a tagged `verify` block that distinguishes binary hash verification from launcher version pinning. | Design |
| D41 | Reranker Infrastructure Introduces a cross-encoder reranker `Provider` trait with Voyage AI HTTP and local `fastembed`-backed `ember` implementations. | Design |
| D40 | Subtree-Constrained Conversation Targeting Adds a `--root-id` flag to `jp query` that restricts target conversations to strict descendants of a given ancestor. | Design |
| D39 | Conversation Access Tools for the Assistant Adds `conversation_list`, `conversation_grep`, and `conversation_read` tools so the assistant can search and read past workspace conversations. | Design |
| D37 | Conversation Query DSL Introduces a `--filter EXPR` predicate DSL in a `jp_query` crate for querying conversations by metadata, config, and events. | Design |
| D36 | Live Workspace View for Long-Running Plugin Hosts Introduces a `LiveWorkspace` view that revalidates the workspace index and reloads conversations from disk on every plugin read. | Design |
| D35 | Extends Overrides and Loader Namespace Adds entry-scoped `loader.overrides.extends` exclusions and consolidates `extends`, `search_paths`, and `inherit` under a `loader` config namespace. | Design |
| D34 | Versioned Machine Output Envelope Wraps JSON machine output in a versioned `{"format", "version", "data"}` envelope and adds `--format-version` pinning. | Design |
| D33 | Conversation Store and Bare Forking Adds an untyped `conversation.store` map for tool-persisted workflow state and `jp conversation fork --no-turns` for config-only forks. | Design |
| D32 | JP Tracing Infrastructure Introduces a `jp_trace` crate with typed tracing events, execution spans, test capture, and content-addressed payload storage. | Design |
| D30 | Multi-Question ask_user Forms with Branching and Cancel UX Extends `ask_user` to collect multi-question forms with predicate-gated branching and `Reply` / `End Turn` / `Back` cancellation controls. | Design |
| D29 | Inquiry Rejection Reasoning and Escalation Requires reasoning on assistant-answered inquiries and escalates rejected inquiries to the user instead of failing the tool call. | Design |
| D28 | Interactive Conversation Repair Replaces automatic trashing during workspace sanitization with per-file automatic reconstruction and interactive `$EDITOR` repair. | Design |
| D27 | D27-granular-recovery-for-stored-conversation-configs.md Recovers stored conversation configs at per-field granularity on schema mismatches and fills missing required fields from workspace defaults. | Design |
| D26 | Streaming Policy Evaluation for Tool Call Arguments Evaluates argument-conditional tool policies incrementally as parameters stream so permission prompts and cancellations happen before full payload arrival. | Design |
| D25 | Argument-Conditional Tool Policy Makes tool `run` and `result` policies conditional on tool call arguments via ordered first-match-wins rules. | Design |
| D24 | Declared LLM Providers Turns `providers.llm` into a user-named map of provider declarations backed by reusable protocol implementations. | Design |
| D23 | JSON Input and Schema for CLI Adds `--args-schema` and `--args-json` flags derived from `clap` argument structs for programmatic CLI invocation. | Design |
| D22 | Plugin-First Extensibility Strategy Defines JP's plugin-first architecture: a small agent-loop and storage core extended by plugins over an internal event bus. | Guide |
| D21 | Interactive Conversation Stream Editing Adds `jp conversation edit --interactive` for git-rebase-style editing, reordering, and pruning of conversation events in `$EDITOR`. | Design |
| D20 | Project, Workspace, and Storage Separates Project, Workspace, and Storage concepts, supports external `.jp` marker files, and unifies `config_load_paths` across roots. | Design |
| D19 | Structured Plugin Help Protocol Replaces raw plugin help text with a structured `Help` protocol message rendered through `clap::Command` on the host. | Design |
| D18 | Plugin Event Subscriptions and Query Delegation Extends the command plugin protocol with live conversation event subscriptions, interactive prompt handling, and query delegation. | Design |
| D17 | Per-Tool Compaction Hints Adds a per-tool `compaction` setting to override how individual tools' requests and responses are compacted. | Design |
| D16 | Read-Only Web UI for Conversations Serves a JavaScript-free, mobile-first read-only HTML interface for browsing conversations via `jp serve --web`. | Design |
| D15 | Structured Logging Infrastructure Persists structured per-invocation log files under `~/.local/share/jp/logs/` and defines `-v`, `-q`, `JP_DEBUG`, and `--log-file` controls. | Design |
| D14 | Inquiry-Driven File Creation Moves `fs_create_file` content from tool call arguments into a schema-typed inquiry to keep file bodies out of context. | Design |
| D13 | Schema Answer Type and Inherit Model Alias Adds `AnswerType::Schema` for structured JSON inquiry answers and an `inherit` model alias that targets the main assistant model. | Design |
| D12 | Large Attachment Size Policy Adds a configurable attachment size threshold and policy for prompting, truncating, allowing, or rejecting oversized attachments. | Design |
| D11 | VFS Tool Protocol Runs `runtime = "vfs"` tool subprocesses inside an OS sandbox that mediates all host I/O over stdio JSON-RPC. | Design |
| D10 | Unified Tool Execution Model Introduces a `ToolRuntime` trait and a `runtime` tool setting to unify local, MCP, built-in, and Wasm execution. | Design |
| D09 | Project Filesystem Abstraction Replaces `Workspace::root` with a `ProjectFiles` trait to abstract project file access across filesystem and in-memory backends. | Design |
| D08 | Tool Import CLI Adds `jp tool new` and `jp tool import` subcommands to scaffold and generate local and MCP tool configurations. | Design |
| D07 | Typed Tool SDK for Rust Extends `jp_tool` with `schemars`-based schema generation and typed argument deserialization for Rust local tools. | Design |
| D06 | Self-Describing Local Tools Adds an `Action::Schema` protocol action so local tool binaries can report their own description and parameter schema. | Design |
| D05 | Internal Dev Plugin for RFD Workflows Orchestrates AI-assisted RFD exploration, drafting, review, and phased implementation through an internal `jp-dev` command plugin. | Design |
| D04 | Conversation Config Inheritance Accepts conversation IDs in `--cfg` and defaults `--fork` to inherit the source conversation's resolved configuration. | Design |
| D03 | External Attachment URI Scheme Introduces an `external:` URI scheme to attach and snapshot files from outside the workspace without leaking host paths. | Design |
| D02 | Lossless Config Editing Replaces serde round-tripping in `config set` with format-preserving document editors for TOML, JSON, JSON5, and YAML. | Design |
| D01 | Knowledge Base Organizes project knowledge into configured topics and subjects retrieved on demand via a `learn` tool or `-k` flag. | Design |