Skip to content

docs(specifications): remediate security-gate findings F-001..F-004 - #13

Merged
Xuepoo merged 1 commit into
mainfrom
ctx-0031/fix-security-gate-findings
Aug 25, 2026
Merged

Xuepoo merged 1 commit into
mainfrom
ctx-0031/fix-security-gate-findings

Conversation

@Xuepoo

@Xuepoo Xuepoo commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

Closes the remediation work order for security-gate findings from the CTX-0021 review. CarryCtx task: CTX-0031 (branch ctx-0031/fix-security-gate-findings, worktree .worktrees/ctx-0031-fix-security-gate-findings). All content remains PROPOSED/draft; scope confined to docs/specifications/**.

F-001 (BLOCKING) — queue overflow drop-policy contradiction

Reconciled by consolidation, not by picking a winner:

  • plugin-platform-rfc.md event-pipeline delivery rule 3 is now the single shared OPEN decision point for queue-overflow semantics, owned by OQ-013. It states both candidate policies with trade-offs:
    • drop-oldest: newest signals survive / converges with coalescing; sustained bursts lose burst history.
    • drop-newest: queued FIFO delivery stays intact; sustained flood starves the newest signals.
  • Common invariants hold under either candidate: drops counted per queue, attributed to the owning plugin, reported via bitty plugin doctor, never silent; sustained dropping feeds the OQ-014 enforcement work.
  • Added Open points item 9 cross-referencing this decision point.
  • isolation-resource-rfc.md: RC-5 row no longer asserts drop-newest — it defers to the shared decision point (drops counted/attributed under either candidate). AT-IR-007's then-clause follows the single decision point via a relative link (plugin-platform-rfc.md#delivery-ordering-batching-and-coalescing); its pass threshold remains valid under both candidates.

F-002 (NON-BLOCKING) — Consent row over-promised verified source

Grant lifecycle Consent row now records "the recorded source origin" and defers source verification strength to package integrity/provenance per OQ-022, with no authentication claim at consent time — consistent with the package lifecycle RFC rule that TOFU pins must not be presented as authentication.

F-003 (NON-BLOCKING) — internal task reference in published prose

Removed "(see CTX-0021 gate)" from the isolation/resource RFC Security review notes; prose is self-contained for website publication.

F-004 (NON-BLOCKING) — link escaping docs/

Performance budget RFC provenance bullet now links the in-docs documentation workflow instead of .carryctx/rules/documentation.md outside docs/.

Verification

All gates pass in the worktree:

  • just links — 76 files validated, no broken links
  • just metadata — flat frontmatter schema valid (no frontmatter changes)
  • just language — English-only enforced
  • just markdownlint — 0 issues in 76 files
  • just fmt + just fmt-check — Prettier clean

Commit passed the commitlint hook.

F-001: reconcile the queue-overflow drop-policy contradiction by making
the plugin platform RFC event-pipeline section the single shared OPEN
decision point under OQ-013, stating both candidate policies
(drop-oldest vs drop-newest) with trade-offs; isolation-resource RC-5
and AT-IR-007 now reference that decision point instead of asserting
drop-newest as settled. No winner selected; both remain PROPOSED.

F-002: reword the Grant lifecycle Consent row to record source origin
and defer source verification to package integrity/provenance per
OQ-022, with no authentication claim.

F-003: remove the internal task-gate reference from the isolation and
resource RFC security review notes so website-published prose is
self-contained.

F-004: replace the escaped-docs link to .carryctx/rules/documentation.md
in the performance budget RFC with a link to documentation-workflow.md.
@Xuepoo
Xuepoo merged commit 354b86c into main Aug 25, 2026
2 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