Open
Conversation
The spec referenced `tags.ts` as the location of the `decodeTagName()` TypeScript function, but it was extracted to `bear-encoding.ts` during a refactor. The in-code comment in `notes.ts` already points to the correct location: `operations/bear-encoding.ts`.
The source tree was refactored into layered subdirectories (infra/, operations/, tools/) but the Project Structure section still showed the old flat layout. Also removes the no-longer-existing utils.ts entry and adds the new logging.ts, bear-encoding.ts, and tools/ entries.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Contributor
There was a problem hiding this comment.
Pull request overview
Updates developer documentation to match the current TypeScript source layout and recent refactors, ensuring file references in docs align with the reorganized src/ tree.
Changes:
- Corrects
SPECIFICATION.mdto referencedecodeTagName()’s current location (bear-encoding.ts). - Updates
CLAUDE.md’s project structure diagram to reflect the layeredsrc/infra/,src/operations/, andsrc/tools/organization (and current filenames).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| docs/dev/SPECIFICATION.md | Fixes the documented location of the tag decoding function to match the current code. |
| CLAUDE.md | Updates the src/ tree diagram to reflect the current directory structure and key files. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Two factual inaccuracies were found during the weekly documentation review. The
src/source tree inCLAUDE.mdstill described the old flat layout, while the code has been reorganized intoinfra/,operations/, andtools/subdirectories. Additionally,SPECIFICATION.mdincorrectly attributed thedecodeTagName()TypeScript function totags.ts; it was extracted tobear-encoding.tsduring a refactor.Changes
tags.tstobear-encoding.tsin the "Tag name decoding logic exists in two places" sentence under Bear's Database constraints. Confirmed by the in-code comment insrc/operations/notes.tswhich already points to the correct file.src/project structure tree outdated → replaced flat layout with the actual layered structure (infra/,operations/,tools/subdirectories); removed the no-longer-existingutils.ts; addedlogging.ts,bear-encoding.ts, andresponses.ts; updatedmain.tsdescription (tool registration moved tosrc/tools/).No Issues Found
Generated by Claude Code