Skip to content
Merged
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

- **Native YAML form diagnostics (PATCH):** Distinguish invalid or unsupported source forms from verified template absence, check documented required YAML header keys and the supported field subset before recognizing explicit feature/change-request names, and report missing contributor-visible blank-route evidence without using an empty GraphQL template list as a fallback. For the narrow legacy about-for-description defect, verify the authenticated viewer's explicit blank-Issue permission, unrestricted issue-creation policy, source pin, absence of conflicting template/config evidence, and preserve the malformed source form's intent and mandatory fields. Unknown routes remain blocked; no external authority or version bump.

- **Existing-composition check (PATCH, 2026-12-02):** Make the existing native-alternative comparison explicit: determine whether the target function can already be composed without source changes, route conflicting evidence to Index re-review, and isolate only missing links. Motivated by [oi maintainer feedback](https://github.com/egoist/oi/issues/8#issuecomment-7319315786) and [Filament](https://github.com/invertibleMatrix/filament/issues/8#issuecomment-7332496078). No new stage, prototype or mandatory test run.

- **Unknown Roadmap target exclusion (PATCH, 2026-12-02):** Require accepted Index re-review before any Roadmap from `?`; exclude unknown target functions from selection and production case/publication preflight, without blocking resolved functions or rewriting historical records. Applies to explicit A/P experimental proposals as well.
Expand Down
2 changes: 2 additions & 0 deletions PROTOCOL.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ Read [docs/FORK_METADATA.md](docs/FORK_METADATA.md) for the initial JSON contrac
- **Native Markdown Feature Request section precedence:** When the original first-party template uses mandatory top-level Markdown `##` fields that conflict with the seven OpenSiro original-facing `##` sections, **do not bypass either schema**. Preserve exactly the provider's real `##` fields and fill each meaningfully. Put all seven OpenSiro original-facing evidence sections as ordered `###` subheadings **under the native `## Additional Context`**, without dropping the historical six-function evidence, target, scope or rights. Use `validate_public_issue_payload.py --kind original --native-markdown-template-file /path/to/verified/feature_request.md` for the exact text plus the first-party `preflight_publication_destination.py --kind original_issue` with title/body/source HEAD. This exception is only for verified native Markdown Issue templates whose actual headings are independently checked; YAML Issue Form originals retain the seven-`##` OpenSiro layout. A local template copy does **not** prove the current first-party file or authorize publication.
- **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.
- **Malformed or unsupported native forms:** Distinguish checked-in YAML from a verified effective route. Require the documented `name`, `description`, and `body` keys and supported native field requirements before accepting a recognized feature/change-request form; report unsupported/ambiguous schema evidence explicitly. GitHub GraphQL `issueTemplates` can omit YAML forms, so an empty result never licenses ignoring existing form files. Keep the existing verified template-free route unchanged. For the narrow known YAML defect (legacy `about` instead of required `description`), a blank-Issue fallback is permitted only with a unique, readable feature-form intent, all listed templates matching that defect with supported field layouts, no local chooser configuration or legacy templates, no visible owner-default community repository, current pinned original HEAD, and authenticated GitHub GraphQL evidence for the actual publisher: `hasIssuesEnabled=true`, `viewerCanCreateIssues=true`, `isBlankIssuesEnabled=true`, `issueCreationPolicy=ALL`, empty provider template list. The latter is not sufficient by itself. Retain the source form's required fields and human attestation rules, show that it is not a valid native provider form, preview the verified blank route and publisher, and repeat provider/source/payload checks before POST with the same publisher. Unknown/ambiguous forms or restrictions remain blocked. Do not POST to test availability or infer consent from a malformed form. [GitHub schema](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms) · [chooser rules](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository).

- **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.
- **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
Loading
Loading