GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id(aliases): a whitespace-only alias claim displays as a blank alias — aliases_of excludes empty text but not whitespace-only text · Issue #4130 · developing-today/code

id(aliases): a whitespace-only alias claim displays as a blank alias — aliases_of excludes empty text but not whitespace-only text #4130

New issue
Copy link
New issue
Copy link
Closed
#4467
Closed
id(aliases): a whitespace-only alias claim displays as a blank alias — aliases_of excludes empty text but not whitespace-only text#4130
#4467
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/xsTrivial: expected under 30 minutes of workkind/bugSomething isn't working (prefixed form of the classic bug label)priority/lowNice to have; do when convenientsource/creatorFiled by the new-issue-creator jobtask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@dezren39
dezren39
opened on Nov 2, 2026
Issue body actions

Problem

In pkgs/id, a tag claim whose alias value is only whitespace is treated as a real alias and displayed as the object's name, even though the alias module's own rule is that an empty alias is not an alias.

  • pkgs/id/src/tag_claims.rs — check_op accepts a tag.set value of 1..=512 bytes that is NFC. A value of " " (spaces) passes every check, so such a claim is a valid, signed, syncable event.
  • pkgs/id/src/aliases.rs:105-118 — aliases_of filters out only a bare tag or a value where text.is_empty(). A whitespace-only value is not empty, so it becomes an Alias { text: " " }.
  • pkgs/id/src/aliases.rs module docs state the intended rule: "A bare tag, or an alias with empty text, is not an alias." A whitespace-only alias renders as blank — indistinguishable from empty — but is not excluded.

Evidence (verified this run)

Laptop probe ~/git/fleet/probe-2026-11-01-laneB-aliasws/ with aliases_of/shown_for copied verbatim from pkgs/id/src/aliases.rs @ 11cb8966 (md5 46b7428bd37db1c5d9c96687db6e0b72, identical in the sandbox clone and the laptop checkout):

  • value Some(" ") → aliases_of returns 1 alias with text " ", and shown_for returns Shown::Only(..) — the view shows a blank alias as the object's only name.
  • value Some("") (control) → 0 aliases, as documented.
  • value Some(" Ann ") → stored/displayed verbatim with padding (related display wart; the whitespace-only case is the bug).

Why it matters

Alias display is what views show instead of a raw ID (aliases::rows / Shown::Only). Any peer can publish a whitespace-only alias claim on a group or user subject; a lone such claim makes the object display with a blank alias, and alongside a real claim it forces the row to Contested with one visibly-empty contender. The fix belongs in one place (aliases_of is documented as "the one place that decides what a view shows for an object's aliases").

Acceptance criteria

  • aliases_of treats a value whose trimmed form is empty the same as an empty value: it is not an alias (does not appear in Row::aliases, does not make a row Contested, does not become Shown::Only).
  • A unit test covers whitespace-only alias values (spaces/tabs) next to the existing empty-value test in pkgs/id/src/aliases.rs.
  • Existing alias behaviour for non-blank values is unchanged (no silent trimming of real alias text unless that is decided and tested separately).

Activity

Next
  1. dezren39
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    queue/queuedHas a queued queue task
    source/creatorFiled by the new-issue-creator job
    task/triageQueue packet kind: verify, reproduce, and route this item
    status/needs-triageNot yet triaged; needs a first look
    priority/lowNice to have; do when convenient
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    effort/xsTrivial: expected under 30 minutes of work
    on Nov 2, 2026
  2. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    🤖 Agent note · filed

    • Agent: new-issue-creator-code-b
    • Session / ID: new-issue-creator-code-b cron run 2026-11-01 20:20 CST
    • Found via: filed this run — read pkgs/id/src/aliases.rs and pkgs/id/src/tag_claims.rs on main 11cb8966 and verified with verbatim copies of aliases_of/shown_for compiled on the laptop (probe ~/git/fleet/probe-2026-11-01-laneB-aliasws/, aliases.rs md5 46b7428bd37db1c5d9c96687db6e0b72): a claim with value " " yields 1 alias and Shown::Only with blank text, while "" yields 0 aliases; check_op accepts the whitespace value (1..=512 bytes, NFC). Dedup: open+closed searches for alias whitespace/blank found only distinct items (id(server_config): a blank or whitespace-padded key passes parse — a blank user key fails only mid-provisioning after earlier users are already created, and a padded key silently diverges from the account name it creates #1824 server_config keys, id: validation gap — alias list has no creation date (P5.7): signed header has no time field #1422 alias creation-date design).
    • Task: Filed this issue: aliases_of excludes empty alias text but not whitespace-only text, so a whitespace-only alias claim displays as a blank alias — the exclusion should test the trimmed text.
    • Expectation: effort xs; done when whitespace-only alias values are not aliases (not in Row::aliases, never Shown::Only, never force Contested), pinned by a unit test beside the existing empty-value test.
    • Links: id(aliases): a whitespace-only alias claim displays as a blank alias — aliases_of excludes empty text but not whitespace-only text #4130
  3. github-actions
    assigned
    dezren39
    on Nov 2, 2026
  4. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 2, 2026
  5. 21 remaining items

  6. dezren39
    added
    user/escalatedRequires a Drew decision or access
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedQueue worker lifecycle state
    on Nov 2, 2026
  7. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    🤖 Agent note · blocked / escalated

    • Agent: queue worker (repo-worker-code), lane opencode
    • Session / ID: task 6373 · session ses_e5e627a9e55ffeE53BA84FgXxC
    • Found via: bound OpenCode session revalidated the existing artifact before edits
    • Task: Blocked task 6373 for issue id(aliases): a whitespace-only alias claim displays as a blank alias — aliases_of excludes empty text but not whitespace-only text #4130 because open PR fix(id): exclude whitespace-only alias values in aliases_of (#4130) #4467 is authored and committed by dezren39 (Drew); the queue runbook forbids touching or merging a Drew-owned PR and forbids competing work. No files changed and no tests run in this session.
    • Expectation: The existing PR contains the scoped aliases fix and whitespace-only test; Codex review summary reports no findings. This session did not modify, rebase, test, or merge it.
    • Resume condition: Drew explicitly releases/delegates fix(id): exclude whitespace-only alias values in aliases_of (#4130) #4467 for this worker to rebase/test/merge, or confirms he completed the fix and task 6373 should be marked already done.
    • Links: id(aliases): a whitespace-only alias claim displays as a blank alias — aliases_of excludes empty text but not whitespace-only text #4130 · fix(id): exclude whitespace-only alias values in aliases_of (#4130) #4467
  8. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    agent-note:v1
    event: revalidated + still blocked (escalated)
    task: 6373 (repo-health-code-pilot, repo-worker-code; OpenChamber scheduled lane c8b9355e-319a-4640-8096-7ad19480d151)
    state: re-claimed for resume; fix artifact unchanged and still untouchable by this worker.
    verified: Fresh 2026-11-03T09:55Z: PR #4467 OPEN, authored by dezren39 (single commit aa125ea), head queue/6373-4130-aliases-whitespace. No Drew release/delegation and no Drew decision comment since the 2026-11-02T18:32Z escalation. One change since last shift: blocker #4454 (pre-existing references.rs compile breakage) is now CLOSED, so the test/merge path is unblocked — but the Drew-ownership guardrail still forbids this worker from rebasing, testing, or merging #4467.
    blocker: Drew decision required — release/delegate #4467 to the queue worker, or confirm the fix landed another way and mark this task already_done.
    labels: user/escalated + queue/blocked + status/blocked retained; work/assigned retained while blocked.
    bookkeeping: sandbox backlog and sweep log deferred to fleet reconciliation.

  9. dezren39
    added
    queue/queuedHas a queued queue task
    on Nov 3, 2026
  10. dezren39
    added 2 commits that reference this issue on Nov 8, 2026

    fix(id): exclude whitespace-only alias values in aliases_of (#4130)

    e9aac4b

    fix(id): exclude whitespace-only alias values in aliases_of (#4130) (#…

    19ace0f
  11. dezren39
    closed this as completedin #4467on Nov 8, 2026
  12. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    MemberAuthor
    More actions

    {"event":"done","worker":"repo-worker-code","queue":"repo-health-code-pilot","task_id":13391,"lane":"code-y","note":"Task 13391 COMPLETE (fixed_merged). PR #4467 squash-merged, merge SHA 19ace0f; issue #4130 CLOSED by the merge. Fresh verification: merge-tree clean vs main (branch 45 commits behind, 1 ahead); Codex review on final head e9aac4b completed with no findings; targeted tests on laptop worktree: cargo test --manifest-path pkgs/id/Cargo.toml --lib aliases — 105 passed, 0 failed (incl. new test_a_whitespace_only_alias_is_not_an_alias). CI checks were QUEUED >2h (systemic runner stall, also seen by lanes code-n/code-p on this PR) with 1 SUCCESS / 1 SKIPPED / CodeRabbit NEUTRAL and none failed; merged under the standing merge criteria on local test evidence per fleet rules. The user/escalated label on #4130 traced to the superseded Drew-authorship rule (replaced 2026-11-07) and is removed as resolved."}

  13. dezren39
    removed
    queue/blockedQueue or user escalation state
    queue/queuedHas a queued queue task
    status/blockedQueue or user escalation state
    user/escalatedRequires a Drew decision or access
    on Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/xsTrivial: expected under 30 minutes of workkind/bugSomething isn't working (prefixed form of the classic bug label)priority/lowNice to have; do when convenientsource/creatorFiled by the new-issue-creator jobtask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.