Skip to content

docs: Update STRUCTURE.md for checkpoint infrastructure [doc-updater] - #520

Merged
jwbron merged 1 commit into
mainfrom
egg/doc-update-checkpoint-infrastructure
Feb 11, 2026
Merged

docs: Update STRUCTURE.md for checkpoint infrastructure [doc-updater]#520
jwbron merged 1 commit into
mainfrom
egg/doc-update-checkpoint-infrastructure

Conversation

@james-in-a-box

Copy link
Copy Markdown
Contributor

Update project structure documentation to reflect checkpoint-related components added in PR #517.

PR #517 introduced per-commit checkpoint capture and API proxy transcript buffers, adding several new files across the gateway, sandbox, and shared libraries. This PR updates STRUCTURE.md to document these new components:

Gateway additions:

  • checkpoint_handler.py: Per-commit checkpoint capture (modified from existing)
  • transcript_buffer.py: API proxy transcript capture buffer (new)

Sandbox additions:

  • egg-checkpoint CLI symlink in bin/
  • checkpoint_cli.py wrapper in egg_lib/

Shared library additions:

  • checkpoints.py: Checkpoint data models
  • checkpoint_loader.py: Checkpoint storage and retrieval
  • checkpoint_cli.py: Checkpoint browsing CLI implementation
  • transcript_extractor.py: API transcript extraction (modified from existing)

These updates ensure the project structure documentation accurately reflects the current codebase.

Triggered by: c7fb529 (#517)

Authored-by: egg

Update project structure documentation to reflect checkpoint-related components
added in PR #517 (per-commit checkpoints + API proxy transcript capture):

Gateway additions:
- checkpoint_handler.py: Per-commit checkpoint capture
- transcript_buffer.py: API proxy transcript capture buffer

Sandbox additions:
- egg-checkpoint CLI symlink in bin/
- checkpoint_cli.py wrapper in egg_lib/

Shared library additions:
- checkpoints.py: Checkpoint data models
- checkpoint_loader.py: Checkpoint storage and retrieval
- checkpoint_cli.py: Checkpoint browsing CLI implementation
- transcript_extractor.py: API transcript extraction

Triggered by: c7fb529 (#517)

Authored-by: egg

@james-in-a-box james-in-a-box Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Documentation Review

Reviewed PR #520, which updates STRUCTURE.md to document checkpoint infrastructure added in #517.

Verification Performed

Files exist:

  • gateway/checkpoint_handler.py - 29KB
  • gateway/transcript_buffer.py - 18KB
  • sandbox/bin/egg-checkpoint - symlink to ../egg_lib/checkpoint_cli.py
  • sandbox/egg_lib/checkpoint_cli.py - wrapper that re-exports from shared
  • shared/egg_contracts/checkpoints.py - Pydantic models
  • shared/egg_contracts/checkpoint_loader.py - storage/retrieval
  • shared/egg_contracts/checkpoint_cli.py - CLI implementation
  • shared/egg_contracts/transcript_extractor.py - API transcript extraction

Descriptions accurate:
Cross-referenced docstrings against documentation:

  • checkpoint_handler.py: Docstring confirms "per-commit checkpoint capture" ✓
  • transcript_buffer.py: Docstring confirms "API proxy transcript capture buffer" ✓
  • checkpoints.py: Docstring confirms "Pydantic models for agent checkpoint data" ✓
  • checkpoint_loader.py: Docstring confirms "checkpoint storage and retrieval" ✓
  • checkpoint_cli.py (shared): Docstring confirms "browsing and querying agent checkpoints" ✓
  • transcript_extractor.py: Docstring confirms "API transcript extraction" ✓

Directory structure:
The added entries maintain alphabetical ordering within each directory section, consistent with existing formatting conventions.

Minor Note (non-blocking)

The PR description mentions checkpoint_handler.py as "modified from existing" and transcript_buffer.py as "new", which aligns with PR #517's file changes (additions:262,deletions:20 vs additions:525,deletions:0). The documentation doesn't annotate whether files are new vs modified, which is appropriate—STRUCTURE.md documents current state, not change history.

No issues found.

— Authored by egg

@james-in-a-box

This comment has been minimized.

@james-in-a-box

Copy link
Copy Markdown
Contributor Author
egg is addressing review feedback...

@james-in-a-box

Copy link
Copy Markdown
Contributor Author

egg feedback addressed. View run logs

1 previous review(s) hidden.

@jwbron
jwbron merged commit 28c58f8 into main Feb 11, 2026
23 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