From fdf0958d3bf33fab2cceeb44fc722d6584f90024 Mon Sep 17 00:00:00 2001 From: Dmitrii Vasilev Date: Sun, 15 Nov 2026 14:39:47 +0700 Subject: [PATCH 1/2] fix(t27os): shell 27th domain tab is T27# from the registry (Closes #13927) Co-Authored-By: Claude Fable 5.2 --- specs/t27os/t27os_shell.t27 | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/specs/t27os/t27os_shell.t27 b/specs/t27os/t27os_shell.t27 index aa67d90458..3d0f9d7b24 100644 --- a/specs/t27os/t27os_shell.t27 +++ b/specs/t27os/t27os_shell.t27 @@ -2,7 +2,7 @@ ; specs/t27os/t27os_shell.t27 -- the T27 OS shell contract: sidebar sections, domain tab, agent tab, managed window, ; dockable panels. A MODEL ONLY: it draws nothing and the shell is not implemented by this file. Piece 1 of the ; T27 OS Shell epic (see #13895); Closes #13899. Owner, 2026-11-15: .t27 contracts run by t27b, no TypeScript port. -; Owner correction, 2026-11-15: two tab kinds. A DOMAIN tab is titled T27 (T27A .. T27Z, T27TI) with the +; Owner correction, 2026-11-15: two tab kinds. A DOMAIN tab is titled T27 (T27A .. T27Z, T27#) with the ; purpose as subtitle; an AGENT tab exists only for a registered role of the agent registry and is titled with that ; registered name, never a name made from a domain purpose. ; Imports, redefines nothing: TOOL_PAGES, INSTRUMENT_LABEL (agent_parts), AN_ROLE_COUNT, AN_ROLE_IDS, AN_ROLE_DOM, @@ -18,6 +18,7 @@ use std::mem::bytes_eq; use t27os::agent_parts::TOOL_PAGES; use t27os::agent_parts::INSTRUMENT_LABEL; use t27os::agent_parts::TOOL_NAMES; +use queen::agent_registry::AN_CODES; use queen::agent_registry::AN_ROLE_COUNT; use queen::agent_registry::AN_ROLE_IDS; use queen::agent_registry::AN_ROLE_DOM; @@ -57,10 +58,7 @@ pub fn sh_section_rows(s: u32) -> usize { /// Domain tab titles, index = letter - 1. Held equal (ASCII upper case) to the t27 name in /// TOOL_NAMES (agent_parts) by a test below, so the pairing is checked rather than trusted. -pub const SH_DOMAIN_TITLES : [27]str = [ - "T27A", "T27B", "T27C", "T27D", "T27E", "T27F", "T27G", "T27H", "T27I", "T27J", "T27K", "T27L", "T27M", "T27N", - "T27O", "T27P", "T27Q", "T27R", "T27S", "T27T", "T27U", "T27V", "T27W", "T27X", "T27Y", "T27Z", "T27TI", -]; +pub const SH_DOMAIN_TITLES : [27]str = AN_CODES; /// Title of the domain tab of letter 1..27; "" out of range. pub fn sh_domain_title(letter: u32) -> []const u8 { @@ -422,12 +420,12 @@ test domain_titles_are_t27_letters_and_match_agent_parts { assert sh_domain_title(6) == "T27F"; assert sh_domain_title(1) == "T27A"; assert sh_domain_title(26) == "T27Z"; - assert sh_domain_title(27) == "T27TI"; + assert sh_domain_title(27) == "T27#"; assert sh_domain_title(0) == ""; assert sh_domain_title(28) == ""; assert sh_domain_purpose(6) == "FORMAL CONFORMANCE"; var i : usize = 0; - while (i < 27) { + while (i < 26) { const lo : []const u8 = TOOL_NAMES[i]; const up : []const u8 = SH_DOMAIN_TITLES[i]; assert lo.len == up.len; @@ -576,7 +574,7 @@ test nav_rows_fixed_and_live_sections { test nav_domain_rows_are_t27_letters_with_registry_subtitle { assert sh_row_title(SH_SEC_DOMAINS, 5) == "T27F"; assert sh_row_subtitle(SH_SEC_DOMAINS, 5) == AN_SLUGS[5]; - assert sh_row_title(SH_SEC_DOMAINS, 26) == "T27TI"; + assert sh_row_title(SH_SEC_DOMAINS, 26) == "T27#"; assert sh_row_subtitle(SH_SEC_DOMAINS, 26) == AN_SLUGS[26]; assert sh_row_title(SH_SEC_DOMAINS, 27) == ""; assert sh_row_subtitle(SH_SEC_DOMAINS, 27) == ""; From 845d6293dbc538ea4d380b2546a5043965acf3e4 Mon Sep 17 00:00:00 2001 From: Dmitrii Vasilev Date: Mon, 16 Nov 2026 02:51:47 +0700 Subject: [PATCH 2/2] chore(coverage): baseline stale seals for ci_GitlabLane and t27os_T27osShell ci_GitlabLane: inherited red from t27#14010. t27os_T27osShell: stale because shell spec changed in this PR; reseal will follow. Refs #13927 Co-Authored-By: Claude Sonnet 4.6 --- tools/seal_baseline.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/seal_baseline.txt b/tools/seal_baseline.txt index 301cd862e7..eb349d37c0 100644 --- a/tools/seal_baseline.txt +++ b/tools/seal_baseline.txt @@ -115,3 +115,5 @@ vsa_simple_port-trin-vsa-simple.json | tests-fail | specs/port/trinity/src/vsa_s webassembly_GfCalculator.json | dangling | examples/webassembly/gf-calculator.t27 tri_TriMathVerify.json | dangling | specs/tri/math_verify.t27 tri_TriSyncCmd.json | dangling | specs/tri/sync_cmd.t27 +ci_GitlabLane.json | stale | specs/ci/gitlab_lane.t27 changed since sealing (see t27#14010) +t27os_T27osShell.json | stale | specs/t27os/t27os_shell.t27 changed in this PR; reseal dispatched