Skip to content

feat: add traceable AI Discussions and IDD knowledge retrieval - #334

Merged
kiki830621 merged 5 commits into
mainfrom
codex/331-idd-discuss
Oct 7, 2026
Merged

kiki830621 merged 5 commits into
mainfrom
codex/331-idd-discuss

Conversation

@kiki830621

Copy link
Copy Markdown
Member

Selected AI conversations currently lose their decision history outside issue comments, and idd-ask cannot retrieve Discussions. This adds idd-discuss to draft or explicitly publish append-only snapshots with original-message provenance, stable source IDs and conservative retry reconciliation, and extends idd-ask to read bounded Discussion/comment/reply evidence alongside its existing issue backend.

The shared mention gate now uses maintained parser source ranges instead of delimiter/URL-prefix guesses. It rejects lossy NUL input and entity-obfuscated account characters, isolates body arguments, and preserves ambiguous contexts for scanning. Publisher newline/title handling and API response validation are also repaired.

Refs #331
Refs #332

Validation

  • 56 fixture suites pass, including publisher, reader, shared gate and source-boundary cases.
  • Independent GFM comparison: 3,696 combinations; entity tests include 252 encoded-account and 1,504 zero-length offset cases.
  • Six independent roles completed in Codex compatibility mode: five native Codex reviewer roles plus separately governed gpt-5.6-sol / xhigh. Claude subprocesses timed out; this is explicitly not the canonical five-Claude-plus-Codex ensemble.
  • Consolidated verification and limitations.
  • API smoke tests were read-only; publication behavior used offline fixtures.

Runtime and scope

Install the new shared-egress prerequisite with the same Python used by the helpers:

python3 -m pip install -r plugins/issue-driven-dev/scripts/requirements-egress.txt

Missing or incompatible parsers refuse egress. Ambiguous table/HTML contexts are conservatively scanned. The repository must have Discussions enabled and a category selected for actual publication; the feature does not enable it automatically. It does not promise AI correctness, complete cross-platform histories or distributed exactly-once delivery.

The preexisting argument-value parsing mismatch is tracked separately in #333 and is not reachable through the publisher's fixed argument shape. This PR does not claim to resolve that separate issue.

Merge and issue closure remain manual IDD steps.

Add append-only publication, shared egress validation, retry reconciliation and bounded Discussion/comment/reply retrieval. Keep AI suggestions distinct from user decisions and expose incomplete evidence. Independent cross-model verification remains in progress; this commit does not claim verified status.
Refs #332

Replace guessed Markdown and URL exemptions with maintained parser ranges, reject NUL before shell decoding, and isolate body arguments. Normalize rendered newlines, retain snapshot titles, and validate API identities before marking writes posted. Full regression: 56 suites with no failures; targeted independent reviews passed. Six-lens model verification remains in progress.
Refs #331

Track decoded entity characters and zero-length deletions after code/URL exemptions, without joining fragments. Final scoped verification passed in disclosed Codex compatibility mode: five independent native reviewers and a separately governed Codex model; canonical Claude coverage was unavailable. Existing argument-value parsing behavior is tracked independently in #333.
Refs #332

PR #334 is open for review. Verification mode and the preexisting #333 follow-up are recorded in the issue reports; merge and closure remain manual.
…1.0 → 3.2.0 (#331)

Version files take this branch's description re-prefixed v3.2.0 followed by main's; README keeps idd-discuss, the updated idd-ask row and main's idd-reorganize row, and gains v3.2.0 / v3.1.1 version rows; the CHANGELOG section moves above 3.1.1. Refs #331
@kiki830621
kiki830621 merged commit 7025332 into main Oct 7, 2026
1 check passed
@kiki830621
kiki830621 deleted the codex/331-idd-discuss branch October 9, 2026 10:30
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