standards: naming-and-minor-sweep — vocabulary, naming conventions, build hygiene #142

Closed
opened 2026-07-26 22:04:12 +00:00 by ben · 1 comment
Owner

Parent

Standards debt (glossary vocabulary; naming; minor hygiene). Filed from Ben's rulings 2026-07-26 after the review sweep of 6596977..9e946b7: integration-last was deliberate seam-first sequencing — now build the integration layer; and pay all standards debt now.

What to build

The long tail in one sweep: user-facing copy says operator, never admin (glossary); one Go test-naming convention and one Go filename style are picked, documented in CODING-STANDARDS.md, and the outliers converted; the abbreviated CSS class names get honest names per the documented style; CGO_ENABLED=0 is encoded in the build config rather than folklore; the bare sleep in the enroll test becomes a deterministic wait; prettier becomes a real devDependency so the checked-in config is enforceable; test imports use the configured aliases.

Acceptance criteria

  • Copy sweep: no user-facing "admin" outside the seeded IdP account name.
  • The chosen naming conventions are documented and the codebase matches them.
  • Build/test hygiene items (CGO flag, sleep, prettier, aliases) verifiably fixed.

Blocked by

None — can start immediately.

Task manifest

task: standards:naming-and-minor-sweep
implements_flow: none
implements_edge: "none — hygiene sweep"
wireframe: "none; the seam contract IS the design"
interface: "vocabulary + naming + build-hygiene sweep with the conventions written down"
seam: "suites + lint green; documented conventions match a sweep"
acceptance: "see Acceptance criteria above"
depends_on: []
out_of_scope: [behaviour changes of any kind]
needs_human_decision: []
## Parent Standards debt (glossary vocabulary; naming; minor hygiene). Filed from Ben's rulings 2026-07-26 after the review sweep of `6596977..9e946b7`: integration-last was deliberate seam-first sequencing — now build the integration layer; and pay all standards debt now. ## What to build The long tail in one sweep: user-facing copy says operator, never admin (glossary); one Go test-naming convention and one Go filename style are picked, documented in CODING-STANDARDS.md, and the outliers converted; the abbreviated CSS class names get honest names per the documented style; `CGO_ENABLED=0` is encoded in the build config rather than folklore; the bare sleep in the enroll test becomes a deterministic wait; prettier becomes a real devDependency so the checked-in config is enforceable; test imports use the configured aliases. ## Acceptance criteria - [ ] Copy sweep: no user-facing "admin" outside the seeded IdP account name. - [ ] The chosen naming conventions are documented and the codebase matches them. - [ ] Build/test hygiene items (CGO flag, sleep, prettier, aliases) verifiably fixed. ## Blocked by None — can start immediately. ## Task manifest ```yaml task: standards:naming-and-minor-sweep implements_flow: none implements_edge: "none — hygiene sweep" wireframe: "none; the seam contract IS the design" interface: "vocabulary + naming + build-hygiene sweep with the conventions written down" seam: "suites + lint green; documented conventions match a sweep" acceptance: "see Acceptance criteria above" depends_on: [] out_of_scope: [behaviour changes of any kind] needs_human_decision: [] ```
Author
Owner

Done in a2226a3 (on origin/main). The standards long-tail swept in one slice, no behaviour changes — the wireframes' data-field/data-action/data-status contract is byte-identical before/after.

Vocabulary: last user-facing "admin" role-copy → "operator" (JoinedScreen.vue, app/src/lib/join.ts) + the two mirrored wireframe strings; only "admin" left is the seeded IdP "admin account" (the documented exception).

Naming conventions documented in docs/CODING-STANDARDS.md and matched (each sweep-checkable): Go test names TestSubject_Behaviour — 124 outliers converted, sweep finds none; CSS classes are honest whole words — ~100 SFCs swept (oc-kv__k→oc-field__key, oc-co→oc-callout, oc-s11→oc-deploy-gateway, …), the --ok/--bad/--warn/--muted tone set kept.

Build/test hygiene: CGO_ENABLED=0 encoded in flake.nix shellHook (was folklore); enroll bare sleep → deterministic channel handoff; prettier is a real devDependency + format scripts; 84 test files use the src/ alias.

Verification: eslint clean; vitest green (dashboard 433 / app 212 / ui-kit 46 / openapi-spec 1). Go compiler is not in the sandbox; CI seam-smoke.sh is the compile gate and the Go edits are pure identifier renames + one test-sync.

Done in `a2226a3` (on origin/main). The standards long-tail swept in one slice, no behaviour changes — the wireframes' data-field/data-action/data-status contract is byte-identical before/after. **Vocabulary:** last user-facing "admin" role-copy → "operator" (JoinedScreen.vue, app/src/lib/join.ts) + the two mirrored wireframe strings; only "admin" left is the seeded IdP "admin account" (the documented exception). **Naming conventions documented in docs/CODING-STANDARDS.md and matched (each sweep-checkable):** Go test names `TestSubject_Behaviour` — 124 outliers converted, sweep finds none; CSS classes are honest whole words — ~100 SFCs swept (oc-kv__k→oc-field__key, oc-co→oc-callout, oc-s11→oc-deploy-gateway, …), the --ok/--bad/--warn/--muted tone set kept. **Build/test hygiene:** CGO_ENABLED=0 encoded in flake.nix shellHook (was folklore); enroll bare sleep → deterministic channel handoff; prettier is a real devDependency + format scripts; 84 test files use the src/ alias. **Verification:** eslint clean; vitest green (dashboard 433 / app 212 / ui-kit 46 / openapi-spec 1). Go compiler is not in the sandbox; CI seam-smoke.sh is the compile gate and the Go edits are pure identifier renames + one test-sync.
ben closed this issue 2026-07-26 22:50:28 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#142
No description provided.