Repository navigation
feat: read-only Roadmap publication-history loop guard (#109) - #110
Open
xLagerFeuer wants to merge 1 commit into
Open
xLagerFeuer wants to merge 1 commit into
xLagerFeuer wants to merge 1 commit into
Conversation
7 tasks
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.
Scope (partial implementation of #109)
Adds a read-only prior-publication history/loop guard over existing authoritative fork-local Roadmap cases and append-only events. Does not create or replace a publication ledger, regrade Index, grant permission to publish, or send external messages.
scripts/publication_history.py: reuseroadmap_view.pycurrent verifiedopensiro/metacase discovery, read case publication receipts / explicit historical README publication markers and append-only publish events; distinguishoriginal_issue,fork_issue,original_discussionand PR channels, never count generic referenced original Issues/PRs as OpenSiro publications. Preserve immutable receipt/event/commit provenance.UNVERIFIED, not zero/false success.ALREADY_PUBLISHEDfor a second post of the same case and channel,REUSE_EXISTINGfor exact prior OpenSiro-original title,POSSIBLE_OVERLAPfor related prior case or native Issue,NEW_PROPOSALonly for scoped checked evidence, andHISTORY_UNVERIFIEDwhen source/history/search is incomplete. A public fork Issue and original Issue are different separately approvable actions. Supports explicit--candidate-delta; cross-repository keyword resemblance is advisory rather than an automated semantic equivalence claim. CLI nonzero for blocked/unverified findings.PROTOCOL.md,README.md, anddocs/PUBLICATION_HISTORY.md. Requires the existing full native Issue/Form payload preview and separate exact owner consent, and rechecks immediately before any approved public POST. No S5 delegation.Tests / proof
python3 -m unittest discover -s tests -p 'test_*.py' -q: 259 tests PASS, including 20 new deterministic offline cases: real historical event field shapes (OpenCode fork/original; Gas Town external issue; Cline Discussion), README-only proof vs dated NOT_PUBLISHED, original links vs publications, same-channel renamed repeat, distinct fork/original actions, bot replies, malformed/truncated/failed provider reads, SHA changes, and search errors.python3 -m py_compile scripts/publication_history.py: PASS.git diff --check: PASS.Known limitations / remaining #109 work (do not mark fully complete)
scan_complete=falsereturned, not a false empty successful scan). GitHub authenticated API sources were independently inspected when developing Issue Roadmap publication loop guard: reconstruct prior Issues/Discussions and dedupe proposals before external approval #109; this PR has offline deterministic test evidence, not a live full-portfolio attestation.upstream-old/ full Git-tree replay and unlinked older publications/other publishers remain incomplete:historical_inventory_complete=falseby design. Author-limited original Issue search is not an exhaustive historical inventory.HISTORY_UNVERIFIEDwithout separate verified channel review. Product-native semantic equivalence and maintainer intent remain human decisions. The preflight is read-only and is not a substitute for current original source/native-template/PR checks.UNVERIFIED. No automatic publication or external replies have been added.Review focus: evidence provenance, bounded pagination/unknowns, same-case multi-audience semantics, future source-native channel checks, avoiding false novelty and duplicate external contact.
Relates to #93 and #98; implements an initial bounded portion of #109 without closing remaining checklist items.