Skip to content

Remove issue-number references from nodespace-core code comments and docs #1494

Closed

Description

@malibio

Overview

Part of the cleanup ahead of the NodeSpace migration: remove GitHub issue-number references (#1234, nodespace-sync#NN) from source-code comments in nodespace-core. Roughly 292 candidate references were counted at review time (includes false positives like hex colors and headings).

Proposed Solution

Sweep the Rust/TS/Svelte sources; for each provenance comment, reword to describe the behavior or constraint directly (or reference the relevant ADR), without the ticket number. Leave commit/PR/branch conventions untouched — this is about content, not process.

Acceptance Criteria

  • No GitHub issue-number references remain in code comments (excluding process mechanics)
  • Provenance comments reworded to describe behavior, not tickets
  • Code passes bun run quality:fix; tests pass (bun run test:all)

Technical Specifications

  • Sweep packages/**/*.{rs,ts,svelte} (exclude tests where the ref is a fixture, at reviewer discretion)
  • Forward rule: ../nodespace-docs/development/standards/documentation.md

Related Issues

Activity

  1. self-assigned this
    on Jul 15, 2026
  2. added a commit that references this issue on Jul 15, 2026
    b2fedf8
  3. mstomar125 commented on Jul 15, 2026

    @mstomar125
    Contributor

    Resolved in #1669 (b2fedf8c).

    Swept packages/**/*.{rs,ts,svelte} across every workspace package (core, desktop-app incl. src-tauri, agent, nlp-engine, daemon, nodespace-types): 212 files, ~810 issue-number references reworded to describe the behavior/constraint directly, keeping ADR references. Comment content only — the code portion of every touched line is byte-identical (verified mechanically); issue numbers inside string literals, assertion/log messages, test titles, fixtures, hex colors, and #[...] attributes were left intact. Full pre-push gate green (test:all + daemon build + e2e + nodespace-app tests).

    bun run quality:fix is blocked by a pre-existing, unrelated clippy warning in import_service.rs:645 (present on clean main); left out of scope to keep this strictly comment-only.

    • No GitHub issue-number references remain in code comments (excluding process mechanics)
    • Provenance comments reworded to describe behavior
    • Tests pass (full gate green)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions