You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 280ae48
Browse filesBrowse the repository at this point in the historyBrowse files
CLAUDE.md, .github/copilot-instructions.md and two files under .claude/rules
described a repository that no longer exists, in ways that misdirect an agent
reading them. Every claim below was checked against the code.
Both instruction files said "single package". There are two: jsonpointer and
jsonpointer/jsonname. They listed jsonname as the external dependency
github.com/go-openapi/swag/jsonname; it is a subpackage of this repository, and
go.mod has no non-test dependency. Their file tables omitted ifaces.go,
options.go and both jsonname files, and their Get and Set signatures omitted
opts ...Option.
copilot-instructions.md claimed the RFC 6901 "-" array suffix is not
implemented. Pointer.Set has supported it as an append since the dash token
work; CLAUDE.md already said so.
Both claimed "anonymous embedded struct fields are traversed only if tagged",
which is backwards: an anonymous field is always walked for the fields it
promotes, and its own json tag never becomes a reachable key. Both also stated
the json-tag requirement unconditionally, when it only holds for the default
NameProvider -- GoNameProvider reaches untagged exported fields. Neither file
mentioned that two providers exist, which is the first thing to check when a
field is unreachable.
Dangling links are removed: docs/ holds only .gitkeep, so docs/MAINTAINERS.md
and docs/STYLE.md do not exist, and neither do .claude/plans/ROADMAP.md or
.github/CONTRIBUTING.md. contributions.md also told agents to run
`go test work ./...`, which is not a command.
Both files gain the behavior settled by the previous commit: embedded-pointer
traversal, nil embedded pointers reporting an error, the string-keyed-map
requirement, and null handling on Set.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Signed-off-by: Frédéric BIDON <[email protected]>
0 commit comments