Skip to content

docs(pj_scene_protocol): point at sibling ARCHITECTURE.md, not pj_media#82

Merged
facontidavide merged 1 commit intomainfrom
docs/scene-protocol-pointer-cleanup
May 5, 2026
Merged

docs(pj_scene_protocol): point at sibling ARCHITECTURE.md, not pj_media#82
facontidavide merged 1 commit intomainfrom
docs/scene-protocol-pointer-cleanup

Conversation

@facontidavide
Copy link
Copy Markdown
Contributor

Summary

The schema-spec headers were left pointing at pj_media/docs/datatypes_2D.md §8 for the canonical type catalog — a holdover from when this module lived inside PJ4's pj_media/ tree. After the relocation in #81, that PJ4 doc was rewritten to point AT pj_scene_protocol/docs/ARCHITECTURE.md, making the header cross-reference circular.

This PR redirects the two header comments to the sibling docs/ARCHITECTURE.md (the authoritative spec) and drops some residual pj_media-specific phrasing in scene_decoder.h.

Changes

  • include/pj_scene_protocol/image_annotation.hAnnotationTopology doc comment now points at docs/ARCHITECTURE.md.
  • include/pj_scene_protocol/scene_decoder.hISceneDecoder doc comment points at docs/ARCHITECTURE.md and replaces "invisible to pj_media" with "invisible to consumers of this module" (this module shouldn't name a specific consumer).

No code change. 44/44 tests still pass.

Test plan

  • ./build.sh clean
  • ./test.sh — 44/44 (image_annotation_codec_test, scene_decoder_test included)

🤖 Generated with Claude Code

The schema-spec headers used to point at `pj_media/docs/datatypes_2D.md §8`
for the canonical type catalog, dating from when this module lived inside
PJ4's pj_media tree. After the relocation in #81, that PJ4 doc was
rewritten to point AT pj_scene_protocol/docs/ARCHITECTURE.md — making the
header cross-reference circular.

Both header comments now point at the sibling docs/ARCHITECTURE.md.
Drops the residual `pj_media`-specific phrasing from scene_decoder.h's
class comment.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@facontidavide facontidavide merged commit 3644658 into main May 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant