Skip to content

feat(btw): add opt-in conversation and work entry - #136

Merged
BegoniaHe merged 2 commits into
masterfrom
split/btw-entry
Sep 10, 2026
Merged

BegoniaHe merged 2 commits into
masterfrom
split/btw-entry

Conversation

@YUZHEthefool

@YUZHEthefool YUZHEthefool commented Sep 10, 2026

Copy link
Copy Markdown
Member

Summary

Add an explicitly enabled conversation entry over the existing Agent request executor. Disabled profiles keep the direct Agent path; enabling conversation does not select an automatic classifier.

Related issue

Related: #123
Parent: #122
Design: #28

Stack

  • Base: master.
  • Follow-up PRs: #137.

Behavior

Introduce opt-in conversation/work admission through the current Agent request path. Keep ordinary conversation usable and make the disabled path behaviorally equivalent to current master. Explicit work submission is supplied by B2; classifier experiments remain independent.

Non-goals

Automatic classifier selection, background execution, provider changes, and capability-assignment UI belong to their own slices.

Implementation notes

Base branch: master. This PR shows only this feature's changes relative to that dependency. The original prototype at 33ee103a62937db3e930c89ba47a648b75cc7772 is provenance; integration follows current master's owners and authorization contracts. The parent issue records review/integration order.

No new HTTP contract or dependency changes. Feature settings and behavior are documented in both languages.

Validation

78 focused entry/config tests passed initially. The CI metadata regression was fixed by placing BTW controls in the plugin_group metadata section; 6 configuration metadata tests passed, including a regression asserting that the converted enabled control is present.

Python checks used the existing Python 3.14.1 environment with python -m pytest and task-local --basetemp directories. Local Node was 24.11.1; CI must validate the pinned toolchain. Relevant scoped formatting and Markdown checks were run. The root tracker records the final combined validation. No live model evaluation is implied by deterministic tests or documentation checks.

Compatibility and risk

This is the admission slice. Work submission, detached delivery, and capability restrictions are separate dependent PRs. Existing admission and plugin-owned ProviderRequest behavior remain effective.

Checklist

  • A corresponding development Issue exists and this PR contains one feature or experiment.
  • Tests and bilingual documentation accompany the change, or missing experimental implementation is explicitly described.
  • Existing authorization, current APIs/configuration, Python 3.14+, and integrated documentation constraints are retained.
  • No dependencies, credentials, generated site output, or fork publication claims are introduced.
  • A human maintainer review and separate AI-assisted review have approved merging.

Repository references: AGENTS.md, GOVERNANCE.md, AI_POLICY.md, and the feat PR template.

Agent note

Codex prepared this PR at the user's request to split the original #28 implementation into reviewable features, with only classifier experiments marked as drafts. AI assisted extraction, current-path adaptation, tests, and English descriptions. The validation above was performed locally; remaining limitations are stated explicitly. This note is not a maintainer approval. No PR has been merged.

Extract the conversation admission boundary from PR #28 while keeping
automatic classifier selection separate.

Fixes #123
AI-Generated: true
Generated-At: 2026-09-10T15:27:20Z
Place BTW under the plugin group's metadata so conversion keeps its
controls and resolves the existing bilingual section keys.

AI-Generated: true
Generated-At: 2026-09-10T16:17:30Z
@YUZHEthefool YUZHEthefool linked an issue Sep 10, 2026 that may be closed by this pull request
7 tasks
@YUZHEthefool
YUZHEthefool added this pull request to stack #149 September 10, 2026 16:54
@BegoniaHe
BegoniaHe merged commit 906b123 into master Sep 10, 2026
26 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.

feat(btw): add opt-in conversation and work entry

2 participants