Skip to content

rtk init: generated RTK.md has a circular reference and the run miscounts its line total #2734

Description

@mvanhorn

Two small cosmetic issues in rtk init (0.43.0):

  1. The generated RTK.md ends with:

    Refer to CLAUDE.md for full command reference.

    But the same rtk init writes @RTK.md into CLAUDE.md (CLAUDE.md imports RTK.md). So the pointer is circular and resolves to nothing — there is no separate command reference in CLAUDE.md. Suggest dropping the line, or pointing it at rtk --help.

  2. rtk init prints RTK.md: ... (10 lines) while the file it actually writes is 29 lines. The reported count is wrong.

Neither affects function; just confusing to a reader.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions