You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e5750d8
Browse filesBrowse the repository at this point in the historyBrowse files
feat(spec): add the map settings specifier for keyed rows
SpecifierType gains map: a keyColumn header and typed value columns
(duration or positive_integer). One column stores a scalar per key,
several store an object per key. The keys a map admits come from a
runtime option source, not the manifest. ADR-0007 amended; json stays
for raw config.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017ihL2fBJ6xsLWJsnNJGMMx
|**columns**|`{ name: string; label: string \| Record<string, string>; description?: string; kind: Enum<'duration' \| 'positive_integer'> }[]`| optional | Value columns (map): one stores a scalar per key, several an object |
126
128
|**confirmOffText**|`string \| Record<string, string>`| optional | Confirm dialog text shown before a toggle's value changes to off (omit = no confirm) |
|**columns**|`{ name: string; label: string \| Record<string, string>; description?: string; kind: Enum<'duration' \| 'positive_integer'> }[]`| optional | Value columns (map): one stores a scalar per key, several an object |
209
213
|**confirmOffText**|`string \| Record<string, string>`| optional | Confirm dialog text shown before a toggle's value changes to off (omit = no confirm) |
**Status**: Accepted — backend implemented; UI pending (objectui) (proposed 2026-05-20 · calibrated 2026-06-12) · **Amended (2026-11-05, #30385)** — D6: a clear (`null`) of an env-pinned key is not refused; it clears the stored value beneath the override and changes nothing in force.
3
+
**Status**: Accepted — backend implemented; UI pending (objectui) (proposed 2026-05-20 · calibrated 2026-06-12) · **Amended (2026-11-05, #30385)** — D6: a clear (`null`) of an env-pinned key is not refused; it clears the stored value beneath the override and changes nothing in force. · **Amended (2026-11-08, #30208)** — §Specifier set gains `map` (keyed rows with typed value columns); `json` stays for raw config and is no longer the home for maps.
4
4
**Deciders**: ObjectStack Protocol Architects
5
5
**Builds on**: [ADR-0005](./0005-metadata-customization-overlay.md) (Metadata Customization Overlay), [ADR-0006 v4](./0006-project-environment-split.v4.md) (Project/Environment Split — this record was originally built on v3, superseded by v4)
@@ -106,6 +106,8 @@ ObjectStack's protocol-first DNA matches Apple's: a small set of declarative spe
106
106
107
107
A small, **closed** set of specifier types. Borrowed from Apple's PreferenceSpecifiers and trimmed to what enterprise settings actually need. New types require an ADR amendment.
108
108
109
+
*Amended 2026-11-08 (#30208, ruling record 6715997428): `map` added. A setting whose value is a map of rows (an object → a window, an object → a row count) declares that shape as a `map`, so the console draws a table and both doors (the save and the `OS_*` override) judge each key against the running system's domain and each cell against its column's kind, as they judge `options` and `pattern`. Its stored value is the object a `json` key held, unchanged. `json` stays in the set for genuinely raw config; it is no longer the home for maps.*
@@ -120,7 +122,8 @@ A small, **closed** set of specifier types. Borrowed from Apple's PreferenceSpec
120
122
|`multiselect`| checkbox list / tag picker | array ||
121
123
|`slider`| range slider | number |`min`, `max`, `step`|
122
124
|`color`| colour picker | hex string ||
123
-
|`json`| code editor | object | for advanced/raw config |
125
+
|`json`| code editor | object | for advanced/raw config — not for maps (see `map`) |
126
+
|`map`| keyed rows: a key column + typed value columns | object: `Record<key, value>` with one value column, `Record<key, {column: value}>` with several |`keyColumn`, `columns: [{name, label, kind}]`, `kind` ∈ `duration`\|`positive_integer`; the keys a map admits are served by a runtime option source, never listed in the manifest |
0 commit comments