Skip to content

Clarify artifact receipt retrieval diagnostics#127

Merged
ictechgy merged 1 commit into
mainfrom
feature/g010-pr-c-artifact-receipt-diagnostics
Jun 4, 2026
Merged

Clarify artifact receipt retrieval diagnostics#127
ictechgy merged 1 commit into
mainfrom
feature/g010-pr-c-artifact-receipt-diagnostics

Conversation

@ictechgy
Copy link
Copy Markdown
Owner

@ictechgy ictechgy commented Jun 4, 2026

Summary

  • clarify artifact receipt retrieval hints so suggested --max-lines is documented as a returned-line cap for the explicit --lines selector
  • add structured metadata-cap diagnostics with metadata bytes, cap, shrink stage, and remaining digest counts
  • keep kit/plugin artifact executable mirrors in sync and update user-facing docs

Verification

  • python3 -m unittest discover -s tests -p 'test_context_guard_kit.py' -k artifact_escrow (9 tests)
  • python3 -m py_compile context-guard-kit/context_escrow.py plugins/context-guard/bin/context-guard-artifact tests/test_context_guard_kit.py
  • cmp -s context-guard-kit/context_escrow.py plugins/context-guard/bin/context-guard-artifact
  • git diff --check
  • python3 scripts/release_smoke.py
  • python3 scripts/prepublish_check.py (393 tests)

Ultragoal

G003 PR-C artifact receipt docs/diagnostics polish.

Constraint: G010 PR-C only; applies PR #119 artifact receipt docs/diagnostics follow-ups without changing stored artifact semantics.\nRejected: Adding new artifact query behavior | The issue was ambiguous receipts and failure diagnostics, so existing selectors stay unchanged.\nConfidence: high\nScope-risk: narrow\nDirective: Treat suggested --max-lines as a returned-line cap for an explicit selector, not a selector-widening option.\nTested: python3 -m unittest discover -s tests -p 'test_context_guard_kit.py' -k artifact_escrow; py_compile context_escrow/plugin/tests; cmp kit/plugin artifact scripts; git diff --check; python3 scripts/release_smoke.py; python3 scripts/prepublish_check.py 393 tests.\nNot-tested: Manual artifact retrieval from a previously created user receipt outside test tempdirs.
@ictechgy ictechgy merged commit e6ea599 into main Jun 4, 2026
3 checks passed
@ictechgy ictechgy deleted the feature/g010-pr-c-artifact-receipt-diagnostics branch June 4, 2026 05:51
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