Teacher-invoked Platform Bridge Push
Implementation design for build-plan D4 and ADR-0067. D4a is committed as 27ad3a88: the durable intent ledger and Xuexitong Survey draft creation and update. Read-only Work bank preparation is committed as 41b06a4c, the two-effect Work draft workflow as e36a378d, native Files preparation as b64a03bf, retained Survey Start as ced83fd8, retained Work publication as 45585680, retained native Pan upload as 9650c9d9, and retained upload Resources attachment as 6551de43 (2026-10-05). Plain workspace validation and the normal source hook passed; focused coordinator inspection found no unresolved actionable issue in attachment. Survey reissue and D4b iTest filling/publication/class-test Push remain subsequent slices. These are coordinator implementation choices, not additional maintainer policy.
A receipt before the next effect
Section titled “A receipt before the next effect”Push uses the existing Operations reserve → execute → finalize → abandon boundary. Each Execute invocation performs one non-idempotent provider effect, followed only by fixed read-only verification. Reserve commits both the Connection reservation and an effectStarted ledger step before dispatch. Finalize commits its verified receipt before any further effect is eligible. A GET that renames or saves an object is an effect; the HTTP verb does not determine safety.
There is no background execution, automatic retry, authentication-refresh replay, redirect following for writes, compensating deletion or hidden publication. A timeout, lost response, abort, malformed acknowledgement, failed readback or late local-finalization refusal leaves uncertainty. Even a crash before dispatch can conservatively leave uncertainty. Lease expiry, reconnect, revocation and erasure do not authorize repeating the request. A notSent result requires the actual closed preflight to establish zero effect dispatches; a generic exception after the marker is insufficient.
Reconciliation is an explicit read-only Operation. An exact retained acknowledgement plus independently verified target/content/settings can resolve an uncertain step. A title match, temporarily missing search result or incomplete inventory cannot prove either success or absence. Each result distinguishes acknowledged IDs from verified receipts. An unresolved step retains its target blocker indefinitely.
Private intent and stable target identity
Section titled “Private intent and stable target identity”Two server-only RLS tables hold intents and steps, without client grants or sync exposure. An intent captures the original actor/request key, stable authored-request fingerprint, exact Offering/binding/native source, owned Connection/session generation, immutable bounded server-compiled plan, monotonic version and phase. A step records its ordinal, closed effect kind, execution attempt, clocks, fixed outcome category and safe acknowledgement or verified receipt. Neither table stores credentials, arbitrary URLs/provider bodies, free-form errors or learner answers.
The logical target namespace is platform/deployment/course/class and native Survey/Questionnaire identity. Source year remains captured context, but the provider’s create request does not address a distinct object by year: changing that metadata cannot authorize another write to the same physical destination. The key also excludes actor, Connection, binding row, request key, content, settings and selected activity group. The exact remote-object namespace additionally identifies the activity. Sorted transaction target mutexes and partial unique active-target indexes prevent competing intents, including those from different teachers. Previews occupy no effect slot; executing, ready and uncertain intents do. A completed creation receipt prevents another create for the same native destination; updates use that exact receipt.
Live actor, Offering, binding, native and Connection references can be severed without deleting the immutable namespace or steps. Erasure therefore cannot reopen an uncertain target for duplicate writes. Another teacher receives a fixed blocked-target refusal, never the former actor’s private plan. Initial reconciliation remains original-actor-owned; it can deliberately select a current owned Connection and freshly prove exact read scope, without claiming that two sessions represent the same external principal. Administrative reassignment is outside this slice.
Every execution checks live teaching reach, the captured source/binding proof and the original owned Connection/session generation. Late finalize CAS or authority loss rolls back local success. Abandon can mark only the exact started execution uncertain, even after a live reference has disappeared. No transaction handle or database callback enters the provider adapter.
Survey draft source fidelity
Section titled “Survey draft source fidelity”The Push source picker is separate from Pull eligibility. It accepts institutional native Surveys in draft, open or closed state; the external result is always a draft. It accepts only static text/comment questionnaire definitions with their exact derived question index. Unsupported logic, display HTML/images, markup, custom completion content and unrepresented semantic settings refuse conversion.
Preview contains the exact emitted title, introduction, stems, requiredness, order and explicit provider settings. Survey description, Questionnaire instructions and distinct headings are retained; page/panel headings and descriptions are folded into descendant stems. Question descriptions and placeholders are retained. Text is not truncated or silently trimmed. Layout, navigation and text-input presentation omissions are visible. The full native/reference and export fingerprints include exported titles and all relevant settings; Pull’s title-excluding signature is unsuitable.
The actual source rendering locale follows the native definition and installed SurveyJS fallback behavior, with the verified learner default when absent. The portal/request locale is separate context and cannot silently choose another source translation. Preview and history show the captured source locale. Canonical derived-index checks retain their own established title fallback.
Application bounds are explicit rather than asserted provider limits: 100 questions, 500-character titles, 20,000-character description/stem fields, a 1 MiB compiled plan and 1,000 activity groups. Oversize input refuses rather than truncating. Credit supports finite decimals from zero through 1,000; manual duration is -1, otherwise a positive integer bounded to 366 days. Initial bank destination is the root folder "0"; unsupported folders or semantic settings are not silently reset.
Deliberate preview, mapping and execution
Section titled “Deliberate preview, mapping and execution”Five catalogue Operations cover local configuration, actor-local paged intent history, Preview, Execute and Reconcile. HTTP and MCP use the same definitions, permission checks and omitted audit payloads. Local reads never contact a provider. Preview makes only explicit bounded provider reads; each session-consuming phase retains the existing short reservation and 90-second remote bound.
First creation must not require an existing external Survey or artificial Pull attachment. The separate connections.addSurveyPushSession custody Operation takes an explicit mobilelearn paste and exact Offering binding, then probes the fixed course/class group context within 30 seconds. Success merges only the host-only scope, preserves primary cookies/account metadata and advances session generation. Failure preserves the entire old jar. This requires Connection-write authority separately from Push authority; subsequent previews must capture the new session generation.
Creation requires a teacher-selected activity group from a fresh fixed group-list read. An initial Preview without a group returns choices and refreshed Connection metadata without storing an intent or dispatching an effect. A second explicit Preview verifies the chosen group and stores the immutable plan. No first-group default or manually supplied target URL is accepted.
Update selects an exact verified Bridge-created intent/receipt and freshly proves that its activity is still the expected draft. Existing duration/settings and remote question identities are preserved. Shrink, reorder or substitution without the supported identity proof refuses. Publication is not part of Survey draft update, and a running/ended activity cannot be edited through a draft route.
The provider returns question IDs without a native-ID correlation token. Push must not infer a native question map from title or order, and creating a Pull attachment merely to acquire a map would freeze ordinary native editing. The existing Preview flow therefore supports explicit teacher-authored mapping independently of Pull: missing mapping returns fresh safe native/external question choices without an intent or effect; a second Preview validates the complete bijection and records it in the immutable Push plan. Existing imported/frozen Pull semantics remain protected. Ambiguous mappings retain the actual activity receipt and never cause recreation.
Reissue is visibly unavailable in D4a. The inspected copy route returns no object ID and its inventory exposes no proved completeness protocol. Lost create acknowledgements without an exact ID remain unresolved. Readable target access does not independently prove external self identity, ownership or provider write CAS; these limitations appear in preview rather than being inferred from cookies or course owners.
Survey publication remains a separate D4 action. D4a saves isSaveAct=1 and verifies an
unstarted draft; it does not publish. The teaching source proves a distinct GET effect,
/v2/apis/active/startActive, addressing the exact retained activity/course/class and Survey
type 14. A bounded initial Start can preserve the reviewed relative/manual duration; the CLI’s
absolute-deadline flow changes duration and then starts, which are two effects. Its positive
start acknowledgement is separate from independent started-state/settings observations. Neither
Start nor copy can be silently chained after draft creation. Reissue’s positive copy-request
acknowledgement supplies no new activity ID and cannot authorize title adoption or automatic Start.
Survey Start is accepted at ced83fd8 (2026-10-04), separately from accepted draft Push.
The Start profile preserves the last verified stored settings and manual -1 or positive
relative duration up to 29 days, an initial application profile rather than a provider limit.
Latest verified draft intent/version/step and receipt/native/export fingerprints are captured
separately from the original creation version; a later update invalidates an older Start preview.
One marked Execute records the exact known-ID request acknowledgement without automatic lifecycle
readback. A later deliberate Reconcile may record running/ended metadata, actual provider start
and a computed scheduled deadline; arithmetic is not an observed actual end. Observation after
content drift requires current same-source identity, Offering/Binding and owned Connection reach
and never re-enables an effect. Only proven zero-dispatch refusal may be explicitly reprepared
to previewed for a later deliberate Execute. Completed/uncertain Start retains its target blocker.
Local history remains readable under current Offering teaching reach after a Binding/source
reference is severed; a personal Offering reports a closed unavailable capability instead of
an initial configuration error. Effects retain the released Survey eligibility rule, which
excludes personal Offerings without adding an organization-only restriction.
The native Survey lifecycle remains independent: no new delivery gate, status/window write,
Pull attachment or inferred question mapping is a prerequisite for this exact retained-ID Start.
Subsequent provider slices
Section titled “Subsequent provider slices”Work selected-bank preparation
Section titled “Work selected-bank preparation”The v1 Work source follows the teaching CLI: a teacher selects existing bank parent questions.
bridge.inspectWorkBankSelection exposes the concrete read-only preparation through HTTP/MCP,
using the explicit Offering/binding and owned Connection with version checks. It retains the
existing active-teacher reach rule, including explicit grants on personal Offerings. Reserve and
finalize repeat authority/binding checks around the bounded remote read; custody completion uses
the existing CAS and isolated primary-host cookie merge. Failed preparation preserves the prior jar.
The only provider routes are course-list GET and the source-known qbank/search POST. The reader
observes every selected parent ID in authored order, including beyond the CLI’s nineteen-page
shortcut. Application bounds are 100 selected parents, 100 pages of 50 rows, 2 MiB per reply,
8 MiB aggregate, 90 seconds overall and 30 seconds per request. Null/malformed replies, repeated
identities, missing descriptors, observed scope mismatch and exhausted bounds refuse. No type
descriptor, child ID or maximum is fabricated; lossless lexical IDs include hexadecimal parents
and large numeric metadata. Zero observed marks remain visible metadata, not graded eligibility.
The response contains safe parent labels, actual type/custom-type/maxima and a fingerprint of the
observed parent content string. It omits raw replies, answers, children, CPI, authors and credentials;
audit payloads are omitted. selectedIdsObserved establishes positive selected-object observations,
not complete global inventory or absence. The class is authored binding context, not a separately
verified provider class/ownership claim. This fingerprint covers neither child/options/scoring
parity nor a complete remote draft. The teaching notes record that unpublished Work editors load
bank questions live and reflect bank edits.
This Operation creates no native Definition/Item or Push intent and dispatches no provider effect.
It supplies the existing-bank input lane; a QTI equivalence export remains a separate possible lane.
The draft implementation explicitly models acknowledged creation/save in the ledger:
an exact returned workLibraryId and positive status are different evidence from independently
verified copied content. Current public Work scripts interpret positive choose/save status, while
unknown replies remain uncertain. Full library enumeration is unnecessary for exact fresh receipts;
lost-response title adoption remains unavailable. Publication still needs its own effect, exact
taskId/workId/workLibraryId attachment and native-delivery fence.
Work draft implementation contract (2026-10-04, accepted at e36a378d)
Section titled “Work draft implementation contract (2026-10-04, accepted at e36a378d)”The existing-bank draft lane uses five separate Work Operations for configuration, history,
Preview, Execute and Reconcile. Survey DTOs and independently verified Survey receipts retain
their current semantics. Work steps instead record an explicit acknowledged state and a
separate acknowledgement receipt. Choose and draft save require two deliberate Execute calls;
the portal never chains them under one click.
Select an existing same-Offering aggregate Assessment Definition through the ordinary assessment authoring surface. Its exact title and declared maximum are the source; this lane has no separate title override and creates no Items, Item Versions or Attempts. Draft and published Definitions are eligible only with an empty structure, a positive supported maximum, no Attempts, no Observation declaration and no existing Pull counterpart. Preview compares the ordered observed bank-parent maxima with the native maximum at its four-decimal boundary, without floating-point summation drift or silent rounding. Title length is an application budget of 42 UTF-16 units, informed by an observed successful 42-character request and unsuccessful 52-character request, not a claimed universal provider limit. Unsupported title transformations refuse.
Successful Preview finalization atomically disables native delivery under server authority and captures the resulting native fingerprint before recording the immutable intent. Preview sends no provider effect. Execution repeats native, authority, binding and custody checks; a later native edit cannot silently change the previewed draft. Native delivery is not automatically restored after an uncertain effect. Creation/save still create no published Pull counterpart.
Before each effect, the source freshly compares the exact ordered selected bank parents and
their safe fingerprints. Choose sends only the four observed question descriptors, the exact
native title and the supported fixed root-folder/custom-marks settings. A strict positive
boolean status plus its exact returned 32-hex workLibraryId commits the creation
acknowledgement before Save is eligible. Save uses that durable ID, freshly requires the editor
question check to return numeric 1 or exact string "1", and sends workStatus=0 only. Other
check results prove zero Save dispatches. Save acknowledgement also requires positive boolean
status; other truthy representations are conservatively uncertain because their types are
unproved. Neither acknowledgement proves copied content, child scoring or saved grading parity.
Read-only reconciliation cannot resolve an uncertain effect for this evidence profile. An exact-ID question check can be retained as an observation, but cannot establish whether a lost choose/save reply represented success. Lost creation without a positive exact ID cannot be adopted by title; lost Save retains the acknowledged creation receipt and blocks replay. Stable target blockers survive reconnect, revocation and deletion of live references.
An acknowledged creation that is still ready for its first Save has a separate recovery case. After session expiry/reconnect, explicit Reconcile can select a current owned Connection and freshly re-establish both the unchanged bank selection and the exact retained draft’s question check. Only this ready, unattempted Save can regain eligibility under the new session generation; Save still needs a later deliberate click. This re-establishes read scope rather than claiming independent principal equality or resolving an uncertain write. Authority, binding and native proof must still match, and erased references cannot be restored through reconciliation.
The same explicit preparation can recover a Save whose closed preflight proved zero effect dispatches. Its retained creation acknowledgement authorizes only that exact draft, and a later deliberate attempt can replace only the refused, no-effect Save marker. A started, uncertain or acknowledged Save marker can never be replaced this way. This prevents a temporary read outage from forcing either a duplicate creation or a permanently unusable draft.
Publication is a third deliberate action with the existing AV profile, exact retained
class/template and future deadline. Accepted implementation 45585680
(2026-10-04) requires distinct
workLibraryId, workId and taskId evidence. The first-hand positive publish response
supplies the exact class-copy workId and taskId, so a bounded request acknowledgement
need not adopt an ID from a listing. The retained library supplies the third identity.
Publication requires deliberate native publication first, then a new full current native
capture preserving exact retained ID/title/four-decimal maximum/empty structure/selection.
The original draft hash cannot establish a historical per-column diff. The preview captures
an absolute source-page window start and an authored Beijing deadline; a later changing
source default cannot silently replace that reviewed start. No immediate-start guarantee
is inferred. Reconcile records observations or unresolved results only; a proven
zero-dispatch refusal or unused stale preview requires a new preview/key and full review.
ACK-based observations retain live identity/authority/binding/custody requirements after
later native edits or deliberate Pull attachment, without reusing effect eligibility.
Positively observed prior releases and durable local publication blockers still refuse;
complete external prior-release absence remains unproved and must be explicit in review.
The inspected Work library reader
proves title/count/marks, not full copied question content or grading mode; title-only recovery
after a lost create receipt stays unresolved until a stronger read contract is established.
Native file preparation (2026-10-04, accepted at b64a03bf)
Section titled “Native file preparation (2026-10-04, accepted at b64a03bf)”Before the provider Files workflow, two independent local Operations expose entitled native
sources and explicit byte preparation: bridge.getFilePreparationConfiguration and
bridge.prepareFile. Both require current Offering teaching reach and separate Content reach;
they need no external Binding, Connection or custody reservation. Configuration reads metadata
only. Preparation reads the exact selected native object outside the database transaction, then
rechecks authority, placement, Content and artifact fingerprints before returning any proof.
It creates no intent, provider effect or native-delivery gate change.
The first profile supports processed single-object pass-through image/audio/video artifacts
from the actual institutional media-upload and personal personal-media-upload producers.
Bundles, members, reference Content and unsupported roles remain explicit unavailable choices.
Ordinary PDF/EPUB runtime artifacts currently carry a generic bundle MIME; they stay unsupported
until their file metadata is faithfully resolved. Selection uses exact Content/artifact/placement
UUIDs; the caller supplies no storage key, URL, path, bytes, filename or MIME override. Missing
artifacts have no invented selectable UUID.
The export filename derives explicitly from the exact native Content title plus a closed MIME extension; it is not a claim about the original uploaded filename. Unsafe names refuse without truncation or normalization. MIME is declared artifact metadata, not independently sniffed. Preparation measures the same byte buffer’s size and SHA256, compares the declared single-object size and any artifact digest, and distinguishes a matching digest from an unavailable digest. No Import/archive hash or alternate object substitutes for the selected artifact. Proof returns neither bytes nor storage references and certifies no provider readiness or copied content.
Application ceilings are 500 catalogue choices, 50 MiB actual file bytes, 255 filename UTF-16 units and a 90-second invocation; none is a provider limit. The object-store adapter uses the installed SDK’s signal-aware stream for bounded reads, cancelling oversized/interrupted bodies. Existing callers retain their buffered read behavior. Failure and late native/authority changes discard preparation rather than reporting success or performing an automatic fallback/read.
Subsequent provider file workflow
Section titled “Subsequent provider file workflow”Standalone Pan session preparation is committed as ee81c251 (2026-10-04).
Plain workspace validation, the normal source hook and both independent reviews passed.
The explicit connections.addPanPushSession requires current Offering teaching reach
(including personal Offerings) and an owned already-connected xuexitong/chaoxing Connection.
Input uses exact Connection expectedVersion and a transient literal Cookie/browser-cURL
paste. No Binding, native file or UID is required. Input/output audit payloads are omitted.
Only the fixed Pan host token probe is sent, using fresh Secure host-only cookies. The
supported positive reply requires boolean result: true and a bounded nonempty token,
which is consumed and discarded. Application bounds are 30 seconds, 1 MiB streamed reply,
8,192 token UTF-16 units and 65,536 paste characters. Domain cookies, redirects and invalid
scope rotations refuse; this does not broaden the primary deployment’s cookie allowlist.
Initial and final locked authority/custody checks surround I/O. On success, only exact
host-only Pan rows are replaced in encrypted combined custody; primary/mobile/Survey and
other scopes, account metadata and primary verification time remain unchanged. Generation
and version advance once through existing session replacement. Failure preserves old sealed
custody and abandons only its own reservation. The safe result contains actual updated
Connection metadata, probe observation time and probeOnly, with no token or account claim.
The separate portal panel reads local owned metadata on mount and requires deliberate preparation. Its credential modal clears state and live DOM before authentication/dispatch and at cancellation/context/offline boundaries. A lost response cannot become confirmed Pan preparation merely because generic Connection metadata advances. Earlier confirmed evidence retains its captured attribution; subsequent preparation requires fresh paste and click. This introduces no schema/migration, upload, Resources navigation or readiness guarantee.
File upload to Pan and attachment to course Resources are separate effects. Each uses the exact entitled Content bytes and durable upload receipt. Repeating identical bytes can create a second directory entry, so content-addressed object identity is not upload idempotency. Pan search can lag and lacks parent identity; Resources rows lack independent byte-size evidence. These limitations constrain verification and reconciliation. Pan host access requires explicit narrow session preparation, preserving existing scopes on failure.
The initial proposed namespace is the course Resources workflow: deployment, physical course,
exact Resources folder and native Content/artifact/member identity. It excludes actor, Connection,
Binding, class/year, title and byte hash, and survives erased live references. It prevents repeated
upload for that workflow, without claiming global Pan-root deduplication across distinct workflows.
Pan root is literal 0; the actual provider-returned renamed filename must be reviewed before
separate attachment. Addressing _uid/puid and the Pan token remain transient, with no inferred
external self-account identity. Authenticated co-pilot capture now proves the browser entry
through mooc1.chaoxing.com/course/isNewCourse, same-origin
/mooc-ans/mycourse/teachercourse, then the exact primary-host
/mooc2-ans/mycourse/tch and Resources path. Original course/class/CPI echoes agree.
The browser entry differs from the teaching CLI route and mooc1 remains outside current
Connection scope; this capture does not silently broaden custody or expose a file capability.
D4b iTest uses the same ledger, with exact returned paper/node IDs and separately proved class-test receipts. Institutional bank IDs, creator fields and listing visibility are not substituted for authenticated self-ownership. No arbitrary existing-paper edit or unsupported question-bank creation is implied.
Standalone iTest template inspection is committed as a141c8eb (2026-10-04).
Plain workspace validation, the normal source hook and both independent reviews passed.
One explicit bridge.inspectITestPaperTemplates checks current Offering teaching reach and
an owned usable iTest/yxnu Connection, then reads the source-known published-template
catalogues under custody reserve/read/finalize CAS. It needs no class Binding, native
Definition, gate, authored year, paper filing form or Push intent. Local mounting reads
owned Connection metadata only; remote inspection requires a teacher click.
The complete act0/1/2 scan follows advertised totals and validates optional page metadata; short pages cannot establish completion. Consistent cross-tab identities merge their scope provenance, while contradictory/repeated/incomplete pages refuse. Safe published choices retain lexical IDs, titles, share status, exact hundredths/four-place maxima and metadata fingerprints, including zero maxima. Completeness concerns these three bounded scans, not an atomic provider snapshot, authenticated self identity or question/content equivalence. Application ceilings are 10,000 aggregate scanned rows, 100 pages/tab, 2 MiB/reply, 16 MiB total reads and 90 seconds overall/30 seconds per request. Local search and 50-row paging display the complete captured result without more provider reads.
Authenticated co-pilot inspection on 2026-10-04 resolved the missing filing initializer:
the new-paper controls belong to mypaperSaveForm, and the bank select is populated by
renderSel using array entries with value and text. The teacher-built bank entry is 10001. Search and copy controls are separate scopes. The form’s sharing default is public;
future private creation must explicitly request the supported private value. This evidence
supports subsequent implementation; no paper creation or publication was performed.
Standalone own-paper/class-test inspection is committed as b4c56e89 (2026-10-04),
with plain workspace validation, the normal source hook and both independent reviews passed.
bridge.inspectITestClassTestSources needs current Offering teaching reach and an
owned connected iTest/yxnu Connection, with initial and final custody checks. It reads
complete own act0 paper and teacher-scoped class-test inventories, preserving distinct
paper/template/test IDs, literal score text, nullable metadata and safe fingerprints.
Authenticated capture returned nine papers on one page and eight tests over pages of
five and three despite requested pageSize 100. Completion therefore follows advertised
totals and page metadata rather than short pages. Both arrays succeed together or neither
is returned; application bounds match the template inspection’s row/page/byte/time limits,
with at most 1000 class IDs per test and 100000 expanded class references in total.
This read introduces no Binding, native gate, effect ledger or schema/migration change. Counts and publication metadata do not prove native question/mark equivalence or assignment authority. Mutable pages and the two separate scans are not an atomic provider snapshot; hashes are metadata observations, not provider CAS tokens. Fresh paper creation/filling/publication and class-test creation receipts remain separate slices.
Fresh empty private iTest paper creation
Section titled “Fresh empty private iTest paper creation”Implemented as f3aadb43, this scoped workflow uses an existing same-Offering draft or published aggregate
Definition with exactly {} structure, positive lossless four-place maximum, no Attempts,
Observation assessment or Pull counterpart. Current teaching reach includes personal Offerings.
No class Binding is required. The teacher explicitly chooses an owned connected iTest/yxnu
Connection, authors year1900–2100 and selects an existing published template. Its integer
hundredths maximum must equal the native maximum exactly; this proves no question equivalence.
Local configuration/history perform no provider I/O. First explicit Preview discovers the complete supported published choices without an intent or native change. Selected Preview freshly validates the form, selected metadata and complete own-list title collision scope, then atomically persists an immutable intent and sets native delivery false. It preserves native state/version, captures the post-gate proof and explains this reservation before review. No native Publish or automatic gate restoration follows. Original pre-gate proof remains the authored request identity; custody-version churn and the gate’s own change do not break replay.
Creation validates the scoped new-paper form and separate template pane through inert DOM
and real JavaScript AST parsing. Captured renderSel literal arrays must agree and offer
filing10001; search/copy controls cannot substitute. The fixed request is blank ppId,
exact native title, selected tplId, genStyle0, shareStatus0, bankId10001, authored year,
dataFrom2001 and the note “Created as an empty private paper by Emergent; no items selected
or publication performed.” No native maximum field is invented. The internal ledger locale
is en; no translated title or authored source-language feature is added.
Form/template/own-paper supporting reads and the sole effect share90s,30s per request, 2MiB per reply,16MiB total and10,000 aggregate scanned rows, with100pages per scope. Execute rechecks current selected metadata/form and exact title conflicts. An unrelated new own paper does not invalidate the reviewed inventory fingerprint. These mutable preflight reads do not establish provider CAS, global uniqueness or external self identity.
One committed durable start marker precedes one fixed private-create POST. Numeric code1 and a positive exact lexical returned data ppId acknowledge the request; an existing preflight ID cannot be adopted as fresh. No retry, effect redirect or automatic readback. Recognized ACK survives later cookie bookkeeping, subject to genuine live native, authority, custody and attempt CAS. Proven zero-dispatch refusal requires a new Preview/key/full review; possible dispatch keeps a permanent logical native-target blocker, including completed history and erased references. Its key excludes actor, Connection, year, template, title and version. Only the returned ACK supplies the remote paper key; locks cover the full sorted key set before mutable rows. The action has one acknowledged-only step and no verified-content receipt.
Without ACK, explicit Reconcile is local unresolved with zero provider/jar/cookie work. With ACK, separate deliberate observation may read only the exact retained ID under the original Connection and generation. Normal cookie rotation is permitted; replacement cannot inherit continuation. Later native edits do not erase identity-scoped receipts. Observed nullable metadata, literal score/counts and independent title/template matches remain separate from acceptance; absence does not cancel ACK or justify another Create. Filling, publication, assignment and class-test receipts remain subsequent work.
Explicit Resources navigation session preparation
Section titled “Explicit Resources navigation session preparation”Committed as e4ce4264 (2026-10-04), this Files prerequisite adds one deliberate Connection-write preparation for
an existing Xuexitong/Chaoxing Offering Binding and owned connected Connection. Its strict
input captures Binding and Connection versions plus a transient explicit mooc1 Cookie or
supported browser cURL paste. Safe output is actual saved Connection metadata, observation
time and resourcesNavigationProbeOnly; it establishes selected-context navigation only.
Reserve and finalize repeat current teaching reach, exact Binding version and physical course/class context, and owned connected custody in Person→Offering→Binding→Connection order. Explicit success advances custody generation/version through the existing store, preserving primary verification metadata. Failure commits no partial cookie scope or rotation, and cleanup cannot displace an intervening custody attempt. No new schema, ledger, capability flag, grant, migration or broader normal deployment origin is needed.
The captured profile uses five fixed reads: fresh primary course-list CPI, mooc1 entry, same-host teacher entry, primary teacher page and separate primary root Resources. Only the two observed302 redirects are allowed manually. Exact origin/path/query literals, course/class/CPI agreement and unanimous DOM aliases guard each step; a different default class refuses rather than changing the Binding or rewriting a signed Location. Current teacher enc/openc/t remain transient and drive the subsequent Resources read.
Fresh mooc1 host-only paste and established primary custody use independent execution jars; the cross-host teacher hop switches jars rather than forwarding cookies. New-host Domain cookies refuse before insertion; primary rotations retain the existing approved profile. Atomic merge replaces only mooc1 plus independently valid primary rows, preserving mobile, Pan, passport and foreign scopes. All fetch/body/jar awaits share90s total, 30s per request,2MiB per reply and8MiB aggregate, with five reads and no retries.
The teacher panel uses existing complete local configuration and explicit unselected Binding/Connection choices. Secrets clear from form state and live/detached DOM before auth/dispatch and on invalid/cancel/context changes. A dated confirmed receipt keeps its original attribution; generic Connection version advance cannot reconstruct a lost probe reply. No mount/selection/refresh provider call, automatic retry, folder inventory, upload, attachment, authenticated ownership or write-readiness claim follows this preparation.
The separate cloud-drive browser capture is a cldisk query/header credential protocol. It does not broaden the released exact chaoxing cookie-only Pan profile. The user’s certification and Upload-dialog captures now expose its inline uploader, including optional signed-URL and sampled speed-create paths. Those variants do not block the maintained cookie uploader, which the user confirms works in no-hands use.
Retained native file upload to Pan root
Section titled “Retained native file upload to Pan root”Committed as 9650c9d9; plain workspace validation and the normal source hook passed. One
exact entitled native single-object image/audio/video is uploaded
to Pan root 0, with a retained intended Resources root or immediate child workflow.
Preview measures and validates current native bytes, destination and scoped custody;
a later explicit Upload performs one marked multipart POST. Attachment remains a
separate later action. No folder creation, speed/signed route, search adoption or
automatic replay belongs to this product slice.
The working yxnu client already establishes the fixed cookie-host token and upload
protocol. An additional user-authorized live test created one debug directory and
uploaded one 13-byte hello-world.txt; its actual ACK supplied a numeric 19-digit
resource ID, opaque object ID, returned filename and size: 13, with no filesize.
Both size aliases are supported and every observed value must agree with the
transmitted count. Exact numeric ID lexemes survive before Number conversion.
Provider evidence remains distinct from local measured bytes/SHA and future course
attachment. This small test does not establish media/50 MiB throughput or deployed
custody. The debug file remains; no course attachment occurred.
The upload uses the existing private ledger with one completed upload-ACK step, permanent workflow blockers after erasure, original Connection generation and current native/Binding/custody CAS. Local unresolved-only reconciliation makes no provider, object or jar request and never permits replay. Supporting reads retain 30-second bounds; the POST uses the remaining 90-second remote-work deadline so a known 45-second upload is not cut off at 30 seconds. These are application ceilings, not throughput promises. Both final reviews report zero unresolved findings and satisfactory previous fixes; focused proofs pass. Two additive migrations remain unapplied. Deployed custody and media/attachment acceptance remain separate.
A typed refusal proven to precede any upload may be finalized as notSent even
after native or Binding changes or erasure, under current teaching authority and
the original intent/execution and Connection generation/version/attempt CAS.
This permits a new Preview with a new request key, never another execution of the
old intent. Generic failures cannot establish zero dispatch. Acknowledged or
uncertain uploads retain every live finalization check; lost authority, custody
or final CAS leaves uncertainty.
Live native checks acquire Catalog before Content for erasure compatibility, but
direct Content deletion updates Catalog through its SET NULL reference. Content’s
shared lock therefore uses NOWAIT: a busy Content refuses safely before dispatch
instead of waiting in the opposite order. Known-unsent finalization updates only
retained phase/evidence and acquires no native/Binding parent lock; immutable plan,
workflow key, current authority and original intent/custody/step CAS remain required.
Controlled native tests do not establish physical competing-backend acceptance.
Attach a retained Pan upload to course Resources
Section titled “Attach a retained Pan upload to course Resources”Committed as 6551de43 (2026-10-05), with plain workspace validation and the normal
source hook passing. This separate action consumes an
exact completed upload receipt and its original course, class, folder and Connection
generation. A fresh Preview checks current authority and destination, then a later
explicit Attach sends one maintained addYunPan form request. It uses the provider’s
returned filename and the upload’s captured bytes; it neither downloads nor uploads again.
The existing private ledger retains the upload origin and one attachment step. An acknowledgement means the attachment request was accepted; the reply supplies no Resources row ID. A documented name collision is a provider decline after dispatch, distinct from a known preflight refusal. After manual resolution, a new Preview/key can be requested. Lost or unsupported replies remain uncertain and cannot authorize replay. Reconcile reads local retained status only.
Root 0 needs fresh validated navigation context, without imposing a directory inventory
as a universal prerequisite. Immediate-child attachment checks the exact intended
folder; unrelated root rows do not imply absence or remote CAS. Existing public
navigation/inspector profiles remain unchanged. No new credential scheme, automatic
readback, row adoption or live attachment is included in this development checkpoint.
Root Resources destination inspection
Section titled “Root Resources destination inspection”Committed as 20b41c36 (2026-10-04), this bounded Files slice adds deliberate bridge.inspectResourcesRootDestinations
under bridge.read. Existing local configuration supplies an exact Binding and owned
connected Connection, with both expected versions. It introduces no paste, native file,
arbitrary URL, destination path or effect selection. Input/output audit payloads are omitted.
Inspection freshly performs the existing five-read/two-redirect navigation using prepared mooc1 and independent primary views. The captured supported profile is a nonempty root with page1/total1, agreeing context/root/empty-parent echoes and footer count equal to all rendered rows. Positive lexical IDs remain exact and unique across all rows. Exact afolder rows require an explicit empty objectid and bounded unchanged name. The maintained source contract identifies other row types as file extensions; bounded extension rows contribute to the all-row count but expose no file metadata. Missing or unsupported row/context/footer grammar refuses instead of returning partial or fabricated empty success.
Safe results contain verified root0, immediate folder IDs/names, all-row count, observation time and a metadata hash, wrapped in original Offering/Binding attribution and actual saved Connection metadata. The hash includes physical course/class and sorted folder facts, excluding transient tokens, time, raw HTML, URLs and file objects. It is a local digest, not a provider CAS. Duplicate names remain distinct; names never identify a destination. Empty, multi-page and nested listings remain unsupported pending their specific evidence.
Reserve/finalize retain live reach, exact Binding version and physical context, connected owned custody and existing CAS. Normal cookie rotation advances version without replacing generation or primary verification metadata. Typed output validation stays inside the final transaction; refusal, abort and late conflicts persist no partial rotations. Application ceilings add1000 root rows,500 UTF16 name units and2MiB canonical snapshot bytes to the existing navigation budget. No schema, ledger, capability, migration or dependency is added.
The separate panel makes no additional mount or selection request, inspects only on a click, and searches/pages the complete captured result locally. Dated earlier evidence retains its original attribution after failed refreshes or later choices. Lost/stale replies are unconfirmed; retries require current local metadata and another deliberate click. Missing scope points to explicit Resources session preparation. Folder references prove neither ownership nor write permission, upload or attachment readiness; no row selects a provider effect in this slice.
Verification and acceptance
Section titled “Verification and acceptance”Required implementation proof covers the actual ledger/custody transactions, closed provider transport effect counts, HTTP/MCP and portal flows. It includes marker-before-dispatch, request-key deduplication, competing target claims, late CAS rollback, preserved uncertainty after erasure/reconnect, exact notSent, read-only reconciliation, source fidelity/drift, authored mapping and explicit preview/Execute controls. Native role and generated artifacts must retain the private-table boundary. Migrations are additive and remain unapplied.
Fictional fixtures do not establish live provider compatibility, deployed Vault/physical-reader privileges, independent multibackend scheduling or the unfinished password/captcha/browser-coexistence proof. Slice completion is recorded in the build plan after its actual review and validation gates; this design alone does not claim D4 complete.