Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

## Unreleased

- **Owner-directed nonmaterial source drift (2026-11-26):** Allow a narrowly scoped manual original Roadmap Issue publication after exact consent and explicit owner direction when a verified source-only delta leaves the approved architectural evidence and all other gates unchanged. Preserve the strict automated drift failure, both pins and source review in the publication receipt; no general bypass or autonomous publication.

- **Native Idea feature-request form (PATCH, 2026-11-26):** Recognize a first-party YAML feature_request/feature-request form explicitly named Idea (Filament); retain declared-name checks, required fields, ambiguous-channel and exact consent gates. A filename alone or an unrelated Idea form does not establish a feature route.

- **Verified template-free native Issue route (PATCH, 2026-11-26):** Recognize a blank Issue only after pinned local/inherited configuration and legacy template checks plus GitHub GraphQL confirmation of an empty effective template list, enabled Issues and matching default HEAD. Preserve unknown/forbidden channel, original payload, history, PAUSE and exact consent gates.
Expand Down
3 changes: 2 additions & 1 deletion PROTOCOL.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Read [docs/FORK_METADATA.md](docs/FORK_METADATA.md) for the initial JSON contrac
- **Before owner approval:** Run both canonical case validators first, then run the exact payload validator against the complete title/body file bytes, passing `--case-ref` (observed immutable working fork metadata commit) and `--source-head` (observed current original default HEAD). Missing case sections, inconsistent receipt, wrong owner control/fork, template mismatch, missing historic function, unresolved placeholder or unapproved text edit must return `PUBLICATION_BLOCKED_TEMPLATE_MISMATCH` (or the separate source/authority block). Repair before asking for consent.
- **Mandatory original-native template preview before asking for publication approval (owner-visible, fail closed):** Read the **current target repository's first-party Issue Form YAML, legacy Markdown Issue template, or the actual permitted Discussion category/rules** at a verified default-branch commit. For each proposed external or public fork Issue, show the owner **(1)** the exact destination and action (`new original Issue`, `fork Issue`, `original Discussion`, or `comment on an existing Issue`), **(2)** a clickable link to the **actual repository-native template at its verified source commit**, plus a live template/channel link where available, **(3)** a concise faithful inventory of required and optional text fields, dropdown options, required checkboxes/human signoffs, advisory default title and labels (do not invent mandatory title prefixes), **(4)** the exact proposed title and **complete public body in the approval request** (immutable draft link and SHA-256 may supplement, **not substitute for** displaying the full text), and **(5)** an explicit field-by-field comparison identifying where each original-required field is filled, missing, incomplete or incompatible, including optional deviations and recommended corrections. For an original Discussion, show the verified category/rules instead of pretending its Issue template applies; for an existing-Issue comment, show the exact existing Issue and any applicable contribution rules. **Do not ask for publication approval while mandatory text fields are missing or native channel/rules are unknown. If a form requires a human-read/endorsement checkbox, show its exact statement for the owner's own review and obtain a separate truthful attestation before POST; never tick it for the human or treat generic consent as proof the owner personally read the proposal.** A generic `PASS` or a validator checking syntax does not establish that the owner saw the template, agreed with its requirements, or personally read the proposal. First-party GitHub form configuration `title` is an advisory prefill, not by itself a mandatory prefix.
- **Approval-preview change control:** Keep the same original `issue.md` / `roadmap.md` case identity. If the external draft, destination, chosen channel, template requirements, required checkboxes or proposed title/body changes after preview or consent, re-run source/native-form/dedup/payload checks and **present the revised complete body and comparison for renewed exact current-conversation approval**. Before any approved POST, re-read live first-party source/template and compare the exact outbound title/body hashes with what the owner approved. A commit-pinned template link documents the observed requirements; it does not replace the final live-readback. If the verified first-party repository has **no native Issue template**, explicitly show that verified absence, first-party evidence that a blank Issue is permitted, and that there are no repository-defined mandatory form fields; do not fabricate a form. If native template requirements, the absence of a template/blank-Issue permission, or Discussion category/rules cannot be verified, report `PUBLICATION_BLOCKED_NATIVE_TEMPLATE_UNVERIFIED`; do not guess what the maintainer accepts.
- **Owner-directed nonmaterial original HEAD drift (Roadmap original Issue only):** Source-only drift requires re-review, not necessarily a new text approval. Keep automated validators fail-closed on any changed pin. After an exact full-body approval and explicit owner direction to permit nonmaterial drift for this specific action, a manual owner-directed publication may retain the original approved bytes and dated source observation only if the executor verifies the full old-to-new commit range/path inventory and relevant diffs, concludes the architectural claim, authority/feedback boundary and cited evidence are unaffected, verifies unchanged committed case, title/body hashes, native template/config, contributor rights, target and bounded history/duplicate/feedback results, and reruns the destination preflight against the actual new HEAD immediately before POST. Preserve both SHAs, comparison, checked evidence, limitations, original approval-time PASS and current strict failure in the same case's publication receipt/event; never report the strict gate as PASS or rewrite approved body pins. A new HEAD after this review requires another relevance check. Unknown/incomplete or material changes, changed text/template/target/rights/feedback, PAUSE/STOP or any other failure require normal reconciliation and renewed exact approval. This is not blanket or agent self-publication authority; an operator cannot silently override the validator. See [manual drift review](docs/PUBLICATION_HISTORY.md#owner-directed-nonmaterial-source-drift).
- **Before POST and afterward:** Re-run against the same exact title/body bytes that will be sent to GitHub; record title/body SHA-256 and compare to those explicitly approved. Material edits or destination changes require renewed current-conversation approval. Read back GitHub's actual title/body after an approved POST and reconcile the exact content/hash; keep the fork-local publication receipt. A PASS never authorizes publication.
- **Decision independence:** A prospective function-specific constructor with `GO / NEEDS_EVIDENCE` needs architectural C sufficiency, lawful rights and falsifiable source-native behavior, **not proven market demand or preexisting maintainer interest**. Maintainer adoption, human S3–S5 governance, product priorities and implementation remain separate decisions. AI researches, reconciles native overlap, prepares the proposal and gives recommendations; the owner decides whether to promote the architectural hypothesis. Do not import the Upgrade implementation material-delta gate into Roadmap publication preparation. No new score, metric, Index grade or compulsory product demand gate is introduced.

Expand Down Expand Up @@ -91,7 +92,7 @@ A nonzero exit, missing file/backlink, receipt drift, template field mismatch, e
3. Synchronize Human and AI companions in place. Run both case validators before committing the complete same case to the verified fork's opensiro/meta under its owner state. Read back the exact committed files and rerun both validators. Do not invent a new case or write a second registry. An already-current, verified case may be reused without a redundant commit.
4. Only then derive the native-facing draft, preserving the same case and decision. Store its exact outbound body in the case (original-issue-draft.md, original-discussion-draft.md or maintainer-comment-draft.md; deterministic Human rendering for a fork Issue). A preparation-only local draft is not a final proposal. Read back the final metadata HEAD and exact persisted draft; both case checks must still pass.
5. Use the [persisted-case history/approval procedure](docs/PUBLICATION_HISTORY.md#mandatory-persisted-roadmap-gate) before presenting the exact publication preview. The read-only gate verifies fork parent, live metadata and original refs, owner ACTIVE/ALLOW, committed canonical files, reconciled history digest and exact draft/title. For Issues, validate_public_issue_payload.py also rechecks the committed case against the exact history report; --draft-only is a local structural check only. If reconciliation, persistence, readback or evidence verification is incomplete, report ROADMAP_NOT_READY_FOR_EXTERNAL_PROPOSAL; resolve the blocker before requesting approval. A PASS is mechanical persistence evidence, not semantic equivalence, proof of novelty or permission to post.
6. Present the **immutable roadmap.md permalink, current metadata SHA, original HEAD, canonical target and decision, resolved native overlap and proposed user-visible delta (explicitly hypothetical where unvalidated), with promotion reserved to the owner**, exact destination/action and full outbound title/body (comment text for an existing Issue), native form/category and required human attestations. Obtain separate exact current-conversation approval. Re-run history and persistence/native/payload checks before POST; material evidence, case, source, target or text drift invalidates the preview. Preserve all existing consent, channel, history and authority restrictions.
6. Present the **immutable roadmap.md permalink, current metadata SHA, original HEAD, canonical target and decision, resolved native overlap and proposed user-visible delta (explicitly hypothetical where unvalidated), with promotion reserved to the owner**, exact destination/action and full outbound title/body (comment text for an existing Issue), native form/category and required human attestations. Obtain separate exact current-conversation approval. Re-run history and persistence/native/payload checks before POST; material evidence, case, source, target or text drift invalidates the preview; source-only nonmaterial drift follows the narrow owner-directed exception above. Preserve all existing consent, channel, history and authority restrictions.

The canonical reconciliation is kept in the same roadmap.md, not in a new ledger. Record the bounded history review digest with the source HEAD and exact action/destination/title SHA256, resolution and substantive source-linked rationale (see the procedure). The digest binds the reviewed evidence set but does not prove the rationale is true or complete. Never certify semantic overlap solely with a hash, title similarity or a validator PASS. Historic cases remain readable without this new preparation record; the gate applies only to new outward proposals/edits. No blanket migration, new research pass, Index regrade, product implementation, delegated publication right or additional mandatory public fork Issue follows.

Expand Down
6 changes: 5 additions & 1 deletion docs/PUBLICATION_HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ For original_issue_comment, use REUSE_EXISTING, the exact existing Issue URL, an
3. Run both case validators, commit the complete case on opensiro/meta, read back that exact commit and re-run both. Then derive the exact native-facing body and persist it in the same case: original-issue-draft.md, original-discussion-draft.md, or maintainer-comment-draft.md (body bytes only, without private approval instructions). A fork Issue is deterministic from the canonical Human issue.md; render its immutable links at the final metadata commit using --render-fork --draft-only, after canonical persistence. Local issue payload checks use --draft-only; the distinct LOCAL_DRAFT_PAYLOAD_PASS_NOT_APPROVAL_READY result is not usable for consent. Reuse a current case/draft without a redundant commit.
4. Run the same live candidate discovery again with the exact current --case-ref and --candidate-body-file. This validates the actual fork parent, ACTIVE/ALLOW state, current fork/source refs before/after readback, both canonical validators against committed files, unique reconciliation fields/digest, and exact committed outbound bytes (or deterministic fork rendering). No mutable local worktree can substitute for that commit. Require roadmap_gate.status = ROADMAP_PERSISTED_VERIFIED for the mechanical barrier and show its immutable roadmap_url, case_ref, source_head, target_transition, proposal_decision and review rationale outside the proposed body. The scoped review digest excludes the metadata HEAD/provenance links of the commit that records the review itself; the exact approval snapshot separately binds those pins, provider evidence, draft and canonical file hashes.
5. For Issues, run validate_public_issue_payload.py in its default approval mode with --case-dir, --repo, --case-ref, --source-head, --title-file, --body-file, and --history-report pointing to this live candidate report. It independently reads back the same committed files and rejects local differences, missing/stale history, source drift and payload drift. Native Markdown templates still require the existing --native-markdown-template-file flag. Discussion/comment paths use the same history persistence barrier and their separate verified channel/rules/target/complete-text review.
6. Before any separately approved POST rerun the live candidate scan with the same --case-ref and --previous-report pointing to the exact approval-time report. Repeat payload and native template/destination checks. Changed evidence, metadata, source, target or bytes invalidates the preview. Keep the current exact consent gate.
6. Before any separately approved POST rerun the live candidate scan with the same --case-ref and --previous-report pointing to the exact approval-time report. Repeat payload and native template/destination checks. Changed evidence, metadata, source, target or bytes invalidates the preview by default. Keep the current exact consent gate; the narrow manual source-only exception below requires explicit owner direction.

```bash
# Discovery (no committed body/pin required; do NOT treat this as approval)
Expand Down Expand Up @@ -75,6 +75,10 @@ For each candidate record: exact original and fork, stable case ID, target chann

The existing [exact external-publication gate](../PROTOCOL.md#external-publication-consent) and [native full-payload gate](../PROTOCOL.md#exact-public-github-issue-payload-gate--fork-and-original) remain mandatory, including verified first-party template, complete owner-visible final title/body, both human attestations where required, fresh source checks, and separate current-conversation approval. This script never grants S5 delegation, publication consent, product adoption, approval to reply, or a new Index grade.

## Owner-directed nonmaterial source drift

The automated recheck remains strict and reports CHANGED_OR_UNVERIFIED when the original HEAD changes. Do not relabel this as an unchanged fingerprint. For an original Roadmap Issue only, after exact approval and explicit owner direction for this action, retain the approved dated source observation and exact bytes if the complete source range is verified and relevant diffs establish nonmaterial drift. Compare all other evidence (case/ref, native searches, feedback and prior publications, archive, channel/template, legal and effective rights, exact hashes); run the native destination check at the actual new HEAD. Any other mismatch or uncertainty blocks the exception. Record the prior valid approval snapshot, new source pin, compare link and review rationale/limitations, strict failure and owner direction in the existing fork-local receipt/event, followed by independent provider readback. Never make the script's failure look like PASS, or treat this as standing autonomous publication authority. The source-specific review is not proof of global novelty or an automated semantic equivalence test.

## Known limitations and further acceptance work

The projection covers verified present fork-local case/event/receipt evidence, named archive ledgers and casebook fields, and bounded original Issue/PR/Discussion discovery. It does **not** replay all historical Git trees, discover every external publication under changed authors, exhaustively enumerate unlimited Discussion histories, or infer source-native semantic equivalence. Archived unmatched rows are candidates until provider readback verifies authorship. Therefore the overall historical completeness flag stays **false** even on an error-free selected-fork scan. GitHub REST/GraphQL limitations must be reflected in `coverage`, not silently turned into zero matches.
Expand Down
Loading