Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 26 additions & 15 deletions sdk/reference/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ This page is a draft routing index. Acceptance of the surface lives in the
ADR-0009); acceptance does not prove implementation. Implementation status
below derives from the `bitty` executable evidence at `bitty@7da6d6f` unless a
row cites a later revision; the `bitty.ui` row is pinned to `bitty@da63e42e`
and its page carries the placement detail. Required `HostServices` methods in
for the mount and band surface (its page carries the placement detail), and
the `bitty.ui.panel` additions to that row and the companion page below are
pinned to `bitty@944a4b1f`. Required `HostServices` methods in
`crates/bitty-lua/src/host.rs` are `implemented`, while methods whose trait
default fails closed (`E_NOT_IMPLEMENTED`,
`E_UI_UNAVAILABLE`, `E_SPAWN_UNAVAILABLE`) are `not_implemented`. Bridge
Expand All @@ -40,20 +42,20 @@ captures with no host backend (commands, events, keymaps, tasks, timers) are

## Namespaces

| Namespace | v1 status | Covering `bitty-lua` test path | Page |
| ----------------------------- | ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------- |
| `bitty.commands` | `implemented` | `crates/bitty-lua/tests/host_bridge.rs` (`registrations_are_captured`, `captured_command_is_callable`) | [commands.md](commands.md) |
| `bitty.events` | `implemented` | `crates/bitty-lua/tests/host_bridge.rs` (`registrations_are_captured`) | [events.md](events.md) |
| `bitty.keymaps` | `implemented` | `crates/bitty-lua/tests/lua_parity.rs` (WIRED bridge capture, LUA-OQ-5) | [keymaps.md](keymaps.md) |
| `bitty.settings` | `implemented` | `crates/bitty-lua/tests/host_bridge.rs` (`store_and_settings_round_trip`) | [settings.md](settings.md) |
| `bitty.store` | `implemented` | `crates/bitty-lua/tests/host_bridge.rs` (`store_and_settings_round_trip`), `crates/bitty-lua/tests/store_quota.rs` (RC-11 ceilings) | [store.md](store.md) |
| `bitty.notify` | `implemented` | `crates/bitty-lua/tests/host_bridge.rs` (`FakeServices` notification seam) | [notify.md](notify.md) |
| `bitty.terminal` | `implemented` | `crates/bitty-lua/tests/host_bridge.rs` (`FakeServices::terminal_snapshot` seam) | [terminal.md](terminal.md) |
| `bitty.tasks`, `bitty.timers` | `implemented` | `crates/bitty-lua/tests/lua_parity.rs` (tasks WIRED capture, LUA-OQ-9), `crates/bitty-lua/tests/host_bridge.rs` (timer capture caps) | [tasks-timers.md](tasks-timers.md) |
| `bitty.env` | `not_implemented` | `crates/bitty-lua/tests/lua_parity.rs` (`env_get_has_are_not_implemented`; grant-gated, CTX-0330) | [env.md](env.md) |
| `bitty.services` | `not_implemented` | `crates/bitty-lua/tests/lua_parity.rs` (`services_get_provide_are_not_implemented`, LUA-OQ-8) | [services.md](services.md) |
| `bitty.ui` | `implemented` | `crates/bitty-lua/tests/ui_bridge.rs` (mount/update probes, LUA-OQ-7), `crates/bitty-runtime/tests/plugin_ui.rs` (band and overlay hosts), `crates/bitty-runtime/tests/presentation_overlay_api.rs` (presentation-only overlay session, bitty#2849) | [ui.md](ui.md) |
| `bitty.process` | `not_implemented` | `crates/bitty-lua/tests/host_bridge.rs` (`process_spawn_unavailable_by_default`; v1-OUT consent-gated extra, CTX-0445) | [process.md](process.md) (outside v1 scope) |
| Namespace | v1 status | Covering `bitty-lua` test path | Page |
| ----------------------------- | ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------- |
| `bitty.commands` | `implemented` | `crates/bitty-lua/tests/host_bridge.rs` (`registrations_are_captured`, `captured_command_is_callable`) | [commands.md](commands.md) |
| `bitty.events` | `implemented` | `crates/bitty-lua/tests/host_bridge.rs` (`registrations_are_captured`) | [events.md](events.md) |
| `bitty.keymaps` | `implemented` | `crates/bitty-lua/tests/lua_parity.rs` (WIRED bridge capture, LUA-OQ-5) | [keymaps.md](keymaps.md) |
| `bitty.settings` | `implemented` | `crates/bitty-lua/tests/host_bridge.rs` (`store_and_settings_round_trip`) | [settings.md](settings.md) |
| `bitty.store` | `implemented` | `crates/bitty-lua/tests/host_bridge.rs` (`store_and_settings_round_trip`), `crates/bitty-lua/tests/store_quota.rs` (RC-11 ceilings) | [store.md](store.md) |
| `bitty.notify` | `implemented` | `crates/bitty-lua/tests/host_bridge.rs` (`FakeServices` notification seam) | [notify.md](notify.md) |
| `bitty.terminal` | `implemented` | `crates/bitty-lua/tests/host_bridge.rs` (`FakeServices::terminal_snapshot` seam) | [terminal.md](terminal.md) |
| `bitty.tasks`, `bitty.timers` | `implemented` | `crates/bitty-lua/tests/lua_parity.rs` (tasks WIRED capture, LUA-OQ-9), `crates/bitty-lua/tests/host_bridge.rs` (timer capture caps) | [tasks-timers.md](tasks-timers.md) |
| `bitty.env` | `not_implemented` | `crates/bitty-lua/tests/lua_parity.rs` (`env_get_has_are_not_implemented`; grant-gated, CTX-0330) | [env.md](env.md) |
| `bitty.services` | `not_implemented` | `crates/bitty-lua/tests/lua_parity.rs` (`services_get_provide_are_not_implemented`, LUA-OQ-8) | [services.md](services.md) |
| `bitty.ui` | `implemented` | `crates/bitty-lua/tests/ui_bridge.rs` (mount/update probes, LUA-OQ-7), `crates/bitty-runtime/tests/plugin_ui.rs` (band and overlay hosts), `crates/bitty-runtime/tests/presentation_overlay_api.rs` (presentation-only overlay session, bitty#2849), `crates/bitty-runtime/tests/ui_panel_api.rs` (`bitty.ui.panel` presentation surface, bitty#2388) | [ui.md](ui.md) |
| `bitty.process` | `not_implemented` | `crates/bitty-lua/tests/host_bridge.rs` (`process_spawn_unavailable_by_default`; v1-OUT consent-gated extra, CTX-0445) | [process.md](process.md) (outside v1 scope) |

Every namespace that has a page is linked above. A page may still describe a
`not_implemented` surface: it records the accepted spelling and the failing
Expand All @@ -64,3 +66,12 @@ One companion page sits outside the per-namespace set:
the closed slot, node, and style vocabularies, the capability map, and the
contract budgets of the `bitty.ui` scenes with `bitty` `file:line` evidence. It
adds no namespace and no normative prose.

A second companion page records the panel-content presentation sub-surface:
[bitty.ui.panel Reference](ui-panel.md) documents
`bitty.ui.panel.present` / `update` / `release` / `poll`, the bounded input
queue, the `panel.content.*` events, the close-path restore of the displaced
terminal, the mode-move matrix, and the app producer wire, pinned to
`bitty@944a4b1f` (bitty#2388). The sub-surface is not named by the accepted
Plugin API v1 Lua Surface RFC; the page records current host fact only, per
its own status block.
Loading