Back to Cloud Sync

About Cloud Sync

Cloud Sync is designed as a paid web service that keeps selected SharePoint documents available in a separate Nextcloud environment, so employees can continue working during a SharePoint or broader Microsoft outage.

Managed service access

Only service administrators operate Cloud Sync. Customers receive no Cloud Sync login or invitation. Use a separate empty service data directory; existing installations are not converted or deleted. See CS-159 for responsibilities.

Customers and projects

Home opens Projects. One Customer selector governs both the list and New project. New project opens a customer-bound name dialog; Create project opens Connections.

Customers opens customer creation and management. Create customer records management access without creating a project. Additional administrators use Enable management; View projects navigates without granting access. Deletion requires stopped/recovered work and retains target documents.

Guided project phases (issues #47-53)

Create project > Define Microsoft 365 source > Define Nextcloud target > Select synchronization scope > Define target location > Synchronization. Back and Next stay above setup cards.

Check source, then target. Review scope after connection changes. Save changes and calculate scope before Next. Start sync checks afresh. Navigation never starts work or grants access.

Purpose and responsibilities

SharePoint remains authoritative. The service administrator chooses scope and mappings on behalf of the customer; the Nextcloud operator manages hosting, capacity and independent employee sign-in.

Customer management is recorded explicitly. Microsoft administrator consent remains required. A successful copy alone does not establish failover readiness.

Connections and scope

CS-169 offers Sites.Selected with site FullControl or tenant-wide SharePoint Sites.FullControl.All with Graph Sites.Read.All. Certificates and directory reads remain required. Credentials can write; source operations only read. Scope limits copying, not authority. Existing connections remain; switching requires revalidation. Preserve source exceptions. Source success cannot certify target access.

Name sorts fixed source names; Target folder name is editable. Reset restores names; View stats opens separately.

Scope edits autosave as drafts. Existing choices missing from the browsing cache remain visible as Saved selection; open their site to reload its hierarchy. Save changes and calculate scope validates the complete selection before Next. Cancel changes restores saved choices.

Last content change excludes visits, hidden lists, subsites and system changes; missing evidence stays explicit. Calc stats refreshes observations; unknown counts show a dash. Statistics never establish readiness.

New/reinitialized scopes use site Team folders with libraries beneath them. Optional grouping uses one physical Team folder. Existing projects require explicit reinitialization; copies never move automatically.

Choose and run a synchronization method

New runs automatically copy supported SharePoint metadata to MetaVox; failures block success. See CS-160. If MetaVox is unavailable, install and enable it on the Nextcloud server, then restart synchronization; if already enabled, check API compatibility.

Choose Mirror or Copy once through the two always-visible method choices. Choosing never starts work; active work/cleanup locks changes. The run log retains per-run details. Search opens filters; Export history downloads matching evidence. Supported settings are on Settings; there is no configurable debug mode.

Start copy runs once with fresh checks; only complete verification prepares failover. Conflicts and unrelated content remain. Stop copy drains work; failed cleanup offers Retry access cleanup. Start sync updates scope and source rights with technical-only access. Restart sync resumes; Sync now requests another round. Limits retain completed uploads. Partial runs never establish readiness.

Confirmed deletions require verification and applicable protected recovery. Failed/incomplete source reads preserve the target. Unchanged-file ACLs/effective access are not checked each round. Stop sync waits for work and required cleanup; idle stops need none merely because accounts/groups remain. Accepted commands are not verified outcomes.

Failover access

CS-109-118 prepares empty group pairs without employee access. CS-165 blocks new access on source exceptions or incomplete root evidence; path enforcement remains unfinished. Opening Failover grants nothing.

New archive groups use readable site names with numbered collisions. Saved bindings and unrelated groups remain untouched.

Opening Failover shows stored accounts and access. Only selecting Refresh accounts requests a fresh read. Pending work polls stored status; failed reads need explicit retry. Mapping and category edits autosave; activation waits for confirmed saving. Autosave grants no access. Read only reads/downloads; Read & write also creates, edits, moves and deletes within the archive, without sharing or administration.

Source-root effective rights suggest categories. USERS contains mappings and source/target searches; GROUPS shows mapped emails by category. Drag an email to choose its category. Show logging retains proposals, deviations, dated source exceptions and recorded action details. Deactivate shows observed group access. Activate failover confirms archive-wide consequences and queues the reviewed plan.

During failover, category changes affect actual managed membership. No access means neither managed group, not absence of other access. Replace account verifies old removals before new grants. Partial or interrupted commands require explicit retry or Revoke access; refresh never replays them. Fresh identity, ownership, drift and readback checks remain mandatory. Saved choices never replace target observations.

Revoke access verifies group rights off while retaining groups and memberships; the last revocation enters Recovery. Additional access remains separate and is never automatically removed. Direct shares, descendant effective access and employee sign-in are not fully verified. Complete Recovery and required technical-only checks before explicitly restarting sync.

Restore and restart

End failover verifies managed access off and captures the recovery checklist; failed capture permits retry. Restart sync without source writeback requires accepting replacement of target changes; protected copies remain.

Certificate sources block Restore to SharePoint. Source writeback requires separate authorization. The manual checklist is an attestation fallback; local tests do not certify live recovery.

Run results and inline audit

Everyone except external users resolves active internal users with scoped rights. Complete tenant-bound reads are required; unknown identities block. Source rights remain proposals. Synchronization activates no employee access; account mapping, chosen category and explicit failover remain mandatory.

Graph HTTP 404 diagnostics distinguish site, library/change-scan and user/group reads. Exact SHAREPOINT\system remains source evidence without employee mapping; other unresolved users block. Microsoft 365 owners resolve separately from members. A missing principal does not prove a wrong hostname. Screens/exports retain safe diagnostics without URLs, tokens or bodies. Failed reads preserve the successful baseline and never authorize deletion.

The run log shows confirmed changes and duration; per-run details retain processing, verification and available historical measurements. Exports are optional. Missing evidence is never invented.

Open Audit trail through the footer beside About Cloud Sync in a separate browser page. It shows commands and committed differences with actor, local time and version, with filters, pagination, complete matching exports and audit/run-log retention. Audit remains outside the wizard; worker outcomes stay in Sync/Run results.

Worker upload staging failures concern space, quota or permissions. Correct the cause before explicitly restarting; hosting requirements remain in design history.

Settings and project changes

Scope shows accepted choices and dated counts in a dimmed read-only Current scope card during synchronization. Drafts remain separate. Stop work and complete cleanup before Change scope; save/calculate, confirm scope and target with Next, then explicitly Start or Restart sync.

Choose allowed days/hours in the Mirror matrix, using project local time including summer/winter time. All selected means unrestricted; none selected waits. Minute-window conversion needs explicit review and confirmation (CS-164). Start and Sync now wait outside the window; closing retains unfinished work. In-flight requests, verification and cleanup may finish afterwards. Last fully successful synchronization shows copy age. Copy once, failover and recovery remain available. See CS-163.

Change settings opens an accessible dialog at the top right of work cards. Mirror/Copy once retain recovery/detail retention and transfer controls; Mirror also has scheduling/notifications. Recovery and Audit trail have their applicable retention controls. Connection/Scope use ordinary forms. Saves are automatic. During failover/recovery only recovery/audit retention may change.

Project offers Session reset (keep configuration), Project reset (keep connections), and Full reset (sole customer project only). All clear logs and progress after confirmation. Recheck and start. Ordinary edits preserve copies/history. Storage conflicts need operator review. Billing is a stub; pricing and limits remain undecided.

Consistent interaction

CS-133: Shared service pages show their title without a decorative service strapline. Development status and verification boundaries remain available in About Cloud Sync.

Cards contain inputs, actions and one inline status. Stored-status polling remains available during catalog maintenance without starting work. Long actions show observed stages/counts or waiting time; waiting never proves worker health.

Buttons issue commands; links navigate or download evidence; tabs navigate. Preserve accessible controls. No duplicate readiness blocks, extra approvals or report-generation steps.

Design history and detailed boundaries

Design history and detailed boundaries are retained below for traceability. Earlier screen layouts and labels may be superseded by later decisions. Use the current service guide above for present-day instructions; historical run evidence is unchanged.

Explicit replacement-storage review (2026-11-26)

Repeated Previous-session destination ownership conflicts fail before metadata processing; pending counters do not establish a metadata attempt. An explicit service-operator maintenance review can retire historical Team folder references only after stopped work, completed cleanup/recovery, exact project/session/revision and target binding, administrator identity and a complete management inventory proving old IDs absent. Current management and DAV root identities must match. Missing routes, limited reads and matching names alone are insufficient.

Reason: manually removed target folders can be recreated with different IDs while old sessions retain ownership. Preserve the original records in dated reconciliation evidence and archive only confirmed obsolete references in one audited local transaction. Current files, upload/metadata checkpoints, scope, connections, runs and historical reports remain unchanged. Operational/session exports retain the review. This maintenance helper is never called automatically by worker retries, performs no source/target writes and grants no access. Restart remains separately authorized and checks afresh; backend failures still require review. No conversion, movement or readiness claim is introduced.

Source authorization modes (CS-169, approved 2026-11-26)

CS-169 extends CS-166 with two explicit modes on the customer-shared source connection. Selected sites remains the default: Graph Sites.Selected, User.Read.All and GroupMember.Read.All; SharePoint Sites.Selected; administrator-managed FullControl grants for selected sites. Grants can be automated in bulk by a separately authorized administrator. All SharePoint sites uses Graph Sites.Read.All, User.Read.All and GroupMember.Read.All plus SharePoint Sites.FullControl.All; no individual site grants are needed. Graph Sites.FullControl.All is also accepted only in tenant-wide mode, but is not required for reads. Certificate authentication and a dedicated Cloud Sync application/key remain required. Graph and SharePoint consent are separate.

Reason: a customer with many sites needs workable onboarding without mandatory individual grants, while customers needing site boundaries retain Sites.Selected. Tenant-wide credentials can write, delete and manage all sites, including future sites. Cloud Sync source resource operations remain read-only and automatic source restore stays blocked. Synchronization scope limits processing, not credential authority. Discovery on the configured hostname never accepts new sites into scope. An optional address filter restricts discovery; clear it and select Reload sites for tenant discovery.

Existing projects retain their saved connections, scope, mappings, target files and history without conversion or reset. Changing mode is an explicit checked draft accepted with Next; stop all customer projects and finish cleanup/recovery first. Shared-connection changes invalidate current checks and require scope validation before an explicit restart. Switching the form never changes Microsoft consent or revokes broader rights; the Microsoft administrator must remove those rights before selecting Sites.Selected. Neither mode modifies grants automatically. New operational/session exports and connection-command audit show the selected authority; historical evidence is unchanged. Local protocol tests do not certify tenant-wide live source, target or failover compatibility.

Explicit project reset levels (CS-168, approved 2026-11-26)

CS-168 restores Session reset, Project reset and Full reset on Project, superseding CS-147 for these explicit actions. Session reset permanently clears old project run logs, audit, statistics and copy progress while retaining connections, source scope, target names, mappings and settings. Reason: an administrator must be able to restart an existing project after removing target copies without rebuilding its configuration. The baseline is rebuilt rather than reusing completed-item progress.

Project reset also clears scope, mappings, target grouping and project settings, retaining shared connections and the project name. Full reset additionally clears customer connections atomically and is allowed only for the customer?s sole project. Other projects, customers and customer-management identities are never deleted. Existing projects are supported through the explicit command without automatic layout conversion or movement of target copies.

All three actions require stopped work, completed checks and finished access cleanup/recovery, plus a current customer/project-bound session and revision and explicit confirmation. For Session reset, historical existing-account or deferred preparation for the same target can be checked read-only while retaining groups. Actual access obligations still block; no cleanup check may mutate target accounts, groups or content. They start a new session, reject stale forms, delete old project logging rather than hiding it, and record one new reset audit event. Protected recovery copies, target ownership and unresolved safety obligations are separate from disposable logging; resets neither delete target content nor assert that a missing target is safely absent.

Reset keeps no prior successful checks, calculations, readiness or synchronization approvals. Review and check the saved connections, validate retained scope and explicitly start synchronization. No reset starts work, grants access or changes the original migration command or historical migration report files. Current operational and session exports retain the selected reset level and actual history/baseline-clearing outcome. Legacy internal reset routes keep their previous compatibility behavior; the three visible choices use the new explicit reset command.

Certificate source connection form (CS-167, approved 2026-11-26)

The current setup commands share one bounded catalogue and project execution-lock policy, including saving scope, Back/Next and target-location confirmation. Their following page reads tolerate short catalogue contention. Scope and target-location Next save pending draft edits first and retain rejected or unconfirmed commands beside Next, without navigating or automatic replay. Successful navigation still requires the current saved calculation, draft, revision, session and connection checks; it never starts synchronization. A rejected Next preserves the saved calculation and current phase, so it does not itself require recalculation or a project reset. Background navigation refresh preserves a pending Next request and its rejection; delegated confirmation also handles replacement navigation forms.

Calculate all site stats tolerates short catalogue and project execution-lock contention before queuing. An unaccepted request stays on Select synchronization scope with one inline error beside its button; an explicit retry is required. Pending draft edits are saved first. The existing Working indicator remains quiet during queuing, and stored-status polling refreshes accepted background results. Persistent locks, active work, changed drafts and stale sessions still reject without changing scope or replaying the command.

Saved sites absent from the current site inventory remain inspectable, with distinct browser identities and an explicit Reload sites instruction instead of an idle loading label. When the site list and explicit addresses are empty, saved site paths are offered as address suggestions for review. Only selecting Reload sites saves and validates those addresses; suggestions never establish source access, change the accepted scope, convert a project or move target copies. Sites.Selected requires explicit site addresses because it cannot enumerate the tenant.

Opening a site hierarchy tolerates short catalogue and execution-lock contention before queuing its read-only discovery. A persistent lock still rejects the request without changing scope. When a retained statistics result has removed the hierarchy status element, the existing site statistics status shows the loading outcome and any rejection, with explicit Retry. Opening another site during an outstanding browser request shows an explicit waiting/retry message. A loading label alone is never evidence that a folder task was accepted.

After the successful Next redirect, opening a current scope draft is read-only and does not acquire the worker execution lock. A compatible older draft is still refreshed under its exclusive lock. Setup navigation tolerates short customer-catalog contention without bypassing authorization. This fixes the separately reproduced case where target acceptance succeeds but the following scope-page GET returns a busy error. Connection acceptance is not synchronization or failover certification.

CS-167: The source connection form has no Client secret field. Use Tenant ID, Client ID, SharePoint hostname and the certificate controls. Reason: the same registered certificate authenticates complete Graph and SharePoint source reads; a second visible credential is unnecessary and confusing. Existing encrypted credentials are retained for unchanged legacy connections, with no automatic deletion or project conversion. The separate migration command and internal legacy credential compatibility are unchanged. Changing application identity still requires a different certificate key and clears the previous secret when no replacement is supplied by a legacy client.

Next saves only the successfully checked draft. It now waits briefly for transient project or customer-catalog contention instead of immediately rejecting a short background lock. Each relevant acquisition is bounded to one second; persistent contention still returns a retryable rejection and retains the draft. Authorization, stopped-work, revision, session and candidate checks remain mandatory. No POST is automatically replayed, no lock is deleted and no stored success is copied. In the reported VPS case no queued project work or retained project lock was observed; this is not evidence that the rejected request had no transient contention.

Selected-site source authorization (CS-166, approved 2026-11-25)

CS-166 supersedes only the read-only credential requirement of CS-165. Both Mirror and Copy once use a separate Cloud Sync application with Microsoft Graph Sites.Selected, User.Read.All and GroupMember.Read.All, SharePoint Sites.Selected and a certificate. Grant FullControl only on explicitly selected sites. FullControl grants source write and management capability on those sites; Cloud Sync source resource operations remain read-only. Do not grant tenant-wide FullControl or reuse the archiving application. Employee rights and relevant exceptions must still be preserved; no content-only fallback or automatic project conversion is approved.

Reason: live app-only and delegated Read experiments could not retrieve the complete native rights required for synchronization. The user approved selected-site FullControl instead. Testsite and Demosite grants for the separate Cloud Sync app were changed from Read to FullControl and independently read back. Fresh certificate tokens retain only Sites.Selected on SharePoint and the documented Graph roles. Complete native source snapshots now match the reference on all five libraries and 489 current items. This is source evidence, not live Nextcloud or failover certification. Dedicated-key isolation and target exception enforcement remain separate release gates; customer connections, existing copies and historical reports are unchanged.

The service uses the selected-site native permission reader for scope analysis and synchronization. It binds app-only SharePoint tenant/client/resource claims, rejects tenant-wide or delegated authority, requires effective permission enumeration and management, and retains the conservative inventory-visibility guard. Incomplete ACLs and unsupported applied roles still block. Operational and session exports distinguish read-only source operations from selected-site FullControl credential authority. The isolated Read-only research readers and their historical evidence remain separate. No automatic source writeback is enabled.

Historical Read-only investigation (CS-165, superseded in part by CS-166)

Historical CS-165 requirement, superseded for credential authority by CS-166: Both Mirror and Copy once must require only read permissions on SharePoint. SharePoint user/group rights and relevant source exceptions must still be carried into the Nextcloud authorization model; a document-only implementation does not satisfy this requirement. Read-only application behavior with a write-capable credential does not satisfy this requirement. The user will redefine existing projects with Codex assistance; no automatic conversion, grant modification, target movement or reuse of previous readiness evidence is authorized.

Reason: a partner pilot must not require source write authority. Certificate-based Graph authentication and explicit site-address discovery are implemented locally. The service rejects Graph write or unrelated application roles and blocks resource writes through its source transport. The permission reader verifies read-only effective site authority before retaining the native complete ACL analysis. Implementation is pending for the complete Read-only permission adapter: native RoleAssignments returns HTTP 403 under ordinary Read grants. A content-only fallback, separately managed Nextcloud employee access or loss of source-rights replication is excluded from this task.

Bounded checks on 2026-11-25 verify certificate authentication, five library roots and 489 inventory entries using the separate Read app. No unique-permission items exist in that scope. Graph sharing responses can be caller-dependent and cannot certify complete employee ACLs from success or matching samples alone. Complete source authorization and failover guards remain. Do not deploy this partial implementation as a completed read-only solution. Subsequent stable Graph list/item ACL comparisons match native content grants plus site administrators for all five current roots and 489 items; controlled unique employee folder/file comparisons now pass on the isolated Testsite fixture, including a changed inheritance chain. These are bounded source observations. Existing source content and target were unchanged; only authorized synthetic source fixtures were created, changed and recycled; no live target authorization or exception handling has been certified.

A Read app can omit unpublished source items. Before complete permission discovery, library settings must rule out approval, minor versions, restricted draft visibility and per-user item visibility. Missing or restricted visibility evidence blocks processing; missing items must not be treated as confirmed deletions. This guard does not certify a complete Read-only ACL adapter.

A separate Graph list-permission component has local protocol tests and a live ten-object source snapshot with matching effective employee rights and selected-root boundaries. It is not integrated in the runtime factory. It accepts only a validated six-role catalogue with exact base masks. Custom, restricted, unknown or modified definitions block, including unused definitions because Graph labels do not reveal their application. Demosite has role types 8 and 255 and is blocked by this component. Live fixtures prove that System.LimitedEdit and ordinary Edit produce the same Graph write grant apart from inheritance, although only ordinary Edit includes deletion. The role labels cannot certify that distinction. A site-user administrator flag differs between Read and reference credentials and must not establish completeness. Controlled content, permission and deletion requests return HTTP 403 to the Read app and succeed with the reference on synthetic fixtures. Dedicated-key and complete source/target integration gates remain. The role profile is checked again before publishing a complete source snapshot.

Further controlled Demosite checks do not resolve the missing role detail: modern REST GetSharingInformation reports principal role 0 for all three restricted roles to the Read app, while the reference reports 7, 1 and 2. Explicit CSOM permission-level and custom-role requests return no applied levels; GetUserEffectivePermissions returns Read HTTP 403 and reference HTTP 200. These results rule out the tested alternatives for this application and configuration, not every possible Microsoft integration. The component cannot meet the complete TDMC / Mirror requirement.

A local worker/DAV regression also reproduced archive activation granting edit on a source read-only file exception. CS-165 requires preserving exceptions and supersedes the older CS-112 exception-flattening behavior for new grants. Archive activation, membership grants, account replacement and group-right enablement now block on captured exceptions or incomplete root evidence before changing target access. Revocation and unmapping remain available; no existing access is automatically removed or project converted. This is a safety block, not implemented path-exception enforcement. Screens, new command reviews and operational exports expose the blocker; historical evidence is not rewritten. Neither source equivalence nor target preservation has been validated end to end, so deployment remains withheld.

Different source principal structures are not necessarily different effective rights. A site root may express the same users and rights directly while a library retains its source groups. Such rows remain inspectable and do not block access only when comparison and membership evidence are complete and recomputed per-user rights equal the root proposals. Actual or unknown differences still block. The two-site isolation regression covers this distinction.

A separate audit user is not a validated Read-only replacement. A custom user role can separate permission enumeration from content/security writes, but application authorization, every unique scope and recurring user authorization remain independent requirements. SharePoint Online has no identical overriding Full Read web-application policy. The current service is app-only and rejects delegated scp claims or an explicit user idtyp even when allowed-looking role names are also present. An explicitly authorized AllSites.Read user-token control reads content on all five libraries but native assignments return REST 403 and CSOM access denied, despite independently verified full user authority and successful reference ACL reads. No restricted audit user was created. SharePoint Embedded permissions apply to its containers, not existing Team-site libraries; the documented Data Connect permission dataset is delayed by 48 hours and is not a current-round ACL source. Do not create an audit account as an assumed fix or advertise these routes as a proven pilot fix. Existing source/target grants, customer project configuration and historical reports remain unchanged; only the explicitly approved temporary test registration and user-specific consent were added.

A separate explicit interactive diagnostic is available for separately authorized delegated experiments. It pins tenant, client, immutable user and site, accepts only SharePoint AllSites.Read, compares native role IDs and base masks against independently reviewed expected cases, and uses GET without source writes or persistent token storage. It is not a service adapter. Even matching cases never certify a complete source snapshot, group expansion, denied writes, unattended renewal or Nextcloud integration. Its bounded privileged-user Read-scope control is complete and failed native ACL enumeration; it does not establish restricted-user, denied-write, renewal or target integration success.

SharePoint application privileges (updated 2026-11-25)

Use a separate application with administrator-consented Microsoft Graph Sites.Selected, User.Read.All and GroupMember.Read.All, SharePoint Sites.Selected, a registered certificate and an explicit FullControl grant on each selected site under CS-166. The certificate authenticates Graph and SharePoint. The source form has no Client secret field. Use a dedicated key registered only on the Cloud Sync app. Changing Tenant ID or Client ID requires a different key pair and clears the previous secret when the form omits it. Reissuing the same key is insufficient. Source checks establish authentication only; site access and complete employee permissions require scope validation.

Enter exact authorized HTTPS site addresses under Select scope > Reload sites. Sites.Selected does not require tenant-wide site enumeration. Site-address changes invalidate browsing evidence, leave accepted scope unchanged and record one before/after command. Current operational/session exports retain requested addresses and the source-operation/credential policy; they do not certify successful rights replication. Historical reports and existing connection configuration remain unchanged.

The current complete native reader uses the approved FullControl grants on selected sites. FullControl also grants write capability; read-only application behavior does not make the credential read-only. Graph Sites.Read.All permits tenant-wide content reads. Do not grant tenant-wide FullControl or expand selected sites without authorization. No credential is downgraded, project converted or permission analysis bypassed. A content-only implementation is excluded under CS-165. Automatic SharePoint restore is blocked for the certificate source; source writeback requires a separately authorized recovery procedure. Startup commands are unchanged; deployment remains conditional on complete validation.

Weekly hour matrix (CS-164, approved 2026-11-03)

CS-164: Mirror > Change settings uses a seven-day by 24-hour checkbox matrix instead of a free-text window field. Columns identify the starting hour; each cell authorizes that whole local hour in the selected project time zone. Select all hours means unrestricted; Clear all hours means no eligible Mirror rounds, with Waiting - no synchronization hours selected and no next check. Individual clicks and bulk changes autosave through the existing single inline save status. Opening the matrix never saves or starts work. The matrix supports keyboard arrows and Space, labelled day/hour controls and horizontal scrolling on narrow screens. Copy once omits this continuous schedule.

Existing whole-hour windows retain exactly the same effective times; an empty saved window shows every hour selected without saving a default. Existing minute windows remain effective until explicit conversion, as approved on 2026-11-03. Only partially allowed hours require conversion; effective whole-hour unions need no conversion. Partly allowed hours are marked and selected in an outward-rounded proposal. The administrator can adjust the proposal, then Apply whole-hour schedule shows the exact proposed days/hours and time zone and asks for confirmation, explaining potentially earlier starts or later stops. Cancelling or merely editing a proposal does not save it. Server validation binds conversion to the original saved window, exact proposed window and reviewed time zone; stale or missing confirmation is rejected. Normal synchronization permits editing; managed cleanup and failover/recovery guards remain.

Reason: selecting hours directly avoids confusing grey placeholder examples and typing schedule syntax. This supersedes the free-text presentation of CS-163, while preserving operation-boundary draining, resumability, source retry deadlines, local summer/winter time and explicit emergency operations. There is no automatic project conversion, movement of copies or historical rewrite. Audit trail retains one before/after event per committed save, including bulk edits and confirmed conversion. Run results and operational/session exports retain actual saved rules and dated pause evidence; the internal none value means no selected hours, while an empty value means unrestricted. Planned waiting never claims success or new readiness. Implementation: local matrix/autosave, server confirmation, existing-project, no-hours worker, export and information-alignment regressions; deployed browser/worker and live integration remain unverified. Startup commands are unchanged.

Weekly project synchronization windows (CS-163, approved 2026-11-03)

CS-163: Each project may restrict Mirror to weekly synchronization windows in an explicit IANA time zone, initially Europe/Amsterdam. For example Mon-Fri 22:00-06:00 and Sat-Sun all day. Multiple rules form a union; overnight rules continue into the next day, with inclusive starts and exclusive ends. Local summer/winter time applies: nonexistent minutes are skipped and repeated minutes are eligible in both occurrences. Empty windows mean unrestricted operation; existing projects remain unrestricted until explicitly configured, with no automatic conversion or historical rewrite.

Reason: concentrate routine synchronization outside working hours while retaining safe resumability and clear continuity evidence. Start sync, Restart sync and Sync now respect the windows; they never bypass the schedule. Opening a window permits one due round with fresh source checks, not a replay of every missed interval. The check interval still applies between rounds, and source retry deadlines remain authoritative. Closing prevents new file operations and retries at operation boundaries; in-flight work, necessary verification and access cleanup may finish afterwards. Remaining work and verified completed operations persist for the next eligible round. A deferred round is incomplete, never a successful synchronization or new failover readiness. Copy once, failover and recovery remain explicit operations outside this Mirror schedule.

Mirror > Change settings autosaves the time zone and one weekly rule per line. The existing inline status identifies waiting and the next allowed opportunity with its time zone, without a busy spinner or duplicate progress block. Last fully successful synchronization remains visible: planned waiting is not an integration error, but copies may become stale and the configured stale-success threshold still applies. One settings save records before/after choices under CS-034; current run results and operational/session exports retain the run settings, dated window rules at pause and incomplete/deferred outcomes. Window edits apply at the next operation boundary, while transfer settings retain their per-run snapshot. Historical migration reports remain unchanged. This refines CS-150 contextual settings and follows CS-093 truthful progress. Implementation: local scheduler, operation-boundary, DST, autosave, UI/export and shared-information regressions; deployed worker and live source/target behavior remain unverified. Startup commands are unchanged; deploy and restart the service and worker to use the change.

Explicit connection-only restart (CS-159 amendment, approved 2026-11-02)

Explicit connection-only restart is an optional offline VPS operator command for a previous customer-login installation. It retains saved Microsoft 365 connection settings, client secret, permission certificate and matching private key, and Nextcloud connection settings and app password. Customer names label new customer identities; a new service administrator is created. No old projects, scope, accounts, checks or run results are imported. Draft connections and target location settings are excluded. Fresh connection checks and scope selection are required; imported credentials are not current access or readiness evidence.

Reason: preserve registered authentication material while explicitly discarding the previous application setup. The command reads old databases without schema initialization, verifies customer binding and decryptability, prepares and verifies encrypted new storage, then preserves the complete original directory under a separate backup name before switching. Both services must be stopped; the protected environment file and encryption key are retained. Routine deployment never invokes this command and normal startup still rejects the previous model. Preparation failure leaves old data in place; failed switching attempts to restore it. No SharePoint or Nextcloud requests, target changes or grant cleanup are performed. Use distinct new target names; old grants, protected copies and unresolved operations require separate review before destination reuse. Historical reports remain in the backup unchanged.

Implementation: explicit connection-only restart command, VPS service-stop wrapper, fresh administrator/customer creation and secret-redacted connection audit commands under CS-034. Local tests cover exact credential/certificate preservation, rejected keys/bindings, excluded state, unchanged originals and switch rollback. Actual VPS recovery and live connection validity remain to be verified. Existing reports need no new fields: imported configuration has no inherited run evidence; new commands use the existing audit/export contract.

Retain saved scope while reloading source structure (approved 2026-11-02)

Changing an existing project scope retains its previously saved library roots and exclusions even when their SharePoint structure is missing from the browsing cache. The selection remains visible as Saved selection; opening its site reloads the hierarchy. New paths must come from loaded source structure. Draft autosave never treats retained choices as fresh discovery, accepted configuration or synchronization evidence.

Reason: opening another site must not make an existing selection impossible to save or reload. Before Save changes and calculate scope completes, every selected site and library is checked against current source inventory and missing hierarchy is loaded; removed or inaccessible selections still block complete validation. Accepted scope, target layout, mappings and historical reports are not converted or moved. Existing projects are supported for this editing correction without configuration conversion. Operational/session exports retain real discovery and dated calculation evidence, never synthetic retained-library observations. This follows CS-141/144 scope presentation and CS-034 command/result separation. Implemented with local authenticated draft, two-site browsing, missing-structure reload, unknown-path rejection, export and About alignment regressions; no live source or target writes were performed. Startup commands are unchanged; restart the deployed service and worker to use the correction.

Missing MetaVox installation guidance (approved 2026-11-02)

When the MetaVox field catalogue returns HTTP 404, the existing run details explain that MetaVox is unavailable on the Nextcloud server and instruct the administrator to install and enable MetaVox, then restart synchronization. If the app is already enabled, check that its version provides the required API. The message describes unavailable API evidence rather than claiming an installation inventory was performed.

Reason: a missing metadata dependency needs an actionable explanation instead of a raw endpoint failure. This refines CS-160 diagnostics only: metadata remains unverified, complete synchronization and new failover readiness remain blocked, and confirmed upload evidence is retained for resume. Access denials and missing individual document endpoints retain their separate errors. Existing run results and operational/session exports carry the same message; no duplicate status block, automatic installation, project conversion or historical report rewrite is introduced. Startup commands are unchanged. Local protocol, rendered run-detail, resume and About alignment regressions cover this boundary.

Start sync and brief worker lock contention (CS-162)

CS-162: Start sync and Restart sync wait up to two seconds for a briefly held project execution lock before accepting the command. After acquiring it, refresh shared connections and reject a changed project revision or session, then run the existing current-state and adapter checks. A persistent lock still blocks the start. Stop sync remains writable while the worker owns execution; other lock users retain immediate acquisition by default. The command is accepted once, without replaying an accepted HTTP request or target operation.

Reason: even an idle worker briefly owns execution for maintenance and stored-state checks. Immediate rejection made the first click fail while a second click succeeded. This is a correction to existing command handling, requested on 2026-11-02, with no new approval or readiness claim. Existing projects, saved configuration and historical evidence require no conversion. Existing inline Working feedback remains; no duplicate status block or new report action is added. Audit trail records the one accepted command and ordinary rejections under CS-034; run results and operational/session exports keep their existing command-versus-outcome evidence and need no new fields. Implementation: bounded thread and OS lock acquisition for the start route, fresh state guards, and local thread/process contention, persistent-lock, duplicate-command and stale-revision regressions. No installed-service concurrency certification is claimed; deployment and service restart are required to use the fix.

Target definition authorizes the destination (CS-161, approved 2026-11-02)

CS-161: The service administrator authorizes the Nextcloud destination through its target definition. Check connection tests the encrypted draft at that destination; Next saves the successfully checked definition. No separate host approval, server allowlist edit or restart is required to choose another HTTPS host. HTTPS on port 443, URL validation, fresh app-password entry when changing the URL or account, customer management authorization, connection checks, scope review and work/cleanup/recovery guards remain. A connection check establishes read evidence only, never synchronization success, employee access or failover readiness.

Reason: only service administrators operate Cloud Sync under CS-159, so a second destination grant in server configuration duplicates their target-definition decision. This applies to existing saved connections and new definitions, as approved on 2026-11-02. No configuration conversion, credential import, target movement or historical report rewrite is required. Legacy -AllowedTargetHosts, --allow-target and CLOUD_SYNC_ALLOWED_TARGETS settings remain accepted but no longer restrict destinations; the application trusted-host setting remains separate. Audit trail retains connection commands and committed differences with secrets redacted under CS-034; existing operational/session exports retain the actual target and check evidence without adding a second approval field. Implementation: shared target validation across drafts, saved checks and runtime adapters, inline connection help and local URL, authorization, draft, audit/export and About alignment regressions. Frogserver connectivity and synchronization have not been live-validated.

Automatic SharePoint metadata (CS-160)

CS-160: New Mirror and Copy once synchronizations automatically discover visible editable SharePoint custom document-library columns and Title, create source-bound MetaVox file fields, preserve unrelated field assignments and transfer document values with independent readback. No separate field-mapping or report-generation action is required. This supersedes the earlier custom-business-metadata exclusion (including the CS-003 scope clarification) and the inherited migration opt-in rule for this new service feature only. Existing installations and copies are excluded: no automatic conversion, metadata backfill or target movement is implemented.

Supported columns are plain text and multiline text, numbers and currency, yes/no, date/date-time, fixed choice/multiple choice and web/email URLs. Date-time values are normalized to UTC and stored without a timezone as required by MetaVox; date-only values retain the source date. Rich/append-only text, fill-in choices, people, lookups, taxonomy, calculated and other unsupported editable custom types block complete synchronization with an explicit explanation. Known reserved system columns, base system fields other than Title, hidden and read-only columns are excluded. Removed source-column definitions and unrelated target fields are retained rather than deleted automatically. Source identity, column identity and type/options are checked; conflicting target definitions are never silently changed. Library-specific field identities prevent same-name columns sharing a site Team folder from colliding; MetaVox labels include the selected site/library context so employees can distinguish them.

A missing value in a complete source fields response clears only the corresponding managed value; incomplete source/schema reads preserve existing target data and prevent target processing. Metadata-only source edits reuse verified file content when Graph supplies a matching content tag, with conditional DAV date updates and property/identity readback; without a trustworthy matching content tag the normal guarded content workflow applies. Metadata failures retain file-upload evidence, block complete success and prevent a new failover-ready plan. Later retries read back uncertain MetaVox values before writing; mutations have no transport retry. Uncertain date updates require matching readback or operator review. Source metadata is never written back during recovery.

Metadata processing uses a separate bounded pass under Max items, with cancellation checks and read-only transport retries. Subsequent rounds resume verified values without re-uploading completed documents. Unchanged metadata retains dated verified evidence and is not freshly checked for external metadata edits. Field assignment uses fresh comparison, merges unrelated IDs and verifies readback; the API replaces the whole assignment list without an atomic precondition, so concurrent external field administration must be avoided. Metadata outcomes and field mappings appear in existing run details and compatible operational/session exports; document values are not duplicated in reports, item details follow retention, automatic results stay outside CS-034 Audit trail and historical reports remain unchanged.

Reason: continuity copies must retain the business information that makes SharePoint documents meaningful, including Customers.Last_name and Customers.Company. Implementation: current shared synchronization adapter, source-column validation, source-bound MetaVox OCS definitions/assignments/value reads and writes, metadata-only content reuse, resumable evidence and local protocol/UI/export regressions. Read-only checks on 2026-11-02 confirmed HTTP/OCS 200 list responses for the installed MetaVox field catalogue and Team folder 63 assignments. No live metadata field, assignment or document was changed; successful live metadata synchronization and compatibility with every installation remain unverified. Startup commands are unchanged.

Remember the selected local installation (approved 2026-11-02)

The Windows launcher remembers the last explicitly chosen data directory in the ignored local .cloud-sync-launcher.json preference file. After starting with -DataDirectory service-data-operator, later starts use ./start-app.ps1 without repeating the directory. A new explicit choice replaces the saved choice. The launcher prints the resolved directory and never remembers -Initialize.

Reason: restarting must return to the installation the operator selected, including its saved accounts and credentials. With no saved choice, the existing service-data-projects default remains. A missing or unreadable saved choice stops with instructions to select -DataDirectory again; it never silently opens another installation. Paths must remain inside this repository. This changes launcher selection only: existing installations and schema guards are unchanged, no projects or credentials are converted or moved, and a separate worker still needs the matching --data argument. Reports and exports contain no launcher controls or preferences and need no changes; historical evidence remains unchanged.

Implementation: isolated PowerShell process tests cover remembered choices, overrides, paths with spaces, initialization, missing and corrupt preferences, and rejected paths. Local preference for the explicitly selected service-data-operator installation is retained outside Git.

Explicit SharePoint certificate reuse (approved 2026-11-02)

An existing SharePoint certificate and matching private key can be reused on explicit request after confirming the same source tenant, Entra application and hostname and validating the certificate pair. Keep the private key encrypted in the destination service store. This authorized credential reuse does not convert the previous installation or import its projects, copies, approvals or run evidence.

Reason: retain the already registered application certificate without requiring a replacement registration. Use the normal stopped-work and connection-change guards, record a redacted connection change, and obtain fresh read-only checks and content-date observations. Historical evidence is never proof for the new installation. For the explicitly requested local reuse on 2026-11-02, the valid previous pair was saved through guarded connection handling after a successful read-only site-date probe; the fresh read-only source check passed and all 11 discovered sites returned recorded content-change dates. This observation certifies those source reads only, not target synchronization or failover readiness.

Site source and target name columns (approved 2026-11-02)

Select synchronization scope shows each original SharePoint site name as read-only text in Name. Target folder name contains the saved editable site name with Reset immediately to its right, matching library and folder rows. Reset restores the original source name; sorting by Name uses the original site name. View stats opens the site statistics in a new browser tab so the scope selection remains available. Save changes and calculate scope and Cancel changes sit side by side with a gap; narrow screens may wrap them with the same spacing.

Reason: source identity and destination naming must be easy to distinguish in every scope row. This refines CS-144 and CS-157 presentation only. Existing saved names, draft autosave, edit guards and target layout rules remain unchanged; no conversion or target movement occurs. Reports and exports retain the same source identities and resolved destinations, so their content requires no changes. Historical reports and startup commands remain unchanged.

Operator-only managed SaaS (CS-159, approved 2026-11-02)

Cloud Sync is a managed SaaS service operated exclusively by service administrators on behalf of customers. Customers receive no Cloud Sync login, invitation or self-service account. The Customers menu opens creation and management; Projects remains the customer-filtered project workspace. Create customer requires only the organization name, records management access for its creator and creates no project. View projects selects that customer; New project creates its first or next project. Other service administrators still require recorded customer management access; navigation grants none.

Reason: central operation avoids requiring customers to configure synchronization, permissions and recovery. The operator is responsible for agreed changes and for executing failover and recovery; customer instructions must be coordinated outside the application. Each operator uses an identifiable account. Customer data, encrypted connections, projects, target destinations and audit boundaries remain separate. Employee Nextcloud access, required Microsoft consent, explicit failover commands and recovery checks remain unchanged. Removing customer logins does not certify production tenant isolation, MFA or live continuity.

Compatibility: the user approved an empty installation on 2026-11-02. Installations from the customer-login model are rejected before schema conversion; use a separate empty service data directory. No accounts, credentials, projects, copies or historical reports are imported, converted or deleted automatically. Existing invitation and customer-login design statements below are superseded by this decision. Audit and compatible exports identify the actual service administrator and customer/project; operator sign-in events stay in service history and are not copied into every customer trail. Automatic run outcomes remain separate under CS-034.

Implementation: operator-only identity schema and authorization, no invitation endpoints or account-creation path, customer creation without an initial project, Customers menu, customer-bound project navigation and regression tests. Startup uses the existing bootstrap command with an explicitly selected empty directory. Historical report files are unchanged; local tests do not certify a production deployment.

Status polling during catalog maintenance

Stored-status polling remains available during customer catalog maintenance. Read-only status routes resolve the authorized customer and exact project without taking the exclusive catalog command lock. Status reads still reject foreign, deleted or ambiguous projects; they never queue work, grant access or prove worker health. Start, Stop and configuration/deletion commands retain their existing locks and fresh guards. Reason: ordinary background maintenance must not make the Start sync status return HTTP 409 while stored status is available.

Existing projects require no conversion. This implements the read-only status rule and CS-034 command/result separation. Reports and exports retain their recorded evidence; historical reports and startup commands are unchanged.

Separate customer administration and project work (approved 2026-11-02)

Service administration owns customer creation, invitations, explicit management access and customer deletion. Review customers is a table. Enable management records the existing explicit grant and stays on Service administration; View projects is a separate navigation link for accessible customers and never grants access. Projects has one Customer selector shared by the project list and New project. View projects preselects that customer. Customer administrators see their fixed customer name without a selector. All accessible customers remains a read-only overview; select one customer before creating a project. New project beside the page title opens a compact dialog with the fixed customer name, Project name, Create project and Cancel. No permanent creation card, second customer selector or customer-creation option remains on Projects. Validation errors reopen the same customer-bound form; successful creation opens Connections directly. Opening pages or dialogs never creates customers/projects or grants access.

Reason: one customer context prevents conflicting selections, while separate administration, navigation and project commands make their consequences clear. This supersedes the CS-152 New customer route on Projects and the combined Manage customer projects grant/navigation command. Existing customers, projects, credentials, scope, copies and historical evidence remain supported without conversion; authorization guards remain mandatory.

Implementation: authenticated navigation, creation, permission, dialog, validation and rendering regressions. Reports and exports retain the same customer/project identities, grants and command evidence; no report control or evidence contract changes. Historical reports and startup commands are unchanged.

Readable archive group names (CS-158)

CS-158: New archive access groups use readable names such as Testsite_group_readonly and Testsite_group_readwrite. If a name is occupied, try _2, _3 and successive numbers, selecting the first available name independently for each group. Saved group bindings, including technical suffixes, remain unchanged. Readability is the reason; exact project/customer/target ownership checks remain mandatory and existing unrelated groups are never adopted. Screens and operational/session exports retain the actual bound group names; historical reports remain unchanged.

Microsoft Graph resource diagnostics

Microsoft Graph HTTP 404 diagnostics distinguish site discovery, document-library reads or change scans, and source user/group lookups. The exact built-in SHAREPOINT\system identity remains in source assignment evidence without an employee lookup or target mapping; ordinary unresolved users still block. Standard Microsoft 365 owners claims resolve group owners separately from members, preserving their distinct source rights. A missing permission principal does not establish a wrong SharePoint hostname. Run results and operational exports retain the same safe diagnostic without request URLs, tokens or response bodies. Failed source reads retain the last successful baseline and never authorize deletions.

Inspect the running scope (CS-156)

CS-156: Scope opens a separate dimmed Current scope card below Before you change settings, including while synchronization runs. It shows the accepted sites, libraries, folders, included/excluded choices and target paths, with the saved Sites, Folders, Documents and Total size KPIs and available row counts. The card has no editing, discovery or calculation command. Pending drafts never replace the active selection or its retained calculation. Missing or stale sizing shows a dash, never zero. Counts retain their observation date and do not claim current runtime volume or readiness. Reason: administrators must be able to inspect the scope used by running synchronization without stopping it. Change scope still requires stopped work, completed applicable access cleanup and normal mode; then Save changes and calculate scope, Next, confirm target location, and explicitly Start or Restart sync. Opening, saving and navigation never start synchronization. Operational and session exports include the same accepted-scope projection separately from draft evidence. CS-034 user-action audit separation and the single inline-status rule remain. Existing projects require no conversion for this read-only view. Historical reports and startup commands are unchanged. Implementation: authenticated running/draft/stale-metric rendering and export regressions; no live synchronization certification.

Site Team folders and groups (CS-157)

CS-157: New or explicitly reinitialized scopes use one organization-managed Team folder per selected SharePoint site. With an empty Target root folder this means independent physical Team folders per site. Optional root grouping keeps the previously approved shared-container behavior: one physical Team folder containing ordinary site folders, with the same separate site group pairs. It does not claim nested independent Team folders. This optional grouping choice was explicitly confirmed on 2026-10-31. Document libraries and their selected folders remain below their site; selected subfolder paths retain their library and ancestor hierarchy. The site display name sets one safe site Team folder name. Names are distinct between sites; library target names need only be distinct within their site. Only selected content is copied; a selected site does not silently select future libraries. Two empty unattached Read only / Read & write groups are prepared per site, named from that site and bound to the project. Synchronization grants no employee access and creates no employee accounts. Explicit failover applies site-wide categories; source library/folder/file differences remain visible. A site-wide suggestion requires rights in every selected root of that site and uses the least of those root rights; a descendant-only or library-only grant never becomes implicit whole-site access. Content retained or introduced outside the accepted selection blocks site-wide activation. Source and target identity, ownership, readback, effective technical access and recovery guards remain. Reason: the Nextcloud archive hierarchy and authorization groups must match the selected SharePoint sites. This supersedes CS-030 selected-root top-level storage, CS-123 site omission and the no-site-target wording in CS-140/144 for new scopes only. Existing scopes and dated plans are never converted or moved; Existing projects must be reinitialized or replaced with a new project after stopping and completing applicable cleanup/recovery. Existing target copies and historical reports remain untouched. Operational and session exports retain site destinations, physical Team folders, original selected roots, source exceptions and site groups separately from user commands. Implementation: local management/DAV worker, repeat-sync, hierarchy, collision and two-site access-isolation regressions; live TDMC compatibility remains unverified.

Everyone except external users (CS-155, approved 2026-10-30)

CS-155: Everyone except external users is supported only for the exact SharePoint rolemanager claim containing the configured source tenant UUID. Where that claim has effective content rights inside the selected scope, Cloud Sync resolves all current active internal Entra users and retains the source read/write role. Complete paged Graph /users reads require administrator-consented User.Read.All application permission (or a documented higher permission already granted). Member and accountEnabled=true are required; guest, disabled, invited, known external-state and #EXT# accounts are excluded. Missing, duplicate or ambiguous identity/classification evidence, incomplete pages, cancellation and denied reads block publication; no partial list authorizes grants or removals. The complete list is reused only inside the current source permission snapshot, then read afresh next time. Plain Everyone, malformed claims and claims for another tenant remain unsupported. Synchronization stores source-rights proposals without employee provisioning or document access. Existing-account mapping, selected category and explicit failover activation still govern Nextcloud access. Reason: preserve existing SharePoint organization-wide rights without requiring source permission edits or turning synchronization into access activation. Current Run results and operational/session exports retain the same resolved source members and roles; automatic results stay outside Audit trail under CS-034, with one inline status and no new report action. Existing configuration and dated successful plans are not converted; only a fresh complete successful run can publish new rights evidence. Historical reports, target protocols and startup commands remain unchanged. Implementation: tenant/classification/pagination/cancellation regressions plus pipeline, baseline-preservation, UI/export and About alignment checks; live read-only evidence is recorded separately and never certifies target readiness.

Save and calculate scope; explicit all-site statistics (CS-154, approved 2026-10-30)

CS-154: Save changes and calculate scope replaces Calculate selected scope and sits beside Cancel changes below the site list. It loads missing current libraries and complete folder hierarchy for selected sites, retries missing content-change observations, validates selected roots, exclusions and target names, and calculates Sites, Folders, Documents and Total size. Complete same-source, same-session statistics are reused under CS-153; observation dates remain distinct from calculation completion. Only complete successful validation and sizing saves the selected scope, names and mappings together with its KPI evidence. Failures retain draft choices and the previously accepted configuration; unavailable informational content dates stay explicit. Next requires a successful save for the current draft, source, project session and configuration revision, including name and mapping edits. Scope changes invalidate that permission to continue. The successful save is a durable checked setup checkpoint. Cancel changes restores that checkpoint after further edits. Next only opens Define target location; its Next confirms the optional target grouping and applies the complete configuration. Provisional destinations are never reserved and previous operational configuration and target-copy evidence stay intact until that confirmation. Neither action starts synchronization or grants readiness. Existing accepted scopes remain usable without conversion or automatic recalculation; opening a scope edit requires the new save action. Calculate all site stats appears at the top right of the site-list card, opposite Reload sites on the left. It explicitly refreshes whole-site statistics and content-change dates for every site in the current list, including unselected sites, one site per worker turn. It never changes selections, target names or the accepted scope, and never replaces the selected-scope KPI boundary. Failures remain per site, retaining earlier statistics while other sites finish; retry is explicit. Both calculations use the existing Working feedback without duplicate progress or success blocks. Concrete errors remain beside their action. Current operational and session exports include saved-scope validation, all-site calculation outcomes and the same dated statistics and KPI boundaries; automatic processing outcomes stay outside the user-action Audit trail under CS-034. Historical reports and startup commands remain unchanged. This supersedes the optional sizing and calculation-button placement in CS-141. Reason: a saved scope must include its missing source structure and complete volume information before navigation, while whole-list statistics remain a separate explicit observation. Implementation: integrated locally with scope, worker, navigation, cache reuse, audit/export and information-alignment regressions; no live tenant performance or source/target certification is claimed.

Refresh and reuse scope statistics (CS-153)

CS-153: Calc stats explicitly refreshes Last content change for its site using the existing certificate-based SharePoint visible-list LastItemUserModifiedDate read, as well as whole-site counts and sizes. The content-date observation is independent: a later sizing failure retains earlier complete statistics without discarding a successful date read; an unavailable or incomplete date remains explicit and is never invented from the clock or a partial maximum. View stats, when available, appears immediately to the right of Calc stats on the same row. Calculate selected scope reuses complete statistics already known for the same project, source binding and session. It combines recorded folder aggregates for selected roots and exclusions, avoids counting overlapping roots twice, and reads only uncovered branches. Earlier excluded branches are not assumed empty when added later. Reused observations keep their original dates; calculation completion is recorded separately. Missing per-file breakdowns cannot be reconstructed from aggregate counters and remain explicitly unrecorded in the sizing export. Current operational and session exports retain the refreshed site date, reused regions, scanned scope and observation boundaries. Opening pages does not recalculate; runtime synchronization still reads current source content and permissions. Reason: fill the date when the administrator requests site statistics, keep its detail link beside the action, and avoid repeating already completed source reads. Implemented with local metadata, cache-coverage, rendering, export and stale-request regressions; no conversion or live integration certification is introduced.

Customers and independent projects (CS-152)

CS-152: One service environment manages multiple customers and independent projects. Each customer has exactly one Microsoft 365 source system and one Nextcloud target system, with shared encrypted connections. A different source or target system requires a separate customer, including for the same organization. Each project has a stable ID, its own scope, destination, method, schedule, settings, phase, runs, failover and recovery. Home opens Projects with a customer filter; New project selects an accessible customer or creates a new managed customer. New creates an additional project without resetting another project. Open selects a project; Close returns to Projects while background work continues. Customer administrators remain restricted to their customer. Service administrators gain customer management only through the recorded creation of a managed customer or an explicit Manage customer projects command; service role alone grants no operational access. Management does not itself activate employee document access. Shared connection changes require stopped work and completed cleanup, failover and recovery in all customer projects. A blocked cleanup permits only an app-password repair while every project is otherwise idle; this never confirms cleanup. Connection identity is bound after first acceptance; credential changes invalidate project checks and require scope review and explicit restart. Draft scope choices remain available for review with renewed form tokens; they never retain approval after a shared credential change. New projects never inherit successful checks or run evidence. Projects reserve distinct top-level Team folder destinations, including retained destinations after scope removal; reservations are not released automatically. Managed access group identities include the project. Requests, browser tabs, tasks, audit views, notifications and exports carry customer and project identity. Worker capacity is bounded across projects and does not depend on the open project. Shared customer account and connection events use the longest audit retention configured across the projects of that customer. Read-only diagnostics inspect each project using its shared encrypted customer connections. Reason: centrally administer customers while keeping shared connections consistent and project operations independent. Existing installations with customers in the previous single-project model are excluded: start with a separate empty service data directory; no conversion, deletion, credential import or historical report rewrite occurs. This supersedes the single-project New behavior in CS-146/148, the source proposal in CS-151 and previous service-administrator access wording only for explicitly granted customer management. Implementation: local storage, authorization, UI, worker and export integration with regression tests; no new live tenant, target or production isolation certification.

One target system per customer (CS-151)

CS-151: Each customer has one Nextcloud target system. Projects belonging to that customer use that target system; needing an additional target system means creating a separate customer, even for the same organization. Reason: keep customer and target administration simple without adding multiple target systems within a customer. This confirms the CS-004 target boundary. It does not require an identical Microsoft 365 source or identical credentials across projects. Shared source connections, credential reuse, delegated administration and the detailed multi-project model remain proposals requiring separate decisions. Implementation status: accepted design boundary only; multiple projects per customer remain unimplemented. No runtime authorization, connection handling, workflow, export or historical report is changed. Existing-project support or conversion must be agreed before implementation; this decision authorizes no automatic conversion.

Preserve copies across configuration changes (CS-148)

CS-148: Configuration edits keep previously copied target content, run history, audit and protected recovery evidence. A credential/certificate change keeps the same source/storage identity and requires fresh checks. A different source tenant/hostname or target endpoint/account starts a new binding; changing the source clears its active selection for a fresh scope choice. Displaced item, operation, ownership and target-principal evidence is archived atomically with the accepted configuration, with unresolved writes retaining their independent guards. Removed scope and old destinations are Not updated, visible in Project and operational/session exports. Saved counts describe recorded evidence, not a current target inventory. New setup retains runs/audit and archives displaced configuration without creating a parallel project or requiring a technical reset confirmation. Same-source reselection requires current identity/content/permission checks; another source cannot overwrite or adopt an overlapping retained archive. Normal source deletions inside the active scope retain the guarded mirror policy; configuration exclusions never authorize deletion. If retained excluded content remains inside an active archive, failover is blocked until separate destinations protect it from archive-wide employee access. Retained sibling roots under a shared target container receive explicit per-group denial, read back before document access opens; child identities are checked again. Stop work and finish cleanup/failover/recovery before changes; restart explicitly. Reason: editing setup must never silently destroy continuity copies or manufacture readiness. Existing projects use their saved identities and evidence without an automatic conversion or reset; unknown ownership still blocks reuse. Implemented with local configuration transactions and real-protocol fixture regressions, not new live target certification. Existing historical reports and startup commands are unchanged.

One-time copy with verified failover preparation (CS-149)

CS-149: Both Mirror and Copy once prepare failover through the same authoritative source, current file, technical storage, permission, recovery and compatibility checks. Copy once runs one bounded durable task and stops without scheduling another round. It creates missing selected files, verifies identical existing files, preserves conflicting files with a blocker, and preserves unrelated target content; it never mirrors deletions or silently moves existing source paths. Retained out-of-scope content sharing an archive blocks failover access. Partial, failed, interrupted or cleanup-failed copies do not establish readiness; explicit retry retains completed progress. Per-run batch, worker, retry and max-items controls remain. Published source plans and existing-account archive groups appear only after complete successful verification. Employee access always requires explicit failover activation. The card says Copy the selected files and folders once and prepare failover after successful verification. Current run results, file/folder history and exports identify Copy once separately from Mirror. Existing historical additive copies and already queued legacy content jobs keep their evidence and execution contract; they are never reclassified as verified failover preparation. Reason: one-time versus continuous scheduling should not remove the continuity checks. Implemented with local task, pipeline, conflict and publication regressions; no live integration certification or existing-project conversion is claimed.

Centered menu and contextual settings dialogs (CS-150)

CS-150: Project, Connection, Scope, Synchronization, Failover and Recovery are centered menu buttons, with Cloud Sync left and Sign out right; narrow screens place the menu on its own row. Project opens Change project details directly. About Cloud Sync and Audit trail are ordinary footer hyperlinks opening a separate browser page; Settings is absent from the footer and header. Change settings sits at the top right of Mirror and Copy once cards and opens an accessible native dialog. Mirror includes schedule, notifications, recovery/detail retention and transfer controls; Copy once omits continuous schedule/alerts. Protected-copy retention is also available on Recovery; audit/run-log retention belongs on Audit trail. Connection and Scope have no separate generic settings. All dialogs use the same field presentation, partial autosave, validation and inline feedback. Close or Escape waits for saving; failures remain visible without losing entries. Opening a dialog never starts work, transfers content or saves unchanged values. Existing mode/cleanup guards and next-run settings snapshots remain authoritative. Reason: navigation should look consistent, utilities should stay separate, and each setting should appear where its effect is understood. Current configuration exports retain the same supported settings; historical evidence, target protocols and startup commands are unchanged. Implemented with rendering, contextual-field, autosave and dialog regressions; no existing-project conversion is required.

Project changes without reset choices (CS-147)

CS-147: Remove Session reset, Project reset and Full reset choices from project setup and Settings. Administrators edit connections and scope through their own menu tasks; required connection checks and scope review follow the actual change. Opening a page or requesting an edit never starts a generic reset, clears history or deletes target data. Existing internal lifecycle safeguards and historical reset evidence remain intact. Reason: administrators should understand the consequences of the setting they change instead of choosing a technical reset level. CS-148 implements the accepted preservation policy for changed connections and scope; old copies and history remain and displaced baselines become historical evidence. Current exports retain their existing accepted configuration and actual run evidence; historical reports and startup commands are unchanged. Implemented as removal of reset UI with navigation, information-alignment and existing lifecycle regressions.

Project menu and guarded settings edits (CS-146)

CS-146: The header provides consistent menu buttons for Project, Connection, Scope, Synchronization, Failover and Recovery. About Cloud Sync and Audit trail are ordinary footer hyperlinks opening a separate browser page. Settings belongs to its task page, not the footer. The main menu is centered, with Cloud Sync left and Sign out right; narrow screens give the menu its own row. Public About remains available without a project. Project opens Change project details directly, without a dropdown. New, Open and Close are actions on that page. Connection and Scope open an impact explanation before an explicit edit command. Direct editing retains saved settings and uses the same stopped-work, cleanup, failover/recovery, current-connection, project-session and configuration-revision guards. Changed connections must be checked and accepted, then scope and target location reviewed and accepted again before explicit restart. Scope edits remain drafts and invalidate affected calculations on change. Saving settings never transfers, moves or deletes target documents. Close only leaves the project view; background work continues independently. Open returns to the current project overview. New explicitly starts setup while retaining connections, settings, history and copies; one project remains active per customer. Multiple concurrent projects and project conversion are deferred. Reason: the wizard supports initial setup while the menu provides predictable maintenance afterwards. Current operational exports retain accepted configuration and run evidence; Audit trail records accepted edit commands and committed differences separately from outcomes. Historical reports and startup commands are unchanged. This supersedes CS-143 header labels and CS-134 utility-link placement; no existing-project conversion is required. Implementation: integrated with local navigation, lifecycle, stale-form, draft and information-alignment regressions; no live integration certification.

Compact history search and run details (CS-145)

CS-145: File and folder history has a Search button at the top right of its header. Search opens a native dialog with the existing date, target-name, change and type filters; the Search changes foldable card is removed. Search is read-only and applying filters uses the same query and pagination rules. Close or Escape dismisses the dialog without applying edits. Automatic history refresh pauses replacement while the dialog is open and preserves its draft fields when it is closed. The optional download link is labeled Export history and keeps the existing complete filtered history export, lifecycle events, retained run summaries and compatible JSON contract. The general Run results link is removed from the operational page. Each retained run has an inline details control, including successful zero-change runs, with recorded status, summary, matching changes and existing run-specific issue evidence where available. Lifecycle markers remain accepted user commands rather than processing outcomes. Historical evidence, retention, exports, underlying operation guards and startup commands are unchanged; no project conversion is required.

Reason: keep the history list visible, expose search only when requested, and make the run row the place to inspect its results. Implementation: dialog open/close and refresh-preservation tests, authenticated filtering/export and per-run detail rendering checks; local checks do not certify live synchronization.

Unified site and folder list (CS-144)

CS-144: Select synchronization scope uses one table for site, library and folder rows, with the same aligned columns: Select, Name, Target folder name, Last content change, Subfolders, Documents, Size and Site stats. Opening a site inserts its complete expanded hierarchy directly below its row without a nested table or repeated header. Closing a site hides all its descendant rows. Sorting moves each site with its descendants as one group. Site rows have a light-gray background; library/folder rows are white. Columns fit the available width without horizontal scrolling: controls shrink within their columns, long names wrap, and deep indentation is capped. On narrow screens, each row reflows into labeled fields while preserving every field and site group. Only site rows have Calc stats and, after completed whole-site calculation, View stats. Site target-folder cells and unavailable folder change dates stay empty or show a dash; no site-level target storage ancestor or fabricated modification date is introduced. Site display-name editing, library/folder target names, hierarchy, selections, exclusions, draft saves, selected-scope KPIs, statistics and existing processing guards retain their behavior. Opening or restyling the list starts no extra calculation. Current operational exports retain source identities, selections and calculation boundaries; historical reports, stored project configuration and startup commands are unchanged.

Reason: common columns make site and folder values easy to compare, while row color and indentation show the hierarchy without nested grids. Implementation: shared table, grouped sorting, expand/collapse and selected-metric rendering regressions; local checks do not certify live tenant behavior.

Project header and separate Failover phase (CS-143)

CS-143: The operational page is titled Mirror or copy and always shows the two method choices Mirror and Copy once as equal-width buttons side by side across the full card width. This remains an operational choice on the same page, not another wizard step. Mirror is the user-facing name for the existing source-authoritative continuous method, covering the selected scope rather than documents alone; it does not imply bidirectional synchronization, employee access or new user-provisioning capabilities. Existing command identifiers, saved method values and historical evidence retain their compatible synchronization terminology. Choosing a method never starts work; active work and required cleanup lock changes. Remove the Project foldable card and any wizard-next Failover action. The fixed authenticated header provides New Project, Edit Project, Failover and Settings. View Project is omitted from the header to keep navigation focused; its existing read-only overview of accepted project configuration remains available. Edit Project explicitly reopens setup and retains settings, source choices, mappings and target data; running work, mode and cleanup guards remain. New Project opens a separate start page before any reset action: this service has one active project per customer, so creation uses the existing explicitly confirmed Project reset, retaining saved connections, target documents and protected unresolved-operation evidence while clearing current project configuration and run history. It does not silently create an additional parallel project. Advanced existing reset controls remain under Settings. Failover is an explicit separate phase entered from stopped synchronization after required cleanup; merely entering it never activates employee access. Existing verified-copy, authorization, activation and recovery guards remain. Header controls refresh from authenticated current workflow state and fail closed on stale sessions or failed status reads. Run results, exports and history retain their existing evidence boundaries. No automatic project conversion or startup-command change is required.

Reason: project management and a deliberate failover phase are global actions, while Synchronization is an operational screen, not a wizard step toward failover. Implemented with local header, method-selection, reset, phase and authorization regressions.

Global settings without debug mode (CS-142)

CS-142: Remove every Settings for this phase foldable card and the configurable debug mode. Supported synchronization, notification, transfer, recovery and audit-retention controls remain available as ordinary Settings cards; the mandatory batch, worker, retry and item controls are preserved. Legacy debug flags are ignored at the active settings boundary without rewriting stored history. No new optional debug capture or debug toggle is enabled. Ordinary progress, error messages, run outcomes, audit records and existing historical measurements and exports remain available. Old debug submissions are rejected. No project conversion, target operation or startup-command change is introduced.

Reason: simplify work pages without losing operational controls or historical evidence. Implemented with local rendering, supported-setting validation and historical-evidence regressions.

Optional scope sizing and separate target location (CS-141)

CS-141: Setup follows Define Project > Define Microsoft 365 source > Define Nextcloud target > Select synchronization scope > Define target location > Synchronization. Target root folder (optional) appears only on Define target location. Empty means no grouping above the managed selected-root Team folders; a value is one safe name, never a path. Root edits autosave as part of the same durable scope draft and survive Back. Scope Next saves current draft choices and opens the target-location page without calculations. Target-location Next accepts the complete scope, names, mappings and root, then opens Synchronization without scanning, calculating, transferring or starting work. Calculate selected scope on the selection page is optional and sizes the current selected scope and exclusions only. A separate non-foldable card below the site-list card shows four KPI blocks: Sites, Folders, Documents and Total size. Calculate selected scope is placed at the top right of that card. During optional source calculations, the existing Working indicator is sufficient: Back and Next stay disabled without an extra generic wait sentence or inserted navigation row. Concrete failures and missing prerequisites remain visible. This only changes presentation; server command guards remain authoritative. Sites are counted once by stable site identity across selected libraries; folder totals include selected folder roots and their descendants, excluding library containers. The same successful calculation fills the selected sites and library/folder rows with selected descendant-folder, document and size totals after exclusions, including partial ancestor aggregates. Overlapping roots are not counted twice. Unselected branches are not scanned. Per-row Subfolders excludes the folder itself. Selected-scope metrics take precedence for affected rows; whole-site Calc stats and View stats keep their separate whole-site boundary. KPI and selected-row values show dashes until a current complete result is available and are cleared when the selection changes. Calculation and status-read failures remain visible; progress and completion use the existing Working feedback and result values without a duplicate success sentence. Current operational and session exports retain the same four totals, per-site totals and per-folder selected metrics. It never accepts a scope or grants readiness. Its captured source, scope, revision and session are checked throughout; stale or incomplete results are not successful current sizing. It is independent of whole-site Calc stats. Ordinary Start sync and Copy once retain their runtime source/target, storage, transfer and authorization safeguards. No frozen assessment, separate mandatory analysis or report-generation step is introduced. The old Refresh source / missing-permission-discovery setup message is removed; fresh runtime checks remain authoritative. Earlier setup analysis gates in CS-137/138 are superseded. Existing source selection, target layout, history and startup commands remain intact; no conversion is needed.

Reason: scope selection, optional sizing and target placement have separate purposes; navigation must not start an unexpected full-source calculation. The four KPI blocks make the selected volume clear, and reusing the same calculation in the table avoids extra whole-site scans. Implemented with local wizard, worker, autosave, snapshot, report and guard regressions; live source/target compatibility remains installation-dependent.

Site display names and observed statistics (CS-140)

CS-140: Site display names are editable in the shared scope draft, with Reset restoring the original name. No separate Source name label is shown. Next accepts the names; Cancel changes discards them. Display names never rename SharePoint sites or create site-level target folders, and CS-030 selected-root storage remains unchanged. Each site always has a Calc stats button, including after a previous calculation. Calc stats uses the existing Working indicator without duplicate inline progress or success messages; calculation and status-read failures remain visible. Calc stats explicitly queues fresh whole-site folder/document metadata reads in the background, without selecting scope, downloading document bodies or applying target permissions. Only successfully completed whole-site statistics add View stats. Folders, Documents and Size show completed whole-site observations or, for calculated selected rows, the current selected-scope totals under CS-141; otherwise they show a dash. Whole-site and selected-scope observations retain their distinct boundaries. View stats is a read-only page with three separate non-foldable cards: File types, Top 10 largest folders and Top 10 largest files. It retains observation time, case-insensitive file-type counts and sizes, and the rankings across the site libraries before scope exclusions. Folder sizes include descendants and can overlap. Invalid or incomplete document metadata is unavailable, never zero; failed recalculation retains the previous dated observations. Opening a site only reads its folder hierarchy and does not calculate statistics. Reload sites replaces Refresh sites and only reloads the source site list, preserving accepted and draft names, selections, mappings, root settings, hierarchy and existing statistics for unchanged identities. It performs no statistics calculation, folder traversal or additional site metadata analysis. New sites remain unselected; omissions never silently delete saved choices. Calculation cost depends on item counts, paging and throttling; no fixed duration or live performance is claimed. Current operational and session exports preserve the same aliases, calculation status, observation times, totals and ranked lists. Calculation requests are user commands; automatic results remain outside CS-034 Audit trail. Historical reports and startup commands remain unchanged. Saved configurations require no conversion.

Reason: make site labels recognizable and source statistics explicit, optional and repeatable, while preserving all choices during a site-list reload. Implementation: metadata aggregation during complete hierarchy reads, editable display labels, read-only Site stats and aligned local source-protocol, rendering, autosave, audit/export and documentation tests. Live tenant performance remains unmeasured.

Complete site hierarchy on opening (CS-139)

CS-139: Opening a site in Select synchronization scope automatically reads all its document libraries and their complete folder hierarchy in the background, then displays every folder level expanded. No separate click is required for each library or folder level. A library or folder can still be collapsed for readability; reopening the site expands the whole loaded tree again. Opening never selects content or changes target names, mappings, exclusions or the accepted scope. Only folder metadata is collected for browsing; file content, permission analysis and target preparation remain deferred to Next. Microsoft Graph paging, throttling, current source/session/draft guards, safe paths, unique identities and rejection of remote or cyclic folder references remain mandatory. A hierarchy is published and marked complete only after every library and folder read succeeds; partial or failed reads retain the previous tree and show a local error with Retry. Old library-only observations are refreshed on opening rather than treated as complete trees. No project conversion or target writes are required. Current operational and session exports retain the same fully observed hierarchy; historical reports and startup commands are unchanged. This supersedes the one-level browsing boundary in CS-137 and the library-only opening behavior in CS-138.

Reason: administrators must be able to inspect and choose the complete site hierarchy after one site-opening action. Implementation: complete guarded folder traversal in the existing worker, automatic tree expansion, inline loading/retry feedback and local protocol, selection, rendering, browser-script and export regressions. Live tenant validation remains pending.

Draft settings and Next confirmation (CS-138)

CS-138: Check connection on Define Microsoft 365 source and Define Nextcloud target checks an encrypted draft without applying it to the active connections. Next saves the successfully checked connection and advances. Changed entries require a new check; pending, failed, stale-session and changed-configuration results cannot be accepted. Certificate creation and download use the secure draft before acceptance. Leave secret fields empty to retain the available credentials. Connection-check requests and committed changes are user commands; automatic results remain in Run results and operational exports, with secrets excluded. Scope choices, target names and the optional root autosave as one durable draft; Next confirms the whole selection and runs analysis. One Cancel changes below the site list discards all draft edits and restores the accepted scope, including an empty initial selection. There are no per-site Save or Cancel actions. Opening a site automatically loads its document libraries without selecting them; its expanded panel shows Loading libraries, an empty result or a concrete error with Retry. Reopening a remembered unloaded site resumes loading, while failed reads require explicit Retry. Reentering Select synchronization scope refreshes the revision of a same-source, same-session draft before rendering; old submitted tokens and changed sessions remain rejected. Synchronization, copying, cleanup and discovery locks remain authoritative. This supersedes earlier Check and save connection and Discard changes labels and their save timing in setup. Existing saved connections remain usable; no stored-project conversion, target movement, historical report rewrite or startup-command change is required.

Reason: keep automatic draft preservation separate from applying settings, make Next the consistent confirmation point, and show source-loading feedback where the administrator opened the site. Implementation: encrypted connection candidates, guarded Next acceptance, automatic library loading and draft renewal with local workflow, browser-script, audit/export and documentation-alignment regression tests. Live tenant validation remains pending.

Combined scope selection and deferred analysis (CS-137)

CS-137: Setup is Define Project > Define Microsoft 365 source > Define Nextcloud target > Select synchronization scope > Synchronization. The separate Sites page is removed. A successful source check automatically queues a source/session-bound site inventory and bounded visible-list metadata reads; failure to enumerate or size sites never turns a successful connection check into a failed check. Target setup preserves current source inventory. Refresh sites is a secondary action at the top right of the site-list card, for optional refresh or retry rather than a required action after reviewing the list. The combined scope table starts unchecked for a new selection, retains saved choices, and sorts site names, Last content change and Items (indicative) through column headers in either direction, with unknown values last. ItemCount is a metadata indication across visible document libraries, including folders, not a verified file count or synchronization size. Incomplete values remain Not available. No Reports.Read.All consent or recursive file scan is required for this indication.

Opening a site loads only its document-library list; opening a library or folder loads only its direct child-folder metadata. Opening never selects content. A site checkbox explicitly chooses all its currently discovered libraries; folder and library choices can be partial, and newly discovered libraries are not silently added to an accepted scope. Unopened selections and exclusions remain durable. Each selected library or subfolder remains its own managed scope root under CS-030; browsing never creates target ancestors or writes source/target documents. Next saves the current selection and queues complete selected-scope content, permission and target-preparation checks. One inline status beside Next shows real progress. Only successful, current session/configuration-bound checks advance to Synchronization, without starting synchronization; failure stays on the selection page for explicit retry or editing. Back and Next remain above the title under CS-136. This supersedes the separate-site step and separate analysis action in CS-135. Existing projects use the already agreed Project reset; there is no automatic conversion. Automatic operational exports retain the same site dates, indicative counts, observation/status boundaries and analysis evidence. Historical reports and startup commands are unchanged. Local protocol and browser-script tests are not live tenant certification.

Setup navigation at the top (CS-136)

CS-136: Show one Back and Next pair at the top of each active setup page, above the page title and input cards. Keep connection, discovery and save actions in their task cards. Synchronization still ends the wizard; existing navigation prerequisites, unsaved-edit guards and operational controls are unchanged. Reason: setup navigation must be immediately accessible without scrolling. This supersedes only the bottom placement introduced with CS-135. Existing projects need no conversion for this presentation change. Operational exports, generated reports, historical evidence and startup commands are unchanged.

Action-led setup and post-failover choices (CS-135)

CS-135: Setup uses Define Project > Define Microsoft 365 source > Define Nextcloud target > Discover SharePoint Sites > Discover Scope > Synchronization. Titles name the action, white task cards contain inputs and bottom actions, and setup shows Back and Next. Server prerequisites enforce consecutive steps. Synchronization ends the wizard: Project offers View Project and Edit Project, with editing allowed only after work and cleanup stop. Edit Project reopens setup explicitly without resetting data. View Project retains the explicit reset controls. Existing projects must use Project reset; no automatic conversion is provided.

After synchronization actually stops, Open Failover permits review without granting access. End failover queues verified removal of all managed group rights; accounts and memberships remain. Recovery captures its checklist automatically, then offers Restart sync without source writeback, with explicit acceptance that target changes can be replaced, or Restore to return reviewed changes to SharePoint. Restore requires source write consent, unchanged target evidence, matching source identity/version, protected copies and independent source content readback. It runs in durable bounded batches without replaying uncertain writes or uploading completed items again. Source conflicts block; folder deletion requires emptiness. Moves are additions and deletions. Permissions and metadata are not copied back; files above 250 MB require manual recovery. Restore completion leaves synchronization stopped for explicit restart. Protected skipped changes stay unresolved. Local tests are not live SharePoint/Nextcloud certification. Historical reports and startup commands are unchanged.

Separate Audit trail page (CS-134)

CS-134: Audit trail is a separate authenticated customer page, opened through the header link beside About Cloud Sync. Phase pages and Run results contain no embedded audit card, audit filters or audit retention form and do not query audit history. Audit is outside the project wizard and opening it does not change the active phase. The audit page retains user commands, committed before/after changes, rejections, redaction, customer identity boundaries, filtering, pagination and complete filtered exports. Audit and run-log retention is configured on that page. Worker results remain in Sync and Run results. Public About remains available without a project; authenticated customer administrators can also open Audit trail from About. Existing records, operational exports, historical reports, processing guards and startup commands are unchanged. This supersedes the placement in CS-131.

Back and Next wizard (CS-132)

CS-132: The visible wizard is Project > Connections > Sync > Failover, with only adjacent Back and Next controls. Connections contains Source, Target and Select scope as consecutive steps; scope analysis remains mandatory. The phase status track and named Return buttons are removed. Next stays disabled until the current prerequisites are met. Navigation never starts work, resets data or grants access. Active work and cleanup guard Back; returning to repair setup does not require forward readiness. Source/target validation and current scope analysis still guard Next. Active failover must be revoked and Recovery completed before returning to setup or restarting sync. Recovery is a conditional safety step, not an optional shortcut. Operational exports retain the internal active phase and add the matching visible stage. No existing projects require conversion; startup commands, external protocols and historical reports are unchanged. Local tests do not certify live integration.

One active project phase (CS-124)

CS-124: Each project has exactly one active work phase: Connections, Select scope, Synchronization, Failover or Recovery. New projects start in Connections. Continue to Select scope requires successful checks bound to both saved connections. Continue to Synchronization requires an accepted nonempty scope and the existing preparation checks. Phase transitions are explicit commands; opening a screen never changes phase, starts synchronization or grants employee access.

Continue to Failover requires synchronization to have started and then actually stopped, with active work and required access cleanup finished. A completed round or an accepted Stop sync request is insufficient. A failed or incomplete copy does not establish activation readiness. Activation retains its separate successful-copy, identity, ownership and access checks. Verified revocation of managed failover access enters Recovery; confirmed manual recovery returns to Synchronization with cleanup and explicit restart requirements.

Only the active phase exposes work controls. Other phase screens show read-only information and their prerequisites. Return to an earlier phase explicitly before editing; active work, discovery, failover and recovery guards remain. A temporary connection failure during synchronization keeps Synchronization active. Project, Audit trail, Settings, Run results and About remain accessible. Connection and scope changes retain their existing evidence invalidation rules. Keep one inline action status, without duplicate readiness blocks or report-generation actions.

There are no existing projects to convert for this redesign. No project conversion or historical report rewrite is implemented. Reset clears the selected phase while unfinished work and lifecycle guards remain authoritative. Accepted phase changes record one command with before/after phase values under CS-034; rejected transitions are recorded as rejections. Operational exports contain the same active phase and transition requirements as the screen. A blocked access cleanup permits only target app-password repair within Synchronization. Startup commands and target protocols are unchanged. Local tests do not certify live integration.

Site-first scope discovery and activity dates (CS-123)

CS-123: Connections stores Microsoft application credentials and the SharePoint hostname; site paths are selected only through Select scope. Refresh source enumerates sites on that hostname, including separately discoverable channel sites, with sites above document libraries and folders in the Select sites and content tab. Selecting a site selects its currently discovered descendants; individual libraries and folders remain editable. The accepted scope retains stable library identities, exclusions and existing library-based Nextcloud destinations. Newly discovered libraries are not silently added to an accepted scope; review them and Accept changes. Site selection does not create a site-level Team folder or start synchronization. Microsoft Graph Sites.Read.All application permission and administrator consent are required for automatic site discovery; Sites.Selected alone cannot enumerate sites. SharePoint permission reads still require the certificate and explicit selected-site grants. Existing projects require Project reset or Full reset and source connection setup again; no automatic conversion, target movement or historical report rewrite occurs. Stop work and finish required access cleanup and recovery before resetting. Session reset is insufficient. Reason: customers recognize sites and Teams while connection setup should describe authentication rather than content scope.

Each discovered site shows Last activity date from the Microsoft 365 SharePoint site usage report for 180 days, together with Report refreshed when available. This is dated usage evidence, not the site modification date, current activity or synchronization readiness. Reports.Read.All application consent is required in addition to site discovery consent. Missing, concealed, unmatched, conflicting or unavailable data is Not available, never proof of inactivity. Sorting by name or last activity date works in both directions, keeps unknown dates last and preserves draft selections and target names without saving a command. Optional operational exports include the same site identities, dates, report status and limitations. User-action Audit trail remains separate under CS-034; one inline status and existing draft acceptance follow CS-072/093. Local protocol, rendering and browser-script tests cover the change; live tenant discovery and usage reports remain unverified. Startup commands are unchanged.

Initial scope selection

Select scope uses Discover scope when no scope is saved and Change scope when a saved scope exists. Reason: initial setup must not imply an existing selection. Discovered libraries alone do not count as a saved scope. Draft editing retains Accept changes and Discard changes, with one inline status and the existing connection and synchronization guards. This refines CS-072 presentation only; stored configuration, authorization, audit evidence and operational exports are unchanged. Historical reports remain unchanged. Implemented with local rendering regressions; startup commands are unchanged.

Project reset ownership history (superseded by issue #46)

Settings save automatically and explain when each change takes effect. Defaults are a 15-minute synchronization wait interval, 30-day recovery retention, a 60-minute stale-success threshold and 12-month audit retention. Billing is a stub; payments and invoices are unavailable, and pricing and subscription limits are undecided.

CS-122: Compare three reset columns with Keep/Remove values and a button below each. Session reset preserves connections, scope, target root, mappings, settings and history. Project reset keeps only connection details; clears scope, target root, mappings, progress and history; restores defaults. Full reset also removes connection details. Stop work and complete applicable access cleanup first. Neither requires an empty target. Reset once; manually clear target documents before or afterwards if desired. Previous-session ownership and completed setup records are cleared; unresolved-write and protected-recovery safeguards remain. Each project/full reset leaves one audit entry. Existing projects need no conversion; this supersedes CS-108. Project reset and Full reset also discard previous-session Team folder identities, storage ownership history, principal bindings and completed setup/cleanup records. Reason: a new setup must not restore stale destination IDs or conflict with earlier sessions. Session reset retains its recovery bindings. Unresolved target writes retain their exact target evidence, protected recovery copies remain available, and incomplete access cleanup still blocks project/full reset. Nextcloud documents and permissions are not changed by reset; new setup requires fresh target checks and never adopts unrelated storage automatically. Apply this to an existing project by explicitly running Project reset or Full reset again; no automatic conversion or data rewrite occurs. Current operational exports omit discarded ownership and completed setup records; historical downloaded reports remain unchanged. Local regression tests cover conflicting old IDs and reselection of the same destination; live deployment remains unverified. Startup commands are unchanged.

Fresh discovery and complete project reset (issue #46)

Issue #46, approved 2026-10-25: Connections checks authenticate and verify configured SharePoint site access without enumerating libraries, folders or files. Refresh source in Select scope performs fresh library and content discovery, including after Project reset. Connection checks never populate or replace scope discovery. Project reset and Full reset discard all previous-session operation journals and archived operation guards, as well as setup and project history; Session reset retains interrupted-operation safeguards. This supersedes the CS-122 unresolved-write retention rule for project/full resets. Reset itself changes no target content and proves no earlier write outcome. Fresh target identity, ownership and content checks still apply before new writes. Protected recovery copies and incomplete access-cleanup guards remain. Existing projects apply this behavior by explicitly repeating Project reset or Full reset, without automatic conversion. Current Run results and operational exports omit discarded operations; historical downloaded reports remain unchanged. Reason: a deliberate project reset must start new setup without hidden previous-session blockers, and scope discovery belongs to Select scope. Startup commands are unchanged; live deployment is unverified.

Recorded zero-change sync counts (CS-044/103 correction)

A finished successful sync with an explicitly recorded empty item-results list shows 0 / 0 / 0 for folders and files and Completed without changes on Recent sync. Missing results, unfinished or failed runs and expired item details are never turned into a successful zero-change event. An empty result is evidence only when both the round and its saved sync result confirm successful completion. The independent detail-expiry marker also prevents false zeros. Existing run records use the same read-only interpretation without conversion or rewriting historical reports.

Reason: the timeline previously treated a known empty list as missing data, causing a misleading question mark after a no-change round, including after Project reset. Current Run results and operational exports use the same round-count projection; compact View run log summaries retain their separate change history. CS-044/103 evidence-based status rules and CS-034 user-action separation remain. Reset behavior, target writes, authorization, retention and startup commands are unchanged.

Three reset options (CS-122, approved 2026-10-24)

Compare Session reset, Project reset and Full reset side by side in three option columns, with labeled data rows and Keep, Remove or Restore defaults values. Place each reset button below its own column, retaining its separate confirmation and single inline status. Keep the matrix horizontally scrollable on narrow screens so the choices remain aligned. Reason: a matrix makes retained and cleared data directly comparable without reading three separate descriptions. This is a presentation refinement of CS-122; reset behavior, authorization, stored evidence and report/export content are unchanged. Existing projects require no conversion. Startup commands are unchanged.

CS-122: Session reset preserves connections, settings, scope, target root, mappings, target data, compact history and confirmed file baselines/storage bindings. Fresh checks rebuild readiness before an explicit restart. Project reset keeps only connection details, restores default settings and clears accepted/draft scope, target root, mappings, progress and project history. Full reset also removes connection details. Project reset and Full reset require stopped work and completed applicable access cleanup. Neither requires an empty target or a target inventory request. Reset once, then optionally clear target documents manually before or after the reset. Session reset retains ownership bindings; project/full reset discard completed ownership/setup records while retaining unresolved-write and protected-recovery safeguards; a local reset never proves target access revoked or recovery completed. Project reset and Full reset each leave one new user-action audit entry. Existing projects use these same actions without conversion. This supersedes the target-removal prerequisite and action names of CS-108.

Reason: rebuilding setup must clear scope and target root while keeping manual target housekeeping independent. Each reset option has concise visible help, its own confirmation and one inline status. Session reset retains compact history. Project reset and Full reset clear project history atomically with customer-bound identity history and leave one committed event. Run-log lifecycle rows and current operational exports reflect the same level and cleared configuration. Required internal ownership and unresolved-write records are safeguards, never active scope or readiness. Existing projects are supported without conversion; historical downloaded exports and migration reports remain unchanged. Implemented with local regression tests; live deployment is unverified. Startup commands are unchanged.

Simple deactivation and Show logging (CS-121)

CS-121: Show logging is a read-only activity table, newest first, with Time, By, Action and Details. Activity has no search fields or filters and no Team folder column. Each committed autosave or command appears once. Show details is a hyperlink that opens one flat comparison directly below its activity row, with no nested disclosures or hyperlinks. Details retain recorded before/after changes, deviations, dated source exceptions, errors and plain-language next steps, not repeated full USERS/GROUPS snapshots. Action contains only short counts such as 2 users mapped, 2 users assigned and 2 users access changed, without folder names, category transitions, saved or saved choice suffixes. Count each user once per action type in a command, even across multiple Team folders. An empty mapping remaining empty is not a user action: omit it from activity counts and details, and omit events consisting only of such defaults from the readable Activity projection. Explicit removal of an existing mapping remains a user unmapped action. Original retained audit evidence is unchanged; readable screen and export projections follow the same rule. Exact folders, identities, before/after values and deviations appear only under Show details. Autosaved mapping and category changes describe administrator choices; only matching execution readback confirms changed Nextcloud access. Missing historical scope or change types are Not recorded, never reconstructed from current configuration. There is no Result column: requested, running, verified and attention states appear beside the action where relevant, while complete recorded outcomes remain in details and exports. Only the current customer/session/source-bound failed or unconfirmed request offers Review in Activate or Review in Deactivate beside the action. These links open existing review controls; they never retry a command from logging. Historical or superseded failures have no recovery link. Saved, Requested, In progress, Access applied, Access revoked and Failed / unconfirmed remain distinct. Confirmed execution is joined to its exact customer/session-bound request and retained readback; missing evidence is Not recorded, never reconstructed. Source exceptions is a separate non-foldable card below Activity, with one foldable subcard per Team folder and no further disclosures or hyperlinks. Original dated exceptions remain flat under their original activity details. Reason: make the activity list easy to scan and keep exact changes in its single details level. 50 events appear per page and Export logging includes all retained events, complete original comparisons and recorded results. Opening Activity ignores old filter parameters so no hidden filter can omit events or current Team folders. Existing filtered export URLs retain their read-only compatibility; the screen export covers the full activity list. Readable summaries, affected scope and review guidance use the same projection on screen and in archive/operational exports; original audit events and historical migration reports remain unchanged. Technical masks, raw JSON and access controls are omitted from this screen; processing results remain available in Run results. Audit trail remains user-action-only under CS-034.

Deactivate shows only observed Nextcloud Read only and Read & write groups and their actual members per archive, including externally added and unmapped members; it has no USERS mapping table, No access group, drag controls or End failover button. Revoke access is the only access action. It removes one managed group grant with independent readback while retaining the group and its memberships. Its short help is: Revoking access removes this group’s document permissions while keeping the group and its members. After the last managed group is confirmed off, the same command completes the existing technical-only cleanup and enters Recovery. When groups are already off, Revoke access verifies them and completes that transition. Partial or uncertain outcomes require explicit retry; recovery is never claimed before complete readback. Other groups/direct shares remain untouched; additional-access and recovery/restart guards remain, and synchronization never restarts automatically. Existing stopped-state, exact identity, ownership, source/session binding, fresh pre-write drift checks and standard Nextcloud protocols remain mandatory.

Reason: make activation, revocation and review separate understandable tasks. Existing projects use the same stored plans, commands and audit records without conversion or historical reconstruction; active legacy failovers retain their compatibility controls through recovery. The internal end/toggle commands remain compatible, but the new Deactivate screen exposes only revocation. Reports and archive/operational/audit exports retain complete original evidence; logging exports add a separate readable activity projection and complete filters without rewriting command events or historical reports. Startup commands are unchanged. Implemented with local protocol, worker, rendering, filtering, export, audit, document and browser-script regressions; no live Nextcloud/VPS or employee sign-in certification is claimed.

Clear USERS and GROUPS subcards (CS-120)

Before activation, user mappings and archive categories save automatically after each edit; there is no Save access plan button. Saves are serialized and navigation and activation wait for the latest confirmed save. Inline status distinguishes saving, saved and rejected changes; temporary unconfirmed saves retry idempotently, while terminal rejections retain the edits and block continuation. Each committed save retains its dated before/after comparison in Audit trail and Show logging; no-op retries create no duplicate event. Autosave grants no target access. Existing explicit active-failover commands and confirmations remain.

CS-120: Activate has two top-level subcards, USERS and GROUPS. Each Team folder has its own named subcard inside GROUPS, containing its Read only, Read & write and No access columns. This visually separates the assignments for different Team folders while keeping email rows compact and draggable. USERS places Find source account above the SharePoint user header and Find target account above the Nextcloud user header: search label and input first, then the column header and mapping rows. GROUPS shows only mapped target email addresses in Read only, Read & write and No access columns for each archive, using compact, non-wrapping email text. Read only, Read & write and No access labels sit above, outside their respective email drop areas. Drag an email between columns; email rows have no disclosure or category menu. In USERS, SharePoint user shows only the source email, with Email unavailable when missing; usernames and display names are omitted. User rows have compact spacing and no horizontal separators. USERS has no Mapping or persistent status column. The Nextcloud account choice shows the mapping directly. Saving feedback appears below that choice: Saving..., a brief Saved., or an actionable error that remains visible. Suggested, Selected and Not mapped labels are omitted from the table; Do not map remains the first account option. Suggestions and saved choices remain distinct from verified access and are retained in Show logging and complete exports. Nextcloud usernames remain visible only when different from the email. Unmapped accounts and accounts without an observed email are omitted from the group columns while their mapping and saved categories remain intact. Activate shows USERS and GROUPS with nested Team folder subcards; Deactivate shows observed groups under CS-121. Source exceptions and their expected access changes are available only on Show logging. This placement keeps the access tasks clear; any further decision about handling source exceptions remains pending. Assignment evidence, source proposals, deviations, dated target rights/members and the optional export belong on Show logging. Its USERS and GROUPS overview must compare the application suggestion with the recorded administrator choice, making deviations clear afterwards. Observed target access is shown on Deactivate; Show logging shows recorded processing outcomes in flat details without rights controls (CS-121). Saved choices and accepted requests must remain distinct from applied target access. A short visible sentence directly below Activate failover explains its effect: Activation applies the chosen access rights to mapped users throughout each Nextcloud archive. The existing inline command status and activation confirmation remain separate from this static help. Current exports retain that complete evidence; this presentation change does not grant access or convert projects.

Reason: make mappings and assignments easy to scan, avoid duplicate identities and reduce email wrapping. This supersedes the source-first assignment-card presentation in CS-118; full source and actual membership evidence remains available. Scope stays bounded by CS-119 and background updates preserve edited mappings and category intent.

Recorded failover suggestions and choices (CS-120)

Committed autosaves and accepted archive commands store a dated USERS/GROUPS comparison in the same Audit trail event: exact source and target identities, application email-match suggestions, source-root category proposals, chosen mappings/categories, explicit deviation flags and source exceptions with expected access impact. The record retains source run/session and directory observation time; later source, directory or configuration changes never rewrite it. Move and Replace account record the requested choice, not a claim of applied access. Recorded before/after changes remain available. Unsaved edits, no-op saves, read-only refreshes and worker results create no duplicate choice event. Show logging follows Audit trail retention across Reset session; Start fresh clears project audit history as already approved. Existing projects are supported without conversion or retrospective reconstruction: missing historical suggestions/comparisons/exceptions show Not recorded, while original recorded changes remain visible. Current archive and operational exports include the same complete retained logging; audit exports carry the original event details. CS-034 command/result separation, access guards, startup commands and historical migration reports are unchanged.

Reason: make administrator deviations reviewable afterwards using the actual dated evidence, while keeping the access controls simple. Existing-project handling was explicitly approved on 2026-10-22. Implemented with local atomic-save, requested-choice, historical-read, retention, export and rendering regressions; live target behavior is not certified by this presentation change.

Failover stays within the selected project scope (CS-119)

CS-119 (approved 2026-10-22): archive failover checks and manages only the Team folders bound to the selected project scope and their managed Read only / Read & write groups. It does not request the installation-wide Team folder inventory to inspect other folders or group reuse outside the project. Such reuse is outside scope and cannot block observation, activation, changes, shutdown or recovery. Checks of identities, ownership, current rights and memberships within the selected scope remain. Current screens and exports omit obsolete outside-project observations; original historical evidence is retained.

Reason: Cloud Sync assigns existing accounts to the groups of the selected target archives. Administration and group bindings outside those archives belong to Nextcloud administration, not this project. This supersedes the cross-folder group-reuse check added with issue #45. No project conversion or new workflow gate is required.

Existing-account archive failover implementation (CS-109-118, issue #45)

CS-109-118 are integrated for newly successful synchronization plans with local protocol, worker and authenticated HTTP regressions. The approval records below preserve the earlier design-stage status; they are not current runtime instructions. The new screen appears immediately in normal mode, including existing projects. Before a successful synchronization prepares the group pairs, it shows a read-only preparation preview. Only an already active legacy failover retains its original adapter through recovery. No live Nextcloud installation or production failover certification is claimed.

Synchronization creates two empty, unattached authorization groups per selected root, with exact target/customer ownership and collision checks. It stores complete scoped source users, group memberships, root rights and exceptions. Existing accounts are never created, enabled, emailed or renamed by the new access model. Read only is mask 1; Read & write is mask 15, without sharing or administrator privileges. Shared-root child ACLs deny sibling access and retain only read navigation at the enclosing root.

On Failover, only clicking Refresh accounts reads a bounded complete target directory, exact profiles and current target access. Opening the page shows stored evidence without requesting new target reads. Unique case-insensitive email matches suggest existing accounts; ambiguous or missing matches remain Do not map. Mapping and category edits autosave together without changing target access. Compact mapped target-email rows support moving by drag-and-drop without a per-email menu (CS-120); current target member lists lead with Nextcloud identities and retain externally added unmapped members. Explicit administrator deviations are visible; source exceptions and their expected broader/reduced impact remain automatic dated evidence.

Activate failover queues the reviewed complete plan. During active failover, moving a category changes only that mapped account in the selected archive. Group rights on/off preserves membership. Replace account verifies all affected old removals before any replacement grant; interruption or partial failure retains a durable pending command and requires explicit retry of that command or End failover. This is not an atomic external swap. Independent effective-access tests are not performed by the new model; results explicitly state that only identity, ownership, rights and membership readback are confirmed.

Failover refreshes accounts and target access only after Refresh accounts is clicked. Opening Activate, Deactivate or Show logging never requests a new target read. Refresh accounts and its single inline status appear above both the USERS and GROUPS subcards on Activate and above the observed-group list on Deactivate, because the shared refresh updates accounts and group evidence before review. Deactivate Team folder cards use the same light-grey subcard background as USERS and GROUPS on Activate, including after refreshed observations replace the list. Deactivate also requires an explicit click on Refresh accounts; opening the tab only shows stored evidence. Idle timers and returning to the browser tab do not start another refresh. Pending reads and explicit failover commands are followed until completion using stored status only; polling never queues a new target read. Failed reads require an explicit refresh to retry. Edited proposals are preserved, and fresh pre-write identity, ownership and drift checks remain mandatory. Observation times and stale/incomplete labels remain visible. Target and complete account-directory reads run in the background worker; HTTP requests queue reads and return stored evidence without contacting Nextcloud. Account email/profile choices retain their own directory observation time. Pending or failed reads retain prior evidence with explicit status; queue acceptance is not a refreshed observation. External right and membership changes remain visible, and fresh pre-write comparisons block unseen drift rather than silently replacing it. Unknown descendant ACLs within the managed storage block enabling or expanding access. Other Team folders and group reuse outside the project are not inspected or used as gates (CS-119). Direct shares and other effective access paths are not fully enumerated; detected additional root/mount access is shown separately. Do not interpret incomplete checks as no other access.

End failover removes and verifies both managed group mount grants, preserves accounts/groups/memberships and removes only known managed root ACLs where safe. It enters Recovery without starting synchronization. Existing recovery scans, manual attestations, unchanged-target verification and technical-only restart checks remain. Unknown target access is retained and can block recovery/restart. Optional archive evidence and Run results carry the same proposals, deviations, target observations and command outcomes as the screen; Audit trail contains meaningful commands and committed choices only under CS-034. Startup commands and historical reports are unchanged.

Source proposals and actual group-member identities (CS-118, approval record; see implementation status above)

CS-118 (issue #45): source-based assignment proposals show the SharePoint identity first. Show the mapped Nextcloud identity below when it differs; show Not mapped when no target mapping exists. Actual group-member observations show the actual Nextcloud account first, with the source identity alongside when a mapping exists. Keep externally added Nextcloud members without a source mapping visible.

Use email and username to explain the identities without confusing the source suggestion with actual target membership. Accounts without email remain identifiable by username. Keep exact account bindings under CS-109 and current target observation times and stale/incomplete labels under CS-113. Visibility of an externally added member does not create a source mapping, approve access or authorize an automatic membership change.

Reason: let the administrator recognize the source user when choosing access and see who actually belongs to the target group, even when source and target email differ. Implementation status: approved design only; current assignment/member rendering, mapping, permissions and exports are unchanged. This resolves the remaining original identity-presentation question in issue #45; CS-109-117 retain their approved boundaries.

Replacement screens and operational exports must retain the same source/target distinction, mapping presence, externally observed members and dated evidence. Preserve CS-034 audit/result separation, one inline status and historical evidence; no extra approval or report-generation step is introduced. Startup commands are unchanged; local information tests do not certify live identity discovery or membership accuracy.

End failover within managed group rights (CS-117, approval record; see implementation status above)

CS-117 (issue #45): ending failover turns off the document rights of both managed groups for each selected archive and independently verifies the result. Preserve existing accounts, the two groups and their memberships. This revokes access through the managed failover groups; it is not a claim that every possible employee access path has disappeared.

Do not automatically remove other groups, direct shares or unrelated access. Show detected additional access separately. Mark incomplete or unavailable checks explicitly; never present them as no remaining access. Read current target rights before changes, preserve identity and ownership checks, protect technical storage and sibling destinations, and retain verified, failed and unconfirmed outcomes. An accepted end command does not prove rights have been revoked.

Recovery and synchronization restart retain the required recovery, technical-only storage and unresolved-access checks. A verified group-rights shutdown does not automatically complete recovery or start synchronization, and additional access must not be ignored to bypass those checks. Retained memberships alone grant no new rights and are not authorization to silently re-enable the groups.

Reason: end the bounded failover grants without deleting accounts or disturbing unrelated Nextcloud administration. This resolves external-access cleanup policy left pending in CS-113/114/115/116 for the future simplified replacement. It refines CS-110: initial group creation is empty; after ending a failover the memberships may remain, while document rights stay off. Implementation status: approved design only; runtime deactivation, cleanup, recovery guards, adapters and exports are unchanged.

Replacement screens and operational exports must distinguish verified managed-group rights off, preserved memberships, detected additional access and incomplete checks, with observation times and step outcomes. Preserve CS-034 command/result separation, one inline status and historical evidence. No extra approval or report-generation step is introduced. Startup commands are unchanged; local information tests do not certify live revocation or absence of all effective access.

Controlled target-account replacement (CS-116, approval record; see implementation status above)

CS-116 (issue #45): during active failover the authorized customer administrator may explicitly replace a mapped Nextcloud account of a source user. First remove the affected managed failover-group memberships from the old exact target account and independently verify removal. Only then grant the new exact target account its selected memberships. If removal is failed or unconfirmed, stop without granting replacement access.

Revalidate current target identities, mapping uniqueness, group ownership and actual memberships before changing access. Only memberships associated with the replaced mapping are affected. Preserve accounts, unrelated groups, direct shares and other access; removing these memberships is not a claim that the old account has no remaining effective access. Do not disable or delete either account. Keep selected-root isolation and the approved rights profiles.

Reason: allow mapping corrections during an outage without knowingly leaving both mapped accounts with the same managed access. Nextcloud changes are not an atomic swap: the old account may lose managed access before the replacement succeeds. Retain each verified or unconfirmed step and expose partial outcomes; a failed replacement must not appear completed or silently restore old access. Explicit retry requires current evidence and the recorded operation state.

Implementation status: approved design only; runtime mapping locks, membership commands, target adapters and exports are unchanged. This resolves active-account remapping left pending in CS-113/114/115 for the future simplified replacement. Ending failover and external-access cleanup boundaries are now approved under CS-117. Replacement screens and exports retain old/new exact account identities, affected memberships, command actor, before/after choices and step outcomes. Preserve CS-034 audit/result separation, one inline status, historical evidence and startup commands; no additional approval or report-generation step is introduced. Local information tests do not establish live target replacement support.

Explicit deviations from source proposals (CS-115, approval record; see implementation status above)

CS-115 (issue #45): the authorized customer administrator may explicitly choose Read only, Read & write or No access instead of the automatic source-root proposal, including a higher category. For example, a source reader may be assigned Read & write. Make the deviation visible and retain both the dated source proposal and the administrator-selected category, bound to the exact mapped target identity and selected archive.

Before failover the change edits the proposal only. During active failover the explicit command changes actual membership in the managed group pair under CS-113, with fresh target observations and independent outcome readback. Normal synchronization and read-only refresh never increase access or overwrite explicit administrator choices automatically. Missing or ambiguous source evidence remains explicit; a manual choice never makes it complete or verified.

Reason: source rights provide an explainable starting point while the customer administrator remains responsible for deliberate continuity access choices. This supersedes the source-right ceiling in CS-039/085/087 for explicit category assignments in the future simplified replacement only. It grants no sharing, administrator, cross-archive or unrelated-account management rights; CS-109 identity mapping, CS-112 exception visibility and CS-114 profiles remain authoritative. No access still concerns only the managed group pair.

Implementation status: approved design only; runtime source-right caps, membership commands, permission enforcement and exports are unchanged. Activated-account remapping is now approved under CS-116; ending failover and external-access cleanup boundaries are approved under CS-117. Replacement screens and exports must distinguish source evidence, selected deviations, actual target observations and verified/unconfirmed outcomes. CS-034 audit records the explicit command and committed choice separately from processing results, with before/after differences and actor identity. Preserve single inline statuses, historical evidence and startup commands; no extra approval or report-generation step is introduced. Local information tests do not certify live access enforcement.

Failover rights profiles (CS-114, approval record; see implementation status above)

CS-114 (issue #45): Read only permits reading and downloading documents. Read & write additionally permits creating, editing, moving and deleting files and folders within the selected archive. Neither profile grants sharing or administrator privileges. Moving within the archive does not grant access to another selected root or an unselected destination.

Reason: give the two managed groups predictable, easy-to-explain capabilities while keeping sharing and administration outside employee failover access. No access continues to mean membership in neither managed group, not absence of other effective access. These are intended profiles, not a claim about actual target enforcement: CS-113 requires current Nextcloud rights, external differences, observation times and stale/incomplete evidence to remain visible. Reading external differences does not automatically restore the profile.

Implementation status: approved design only; runtime permission masks, enforcement, target adapters and exports are unchanged. This resolves exact profile capabilities left pending in CS-111/112/113. Explicit source-proposal deviations are now approved under CS-115; activated-account remapping is approved under CS-116; ending failover and external-access cleanup boundaries are approved under CS-117. Independent identity, ownership, scope isolation and permission readback remain required; local information tests do not certify live Nextcloud capability enforcement.

Replacement screens and operational exports must distinguish the intended Read only / Read & write profile and its capabilities from dated observed target rights and actual change outcomes. Preserve single inline statuses, CS-034 audit separation and historical evidence. No extra approval or report-generation step is introduced. Startup commands are unchanged.

Bounded live failover group management (CS-113, approval record; see implementation status above)

CS-113 (issue #45): Cloud Sync remains the management surface for its own two failover groups per selected archive. Read actual Nextcloud group memberships and document rights, including external Nextcloud changes, and show the last successful observation time. Saved proposals or previously applied settings never substitute for current target observations. Refresh observations while the page is visible and when returning to it; failed, incomplete or unavailable reads retain clearly stale evidence and cannot establish current access.

Before failover, moving a user between Read only, Read & write and No access changes the proposal only. During active failover it changes actual memberships in these two groups, with exact identity and ownership checks and independent readback. A user belongs to at most one of the pair; No access means membership in neither, not proof of no access through other groups or direct shares. External membership conflicts must be shown rather than silently normalized by a read.

During active failover the administrator can turn the document rights of either managed group on or off while preserving its memberships. Read current target rights again before each change, retain external differences and verify the outcome afterwards; do not silently overwrite external Nextcloud changes from a saved plan. Unknown or unconfirmed observations cannot be presented as a successful change. A read or page refresh never changes permissions or memberships.

Only these exactly bound groups and their rights on the corresponding archive are managed. Accounts, other groups, direct shares and unrelated access remain outside this control. Keep technical storage access and sibling destinations protected. Show actual externally observed rights even when they differ from the intended Read only / Read & write profile, without claiming those differences are supported or automatically correcting them.

Reason: provide one understandable place to inspect and manage the limited failover access boundary without hiding Nextcloud changes. This replaces the proposed handover of all ongoing access management to Nextcloud; that handover was not approved. Implementation status: approved design only; existing runtime access controls, target adapters and exports are unchanged. This refines CS-111 proposal-only dragging to distinguish preparation from active failover. Exact profile capabilities are now approved under CS-114. Explicit source-proposal deviations are now approved under CS-115; activated-account remapping is approved under CS-116; ending failover and external-access cleanup boundaries are approved under CS-117.

Follow the single inline status standard and CS-034 audit separation. Membership/right observations, source suggestions, user commands and verified or unconfirmed outcomes remain distinct in replacement screens and operational exports, with observation times and stale/incomplete labels. Reads create no user-command audit event. Current reports and historical evidence remain unchanged. Startup commands are unchanged; local information tests do not certify live target integration.

Archive-wide access and source exceptions (CS-112, approval record; see implementation status above)

CS-112 (issue #45): the chosen Read only, Read & write or No access assignment applies throughout its selected archive. The replacement does not reproduce descendant folder or file permission exceptions. Reason: keep failover access simple and explainable at the selected-root level. This can broaden access where the source restricts a descendant and reduce access where a user only has an additional descendant grant. Selected-root boundaries and isolation from sibling destinations remain mandatory.

Automatically retain a dated source-exception overview with paths, source users/groups, differing source rights and the expected access expansion or reduction under the simplified proposal. Keep it visible before activation and afterwards, with an optional export and no separate report-generation step. Preserve the observed source evidence and its observation time; distinguish predicted consequences from actual target access. Incomplete evidence must be explicit and never represented as no exceptions or a complete impact assessment.

The existing activation confirmation explains that ignoring descendant exceptions can broaden or reduce access, including access to a previously restricted confidential subfolder. No separate approval workflow or duplicate readiness/status block is introduced. Replacement operational evidence must retain the same exception and impact information shown on screen, including the dated choices applied at activation. Historical migration reports and previous exported evidence remain unchanged.

Implementation status: approved design only; current permission enforcement, source-rights collection and exports are unchanged. This supersedes the source-exception-preservation requirement in CS-087/089/095 for the future simplified replacement only. CS-109 existing-user mapping, CS-110 activation timing and CS-111 source-root suggestions remain approved. Ongoing group management is now approved separately under CS-113. Exact profile capabilities are now approved under CS-114; explicit source-proposal deviations are now approved under CS-115. Existing identity, ownership, verification, revocation and recovery safeguards still apply. Startup commands are unchanged; no live integration validation is claimed.

Automatic failover access proposals (CS-111, approval record; see implementation status above)

CS-111 (issue #45): propose one category per source user and selected scope root from effective rights at that source root, combining direct rights and group memberships from the last complete successful synchronized observation. Root read-only access suggests Read only; root write access suggests Read & write. No root access or incomplete/ambiguous evidence suggests No access with an explanation. Descendant-only access never implies access to the entire selected root.

Keep unmapped source users visible as Not mapped and ineligible for activation. Mapping status remains separate from the proposed access category. Before failover, dragging between categories changes the proposal only and grants no target access; active failover membership changes follow CS-113. Employee access still requires explicit failover under CS-110, with existing-account mapping under CS-109. Show the source evidence observation time; an automatic proposal is not current live authorization or verified target access.

Reason: make a simple, explainable initial classification without promoting a subfolder grant to access across the archive. Implementation status: approved design only; runtime classification, mapping and authorization remain unchanged. This resolves the classification question left pending in CS-109/110. Source exceptions are now approved separately under CS-112. Ongoing group management is now approved separately under CS-113. Exact profile capabilities are now approved under CS-114; explicit source-proposal deviations are now approved under CS-115; CS-111 alone did not approve those policies.

Replacement operational evidence must distinguish source-root evidence, the suggested category, administrator changes and actual applied access, including missing or uncertain evidence. Existing single inline statuses and CS-034 command/result separation remain. Current exports and historical reports retain their actual evidence. Startup commands are unchanged; local information tests do not establish live integration support.

Failover group timing (CS-110, approval record; see implementation status above)

CS-110 (issue #45): create two managed authorization groups per selected scope root when its managed Team folder destination is created during synchronization, for example Finance_group_readonly and Finance_group_readwrite. During normal synchronization both groups remain empty and have no document grants. Required technical storage access stays separate. Exact managed ownership and collision checks must protect unrelated groups; readable example names do not authorize adopting an existing group.

Only explicit failover applies document rights and approved employee memberships to these groups. No access is a local assignment state, not a third Nextcloud group. Prepared empty groups do not mean employee access is active or failover is ready. A shared optional root grouping must preserve isolation between selected scope roots; creating the group pair never grants access to sibling destinations.

Reason: prepare the predictable group structure ahead of an outage while keeping employee access closed until explicit failover. Implementation status: approved design only; current synchronization, group preparation and activation behavior is unchanged. This supersedes the authorization-group creation timing in CS-039/086 for the future replacement, not the current runtime. CS-109 existing-account mapping remains approved; initial access classification is now approved under CS-111 and source exceptions under CS-112. Ongoing group management is now approved separately under CS-113; explicit source-proposal deviations are now approved under CS-115.

Apply the existing single inline status standard and CS-034 audit separation: accepted commands do not prove group creation or active access. Replacement operational evidence must distinguish group preparation, document grants and employee membership outcomes, including failures and uncertainty. Current exports and historical reports retain their actual evidence. Startup commands are unchanged; no live target validation is claimed.

Existing-user failover mapping (CS-109, approval record; see implementation status above)

CS-109 (issue #45): the approved replacement maps scoped SharePoint users to existing Nextcloud accounts only; Cloud Sync will no longer create employee accounts in this model. Reason: simplify outage preparation and make account responsibility clear. Missing target accounts must be created independently before activation. The current implementation still uses its existing provisioning and authorization workflow until this replacement is implemented and tested.

Show all source users in the selected scope, including unmatched users, using the last complete successful synchronized identity evidence and its observation time during an outage. Suggest a target only for a unique case-insensitive email match; missing or duplicate matches default to Do not map. Show email with username below on both sides, with searchable target choices by email, username and display name. Keep accounts without email identifiable by username. Do not map is the first option; multiple source users cannot share one target account.

Suggested, Selected and Not mapped describe mapping only and grant no access. Preserve explicit choices across refreshes. Bind choices to exact target account IDs and revalidate identity and availability before activation; missing, disabled or changed accounts require review rather than silent remapping. Actual access outcomes remain separate: Not activated, Applying access, Access applied or a specific failed/unconfirmed result, with tested versus untested effective access stated explicitly.

Implementation status: approved design only. Group creation timing and rights/membership activation timing are now approved separately under CS-110; initial access classification is approved under CS-111 and permission exceptions under CS-112. Ongoing group management is now approved separately under CS-113. Existing ownership, unrelated-access protection, revocation and recovery safeguards must be resolved for existing accounts before implementation. Current operational exports and historical reports retain their actual evidence; replacement exports must distinguish mapping proposals, saved choices and applied access. Startup commands are unchanged.

Project recovery and fresh setup (CS-108)

CS-108: Project offers Reset session to recover the existing setup and Start fresh to configure it again. Reset session preserves connections, credentials, settings, accepted scope, target names, mappings, target files and compact history. It retains confirmed file baselines and storage bindings for fresh comparison, safely drains active work, clears stale progress and invalidates old checks and readiness. Managed access cleanup runs automatically where required. Check connections and refresh source evidence before explicitly restarting sync; uncertain operations still require verification. Reset never claims that an external error or access change has been resolved.

Start fresh preserves connections and credentials, restores default settings and clears scope, mappings, progress and project run/debug/file-change/audit history. Stop work and finish managed access cleanup first; use Reset session to recover interrupted work. Manually remove the project Team folders in Nextcloud administration, then use Start fresh. An exact Nextcloud administrator account and a fresh complete management inventory must confirm the known folder names and IDs are absent before local deletion; inaccessible, malformed or mismatched evidence blocks. Cloud Sync never deletes the target on this command. Required principal ownership, unresolved-write guards and protected recovery copies remain; verified absent folder bindings are removed so a new setup can reuse names. One new user-action audit entry records who started fresh and when. Server logs, previously downloaded exports and original migration reports remain outside this action.

Reason: distinguish recovery from a new configuration without making target deletion an application feature. This supersedes the scope/mapping clearing behavior of Reset session in CS-100 and permits explicit project history removal as a refinement of CS-034/107. Separate confirmations and one inline status per action explain the boundary; no duplicate readiness or report step is added. Current operational exports reflect retained configuration after reset and cleared history after Start fresh. Startup commands are unchanged. Local regressions do not certify live Nextcloud behavior.

Run log lifecycle boundaries (CS-107)

CS-107 refresh refinement: View run log refreshes its existing table every 15 seconds while visible, and immediately on returning to the page. Filters, pagination, edited search fields, open run changes and diagnostic breakdowns are preserved. Run/session identities keep detail buttons and keyboard focus attached to the correct run when new rows arrive. Active inputs, links, text selection and clear-history forms defer replacement; new debug forms retain confirmation and CSRF guards. Requests are read-only, bounded to ten seconds and never overlap. Interrupted refreshes retain the last loaded evidence and explain retry inline; a changed project session requires reloading. Refresh never starts work, creates an audit event or changes exported evidence. This restores the CS-050/052 automatic-display contract for the CS-103/107 table, whose old refresh hook no longer matched. Local JavaScript and authenticated HTTP regressions do not certify live browser/VPS behavior. Startup commands are unchanged.

CS-107: View run log also shows retained user start, restart and stop requests and committed Reset session events in chronological order with runs. Thin horizontal lines above and below start, restart and stop rows mark synchronization commands; thicker lines above and below each committed reset mark session boundaries. Reason: operational history needs visible lifecycle boundaries as well as file outcomes. Start and stop rows describe accepted commands, not verified copying, stopping or access cleanup. A requested but uncommitted reset is not a completed reset marker.

These rows are read-only projections of the existing customer audit records, with no duplicate audit writes, invented run counts, durations or transfer success. Audit trail retains the original actions under CS-034. Lifecycle rows survive project resets and follow audit retention; unavailable or expired records are not reconstructed. Date filters and pagination cover both runs and lifecycle rows. File, action, type and run filters exclude lifecycle rows because commands have no matching file change. Debug stays attached only to real runs. Optional file-change and operational exports add lifecycle_events while preserving existing run_summaries and file changes. This refines CS-100/101/103 without changing execution, authorization, cleanup, startup commands or historical migration reports. Implemented with local rendering, command/reset, pagination, retention and export regressions; live browser/VPS appearance remains unverified.

Safe retries, storage and history (CS-106)

CS-106 reliability refinement: Temporary buffered Nextcloud reads retry at most three times with bounded backoff; source reads also retry temporary server failures and interrupted responses. Probe cleanup independently reads exact owned account state after a temporary disable failure before retrying, at most three disable attempts. Confirmed disabled probes proceed to deletion without another disable. Denial, changed identity, invalid evidence, uncertain deletion and exhausted retries still block; the last successful baseline and source rights plan remain authoritative. Current Run results and operational exports retain the same credential-safe failure details. No extra workflow step or success claim is introduced; local tests are not live server certification.

CS-106: Scope drafts save as a bounded compact request and still require Accept changes before becoming active. Temporary request-lock conflicts retry automatically; stale sessions, invalid values, authorization and workflow blockers require the stated action. The single inline status never treats an unconfirmed response as a successful save.

Administrator logins are reserved against existing accounts and pending invitations. Customer creation and invitation acceptance commit identity and customer audit together. Replace invitation invalidates the previous unaccepted code without moving an existing account. Public sign-in and invitation work has shared short-lived limits before password hashing. Independent sign-in, MFA and production isolation retain their validation boundaries.

New protected recovery copies are encrypted and independently verified in bounded blocks before a target update, move or deletion. Interrupted or invalid capture blocks mutation. Original Fernet copies retain their original memory requirement; Copy once still buffers file content. New recovery downloads stream. Keep enough encrypted recovery disk capacity; local tests do not certify multi-gigabyte live operations.

One scheduler owns bounded customer slots and never overlaps work for one customer. Free slots serve eligible customers while unrelated rounds run. Valid long source throttling deadlines defer continuous synchronization; Stop and changed configuration interrupt shorter waits. Fresh checks, conditional writes and uncertainty guards remain mandatory.

Audit pages filter and count in SQL before loading at most 50 event payloads; optional exports stream every match. Free-text search scans candidates with bounded memory. Target-name search uses NFC normalization and Unicode case folding without changing original names or path identity. Retention skips expired details and expires at most 50 eligible successful runs per customer sweep, normally once per minute. Unresolved evidence, CS-034 audit separation, CS-100 history and CS-103 Debug links remain protected.

Efficient fresh synchronization checks (CS-105)

CS-105: Normal synchronization keeps fresh source content, permission, membership and target identity/version observations. Every source permission boundary reads current mode, task, configuration and active-run identity in one database read. Only informational heartbeat writes are limited to once per five seconds; Stop, configuration changes and a changed active run still block on the next boundary. There is no authorization cache across items or runs and no delta-only shortcut that could miss permission changes.

Independent target directory reads can overlap within a complete inventory, bounded by the run-captured Max workers limit (at most 16), with thread-local DAV sessions, coordinator-only response merging and drained in-flight reads on failure or Stop. All original direct-child, XML, identity, property-status, completeness and subsequent version guards remain. Serial mode and narrow directory trees remain supported. Current target inventories are still collected at the original planning, preparation and finalization boundaries; an earlier run is never treated as fresh evidence. An exactly matching freshly read technical root ACL skips only its immediately redundant no-op read; actual ACL changes retain a fresh pre-write check and independent readback.

Show debug adds Finalizing managed permissions, Verifying final root access and Recording failover plan substeps under the existing finishing step. They remain included in the parent duration and automatically appear in compatible operational exports. Basic outcomes, rights evidence, transfer/resume/retry controls, optional Debug visibility, CS-034 audit separation and the single inline status remain unchanged. Reason: remove repeated local bookkeeping and overlap independent read requests while preserving the evidence needed to detect changes. Local before/after measurements against 8084ac6 show identical source rights and target inventories; they are not live SharePoint/Nextcloud/VPS timing guarantees. See round-read-performance.md for reproducible scenarios and limits. Implemented with stop, configuration/run-change, changed-rights, malformed/incomplete inventory, bounded-concurrency, mutation/readback, report and document alignment regressions. Startup commands and settings are unchanged; deploy normally and restart web and worker.

Audit timestamps and application version (CS-104)

CS-104: Audit trail shows local Europe/Amsterdam date and time, including seconds, without a visible UTC offset. Application version is a separate column immediately after Time. New user-action and customer-bound identity events capture the package application version when written; subsequent upgrades never relabel earlier actions. Existing records without version evidence show Not recorded. Reason: keep timestamps readable and identify which application version recorded an action without inventing historical versions.

The additive app_version field is preserved by complete filtered audit and operational exports. Stored epoch timestamps, Europe/Amsterdam day filters and export time-zone context remain unchanged, including distinct instants during the repeated daylight-saving hour. This refines CS-034 audit presentation while preserving user-action/process separation, customer binding, secret redaction, retention and immutable recorded evidence. Shared dashboard timestamp formatting and historical migration reports remain unchanged. Existing stores add the version field automatically without historical backfill. Implemented with local formatting, version capture, schema upgrade, identity, export and document alignment regressions; live deployment validation remains pending. Startup commands are unchanged.

Run summaries and inline debug (CS-103)

CS-103: View run log uses one summary row per run: Started, Duration, Folders A / M / D, Files A / M / D, Outcome and Details. A / M / D means Added / Modified / Deleted; moves and renames count as Modified and retain their exact action in expanded changes. Only confirmed changes count, including verified items in failed or partial runs. Duration is the whole recorded run, independent of item filters and diagnostic steps. Unfinished runs show In progress; unavailable timing is labelled rather than invented.

View debug log is removed. Only while the Debug flag is enabled, a Debug column appears immediately after Details. Show debug is an ordinary link opening the recorded measurements below that same run; Hide debug closes them. The flag hides the entire column, links and measurements when off, including forged or old URLs, while preserving stored evidence. Availability is read in a batch and detailed measurements are loaded only for the selected current-session run. Debug capture remains opt-in at action start; partial/interrupted labels and safe Clear debug history guards remain. Clearing finished measurements preserves active work, compact changes, summaries, audit and recovery evidence. Old debug-tab links open View run log without creating a separate tab.

The main run table replaces the duplicate secondary summary list. Available run issues link to Run results for retained diagnostics and full verification evidence; legacy hide-history commands remain compatible but compact history is never hidden. Zero-change runs remain visible without item filters. File/folder, action and target filters select matching runs and expanded items, while the summary retains full retained run totals and states the matching count. Date filters retain matching recorded changes, including runs that started earlier; zero-change runs use their start date. Run pages and expanded change pages each contain at most 50 rows. Existing run links open the appropriate page. Unknown legacy dates, outcomes or timing stay explicitly unconfirmed.

Compact run summaries, including zero-change runs, follow Audit trail retention and survive Reset session without restoring full session archives or copying approvals/readiness. Existing expired evidence cannot be recovered. Compatible file-change exports retain every matching item and add complete matching run summaries with explicit Added / Modified / Deleted count order; operational exports also add compact summaries. No new timing collection, workflow gate, progress/readiness block or report-generation step is introduced. Historical migration reports remain unchanged. Reason: compare execution dates, duration and change volume at a glance, with changes and optional diagnostics available beside the same run. This supersedes the CS-101/102 item-first layout and CS-099 separate debug tab; CS-034 audit separation and CS-100 compact retention remain. Implemented with local summary, filtering, pagination, reset, export, Debug visibility/clearing and document alignment regressions; live deployment validation remains pending. Existing stores automatically add the compact summary table and backfill available runs in bounded worker batches. Startup commands are unchanged; restart existing web and worker services after deployment.

Run-date headings (CS-102)

CS-102: View run log groups the matching page entries by internal run and session identity and shows the run start date/time as a heading with a thick horizontal separator. Individual item rows stay quiet without repeated dates or separators. A run spanning pages has its date heading repeated on each page. Filters, item timestamps, retention and complete matching optional exports retain their meaning; export rows are not reordered or removed by presentation grouping.

View debug log also uses Rundate and the saved run start date/time as its disclosure heading, followed by status. Internal run/session IDs remain available to internal evidence and compatible exports, without being the visible headings. Debug visibility, collection and clearing guards are unchanged. Reason: date headings identify a user-visible execution better than opaque IDs.

New compact history retains the existing run start timestamp, including during backfill and before reset discards technical summaries. For older entries whose start is unavailable, show the earliest retained recorded observation for that run and explicitly label the missing start; filters and page boundaries do not invent a new date. No full session snapshots or extra timing measurements are introduced. A customer-local run/session/time index bounds the dated lookup to the displayed runs. Local tests cover grouping, filtering, pagination, upgrade, reset and debug guards.

Useful history without session snapshots (CS-100/101)

Initialization is always available, including configuration-mismatched failover. It resets the local workflow to normal setup. Target files and folders are preserved. Managed access cleanup runs automatically in the worker. Retry access cleanup is only needed after an error; missing ownership evidence requires operator review.

CS-100: Reset session retains Audit trail and compact file/folder history under the same configurable retention (12 calendar months by default). It discards old setup, discovery, mappings, progress and technical run copies without creating a complete session snapshot. Session history and its JSON download are removed. Reason: retain information the administrator uses, rather than full copies with no user-facing purpose. This supersedes earlier service session-archive promises; inherited migration sessions and original migration reports are unchanged.

Operational records needed for safe continuation remain: target ownership and bindings, unconfirmed writes, protected recovery copies, and access cleanup or interrupted failover obligations. Run results exposes unresolved operations and recovery evidence without credentials. Existing full session snapshots are converted automatically in bounded worker batches: preserve retained compact changes and missing unresolved-write guards, then remove the snapshot atomically. Unreadable or cross-customer snapshots remain for operator repair. Unreferenced source-plan versions are removed only after the last legacy snapshot is converted; referenced active/recovery versions remain.

CS-101: View run log uses collapsed compact search controls and Rundate, Change, Type and Target columns, without technical run/session identifiers, run-observation row labels or horizontal row separators. Optional exports preserve their evidence fields. Short explanatory help remains visible in smaller text, including synchronization behavior and timeline guidance; disclosures remain for actions and substantial results, not help alone. Busy stages show only elapsed mm:ss beside real progress; scheduled idle status says Waiting for next sync without the previous percentage. Warnings still explain pending retries.

Tabs navigate without executing work. Read-only rendering loads the visible tab data and batches run-summary reads, without cross-request authorization caching or skipped source checks. Public scripts/styles have content-versioned URLs and browser caching; customer pages and API results remain no-store. These response improvements also apply when SharePoint has no changes; they do not by themselves shorten a synchronization scan. Local response and regression tests do not establish VPS or external service timings.

Compact file and folder history

CS-098: View run log shows confirmed added, changed, moved/renamed and deleted files and folders with recorded time, target path, prior path where known, run and project session. Reason: administrators need operational history directly in the application, separately from who issued commands. Compact item changes follow the Audit trail calendar-month retention setting, 12 months by default, independently of successful technical item details (90 days by default). Verified item outcomes in partial or failed rounds remain factual item observations; failed, skipped or ambiguous attempts are not presented as successful changes. Recorded time is a confirmation observation, not an atomic remote write timestamp; imported older evidence uses its run observation time. Existing retained details are backfilled before expiry where available; expired or missing evidence is never invented. History remains visible across project sessions and is independent of hidden run summaries, Debug and optional session exports. Date/path/type/action filters and pagination retain their matching complete optional export. Audit trail continues to show meaningful user commands and committed changes with customer-bound identity and before/after evidence under CS-034; worker changes remain under Synchronization. Session and operational exports retain the same applicable compact evidence within its retention period. This supersedes treating expired technical details as the only file-change history. Historical migration reports are unchanged. Implemented with local history, retention, rendering, protocol and export tests; no live integration certification is claimed.

Debug log and explicit clearing

CS-099: Synchronization has Synchronize, Copy once, View run log and, only while Debug is enabled, View debug log. Reason: keep ordinary file/folder history readable and collect detailed diagnostic timings only when requested. View debug log contains detailed synchronization-step, preparation, source-permission and file-permission durations recorded for actions started with Debug on. Debug is captured at action start; changes apply from the next synchronization round or permission discovery. Disabled diagnostics do not run their measurement clocks or collect counters. Switching Debug off hides the tab and does not erase past measurements or operational evidence. Clear debug history removes stored measurements for finished actions in the current project session; active or unfinished measurements, file changes, run outcomes, audit and recovery evidence remain protected. The authenticated CSRF/session-bound command creates one user-action audit event; it is rejected when Debug is off. Existing archived evidence and server logs are not rewritten by this command. New source-rights plans exclude diagnostic timings, which remain separate from immutable authorization evidence. This refines CS-091 navigation and supersedes displaying detailed timings in ordinary run details. Tabs only navigate, exports remain optional, and no extra report-generation or readiness step is introduced. Local regressions are not live target certification. Startup commands are unchanged.

Shared source-plan history

Shared versions use the existing customer-data encryption key, including versions referenced from encrypted session archives. Keep the complete customer database and its key together for backup and restore; downloaded operational exports remain self-contained.

CS-097: New successful synchronization rounds retain their own dated summary and observation while sharing immutable source-plan content when that content is exactly unchanged. Reason: repeated full inventories, identities and permissions add storage without new evidence. Only the outer run ID and observation time are stored separately; changed rights, membership, content baseline, target identity, scope, configuration revision or project session produce a distinct version. Every round still performs its current source and target checks. The active failover plan remains independently available; failed, incomplete or interrupted rounds cannot publish a new successful plan. Customer-bound references are resolved and integrity-checked for Run results, operational exports and new session archives. Missing or inconsistent versions block evidence retrieval rather than imply verified rights. Shared versions are retained, including those referenced by history, archived sessions, failover, recovery or unresolved work. Existing inline plans, archived payloads and historical migration reports are not rewritten. Existing retention periods, source authority, explicit failover, CS-034 audit separation and inline action feedback remain unchanged. Local storage, protocol, export and session regressions provide implementation evidence; no live certification is claimed. Startup commands are unchanged.

Normal mirror verification

CS-096: Normal Cloud Sync mirrors folders and files while collecting complete scoped source rights, groups, memberships and exceptions for the last successful failover plan. It no longer runs a separate ACL and effective-access scan over every existing unchanged Nextcloud file during preparation. Reason: the reported 1,838-file unchanged round spent 217.072 of 306.433 seconds in that scan, without an ACL write or file transfer; copying content and storing source rights do not require repeatedly testing employee file access. Fresh technical Team folder identity, mount grants, root ACL/readback, folder access, target inventory and version guards remain. Newly transferred or replaced files retain individual permission verification, content/size/date/identity checks and protected recovery safeguards. Source permission collection is unchanged. File ACL changes made outside Cloud Sync may remain undetected on unchanged files until a targeted check or failover preparation; a normal successful round is not evidence of a full target file-permission scan or effective employee access. Employee rights are applied only at explicit failover using Team folder only or Team folder with source exceptions; captured choices, unknown-ACL guards and the optional effective-access test remain. Run results and compatible exports store the per-run target permission policy and show this verification boundary even without Debug. Historical runs and migration compatibility retain their original checks and evidence. No extra setting, workflow step, report-generation action or periodic scan is introduced. CS-096 supersedes the every-existing-file scan requirement of CS-053 and related normal-sync read optimization decisions. Implemented with local standard-protocol regressions; live performance remains installation-dependent. Startup commands are unchanged.

Team folder permissions and source exceptions

An optional enclosing root retains separate selected-root authorization boundaries and read-only navigation. Team folder only ignores exceptions below each selected root; it never merges different selected roots into one grant. Results distinguish selected-root boundary rules from underlying source exceptions.

CS-095: Failover > Activate offers Failover authorization directly above Prepare failover: Team folder only or Team folder with source exceptions. Synchronization always collects and preserves all scoped source rights, memberships and exceptions, regardless of this choice. Reason: the administrator chooses employee access when preparing failover; storing the rights already happens during synchronization. Team folder only applies each selected source root's group and direct-user rights throughout its own Team folder; underlying restrictions and grants are ignored, so access can be wider and descendant-only principals gain no access. Team folder with source exceptions preserves captured underlying rights. The first accepted Prepare failover or Activate now command captures and fixes the choice for that failover plan, including automatic group preparation. It does not change the source revision or require another synchronization. Pending commands and retries retain the captured mode; changing a prepared or uncertain plan is blocked. Deactivate failover and complete recovery before choosing another mode for a new plan. Existing prepared plans keep their recorded mode; existing saved legacy settings remain only a compatible initial default. New configurations default to preserving source exceptions. One accepted command records the authorization before/after choice in user-action Audit trail; Run results, operational exports and session evidence retain the captured mode separately from processing success. Normal synchronization remains technical-only, employee activation and No access stay explicit, selected-root boundaries and ownership/readback guards remain authoritative. This supersedes the Settings placement and new-sync requirement of CS-089. Implemented with local protocol and UI regressions; no live target certification is claimed. Startup commands and historical reports are unchanged.

CS-089: Team folder permissions are the base; ordinary descendants inherit and additional path ACLs are limited to effective source-right exceptions. Reason: repeating identical permissions on every folder/file adds complexity and target writes. A mount grant is a ceiling: it must cover authorized descendant rights, while a root ACL records a more restricted baseline when necessary. Each exception carries the complete source-group/direct-rights matrix so overlapping memberships preserve their combined access in both Nextcloud inheritance modes. Folder/file exceptions, read-only ancestor navigation and No access remain source-bounded. Normal synchronization retains technical-only mount/root access and does not add duplicate technical ACLs to ordinary descendants. Known obsolete employee rules are removed where inheritance applies; unknown principals, changed rules or incomplete readback block. Permission writes retain exact before/after retry journals, identity and fresh pre-write/readback checks. Effective allowed/denied probes and descendant inspection remain required; reduced writes do not mean omitted verification or live certification. New successful source plans use this strategy; existing published plans retain their compatible strategy until a fresh successful sync replaces them. No target restructuring or initialization is required. Automatic Run results, operational exports and session archives distinguish Team folder base rights, root rules, exception paths and inherited path counts. User-action Audit trail and single inline statuses remain separate under CS-034. This refines CS-086/087/088; source exceptions remain authoritative unless the administrator explicitly selects Team folder only.

Automatic group names and member activation

CS-088: Groups on Failover is an informational table with Source group, Nextcloud group and Member. There is no group Action column or editable group name. New unprepared source-group plans use safe source-derived names with a stable customer/source-ID suffix; confirmed managed bindings retain their exact names and ownership. Reason: source groups define authorization, so duplicate mapping controls invite unnecessary changes. Saved legacy choices and historical evidence remain compatible; no group is silently renamed or adopted. Each stored source member stays visible, including unactivated or excluded users, with Activated, Not activated or Unconfirmed from dated managed activation evidence. Pending/blocked work, stale mappings and unavailable polling never establish activation. Account Check and queued commands are not activation. Polling performs no target operation. The same member statuses and fixed names appear in operational exports and session archives. Normal synchronization remains technical-only; individual activation, No access, revocation and recovery guards remain unchanged. This refines CS-081/082/086/087 and preserves CS-034 and the single inline-status standard. Local tests are not live target certification.

Approved source-group failover replacement

CS-086 (implemented with local protocol tests): explicit failover first prepares all included source groups from the last complete successful synchronized rights plan, with verified customer/target ownership and no employee membership. The administrator then explicitly activates each user within that stored source permission boundary. Reason: separate predictable group preparation from individual access decisions. Normal synchronization still creates no employee accounts or employee authorization groups. Empty group preparation grants no employee access and does not certify readiness. Target collisions, ambiguous creation, identity checks, ACL readback and effective-access checks remain mandatory. Prepare failover queues group-only preparation in the worker; Activate now also prepares every included source group before provisioning the chosen user. Retry preparation explicitly after interruption, or deactivate failover to enter Recovery. Local tests do not certify live target behavior.

CS-087 (implemented with local protocol tests): stored source rights determine employee access. At explicit failover, included source groups receive their own stored folder and file permissions. Individual activation adds the user to the managed counterparts of their stored source groups and applies their direct source permissions, including file exceptions. New successful source plans offer Source permissions instead of a Read only / Read & write override; No access and deactivation remain available and revoke all managed memberships and direct grants for that user. Reason: one source authorization model is simpler to understand and matches the original groups. The technical storage group remains separate. Only the last complete successful synchronized plan within selected scope is authoritative; missing or unsupported permission evidence blocks rather than broadens access. Ownership, identity, ACL readback, effective-access and activation-delivery checks remain mandatory. Direct source grants are enforced through a service-owned singleton group containing only the chosen user; this group has no individual read/edit override. Combined group and direct rights, including denied paths, are probed together before employee membership or activation delivery. No access removes every managed source membership and zeros direct grants. Older plans retain their compatible controls until a fresh successful synchronization replaces them; historical evidence is unchanged. This is local integration evidence, not live compatibility certification.

Background individual employee access

Individual Activate now, Update access and Deactivate commands are queued durably and processed by the customer background worker. The web request performs no target access operation; queued means accepted, not successful. No access for a never-activated user remains a local choice and does not queue provisioning. One inline status beside the user shows processing, verified completion or the current blocker. Configuration, competing access commands and initialization wait while that action is pending or running. The worker rechecks the customer, project session, saved choices and synchronized plan before target work. An interrupted running action becomes blocked and requires an explicit retry of the same user; ambiguous account creation or welcome delivery still requires review. Confirmed owned accounts are reused. One accepted user command is recorded in Audit trail; automatic outcomes, before/after access evidence and retry history remain in the compatible operational export. This implements the existing CS-034/039/085 authorization boundaries and includes the CS-086 group-only preparation command. Local tests do not certify successful VPS failover.

Synchronization owns the current scoped source rights plan

CS-085: Each synchronization round must collect the users, groups, group memberships and effective folder/file permissions relevant to the accepted source scope. New principals, changed memberships and changed grants within that scope belong to the round even when absent from discovery. Discovery is an initial preview, never a fixed identity whitelist. Source identity IDs and membership/permission evidence must be retained together with the scoped content baseline.

Reason: a discovery-time identity list cannot represent users or authorizations added while synchronization runs. Only a complete successful round may publish its source rights plan for failover. Failed, incomplete or unsupported permission reads must not be presented as current verified evidence. Scope exclusions remain authoritative; this is not a tenant-wide identity copy. The plan represents the last complete successful observation, not changes made after that observation or an atomic snapshot of a continuously changing source.

Employee target creation and activation are failover responsibilities. Source rights collection must not depend on preselected target identities or create employee accounts/access during normal synchronization. After confirmed stopping, explicit failover uses the stored rights plan without contacting SharePoint; target identity, mapping, managed ownership, membership and effective access must be verified before granting access. Access remains bounded by the stored source rights, with central No access and verified revocation. This principle does not certify adoption of arbitrary existing target groups or approve a new group-activation interface.

Implemented with local integration tests. CS-085 supersedes the discovery identity whitelist and pre-sync employee target binding for newly synchronized source plans. Each complete successful round atomically publishes its source identities, memberships, effective permissions and content baseline; incomplete rounds preserve the prior successful plan. Failover and operational exports prefer that dated source evidence over older discovery. Target choices can be saved while stopped, including unprepared users during failover, without another source sync. Each user activation provisions only that user, preserves other users, verifies exact target identity and effective access, and retains guarded retry/cancellation evidence. Prepared user/group mappings remain locked through failover and recovery. Source group memberships shown in the interface are stored source/planned target identities; empty owned source groups never bypass the per-user access gate. Older plans retain their existing synchronized mapping prerequisites until a fresh successful sync replaces them. Historical reports and archived evidence remain unchanged; startup commands are unchanged. Local protocol fixtures are not live target certification.

Consistent user-bound failover readiness

CS-084: Failover page dependencies, individual Activation rows, read-only status polling and command validation use the same binding between the current user mapping and the latest successful synchronized access plan. Check verifies an account identity; Checked; existing account verified does not establish synchronized source rights or permission to activate. A stale mapping, missing prepared user, changed target username, changed configuration or unsuccessful/latest-mismatched run retains its specific activation blocker. No account check can replace those synchronization requirements.

The header no longer says Current failover access can be activated solely because a run and revision match. With no matching current users it directs the administrator to review mappings and synchronize; with a mixture it explains that some mappings still require synchronization. Matching users remain individually eligible, while a mismatched activation is rejected before constructing a target adapter or performing a target request. No access retains its existing non-provisioning and verified revocation behavior. Stop, cleanup, recovery, source-right caps and exact live identity/ACL/effective-access checks remain authoritative.

Read-only status polling refreshes each user's activation message and button eligibility using the same server assessment as the header, preserving entered access choices and browser mapping edits. Edited mappings cannot reuse older saved evidence, changed project sessions remain guarded, and an in-flight row command stays busy. Navigation and polling perform no target operation or user-action audit command. Reason: a successful historical run and an existing account must not hide a missing or different user binding, and an open page must not retain a stale row after its header updates. This refines CS-070/076/082 without adding an approval step or weakening account/access verification.

Automatic operational exports carry the same workflow outcome and per-user readiness/activation messages while retaining compatible recorded status codes, account checks and historical run evidence. About Cloud Sync, service design, UI standards, user/transfer instructions and implementation status share the distinction. Historical reports and startup commands are unchanged. Local regressions reproduce a checked existing account with a different synchronized binding, partial eligibility, stale mappings, failed runs, read-only polling and export alignment. These local findings explain a possible reported combination; the customer's exact stored-state cause and VPS/browser behavior require runtime validation.

Consistent input and dropdown heights

CS-083: Single-line input fields and dropdowns share the same height, top margin and vertical padding within each form context throughout the customer service. Regular forms use a shared 2.75rem field height. Desktop tables use a shared 1.8em field height, no top margin and horizontal padding only. Source-scope target names, Nextcloud usernames and groups, search fields and Action/Access dropdowns follow the same table rule. Textareas keep their multiline layout; checkboxes, radios and native range/color controls keep their own interaction geometry.

On coarse-pointer touchscreens, table inputs and dropdowns both use a 44px height and minimum height. Existing larger button touch targets and visible focus remain. Reason: a table dropdown previously used compact dimensions while text fields retained regular-form padding and a top margin, so neighbouring Action and Nextcloud user controls appeared taller and vertically offset. One shared geometry rule prevents each field acquiring a separate size. This refines the CS-080/081 compact-control styling and supersedes earlier 1.55em scope/discovery input overrides without changing names, field values, saving, mappings, checks or activation commands.

About Cloud Sync, service design, design decisions, UI standards and user instructions share this accepted presentation rule. Automatic operational exports, audit events and historical reports contain no editable controls and retain their evidence and contracts; no report-generation step is introduced. Startup commands are unchanged. Shared-style, rendering, form-ownership and document-alignment regressions cover the change; VPS/browser appearance still requires runtime validation.

Inline account checks and individual activation

CS-082: Nextcloud user places Check first and its single account status directly to the right on the same inline row. Unchecked or edited mappings say Not checked yet. A confirmed missing account planned for creation says Checked; ready to create. Existing, conflicting and missing mapped identities keep their specific checked outcome. Check remains Check after verification, and Checking account is shown beside it during submission. Account checks are read-only identity evidence, not employee creation, effective-access verification or failover readiness.

The inactive user action is Activate now. Active users retain Update access and Deactivate. The current Activate screen has no bulk activation button, user/group selection checkbox, group Activation selection column or selection-count message. Choose Access and submit only that user's row command; progress is shown in that row. Groups shows Source group, Action, Nextcloud group and Members. Members links to the user row; No access applies across all managed groups without changing source membership. Other users keep their access. Mapping and access editing never activate a user automatically. Users offers Map to existing user and Create new user; Groups offers Synchronize group. Exclude user and Exclude group are removed from the dropdowns. Previously saved exclusions stay unchanged behind a disabled Choose an action placeholder until an administrator explicitly chooses a new mapping action; saving other rows or opening the page never includes them automatically. No access is the central choice for denying planned user access.

Reason: the administrator must read an account check together with its result and deliberately apply access to one recognizable user. One central access choice avoids conflicting mapping exclusions and access settings. This explicitly supersedes the bulk-control presentation approved in CS-074/075/081 and refines the CS-080 rule of one inline status beside its initiating command. Stopped-mode mapping locks, successful current synchronization, exact identity, source-right limits, pending-access handling, verified revocation and Recovery remain authoritative. The legacy selection command and historical selection evidence retain their compatible contracts; they are not offered by the current interface.

About Cloud Sync, service design, design decisions, UI standards and user/transfer instructions share this decision. Automatic operational exports retain account-check codes, per-user outcomes and historical selection results; display labels never upgrade the underlying evidence. User-action audit remains one individual command with before/after changes and separately verified processing. Historical reports and startup commands are unchanged. Local rendering, form-ownership, JavaScript, authorization, audit/export and shared-document regressions verify the change; VPS/browser appearance and live target behavior still require runtime validation.

Clear identity choices and failover activation

CS-081: Activate shows Users in Source user, Action, Nextcloud user, Access and Activation order. Show the source display name and email once; sign-in names differing only by case are not repeated. A genuinely different source sign-in name is labelled separately. Create new user uses an editable sign-in name defaulting to the source email, with source sign-in name as fallback. Existing explicit mappings are preserved. Map to existing user uses a searchable dropdown of Nextcloud account IDs with bounded read-only pages and Load more users. Saved mappings remain visible when a search omits them; directory failures are not account absence. Check remains beside the target choice and verifies the exact selected identity. Selecting an account neither creates it nor certifies effective access.

Each user has Activate, Update access or Deactivate beside actual access status. Activate selected users shows the count of unique selected users, including overlapping selected groups. Mapping saves and access choices do not activate accounts; access is applied only by an explicit row or bulk command. Bulk application may also update access or apply No access. Groups appear in Source group, Action, Nextcloud group, Members and Activation selection order. The target group name defaults to the source name and stays editable under existing locks. Members shows source identities linked to their user rows and planned target identities, separately from verified target membership.

Set a user's Access to No access and apply it to exclude that user across all selected groups. A saved No access choice is retained on later group selections until explicitly changed. Group-member links lead to this central choice; the member preview marks No access (all groups). No separate per-group denial is introduced and SharePoint membership is unchanged. Reason: administrators must see who is mapped, what will happen, and whether one user or the complete selection is affected; an exclusion must not be bypassed through another selected group. CS-081 refines CS-074/075/080 presentation and supersedes the earlier new-account sign-in-name default, preserving stopped-mode mapping locks, verified source-right caps, exact identity and effective-access checks, pending-change handling and partial-failure evidence.

Automatic operational exports and archived sessions retain the same mappings, planned groups, per-user access and dated selection results; directory suggestions are transient choices, never verification evidence or user-action audit events. One committed mapping save or bulk access command retains its existing before/after audit event. Historical migration reports and startup commands are unchanged. About Cloud Sync, service design, UI standards and user instructions share this accepted decision. Local rendering, directory protocol, selection, JavaScript and document alignment tests are regression evidence; browser/VPS appearance and live target compatibility still require runtime validation.

Scope and synchronization subtabs

CS-078: Synchronization has Copy or Sync and View run history subtabs. Select scope has Select libraries and folders and Library details subtabs. Only the selected panel is rendered beneath the CS-076 shared header. Explicit choices are remembered per customer in the authenticated browser session. Existing run-detail and history-period links open View run history, and synchronization commands return to Copy or Sync. Tabs only navigate; no copy, synchronization, discovery, scope acceptance or export is triggered.

Copy or Sync retains Copy Once and continuous synchronization as separate actions with their existing inline progress, stop/cleanup and authorization guards. View run history retains the automatically refreshed chronological results, open detail state and optional evidence links. Select libraries and folders retains the visible selection, brief introduction, action buttons and shortened visible scope/destination guidance. Library details is a visible additional-information card in its own tab with the same dated discovery statistics. The tab replaces the former default-collapsed Library details card under CS-069/076; an extra disclosure is no longer needed. Counts are historical source observations and never certify synchronization or failover readiness.

Reason: separate active work from supporting information without long tab labels or nested disclosures. These exact labels were selected by the user on 2026-10-12. Read-only header polling remains project-session bound even on information tabs with no form. Operational exports and archived sessions retain their existing selection, discovery and run evidence; tab choice is not processing evidence. Historical reports and startup commands remain unchanged. Local rendering/navigation and JavaScript tests do not certify live VPS/browser appearance or integration.

Recovery subtabs

CS-077: Recovery has Review changes, Recover and Confirm recovery subtabs, using the shared CS-076 title, dependency and explanation header. Only the selected panel is rendered. Tabs and continuation links only navigate and never scan, restore files, save checklist attestations, confirm recovery or start synchronization. The first visit opens Review changes; explicit choices are remembered per customer in the authenticated browser session. Commands return to their corresponding subtab.

Review changes retains the read-only target comparison and dated change counts. Recover retains protected downloads and the manual SharePoint recovery checklist. Confirm recovery retains the fresh target check, completed-checklist requirement, administrator attestation and managed-access cleanup. Confirmation never performs SharePoint writes or automatically restarts synchronization; existing stop, stale-session, scan-binding, access and unresolved-operation guards remain authoritative. Automatic operational exports and archived sessions retain their existing recovery evidence; tab preference is not processing evidence. Historical reports and startup commands remain unchanged.

Reason: Review changes describes inspecting actual differences, while Confirm recovery names the final explicit attestation without suggesting that synchronization has already resumed. These labels were selected by the user from the proposed options on 2026-10-12. Local regression tests cover navigation, command redirects, guards and evidence alignment; live VPS/browser and target behavior remain subject to runtime validation.

Concise scope and recovery navigation

CS-078/079 navigation refinement: Select scope ends with its scope cards, without the extra employee-permission paragraph, Review identity mappings on Failover link, Continue to Synchronization link or its continuation explanation. Recovery omits the Open Synchronization dependency link in both the page header and recovery check card, including after read-only header refresh. Reason: the existing workflow navigation already provides these destinations, and repeated links and supporting footer text clutter the task pages. Dependency messages, workflow navigation, recovery-subtab continuation links and the verified recovery-completion status remain available. This refines earlier continuation-link presentation without changing scope drafts, permission capture, recovery commands, cleanup guards or explicit synchronization startup. Operational exports and historical reports retain their existing evidence; startup commands are unchanged. Local rendering and workflow-polling regressions do not certify live browser appearance.

Target root and scope cards

CS-078 scope card refinement: On Select libraries and folders, show Set target root folder (optional) as the first card, followed by a separate Select libraries and folders card with the existing commands and selection tree. Remove the redundant Folders & files heading and its draft introduction. This supersedes the nested Folders & files presentation under CS-076. Reason: define the destination grouping before selecting source content, with one clear heading per task. The root input remains part of the same scope draft as the selection and target names; autosave, Accept changes and Discard changes still apply to all of them together. Read-only and running-work locks, draft/session/revision guards and safe destination-name validation remain authoritative. Empty root still means organization-managed Team folders for selected roots; existing copies are never moved automatically. Library details remains in its own subtab. Operational exports retain the same root, scope, draft and destination evidence; historical reports and startup commands are unchanged. Local rendering and JavaScript tests do not certify live browser appearance.

Source connection action placement

CS-076 Connections refinement: On Source connection, place Check connection and its single inline status inside Define Microsoft 365 source, after the credentials and site fields and above the default-collapsed Configure SharePoint permission-check certificate card. The action saves and checks only the Microsoft 365 source, preserving the target connection. Reason: the command belongs beside the source settings it checks, before supporting certificate guidance. Existing component-bound results, session guards and certificate setup remain authoritative. Automatic Run results and operational exports retain their separate source and target outcomes; historical reports and startup commands are unchanged. On Target connection, place Check connection and its single inline status inside Define Nextcloud target, after the target fields. This action saves and checks only Nextcloud, preserving the source connection. During blocked access cleanup, Save app password stays in the same card and saves credentials without claiming a successful check; Retry access cleanup remains required. Reason: both connection commands belong inside the card containing their settings. Connection subtab status and current exported component evidence name only their own connection, including successful legacy combined checks. Queued and running checks never relay progress from the other connection; serialization may keep editing disabled without claiming a result for that subtab. Reason: a status beside a source or target action must describe that connection alone. Historical combined Run results remain unchanged.

Consistent page hierarchy and independent connection checks

CS-076: Customer pages use title, dependencies or status, concise explanation, then subtabs and content. Use the existing shared page header for one current dependency sentence and a short muted explanation. Detailed progress remains beside its initiating action. Navigation and read-only header polling never execute commands or claim processing success. Reason: the same reading order makes prerequisites clear before a customer edits or activates anything.

Failover has Activate and Deactivate subtabs only. Prepare is removed; old Prepare links and browser preferences open Activate safely. While synchronization is enabled, active or stopping, the first sentence below Failover is Stop synchronization before activating failover. Stop sync remains available on Failover and waits for confirmed completion and applicable cleanup. Missing successful current synchronization, identity, permission, cleanup and recovery guards still block activation. The latest verified copy and stored source rights remain authoritative. View permissions mapping stays a separate default-collapsed information card below Activate failover. This supersedes the Prepare navigation and shared-help placement in CS-074/075, not their authorization boundaries.

Connections has Source connection and Target connection subtabs, each with Check connection. Each form saves and checks only its own connection, preserving the other connection and saved secrets. Source reads Microsoft 365 libraries; Target reads the Nextcloud technical-account DAV root. Checks never provision accounts, grant rights, copy content or certify failover. Results are bound to the saved connection and project session; changed credentials or configuration invalidate the affected result. A single-side success never claims both connections succeeded. The legacy combined command remains compatible. Pending checks serialize saves; existing stop, failover and cleanup guards remain. While cleanup is blocked, the existing target app-password repair saves credentials without claiming a check and still requires Retry access cleanup.

Select scope has a Select libraries and folders card: a short introduction, the existing command buttons, then shorter visible scope and destination guidance. The former Scope and destination guidance disclosure is removed. Folders & files is visible inside this card. Scope editing and acceptance retain CS-072 draft, revision and session guards. Under CS-078, Library details is a separate visible additional-information card in its own subtab. It retains dated discovery statistics and never establishes current readiness. This refines CS-069 presentation without another scan, workflow gate or report-generation action.

Automatic Run results, operational exports and archived sessions distinguish current Source and Target check outcomes; user-action audit names the requested connection without claiming its check succeeded. Only credential-free component, time, status and message fields are exported. Historical reports remain unchanged. About Cloud Sync and service design use the same decision text. Startup commands are unchanged; local regression tests do not certify live VPS browser appearance or target compatibility.

Empty folder cleanup compatibility

CS-033 implementation correction: after confirmed file deletions, obsolete folders are checked again for complete empty contents, collection type, exact file ID, ETag and modification date before deletion. SabreDAV supports concrete HTTP If-Match ETags for files only, even when Nextcloud returns folder ETags through PROPFIND. Folder DELETE therefore uses the freshly verified If-Unmodified-Since date; file mutations retain exact ETag conditions and protected recovery copies. Reason: a valid empty source-deleted folder must not be retained because of an unsupported collection precondition.

The folder date condition has second precision and is not an atomic ETag or empty-directory guarantee: concurrent external writes with unchanged or same-second modification dates cannot be excluded by this protocol. Normal synchronization remains technical-only with one customer worker; do not run other writers against managed mirror storage. Changed, nonempty, inaccessible or incompletely verified folders block cleanup; rejected deletes are never replayed without their condition. Confirm DAV absence before reporting a folder as deleted. Synchronization details and automatic operational exports retain the same folder deletion evidence and counts; historical results remain unchanged. Local protocol regressions reproduce the reported file-deleted/folder-preserved failure; repair on the VPS still requires deployment and a successful runtime round. Initialization is not required.

Failover subtabs and flat access controls

CS-075 originally introduced Prepare, Activate and Deactivate. CS-076 now removes Prepare and uses the shared page header for dependencies and explanation. Only the selected panel is rendered. The concise activation explanation is visible in the shared page header above the two subtabs. Tabs only navigate; they never stop synchronization, activate users or revoke access. An explicit tab choice is remembered per customer in the authenticated browser session; command redirects return to the relevant tab. On first opening, Activate is selected in normal mode or failover, and Deactivate during Recovery. This supersedes the stacked cards and nested access-plan presentation in CS-074.

The shared header states current failover dependencies; Stop sync remains available when relevant with one adjacent status. Existing successful-current-sync, confirmed stop and cleanup guards remain authoritative. Activate presents Users and Groups as flat visible sections: each user has identity mapping, account check, selection, access level, actual access status and activation/update/revocation controls in one row. Groups show mappings, stored selectable members and their planned target membership. Group selection still expands stored users once; individual No access retains precedence. Read & write remains capped by verified source rights. Identity mappings remain editable only in stopped normal mode and may require another successful sync; access choices remain editable during failover. These are distinct commands even though they share a table.

On Activate, View permissions mapping is a separate informational card below the Activate failover card, collapsed by default, with ordinary folder and file-specific permission tables and no nested foldable cards. Mapping autosaves refresh this separate card while preserving its disclosure state. Deactivate uses the existing verified access revocation and links to Open Recovery after confirmed revocation; synchronization stays stopped. Existing source discovery, per-user identity/ACL/effective-access guards, deferred provisioning, partial-selection failure evidence and audit boundaries remain unchanged. Operational exports and archived sessions retain the same authorization, group, per-user access and selection-result fields; tab choice is a browser preference, not processing evidence. Historical reports and startup commands are unchanged.

Reason: administrators must see one failover task at a time and find each user, group and access choice without traversing nested cards or duplicate lists. Local navigation, form ownership, mapping locks, rendering, status, audit/export and document alignment tests are regression evidence; browser appearance and live target behavior still require runtime validation.

Three-step failover

CS-074: Failover has three steps: Prepare failover, Activate failover and Deactivate failover. Prepare failover requires the latest successful synchronization for the current configuration. Keep Stop sync on Failover using the same command as Synchronization. A stop request waits for active work and required access cleanup; activation stays blocked until completion is confirmed. Show the concrete blocker beside Stop sync, or confirm that synchronization is stopped and current access can be activated. No extra Prepare action or readiness block is added.

Under CS-075, Activate failover presents identity mappings and access controls in flat visible user/group tables, replacing the separate Employee access plan section under CS-071. Identity mappings remain editable only in stopped normal mode. Select source groups or individual users, review per-user Read only, Read & write or No access, then choose Apply selected access. Groups select their stored synchronized members; overlapping groups select a user once. Each individual access choice takes precedence, including No access for a selected group member. Unselected users keep their current access. Group selection grants no target group membership independently of the existing verified per-user activation. Read only is the default, and Read & write remains capped by the last verified source rights at every path. Individual Activate, Update access and Revoke remain available during failover.

Validate the complete selection before any target operation. Apply users sequentially through existing exact identity, ACL, effective-access, probe-cleanup and membership-readback guards, without contacting SharePoint. No access for an inactive user records the choice without creating an account or opening failover. Stop at the first failure; retain earlier confirmed changes and unconfirmed-operation evidence, and leave later users unprocessed. A pending access change must be retried individually or deactivated before another bulk selection. Automatic operational exports and archived sessions include the same stored group members, per-user access and last selection results. One user-action audit event records the bulk command and before/after differences; automatic processing evidence remains separate. Deactivation still verifies managed access revocation and enters manual Recovery with synchronization stopped.

Reason: administrators need to prepare and activate continuity access in one clear process, while group selection must not widen source authorization or override an individual denial. This supersedes the separate access-plan presentation in CS-071, not its source capture or identity safeguards. Local workflow, access, rendering, audit/export and JavaScript regression tests do not certify live failover, independent sign-in, MFA or collaborative editing on a customer target. Historical migration reports and startup commands are unchanged.

Active sign-in and expired status

CS-073: Sign-in sessions expire after eight hours without renewal. Trusted interaction in a visible page renews a still-valid session, at most once per minute, using a CSRF-protected request. Automatic status, history and workflow checks never renew the session. An expired or signed-out session cannot be revived. Reason: active administrators need an up-to-date screen without keeping an unattended tab signed in indefinitely. On an expired status connection, the existing inline message warns that displayed status, run history and times may be outdated and offers Sign in again. Background synchronization remains independent of browser sign-in. No worker command, target operation or user-action audit event is created by renewal. Automatic operational exports and historical reports retain their recorded evidence; their content and contracts need no change. Startup commands are unchanged. Local regression tests do not certify VPS browser behavior.

Current synchronization display

The existing wait bar to the left of Sync now uses the latest scheduled next check and interval from status polling. It starts when a running round enters Waiting, counts down every second and resets for a new wait or interval change. It is hidden while queued, running, stopping or blocked. Next sync is due means the scheduled time has arrived; it is not evidence that the worker has started or completed processing.

The chronological list, saved diagnostic checkpoints and last-success/next-check schedule refresh every 15 seconds while the page is visible, and immediately after confirmed round or Stop completion. Open details and focused detail controls are preserved; replacement waits while a detail link has focus. Read requests have a ten-second timeout, retain existing evidence on failure and reject changed project sessions. Reason: completed rounds and waiting progress must not require a hard reload. The full page and refreshed evidence use the same templates. Run results and operational exports retain their recorded evidence; no worker schedule, command, authorization guard, status block or user-action audit event changes. This refines CS-050/052. Local regression tests do not certify live browser behavior on the VPS; startup commands are unchanged.

Diagnosing synchronization failures

Nextcloud management requests authenticate with the configured technical-account credentials without reusing earlier DAV or management session cookies, while retaining worker-local connection pooling. Reason: a long run or DAV session can leave password confirmation stale and reject later probe cleanup. An administrator may use an authorized app password for the same configured account; changing accounts is not required for this repair. The transport never automatically replays a rejected mutation. HTTP 403 diagnostics distinguish denied management operations from HTTP 401 authentication failures and mention privileges and password-confirmation/session policy. CS-037 probe ownership, disable readback, deletion and exact absence checks remain required. Stop sync and, when available, Retry access cleanup must complete before Restart sync. Confirmed completed transfers retain their resume evidence; initialization is not required. Local cookie and cleanup regression tests do not certify the cause or repair on a VPS, and historical results remain unchanged.

Restoration of confirmed missing Team folders commits the local baseline archive, affected progress and task changes atomically. Reads needed for that commit use the same database transaction, so a large archive cannot block itself through another local connection. Reason: deleting managed target folders must not make the supported restart restoration fail because of its own database lock. Current DAV and management absence checks, preserved unrelated destinations and history, and fresh compatibility and authorization verification remain required. Local large-archive regression tests reproduce and fix the self-lock; VPS restoration still requires a successful runtime round. No initialization, new command, target API or authorization bypass is introduced.

Unexpected synchronization failures identify the current processing step and a bounded error category in the existing inline status, Run results and operational export. HTTP failures include only a validated status code. With Debug enabled for that round, the message also includes the last Cloud Sync code filename and line from the traceback. Exception messages, response bodies, full filesystem paths, local variables and credentials are excluded. Reason: a generic integration failure cannot identify the failed operation, and raw exceptions can disclose secrets. This refines CS-050/055 diagnostics without adding a status block, approval or export action. Existing stop, cleanup, target identity and baseline guards remain authoritative; diagnostics do not establish a repaired integration or live compatibility.

A normal rescope uses Stop sync, wait for completed work and applicable access cleanup, Change scope, Accept changes, then Start or Restart sync. Reset session is a separate fresh-setup action and is not required solely because scope changed or managed Team folders were deleted. Confirmed missing Team folders require fresh DAV and management absence checks before the existing guarded rebuild; inaccessible folders are not confirmed absent. Local tests cover these boundaries, not the cause of an individual VPS failure. Historical results are unchanged; deploy and restart the worker to use the new failure details.

Change and accept synchronization scope

CS-072: Select scope shows the accepted selection in read-only mode. Change scope enables editing after synchronization, copying, discovery and connection checks have finished in normal mode. Checkbox, destination-name and target-root changes autosave as a durable draft. Accept changes commits the draft as the active scope; Discard changes keeps the active scope unchanged. Reason: administrators must be able to review a scope change without applying each click to operational configuration. This supersedes immediate scope autosave, while other settings retain their existing autosave behavior. Acceptance confirms the selection, not synchronization success or authorization readiness.

The supported restart flow is Stop sync, wait for confirmed completion and applicable access cleanup, Change scope, Accept changes, then Start sync in Synchronization. Covered reductions and reselections reuse complete inspected discovery under CS-068 without replacing mapping choices. Accepting scope outside that coverage automatically queues read-only combined discovery and target mapping checks. Failed or incomplete preparation blocks Start sync with the existing inline reason; the accepted scope remains visible. Discovery retains the existing fresh-suggestion and new-identity safeguards, and never activates employees. Each round still checks current source permissions, target identity, content and effective access. Acceptance never starts synchronization and cannot move existing target copies or bypass storage-layout, deletion, failover or recovery guards.

Refresh source is a secondary action. While editing, it refreshes folders and counts without committing or losing the draft or replacing active permission mappings; outside editing, it refreshes the combined source and permission evidence with fresh mapping suggestions. Initial Discover scope automatically refreshes an undiscovered source. Counts remain dated source evidence; unavailable selected counts do not block synchronization. Drafts survive navigation, but Start sync, Copy Once and failover require accepting or discarding them. Session and revision bindings reject stale edits, and initialization clears drafts. Audit trail records meaningful edit/discard commands and one before/after event for a committed bulk change; autosave does not create per-checkbox events. Automatic operational exports distinguish active scope from draft configuration. Historical migration reports remain unchanged. Local tests are regression evidence, not live compatibility certification. Startup commands are unchanged.

Workflow separate from project utilities

CS-071: Customer workflow navigation is one shared strip above every customer page: Connections, Select scope, Synchronization, Failover and Recovery. The sidebar contains Project, Audit trail and Settings only. Project retains the dated run timeline, Reset session and Session history as utilities; the former Overview phase card is removed. Reason: workflow guidance must remain visible without mixing setup and operating phases with inspection and maintenance. Home opens the current phase. Links only navigate; they never execute commands or advance lifecycle. Current phase follows saved connection/discovery evidence, real synchronization commands and failover/recovery mode, not the page being viewed; stopped previously started sync remains in Synchronization, and Copy Once is not synchronization.

Select scope replaces the Preparation screen label. Discover still reads configured source content and selected-source users, groups and permissions together while SharePoint is available. After complete current content discovery, Folders & files opens to expose the required scope/destination review; Library details stays collapsed. Continue to Synchronization only navigates. Under CS-075, identity mappings and access controls are flat visible tables inside the Activate subtab, available for advance review before an outage; mapping edits remain limited to stopped normal mode. Discovery does not activate employees, normal sync remains technical-only, and explicit per-user failover activation retains current identity/access/readback guards. No new review approval is required to synchronize; existing complete discovery/mapping-generation and new-identity holds remain authoritative. This supersedes CS-057/063 screen placement, not their combined discovery or safety boundaries.

One Next step guidance line uses the same shared assessment as commands and automatic operational exports, which now include the current phase. Existing inline action statuses remain authoritative. Read-only workflow polling runs only while visible, preserves focus and form/disclosure state, and marks phase unconfirmed on failure or changed project session. No external requests or target writes are made by navigation or polling. Operational and user-action exports use current screen terminology; historical migration reports remain unchanged. Local rendering, command, export and polling tests do not certify browser appearance, target compatibility or live failover readiness. Startup commands are unchanged.

Consistent cards and compact guidance

CS-070: Customer cards use a shared hierarchy: title, concise readable purpose, primary action with its existing inline status, then short muted guidance. Longer operational explanations use native collapsed disclosures. Reason: consistent scanning and progressive detail reduce preparation clutter without hiding current blockers, destructive-action consequences or verification requirements. Scope guidance follows CS-068 inspected-folder reuse; it no longer asks for Discover after a covered reduction.

The same hierarchy applies to connections, scope, synchronization, failover, recovery, history and audit. Discovery remains read-only and replaces mapping suggestions; normal synchronization remains technical-only and explicit failover retains employee activation. Audit commands and automatic process evidence remain separate. Existing report fields and historical evidence remain unchanged; generated discovery details and shared workflow guidance keep their screen meanings. This changes presentation, not authorization or processing gates. Local tests establish rendering consistency, not live failover readiness.

Library details for scope selection

CS-069: Folders & files ends with a collapsed Library details section containing per-library extension counts and sizes, the ten largest subfolders and files, folder counts and empty-file counts from the existing read-only Discover. Reason: administrators need source size and file-type evidence when choosing synchronization scope. Statistics are collected in the same traversal without extra source requests or content downloads; only ten largest file paths per library are retained.

These are dated discovered-source statistics before scope exclusions, not current selected-scope totals or synchronization/failover readiness. Nested folder totals include descendants and can overlap. Stale, incomplete and older snapshots without details explicitly show unavailable evidence. Automatic operational exports and archived sessions retain the same discovery details; historical migration reports remain unchanged. No additional action, approval or progress block is introduced. Local tests do not certify live target behavior.

Select within discovered folders

CS-068: Reset session > Check connections > Discover > Deselect libraries and folders > Start sync is a supported fresh-start workflow. Removing libraries, adding folder exclusions or selecting inspected subfolder roots reuses complete file-level permission discovery within its original coverage. Reason: reducing already inspected scope must not force another Discover or trap a freshly initialized project. Previously inspected paths may be reselected; adding libraries or paths outside the original permission coverage still requires Discover. This supersedes the changed-folder/exclusion restriction in CS-065. Source connection, target identity, project session, completed job, mapping generation and new-identity guards remain required. Initialization still requires fresh Discover in the new session and never carries old discovery forward.

The original discovery and mapping choices remain unchanged. A read-only projection filters excluded paths and their principals in permission views, start checks and automatic operational exports. An inspected inherited folder selected as a new root receives its nearest inspected ancestor grants only when folder inheritance evidence exists. Library-wide aggregate file counts cannot establish counts for a reduced folder selection; show unavailable totals without asking for another Discover to start. Every synchronization round reads current source permissions and target access before processing. No target authorization, mutation, deletion, ownership or failover guard is relaxed. Preserve one inline action status and historical reports. Local workflow and protocol tests are regression evidence; VPS validation remains pending.

Always available local initialization

CS-067: Reset session is always available as a durable local reset request, including after failed access cleanup, interrupted setup or stale running records. Reason: external repair must not trap an administrator in unusable internal state. The request disables future synchronization and changes the configuration revision so running sync and copying stop at their control boundaries. Actual archival waits for the OS execution lock; a live worker is never bypassed. After worker exit, stale pending jobs are cancelled and unfinished rounds are marked interrupted. Restart an unavailable worker to complete the pending request. Repeated requests are idempotent and other changes are rejected until initialization completes. This supersedes the initialization availability restrictions in CS-061/062/064, while retaining their target preservation and verification rules.

Initialization clears active selection, mappings, discovery, baselines, progress and readiness. Connections, settings, historical ownership, unknown writes, protected copies and external access evidence remain. Failed access cleanup is retained separately from active preparation and resumes through Retry access cleanup with its original kind, target binding and deletion evidence. Fresh connection checks and Discover are possible after a cleanup failure. Old account, probe, employee access and failover/recovery obligations are never reported as revoked or completed by a local reset. Failover/recovery mode remains protected. The next synchronization is a new process with current target checks; unresolved access cleanup blocks target writes until verified repair, and unconfirmed file operations retain destination guards. No target request, deletion or permission change occurs during initialization.

A new session requires fresh Discover before synchronization, including server-side commands. Current target inventory, stable folder/file identity, SHA-256/content, dates and effective access determine whether existing copies can be reused. Inaccessible storage is not confirmed absent. Team folder errors identify the expected root and path, recorded ID, technical account, current management name and ID and the observed DAV HTTP status. Management failures identify the method, object path, HTTP/OCS rejection or safe exception type without credentials or response bodies. Probe cleanup errors identify the probe and concrete reason. A customer- and target-bound creating probe can be retired only after an exact provisioning response confirms absence; an existing unconfirmed account still requires ownership review.

User-action Audit trail records the accepted initialization request separately from the committed session change. Automatic operational exports and archived sessions include credential-free initialization and recovery evidence and retain the same cleanup diagnostics as the screen. There is one inline initialization status; the action remains available while expanded Overview polling updates its status and current session binding without losing focus. Historical reports remain unchanged. Local regression tests do not certify live Nextcloud behavior. The user reported that restoring access to VPS_Mirror allowed cleanup after manually deleting a cs-probe account; this does not establish who removed folder grants. Probe deletion must not remove administrator or technical storage rights, and the admin group cannot be treated as Cloud Sync-owned cleanup.

Follow the next required action

CS-066: Overview shows one Next step instruction and a navigation link inside the existing Monitor continuity phase card. Navigation remains available for inspection and repair. Discover, Start sync, failover activation and recovery controls explain unavailable actions beside the control and link to the relevant screen. Reason: administrators should know the next required action before attempting a blocked command. This extends CS-057 without adding a card, wizard, completion percentage, approval checkbox or duplicate readiness/progress block. Links open screens and never execute operations. Review of scope, destinations and mapping suggestions remains guidance, not a new approval gate.

A shared read-only workflow assessment uses current prerequisites for controls, server-side commands and automatic operational exports. Connection checks, discovery, synchronization and employee access remain separate evidence. Historical results, queued commands and browser polling failures do not establish completion. Pending checks, incomplete discovery, changed bindings, new identities, asynchronous Stop and managed-access cleanup retain their guards. CS-065 library-selection reuse remains valid; Copy Once stays optional. Failover and recovery are deliberate operational paths and never automatic next steps after successful synchronization. Failover activation retains independent per-user identity, target access and readback checks; recovery confirmation remains administrator attestation with a fresh target check. Polling interruptions explicitly leave current workflow and worker status unconfirmed. Automatic process evidence remains separate from user-action Audit trail under CS-034. Existing export fields and historical reports remain unchanged; a workflow field adds current guidance, action availability and reasons to operational evidence. Local regression tests do not certify live failover readiness.

Initialize a new mirror

CS-062: Reset session archives active synchronization and Copy Once storage bindings as historical ownership, clears mirror baselines and progress, and allows a new mirror in a distinct destination, including a different Target root folder. Existing target files and folders remain unchanged even when the administrator has removed some files manually. Reason: a new local setup must not inherit the old mirror layout as an active restriction. Historical ownership remains bound to the exact connection, physical folder ID and path; reusing an exact destination requires fresh identity, content and access verification. A previous physical Team folder cannot be converted to another layout merely by initialization or file removal. Unconfirmed writes and protected recovery evidence retain their destination guards. Initialization makes no target requests, copies no readiness and performs no deletion. Automatic operational exports and archived sessions retain historical storage ownership separately from the active mirror. Changing storage layout within an active mirror remains blocked; initialize first to start a distinct mirror. This supersedes the CS-059 requirement for a separate project after initialization and the CS-061 active storage-binding retention. Local tests do not certify live Nextcloud reuse. CS-064: Reset session asks Are you sure in one confirmation pop-up instead of a checkbox. The warning explains that active internal records are archived and rebuilt, existing target files and folders remain unchanged, Discover must run again, and the next synchronization starts fresh by checking existing target data before reusing verified copies. Reason: make the fresh-start boundary clear before the administrator commits the command. Connections, settings, historical ownership, unresolved destination guards and recovery evidence remain protected. Initialization itself never contacts or changes the target. Later synchronization retains current identity, content, date and access checks and the normal source-authoritative mirror policy; initialization does not promise that later synchronization leaves every target file unchanged. Historical reports and operational export schemas remain unchanged.

Combined preparation

CS-063: Preparation replaces the separate Folders and files and Users & permissions navigation entries. It contains collapsed Folders & files and Users & permissions subcards and one Discover action with one inline status. Every user-requested discovery refreshes configured source folders and files, then selected-scope users, groups and permissions, followed by read-only target mapping checks. Reason: preparation is one coherent step and partial discovery must not appear complete. First discovery retains the existing default scope selection; later discoveries preserve explicit scope choices. Fresh discovery still replaces user mapping suggestions and requires review. CS-065 supersedes blanket scope invalidation: after Discover, administrators may clear whole discovered libraries and start sync directly for the remaining unchanged library scopes. Busy work, stale session forms and incomplete source or mapping checks block publication of readiness. Existing links and form endpoints remain compatible and invoke the combined workflow. Run results and operational exports retain both discovery results and the combined job outcome; process results remain separate from user-action Audit trail. This supersedes the earlier separate discovery/navigation steps without changing target permissions or provisioning. Local protocol tests do not establish live failover readiness. Start sync and the existing Preparation inline status identify the blocking discovery condition: pending work, the recorded discovery failure, incomplete file permissions, a changed source/scope signature, missing or stale target mapping evidence, or a mismatched mapping generation. A completed Discover message alone does not replace those current-evidence checks. Operational exports use the same reason; no extra readiness block or report action is added. Preparation status polling preserves the current discovery requirement instead of replacing it with a historical completed-job message after scope changes. Pending or running discovery keeps its live action status. CS-065: Discover > Select libraries > Start sync reuses complete file-level discovery for any selection of its originally discovered libraries when their selected roots and exclusions, source connection, target identity, project session and mapping generation still match. Reason: clearing unwanted libraries must not require a second discovery of already inspected source rights. The original discovery and mapping choices remain unchanged; permission views, principal checks, file-permission totals and automatic operational exports use a read-only projection containing only selected libraries, with reuse counts in the export. Previously discovered libraries may be reselected within that original evidence. Undiscovered libraries, changed subfolder selections or exclusions, failed/pending discovery, changed connections/session/generation and new-identity holds still require appropriate fresh checks. Every synchronization round reads current source rights and target access before processing. This changes no target authorization, provisioning, transfer, deletion or failover policy and introduces no extra action or status block. Historical reports remain unchanged; local regression tests are not live VPS certification.

Previous-session destination verification

A new session can lift a retained create/update destination guard when a fresh complete source/target SHA-256 comparison proves an identical current baseline, including dates and stable target identity, inside recorded managed storage. Updates retain the original file ID. This records new read-only evidence and leaves the historical unknown operation unchanged; it does not claim that the old write succeeded. Different content, changed identities, multiple affected paths and unknown paths remain guarded. Pending active-session journals are never bypassed by adoption.

Restart reconciliation and project initialization

CS-060: Restart reads current source scope, permissions and target inventory before rebuilding its plan. Saved observations are earlier evidence, not current truth or proof of a managed copy. After a destination change, archive only completed SHA-256 comparisons with matching target identity and path, bound to the same connection, without managed-copy, transfer or mutation-journal evidence. Archive every affected comparison atomically; incomplete comparisons retain their evidence. Never contact or modify the abandoned destination merely to retire a read-only comparison. Reason: a blocked comparison of foreign storage must not prevent choosing a distinct managed destination.

Interrupted writes are reconciled using current readback. A known upload intent requires SHA-256, size, dates, stable target identity and ETag readback; an update must retain the original file ID. An exact unchanged original permits a guarded retry. A missing create or delete requires complete accessible parent inventory; DAV 404 alone proves neither absence nor deletion. Moves require exact original identity/version at the destination and confirmed original-path absence. A changed source version cannot bypass an earlier unfinished write. Independent items continue while unsafe item operations remain blocked. Legacy journals require the exact saved operation and original configuration revision, verified target protocol binding and, for uploads, a freshly read unchanged original source version. Insufficient evidence remains blocking. Readback recovery records zero newly transferred bytes; it does not invent an HTTP response or historical throughput. Automatic results and exports record the reconciliation reason without adding a user-action audit event.

CS-061: Overview uses Reset session for the card, disclosure and action, with collapsed Reset session and Session history sections. It archives the active session and clears selection, mappings, discovery and progress while retaining connections, settings, target root, storage ownership and protected recovery copies. Existing files and folders on Nextcloud are not changed or deleted. Reason: make a fresh local setup understandable and possible after an interrupted file operation. Unconfirmed file operations are archived with their full journal and durable operation evidence and retained as destination guards across sessions. They do not block initialization; subsequent normal or Copy Once writes and folder removal affecting those destinations require verification or a distinct destination. Unknown paths conservatively guard the connection. Initialization does not resolve an external write or establish readiness. CS-067 supersedes these initialization gates: external obligations are retained and running work is stopped before the local reset commits. No target requests are made by initialization. This supersedes CS-044/045/057 session labels and their unconfirmed-file-operation initialization gate; other ownership and lifecycle boundaries remain. Historical reports are unchanged; Session history and operational exports retain unresolved evidence. Local protocol tests do not certify live VPS or Nextcloud behavior.

Bounded parallel permission read checks

CS-056: Normal synchronization uses the existing Max workers setting (1–16, default 4) for independent descendant ACL reads and effective outsider-access reads. The recorded run setting fixes the limit for that round; changes apply to the next run. Reason: the unchanged 226-file development measurement spent 33.961 seconds reading ACLs and 24.418 seconds checking effective access, with no required ACL writes. Bounded parallel reads reduce sequential waiting without removing required checks.

Historical read-worker boundary, superseded for unchanged normal-sync files by CS-096: every targeted path still needs fresh ACL identity and manageability checks, rejection of unexpected principals or rights and an effective outsider-access probe. Exact Group folder identity and mount readback remain required. ACL evidence is never cached across rounds. Required ACL writes retain fresh pre-write checks and independent readback; writes, provisioning, probe preparation and cleanup stay sequential. Each read worker uses its own HTTP sessions, keeps technical and probe authentication separate and closes its sessions on exit. Stop, configuration changes and failures prevent further work; bounded in-flight reads finish before failure is returned. Successful verification requires all reads to finish successfully.

Debug stays off by default. With Debug enabled, the coordinator combines exact request-attempt and attempted-path counts under the same customer/run context; activity seconds measure elapsed phase time, including overlapping reads only once. The same evidence remains in run details, automatic Run results, operational exports, retained summaries and archived sessions. There is no new progress block, report action or user-action audit event. Historical reports remain unchanged. Local concurrency and protocol tests do not certify a live speedup: repeat the unchanged 226-file development run with comparable settings and record target CPU, memory, load, errors and throttling after the current large-file test finishes. This change does not interrupt that test.

Optional debug diagnostics

CS-055: Settings > Configure diagnostics contains Debug, off by default for new and existing customers. Enable it to collect detailed synchronization step times, preparation breakdowns, source permission request/cache/retry counters and file permission diagnostics. Reason: detailed measurements support performance analysis when requested without collecting them during normal operation. Changes save automatically, are audited once and apply from the next synchronization round or Users and permissions discovery; an active round retains its starting choice.

Debug-enabled normal synchronization separates reading and comparing ACLs, required ACL applications with fresh pre-write checks and independent readback, and effective-access verification. Each activity records exclusive elapsed seconds, target request attempts including failures, and attempted paths. Effective-access time includes probe preparation and management readback; its path count includes root probes and is not a file-success count. These diagnostics are nested under the existing-file activity in step 5, included in its time rather than added again. Logs contain customer/run IDs, labels and counters without file paths, identities, endpoints or credentials. Partial checkpoints and interruption boundaries remain under CS-052.

With Debug off, new detailed timing tables, counters, checkpoints and diagnostic logs are not collected. Total run Duration, transferred bytes, throughput, change counts, file-permission exception summaries, inline action status, item outcomes and required source/target authorization and verification evidence remain available. No required checks are skipped and Debug does not authorize an extra transfer or mutation. Earlier measured runs remain readable after Debug is disabled and in retained summaries, automatic Run results, optional exports and archived sessions. Historical reports remain unchanged. This supersedes the always-on detail measurements in CS-048/052/053, keeps one inline status and introduces no report-generation action. Local tests do not certify a live runtime improvement.

Duration in chronological run history

CS-054: The Synchronization chronological list shows Duration immediately after Option for Sync and Copy Once runs, formatted as HH:MM:SS from recorded start and finish. Reason: compare run time without opening details. Active unfinished runs show In progress, interrupted or other unfinished runs show Not available, and user command rows show a dash. Command acceptance is not processing time or success. This supersedes the earlier rule that duration appears only in expanded details.

Duration remains the same evidence used in automatic Run results and optional operational exports, including historical runs with recorded timestamps and summaries whose item details have expired. Diagnostic step durations are not summed to infer a run duration. Detail rows span all seven columns; transferred size and throughput remain in details. No storage, scheduling, transfer, authorization or audit change is introduced. Historical reports and startup commands remain unchanged.

Folder and permission preparation

CS-053: Preparing folders and permissions reuses its own complete, freshly validated target inventory to identify existing files and folders. Existing folders need no repeated creation request. Normal technical-only synchronization reads every existing descendant ACL afresh; an exact technical rule needs no duplicate read or write. Missing rules retain guarded writes and independent readback. Reason: reduce redundant sequential requests during unchanged rounds.

Historical CS-053 verification boundary, superseded for unchanged normal-sync files by CS-096: source permission checks and effective outsider-access probes remain required for every existing path every round. Unknown ACLs, changed target identities and uncertain responses remain blocking; ACL evidence is never cached across rounds. The expandable preparation breakdown shows exclusive activity durations inside the existing synchronization step, with the same evidence in worker logs, automatic Run results, operational exports and archived sessions. Substep time is included in its parent, not added to the round total. Partial checkpoints and interrupted measurements retain the CS-052 boundaries. No extra action, readiness block or user-action audit event is introduced. Historical reports remain unchanged. Fixture request savings require a fresh development run to validate installation runtime; no live performance improvement is certified.

Responsive status and target comparison

Status-display robustness (CS-050 refinement): synchronization status requests have a ten-second timeout and retry three seconds after the previous request finishes. A successful HTTP response alone does not confirm Stop completion: its JSON worker-state contract must be valid. Network, timeout, HTTP, sign-in, invalid-response and display failures have distinct messages in the existing inline status. Optional workflow-link rendering cannot hide confirmed worker state or prevent the refresh after confirmed Stop completion. Restart remains guarded on uncertain status; status reads never restart synchronization. Reason: a broad browser error handler must not disguise a display failure as unavailable server status. Diagnostics record only the failed processing stage, without response contents or secrets. Automatic Run results and operational exports retain server-side evidence, not transient browser failures. Local regression tests do not certify browser behavior on a running customer installation.

CS-050: Opening an initialized customer database for status polling is read-only and does not request the background worker's write lock. The worker checks Stop and configuration changes at every boundary, while heartbeat writes are limited to once per five seconds. Status requests retry automatically. The message explicitly names the status check as the retry; it does not restart synchronization. While the last confirmed state is Stopping, a failed status request says completion of Stop sync is not yet confirmed. Reason: distinguish browser status retries from synchronization work after a Stop request. Network, HTTP and sign-in failures mean the current worker status is unconfirmed; a disconnected browser does not prove that synchronization is still running.

Target baseline checks read current file identity, ETag, size and dates from complete direct-child DAV folder listings. Reason: avoid redundant requests for each known file. A second current target inventory checks recorded identities before processing, and the existing pre-reconciliation inventory and conditional mutation guards remain required. Pending mutation journals cannot establish an adopted baseline. Source rights and memberships are still checked every round; unknown or changed content keeps the SHA-256 comparison boundary.

The requested performance objective is to determine differences within one minute. Local request-count and concurrency tests do not establish that objective on a customer installation. Source discovery, permission checks, folder count, throttling and unknown existing content can dominate runtime. Run results and operational exports retain their existing evidence and transferred-byte meaning; status connection errors are not successful synchronization evidence. Historical reports remain unchanged.

Synchronization steps and duration

CS-052, refined by CS-055: With Debug enabled, each new synchronization round automatically records the executed steps in order, with start time, measured seconds and status. Open Synchronization > Show details or Run results to inspect them, including successful rounds without file changes. Overview timeline events link to these details. Reason: distinguish repeated rounds and identify the steps that dominate runtime before choosing improvements.

Step durations use a monotonic clock and do not overlap. They measure elapsed time, including network requests, processing, parallel file work and retry waits within that step; Source permission timing is a separate breakdown inside the corresponding step and must not be added to the round total. Worker logs record customer/run IDs, step starts, finishes and partial checkpoints after 30 seconds at instrumented boundaries without paths or credentials. Saved checkpoints are throttled to once per five seconds. A blocked network call can delay checkpoints. Running details show saved measurements, not an ETA or proof of current worker health. An interrupted step keeps its last measured duration with no invented crash gap or confirmed end time. Failed or stopped steps are not completed, and completed steps alone do not establish a successful synchronization.

The same step_timing evidence appears in automatic Run results, optional operational exports and archived sessions; retained successful summaries keep it after item details expire. Existing historical runs receive no invented timing evidence. User-action Audit trail remains separate from process diagnostics, and the current action retains one inline status without an extra progress or readiness block. Startup commands, permission checks, transfers and approval boundaries remain unchanged. These diagnostics do not promise a faster round or certify live customer-target behavior.

Large-file uploads

CS-051: Continuous synchronization reads source content in blocks of at most 1 MiB into a private temporary disk file, checks its complete size and current source version before writing, and streams the staged file to Nextcloud with a known Content-Length. Reason: prevent a large initial upload from requiring a full-file memory buffer while preserving the pre-write source checks. Stop and configuration guards run between download and upload blocks; temporary files are closed and deleted on success or failure.

Temporary storage needs free disk space for one complete source file per active transfer. Staged source content is not an encrypted recovery copy; operators must protect the temporary storage location. Conditional creation/replacement, acknowledged-upload resume, target identity, size and date verification remain required. Interrupted uploads retain uncertainty and cannot be repeated blindly. Run results and exports keep their existing verified-outcome and uploaded-byte meanings; no extra setting, status block or report action is introduced. Encrypted recovery capture for an existing target still buffers content, and Copy once retains its separate transfer path. Local tests do not certify a 4.8 GB live upload, target limits or VPS memory behavior. Historical reports remain unchanged.

Efficient content comparison

CS-049: Synchronization reuses a verified file baseline when the exact target binding, path, file identity, ETag, size and dates still match. Unchanged source versions need no content download; changed source versions follow the existing conditional transfer and recovery workflow. Source permissions are still checked every round. Reason: avoid downloading known unchanged content and prevent full-file comparison buffers from exhausting worker memory.

Existing files without a usable baseline or with changed target evidence require fresh SHA-256 comparison. Source and target hashes are read sequentially in blocks of at most 1 MiB, with size checks, fresh source-version and target-identity readback, and stop checks between blocks. Interrupted or changing streams never establish successful verification. Comparison does not alter the meaning of automatic run results or exports and does not count bytes read as transferred. Continuous uploads now use disk staging and streaming (CS-051); encrypted recovery still buffers file content. This is not a claim of bounded memory for all large-file operations or live VPS certification. Historical evidence remains unchanged.

Source permission timing

CS-048, refined by CS-055: With Debug enabled, source permission timing is automatic operational evidence in Run results and their export, with discovery measurements under Users and permissions. A collapsed table separates source inventory and local checks, rights and inheritance, SharePoint group members, Entra group members, source user verification, authentication and retry waits. Exclusive times sum to the measured reader duration; network attempts, cache hits and retries are counted without recording endpoints or credentials. Reason: explain long source checks before choosing an optimization.

The worker logs and saves partial checkpoints at instrumented boundaries when at least 30 seconds have elapsed, plus start and completion or failure. A blocked network call can delay the next checkpoint. Partial measurements and older runs without timing evidence are not completed checks. The table measures the authoritative source reader, not the entire synchronization round or subsequent permission mapping. Target baseline and snapshot work has its own inline activity after source permission checking. Diagnostics do not skip rights checks, improve performance by themselves or certify live behavior. Process evidence remains separate from the user-action Audit trail; historical results are not rewritten.

The use case

A company uses SharePoint for daily document work. Its administrator connects Microsoft 365 and a separate Nextcloud environment, then selects the document libraries and folders needed for continuity.

Cloud Sync keeps the selected files and supported access rights up to date. During normal operation employees work in SharePoint; their Nextcloud copy has no managed employee access until failover activation.

During an outage the customer administrator manually activates failover. Synchronization stops before the agreed editing rights are enabled in Nextcloud. Employees sign in independently of Microsoft and continue working.

After SharePoint recovers, the administrator reviews changes and conflicts, manually returns the required changes to SharePoint and explicitly confirms recovery before synchronization resumes.

Customers and responsibilities

The service will support multiple paying customers with strictly separated administrators, connections, settings, data and reports. Customer administrators can access only their own environment.

The service administrator creates customers and invites their administrators. Public self-registration is outside the first release. Service administration covers onboarding, subscriptions and technical support; document access is not a default entitlement.

Each customer connects a separate existing Nextcloud environment. The customer, service provider or hosting partner may operate it. Onboarding records responsibility for updates, capacity and availability. Automatically creating and maintaining Nextcloud installations is outside the first release.

One synchronization target and an optional root folder

Decision: configure one Nextcloud synchronization target per customer. Separate test and production targets are not part of the approved Cloud Sync customer configuration. Connection checks and the guided failover exercise use this same target, with clearly separated test documents.

Target root folder (optional) is configured on Folders and files. Empty creates independent library Team folders; SharePoint creates one physical SharePoint Team folder with Documents as an ordinary child at SharePoint/Documents. Select document libraries as the managed roots, then exclude subfolders. Selecting a parent checks every descendant; clearing it clears and disables descendants until the parent is selected again. Folder names remain editable independently of selection. The first successful folders-and-files discovery selects all discovered libraries; later discoveries retain the saved selection and leave newly discovered libraries unselected. New descendants are included only when their parent is included. Each selected library keeps its included hierarchy, using an independent Team folder when the optional target root is empty, or an ordinary child inside the shared root Team folder when filled. This supersedes CS-030 for new scope forms; older saved subfolder-root destinations are not silently widened or relocated.

Reason: library roots keep a stable target hierarchy when subfolder selection changes. Subtree exclusions make the chosen scope explicit while keeping storage independent of individual account lifecycles.

The root folder describes the visible destination grouping, not the Nextcloud server filesystem root and not the synchronization account's personal storage. Validate that the selected Nextcloud/app version supports the requested managed mount layout and that every authorized user can see and access it correctly. Do not silently replace managed scope-root folders with personal folders or widen access to make the grouping work.

Implementation status: library selection, subtree exclusions, safe name-only inputs, collision checks and matching content and permission paths are implemented locally. Existing different selected-root identities or managed mount bindings retain destination-review and confirmed-absence restoration guards. Copy Once remains additive. Runtime managed-storage and effective-access validation remain required.

Optional shared target root

CS-059: Target root folder (optional) belongs on Folders and files and autosaves with scope and target names as one audited change. Empty means one organization-managed Team folder per selected library or retained explicit scope root. A filled root means one physical Team folder with the selected target names as ordinary child folders. The root accepts one safe name, never a path, with a maximum of 250 characters. Show Team folder: followed by the root once, and Target path: followed by each selected child destination; empty-root rows retain Team folder:. Included descendants retain their hierarchy and renames; unselected source ancestors are never created. Reason: target layout belongs beside the scope and names it controls, and one optional organization container avoids a Team folder per library when grouping is wanted. Normal synchronization remains technical-only. Explicit failover uses saved source rights with read-only root navigation and explicit child permission boundaries, including denial of unrelated siblings. Unknown or unbound content in a shared root blocks adoption. Retained managed children outside the current selection receive explicit deny rules during failover; their files remain preserved. Shared ownership is bound to the exact Nextcloud connection and physical folder ID, including across project sessions. Removing a selection deletes only verified managed content and its empty child folder, retaining the shared Team folder and selected siblings. Missing recorded children are not assumed deleted from a DAV 404; their baselines remain until access or destination is reviewed. Changing the root or converting existing per-selection Team folders requires restoring the prior layout or a new project with distinct empty destinations; existing folders and files are never moved automatically. Copy Once stays additive and establishes no failover readiness; shared-root copy also requires verified technical-only management and ACLs. Connection saves preserve the root. Reset session preserves its setting and storage ownership, while clearing active readiness. Automatic operational exports record the storage model, root, actual destinations and permission evidence; historical reports remain unchanged. This supersedes earlier Connections placement and per-selection managed mount grouping only when a root is filled. Local protocol tests cover the workflow; actual Nextcloud managed storage, ACL enforcement and effective access require runtime validation.

Connection checks and changing the selected folders

Check connections verifies source access and Nextcloud account connectivity independently of the saved synchronization scope. Missing selected Team folders do not fail this check. Discover folders & files reads SharePoint using the connected library inventory and does not require existing target folders.

Reason: customers must be able to refresh discovery and replace an earlier selection after removing target folders, without a Reset action or loss of historical evidence. Stop sync and wait until it is stopped, discover folders and files if needed, change the selection, discover users and permissions for that selection, then Start sync. Removing target folders is not required to change the selection.

Start sync independently checks the current scope, storage ownership and permissions before transfer. It creates new Team folders and restores previously used folders only after administrator management inventory confirms their absence; hidden, renamed or uncertain targets remain blocked. Copy Once retains its separate additive rules. Connection checks and discovery never create folders or change access, and do not establish managed-storage, synchronization or failover readiness. Automatic check results and audit exports retain this boundary; previous runs and protected recovery evidence are preserved. Local regression tests do not establish live compatibility.

A short setup with useful defaults

Setup follows Connect > Select scope > Check and start. Account and group mappings are suggested automatically; only missing information and permission exceptions require attention. Advanced settings are shown only when needed.

Each successful Discover users & permissions starts user mapping again for every source user in the newly discovered selected scope. Replace previous user-name overrides, Map/Create/Exclude choices, exclusions and account checks with fresh suggestions based on current source sign-in names and new read-only Nextcloud lookups. Previously excluded users are included again and users no longer discovered have no active mapping. Existing target accounts may still be found or return a different account ID; rediscovery does not make those accounts disappear or automatically accept an alias. New suggestions still require correction where indicated. Publish the replacement only after complete source discovery and all target checks succeed; a failed or incomplete discovery keeps the previous user choices. Disable mapping edits during discovery and reject forms from a previous mapping generation. Preserve managed-account ownership, synchronization and recovery evidence, historical runs and group mapping choices. Discovery never deletes, creates or modifies Nextcloud accounts or permissions. Automatic audit exports record the fresh mapping generation, check count and current proposals. Reason: an explicit rediscovery must not reuse earlier user choices silently.

In the local Connections screen, Check connections saves the entered settings and starts a read-only check without requiring a separate save. The form retains entered values and later edits while its inline result updates. Saved secrets are kept securely and are never returned to a newly opened page; blank secret fields retain their saved values. Connections has a single Check connections action at the bottom of its form; a separate save button is unnecessary because checking also saves. Discover libraries is at the top of Synchronization scope, keeping library discovery beside scope selection. Scope groups libraries into separate SharePoint site blocks and shows an indented folder tree. The Scope column contains only library and folder names. A fourth Target folder name column places editable destination names beside their sources, defaulting to the source names and retaining saved edits. This keeps source selection and destination naming together. Each row shows only its editable library or folder name; renaming a selected root or its descendants updates their target names; unselected ancestors do not affect the destination. Select a library to include all descendants, then clear subfolders to exclude their subtrees. Scope selections and target folder names save automatically, with compact save feedback and no separate save button. Pending saves finish before scanning or navigation; save failures remain visible. Saved scope contains selected libraries and minimal excluded paths so new descendants follow their parent. The library parent must be selected before a subfolder can be selected. It uses the saved connections and the existing read-only background check, with one inline status; results and audit evidence remain automatic.

Folders and files and Users & permissions are separate menu items with read-only discovery actions. First, Discover folders & files reads document libraries, folders, files, cumulative counts and decimal sizes (kB, MB, GB and TB) for every configured SharePoint site. The administrator selects the continuity scope from that evidence. Then, Discover users & permissions reads source users, groups, memberships and effective path rights only for that selected scope, and read-only checks whether each selected mapped Nextcloud user currently exists. Discovery always inspects selected scope roots, subfolders and files; there is no Discovery depth dropdown. The source authorization matrix determines equivalent planned target access, subject to included users and groups. Discovery never changes target access. Its results card first shows an explicit action and Nextcloud username for each source user, then an explicit Synchronize group or Exclude group action and visible members for each source group. Exclude user replaces clearing a user checkbox, and Exclude group replaces clearing a group checkbox. Target fields are disabled for excluded users or groups and changes save automatically. The source group name is the default target group name. Check repeats the selected-user check later, for example after an administrator changes a mapping or creates a target account; it does not create users. A missing target user is created only during explicit failover. Discovery only saves these choices; synchronization stores the complete rights plan and verifies technical-only storage; explicit failover creates employee accounts and access groups and verifies employee access. View permissions mapping follows the mapping subcards and remains available when only a target display name changes. Results show the discovery time and are indicative observations, not a transactionally frozen source snapshot, permission approval or synchronization evidence. Empty folders show zero; incomplete results never imply zero. Discovery must finish before synchronization starts and cannot run while synchronization is active. To discover again or change mappings, stop synchronization first; the refreshed discovery replaces the previous authorization observations and must complete before synchronization resumes. Failover stops synchronization, then creates planned employee accounts and groups from the last complete stored rights inventory. Mapping edits remain unavailable during failover. Changing source settings requires a new folders-and-files discovery, and changing the selected scope requires a new users-and-permissions discovery. Each action has one inline status beside its initiating button, reports known file or checked-library counts, does not estimate remaining time, restarts safely when interrupted, and saves results and audit events automatically. The last 50 outcomes are included in the existing optional audit export. No assessment approval or separate report-generation step is added. The initial synchronization starts after the necessary connection and scope checks. A failover exercise does not block configuration or this initial synchronization.

The permissions results subcard is labelled View permissions mapping and shows source library names rather than technical IDs. It does not repeat a Members column because source and planned target members are visible in Select and map groups. Each eligible user row has a compact, separate Next action column with the applicable Check or Recheck action, which verifies only that entered Nextcloud sign-in name and waits for earlier mapping saves before checking. Use the account sign-in name, which may differ from its email address; directory errors must not be reported as a missing account. Discovery and mapping checks remain read-only. Missing eligible users with the Create new user action are created at explicit failover. Synchronization records that plan without employee provisioning.

Discovery and failover provisioning use the same direct Nextcloud account lookup as Check in Users & permissions. Normal synchronization does not provision employee identities. A search result that omits a username does not by itself prove that the account is missing. Directory errors and conflicting account identities block verification; mappings are never changed automatically. A confirmed missing mapped account is reported with its entered Nextcloud sign-in name and must be corrected or explicitly set to Create new user. These diagnostics are retained in automatic run and audit evidence; historical reports remain unchanged. Local tests do not establish live directory compatibility.

Synchronization verifies the exact account identity, enabled status and complete group membership before granting employee access. Administrator accounts are blocked because their privileges can bypass the read-only continuity copy. A disabled existing account requires Nextcloud administrator review; Cloud Sync does not enable unmanaged accounts or remove administrator privileges. Account blockers identify the Nextcloud sign-in name and specific reason in automatic run results and audit exports. Discovery existence checks alone do not verify these conditions. Correct the mapping to a non-administrator account or exclude that source user, then retry. Local tests do not establish live account compatibility.

The adjacent Status column uses a short, plain-language state such as Not checked, Existing account verified, Account missing, Email required or Excluded. It does not repeat instructions; the separate Next action column contains only the applicable compact action. Check and Recheck do not create users, and there is no bulk user-check action.

The source-user table combines each source display name and its smaller source sign-in-name subline in one Source user column. The editable target remains in the separate Nextcloud sign-in name column.

When a direct user lookup returns a different account ID, discovery continues and that user's row shows the returned Nextcloud username with a request to update and recheck the mapping. The saved mapping is not changed automatically and the alias is not marked verified. A response without a valid account ID remains an error. Audit exports retain the entered target, returned account ID and mapping-required status.

If the direct lookup returns a different account ID, the row shows Different account returned and the returned account ID. Search inventory cannot establish that the entered name is absent: it may list canonical IDs instead of aliases. Discovery continues for other users, while failover provisioning requires an explicit mapping correction and recheck.

User handling is an explicit per-user choice: Map to existing user, Create new user or Exclude user. The Action dropdown replaces the user selection checkbox. A read-only check suggests Map to existing user for a found account and Create new user for an eligible missing account; saved choices are retained. A new username defaults to the source sign-in name and remains editable. Map to existing user never creates a missing account. Create new user refuses an existing unmanaged account; an account already created and owned by Cloud Sync is reused safely on later rounds. Exclude user removes the user from managed access reconciliation without deleting the account; previously managed access can be revoked during verified synchronization. The row explains status and next action. Normal employee access remains withheld and failover provisions accounts and groups using the last complete stored source permissions; existence checks alone do not establish failover readiness. User choices and outcomes are recorded automatically in audit evidence and optional exports. The navigation labels are Folders and files and Users & permissions; discovery remains an action on each page.

Each source group has an Action dropdown with Synchronize group or Exclude group, followed by smaller source-member names beneath the source-group name. The editable Nextcloud group field has smaller planned target-member names beneath it, rather than a separate Target members column. Planned target membership is derived from the saved per-user actions and entered Nextcloud sign-in names, not a readback of current target membership. Excluded users are omitted. Excluding a group disables its target field and retains its saved mapping for a later return to Synchronize group. Target member names are used because they are recognizable to administrators; the sign-in name is used only as a fallback when no target display name is available. Account state, provisioning choices, warnings and next actions remain in the corresponding source-user row. The preview updates immediately when user choices or usernames change; changes still require successful automatic saving and target checks. Synchronization prepares and verifies selected groups; employee memberships remain withheld until failover activation. Optional audit exports include the same planned memberships separately from verified access evidence.

Planned target members under the Nextcloud group field use a recognizable name. For a verified existing account, use the display name returned by Nextcloud, not the source person name; when no target display name is available, show the sign-in name. For a proposed new account, use the source display name. A changed or unchecked mapping must not reuse an old verified target name. Check retrieves the current target display name read-only. Audit exports retain the same display_name alongside the exact target sign-in name; names do not establish identity or access verification.

A customer is marked failover-ready only after a successful initial synchronization and a guided failover exercise. The exercise checks file verification, independent sign-in, read and edit permissions, collaborative editing and recovery using test documents. Results and blockers are recorded automatically.

Customized subfolder destinations

Destination names are editable independently of scope: unselected folders and libraries, and descendants included through a selected ancestor, can all be renamed without selecting them separately. Saved names also survive incomplete or refreshed folder discovery within a known source library. Naming does not expand the synchronization scope; unsafe names, unknown libraries and destination collisions remain blocked.

Run results and audit exports show the planned selected-root target path even when a file stops or fails before upload. Keep its original SharePoint path in source evidence; a displayed destination is not proof of upload. After restoring a confirmed deleted previous destination, Stop sync and Start sync retain verified completed copies at the new destination without uploading them again. Local regression tests verify this interruption boundary; they do not certify a complete live synchronization run.

Target folder name contains a single library or folder name, never a path, for each library and nested descendant. A compact Reset button restores the source name. An empty target root uses one Team folder per selected library; a filled root uses one shared Team folder with ordinary selected-library children; included descendants retain hierarchy and saved renames. Selected library names must be distinct across sites and sibling names must not collide. Content and permission paths match. Changing an existing managed mount still requires destination review unless authoritative inventory confirms the old folder was deleted. Copy Once remains additive and historical evidence is unchanged.

What is synchronized

Select document libraries as the managed roots, then exclude subfolders. Selecting a parent checks every descendant; clearing it clears and disables descendants until the parent is selected again. Folder names remain editable independently of selection. The first successful folders-and-files discovery selects all discovered libraries; later discoveries retain the saved selection and leave newly discovered libraries unselected. New descendants are included only when their parent is included. Each selected library keeps its included hierarchy, using an independent Team folder when the optional target root is empty, or an ordinary child inside the shared root Team folder when filled. This supersedes CS-030 for new scope forms; older saved subfolder-root destinations are not silently widened or relocated.

Selected Scope begins with three equal-width blocks: Selected libraries/folders, Selected files and Selected size. Counts and decimal sizes update immediately when checkboxes change. Count included library and folder rows; calculate file and size totals from cumulative library counts minus minimal excluded subtrees, without counting descendants twice. These totals describe the latest complete discovery, not a live synchronization guarantee. Stale, incomplete or missing discovery remains Not scanned rather than zero; an empty selection is zero. Saved scope, exclusions and the matching totals are included in the existing optional audit export after autosave.

The customer explicitly selects SharePoint sites, document libraries and folders. Current files and folder structure are included, with access governed by the agreed permission model.

New files and subfolders inside selected locations are included automatically when their rights can be processed correctly. New sites and libraries require explicit selection.

Existing SharePoint version history, lists, pages, workflows and custom business metadata are outside the first release. File creation and modification timestamps, source author/editor information and synchronization timestamps are explicitly included as basic continuity information. Recovery retention begins with content captured by Cloud Sync; historical SharePoint versions are not imported.

Storage ownership: decision and rationale

Decision: SharePoint document libraries, folders and files must use centrally managed Nextcloud Team folders / Group folders storage, not personal folders shared by an employee or the synchronization account. The organization controls the storage independently of individual account lifecycles.

Reason: shared company documents must remain available when an employee leaves or an account is deleted. A service account may access the destination for transfer, but its personal storage must not become the destination or the ownership model.

Access is granted through the supported group permission model. Any direct-user permissions need explicit supported mapping and must not turn the folder into a personal share. Use one organization-managed Team folder per selected root when the target root is empty, or one shared organization-managed Team folder with ordinary selected-root children when filled. All descendants remain organization-managed, independent of individual account lifecycles. Only selected content is synchronized; unselected source ancestors are not created.

If personal OneDrive content is included in a future scope, personal Nextcloud storage may be appropriate for that content. This conditional exception does not add OneDrive to the currently approved release scope.

Folder-layout rationale: what the administrator selects becomes the beginning of the target tree. Selected destinations have explicit permission boundaries in either independent Team folders or ordinary children within the optional shared Team folder. This supersedes the earlier one-Team-folder-per-library layout. Preserve source hierarchy below each selected root and safely translate inherited rights and descendant permission exceptions without widening access.

Implementation consequence: validate centrally managed destination storage and supported access controls before transfer. Read-only checks reject destinations without verified group-mount properties. Account-deletion independence, provisioning and effective access still need isolated integration tests; they are not established by a successful connection check.

Transfer mechanism: decision and rationale

Decision: Cloud Sync transfers files and folders directly through Nextcloud WebDAV. Use the supported management interfaces separately to configure Team folders, users, groups and permissions. Do not use desktop synchronization client processes as the service transfer engine.

Reason: direct WebDAV lets Cloud Sync control individual operations, retries, verification and the stop required before failover. It reuses the existing batch-transfer code and avoids managing separate desktop client processes and local synchronized directory trees per customer.

File and folder paths are decoded relative names. Literal # and % characters are supported and encoded by the Graph/WebDAV URL builders; percent-like text in a name is not decoded into a path separator. Absolute paths, traversal, backslashes, control characters and unsupported colon/question-mark characters remain blocked. Unsupported-character errors identify the path and character in the existing inline feedback and automatic run/audit evidence, without adding a status block. Historical reports remain unchanged.

WebDAV is the transfer protocol, not the synchronization policy. Cloud Sync must implement change tracking, reliable deletion handling, scheduling, pause/resume and recovery decisions. Large-file transfers can use Nextcloud chunked uploads, with compatibility verified against the supported target version.

The technical account accesses the centrally managed Team folders. A username in the WebDAV path identifies the access context; it does not authorize falling back to that account's personal storage. Destination storage type must be checked before transfer.

Implementation status: the inherited WebDAV client is reused. Persistent round coordination, retries, completed-item resume and failover stopping have deterministic local adapter tests. The service worker supports manual additive content runs and read-only checks. Built-in continuous content and permission adapters require certificate registration and runtime server compatibility checks; successful evidence applies only to the checked configuration and operations.

Transfer security

Files pass through the Cloud Sync worker from SharePoint to Nextcloud; this is not a direct SharePoint-to-Nextcloud transfer. HTTPS protects the Graph download and the Nextcloud WebDAV upload. The worker needs the file bytes briefly in memory to verify and upload them.

Saved connections and protected recovery copies are encrypted locally. Encryption of regular files stored in Nextcloud depends on the customer's Nextcloud and storage configuration; Cloud Sync does not claim to provide or verify that encryption at rest.

Manual folders and files

Clear run history asks "Are you sure you want to clear run history?" before clearing finished run summaries and their content details from Synchronization. Active runs remain visible and new runs appear normally. Clearing affects only the current customer display; Run results, audit exports, transfer resume evidence and scheduler state are retained. The action records run_history.cleared in the audit history. Reason: let administrators tidy the operational view without deleting evidence or changing background work.

Synchronization feedback stays to the right of its action button in the same row. Long progress and completion messages wrap inside the feedback column, including on narrow screens. Use one inline status per option and retain it when Start sync changes to Stop sync, Stopping... or Start sync. Reason: keep feedback visibly attached to the action that produced it. Reports, run results and audit exports retain their existing content.

Clearing run history also removes finished Copy Once feedback beside Start copy, including Warning or Error references to the hidden details. Running feedback remains visible, and a new run supplies fresh feedback. Original outcomes remain available in Run results and exports. Reason: an inline result must not refer to details that the user has cleared from Synchronization.

Run history shows one compact visible row per run when collapsed: Started, Option, Duration, Folders, Files, Outcome and Details. Folders and Files headers use a mouse-over tooltip, "Added / Deleted / Updated or Moved", to state the fixed count order. Each run cell shows all three counts in the tooltip order, for example 3 / 5 / 4. A rename or move is one Updated/Moved change, rather than an ambiguous addition and removal. Copy Once counts new target content as Added; a source folder that is created in Nextcloud also counts as Added, while a folder already there does not count as a change. Unchanged existing items are omitted from expanded item logs. For runs with expandable details, place Show details in the separate Details column immediately after Outcome; the button changes to Hide details when expanded. CS-054 adds Duration (HH:MM:SS) immediately after Option in the chronological summary; it also remains in the expanded details with transferred size and throughput. User commands show -, active unfinished runs show In progress, and interrupted or otherwise unfinished runs show Not available. Duration uses recorded run start/finish, not the sum of diagnostic step times. Historical runs without retained item data show - without implying an error. Expanding reveals a row spanning all seven columns directly below the summary; collapsing hides that row completely. Each run expands independently, with keyboard operation and an accessible expanded state. Detail filter and pagination links reopen their selected run. Reason: show the content and type of each run change first while keeping performance measures available on demand. Stored evidence, exports and historical reports are unchanged.

When Nextcloud returns another account ID, Select and map users shows Different account returned, the returned ID, and a plain-language explanation that checking the same name does not change the mapping. Provide Use this account as an explicit row action: it fills the returned ID, selects Map to existing user and uses normal autosave, but does not verify the mapping or change Nextcloud. The administrator must check that this is the intended account and run Check; alternatively enter a different sign-in name to create a separate account. Hide correction guidance and the suggested action immediately when the row is edited or excluded, and never apply a suggestion from an older check. Keep one status cell and the compact Next action column. Automatic mapping checks and audit exports retain the entered and resolved account identities; historical reports remain unchanged.

A Nextcloud lookup that returns a different account ID is evidence of a name-to-account conflict or alias, never evidence that the entered name is missing. Show the returned account ID in Users & permissions and require an explicit mapping correction and recheck. Search results list canonical IDs and must never override that direct identity evidence, even for an administrator or when the entered name is absent from the search. Synchronization blocks before account creation or access grants; it never changes mappings or adopts the returned account automatically. The same boundary applies when reviewing a rejected creation. Automatic checks, run messages and audit exports retain the entered and resolved identities. Local regression coverage does not establish live directory compatibility.

Cloud Sync uses the standard Nextcloud Group folders advanced-permission API: POST enables ACLs on the managed Team folder, and DAV PROPFIND/PROPPATCH reads and writes per-path ACL rules. It verifies the folder identity and technical ACL management rights before employee provisioning, requires exact rule readback and checks effective read-only access and denied paths with non-administrator probes. Scope ancestors provide read-only navigation; target inventory rejects unrelated content before any grants. During path-permission reconciliation, managed employee memberships remain withheld until explicit per-user failover activation, including existing memberships, so partially applied ACLs do not expose content. Unknown ACL principals require review; obsolete service-owned rules may be revoked. Obsolete mount grants are removed before replacing root ACLs, so removing a deny rule cannot temporarily restore access. Previously managed accounts confirmed absent in the target directory are recorded as absent; synchronization does not recreate revoked identities or treat directory failures as proof of absence. Automatic run details and audit exports preserve the same failures. Discovery remains read-only. A bounded initial synchronization of the configured test scope has passed with standard ACL readback and effective access checks; other configurations and failover require their own verification.

Managed account email updates use the Nextcloud Provisioning API key/value contract. Synchronization keeps managed accounts without an activation delivery address; setting that address and sending welcome mail remain reserved for authorized failover activation. A rejected profile update identifies the Nextcloud account and the email-update operation in the existing inline run result and automatic audit export, rather than directing the administrator to check server availability for every HTTP 400. Preserve confirmed account ownership and retry evidence when a later profile step fails; do not recreate the account blindly. Existing independently managed account profiles are unchanged. Local contract tests do not establish live provisioning or failover delivery readiness.

Activation email readback follows the documented Nextcloud lowercase and outer ASCII whitespace normalization while requiring the exact target account ID. A missing, unreadable or different address blocks welcome delivery and employee membership; aliases and other mailbox substitutions are not accepted. Inline status and operational exports retain the safe account-specific blocker. Retry the same confirmed owned account only when Nextcloud responds; an address visible in the account screen alone is not verified activation.

Nextcloud user-creation rejections identify the sign-in name and a safe HTTP/OCS reason in the existing run feedback and audit export, without exposing raw server responses or passwords. After a returned rejection, Cloud Sync retires the pending user-creation record only when a read-only account lookup confirms absence. It stops that round rather than retrying creation immediately. Existing accounts, conflicting identities, directory failures, timeouts and malformed responses retain the unconfirmed record for administrator review; Cloud Sync never adopts an account merely because it exists. Nextcloud account and email requirements are not bypassed, and synchronization still sends no activation email. Historical run evidence is retained. Local regression coverage does not establish live provisioning compatibility.

Overview defaults to a daily graphical timeline in Europe/Amsterdam time, with one row per day containing recorded events and a fixed 00:00 to 24:00 axis. Show the latest 7 calendar days with older/newer navigation, omitting dates without recorded runs or user actions, even if an active interval spans them. Successful checks without changes remain recorded events. An empty period shows one concise message rather than empty day rows. Distinct icons identify start/restart, stop, changed runs, warnings, errors, successful Sync checks without changes, running/requested actions and unavailable counts. Cluster events in 15-minute slots, retain every event within a cluster and give errors and warnings visual priority; show issue counts beside each date. Hover and keyboard focus show summaries; selecting a marker reveals individual events and links to retained run details, also usable on touch screens. Event times include UTC offsets for repeated daylight-saving hours. Shade only intervals established by retained start/stop events; shading is not successful-transfer evidence and empty periods are not proof of success. Synchronization shows an always-visible Chronological list with the latest 50 runs in the view plus selected older details; it has no graphical timeline or list disclosure. Overview markers link directly to those run details. Timeline navigation is not capped at 50 retained runs. No severity dropdown is added. Reason: make long quiet periods compact while incidents remain visible in chronological context. Stored results, report evidence, retention rules and audit exports are unchanged; Run results remains available through Synchronization. CS-044 supersedes the timeline placement and collapsed list in the earlier history design.

Review run history uses compact row spacing without horizontal separators between ordinary runs. Under CS-052, completed Sync runs with recorded step timings retain Show details even with 0 / 0 / 0 for both Folders and Files. Older no-change Sync runs without step timings have no Show details button or expandable row, including when opened through a saved detail link. Copy Once, active runs, warnings, errors and runs with unavailable counts retain their details. Reason: new rounds need inspectable timing evidence for performance analysis, while older quiet rounds keep their concise summary. This presentation rule does not remove stored results, performance evidence, reports or audit exports.

Expanded run logs show only added, deleted and moved/renamed folders or files, plus substantive warnings and errors. Skipped, unchanged, pending and successful update-only items are omitted. Review run history has no message-filter dropdown and always shows all eligible changes, warnings and errors, including when opened through an old filtered link. Expanded details contain no filter controls; empty item tables and empty-filter messages are omitted. Show all means all eligible changes and issues, never skipped items. The 50-item pagination keeps the selected run open, with issues first and safe diagnostic text. Run results retains its Show errors, Show errors & warnings and Show all card-header dropdown with the same detail presentation; filter changes preserve expanded runs and reset item pagination there. Presentation choices do not change stored evidence or exports. The concise item table shows Type, Target and Outcome, without routine verification columns or successful Team folder setup logs. Run-level performance, summaries and processing progress remain available. Run results uses the same item view; automatic audit exports retain full original item and verification evidence. A horizontal line below Started by user or Restarted by user separates that synchronization interval from older history; no line is added for Stop or Sync now. Reason: make meaningful changes and problems easy to review and show breaks in the timeline. This supersedes the earlier skipped-item detail view and blanket removal of history separators.

When a customer starts, stops or restarts synchronization, Run history adds a Sync entry with Started by user, Stopped by user or Restarted by user. These entries have no content counts or expandable details, and explain intervals without synchronization. Clearing Run history hides them with the other visible run history entries; audit evidence and exports retain the underlying user action.

All application screens and generated reports display timestamps in the Europe/Amsterdam local time zone. Stored records and audit exports retain their UTC timestamps to preserve interoperable evidence and unambiguous calculations.

Synchronization action feedback is compact: Running: followed by a short current activity, Completed, Waiting, Stopping or Stopped; Warning and Error refer to run details. A safe item-level warning, such as a locked target file after retries, does not stop the round: other folders and files continue, the item is retained for the next scheduled sync, and the task shows Waiting with items needing retry. An error means that safe synchronization cannot continue, so the task stops for administrator resolution and a later user restart. Run history provides applicable expandable details with separate file and folder counts, warnings/errors first, filters and 50-item pages. Copy Once skips an existing file normally only after matching prior verified evidence to the current source version and checking target identity, size, dates and bytes; changed or unverified targets remain warnings and are never overwritten. Completed per-item run details expire after a configurable 90 days by default, including in exports. Compact summaries and performance remain; audit records follow the separate audit retention policy (12 months by default). Active, warning/error and legacy unbound copy evidence is retained. Latest verified copy baselines, synchronization journals and recovery evidence remain protected. Clearing visible history only hides rows. Reason: keep action feedback readable, distinguish expected repeat copies from problems and bound disposable history without losing operational evidence. Local tests cover this behavior; live compatibility remains unverified.

Start copy and Start sync show Running: followed by a short activity such as Scanning selected files, Checking source permissions or Synchronizing and verifying files. The same inline feedback is used on initial page load and during polling, and stays beside the initiating controls. Reason: show that work is progressing and what it is doing without adding a second status block. Detailed outcomes remain in automatic run results and audit exports; historical reports are unchanged.

During file processing, Start copy and Start sync show a compact percentage and processed-file count beside their controls, for example Running: Copying and verifying items - 42% (84/200). Discovery and permission checks show only their activity until the relevant total is known. Copy progress covers files in its saved run plan, including verified skips and resumed results, and excludes folders. Sync progress covers file changes planned for the current round, including already completed operations on resume; unchanged files require no transfer and are outside this total. Retries count a file only once. Processed files can include failures, so progress is not a success score, byte percentage or remaining-time estimate. Active or unsuccessful processing is capped at 99%; 100% appears only after successful final verification, as Completed for Copy Once or Waiting for Sync. Empty file plans keep activity text without a percentage. Detailed run results and optional audit exports retain these counts automatically. A time-based wait bar appears only while an enabled continuous task is waiting for its scheduled next check; it counts down to that check and is hidden while work is queued, running, stopping or blocked. The Sync now button beside the wait area queues an immediate new synchronization only while the task is waiting; it never interrupts or overlaps a running round, and the request is recorded automatically. Historical evidence is unchanged.

Place the action controls directly below each synchronization option title, before explanatory text. Under Copy files once, label the button Start copy. Under Synchronize continuously, use Start sync and Stop sync; keep Stopping... while stopping safely. The titles supply the mode context without repeating it in the button. Keep each existing inline status beside its controls. Run history Option values remain Copy Once and Sync; reports and exports retain the same operation names and evidence.

Synchronization presents Copy files once on the left and Synchronize continuously on the right as two equal-width options. On narrow screens they stack with Copy files once first. Each option keeps its own controls and inline status; shared run history and results remain below. Reason: make the two operating modes easy to compare without duplicate progress blocks.

Copy once performs one background copy run and ends when complete; it does not start continuous synchronization. Later source changes require another manual run, and existing target files are not updated. Scheduled checks remain read-only. Run history shows one summary per Copy Once or Sync run, with Option immediately after Started. Read-only connection checks appear in Run results and remain in audit exports. Run history and Content run results show Duration (HH:MM:SS), Transferred (decimal units) and Throughput (decimal units per second). Duration covers the recorded run start to finish, including discovery, checks, retries and pauses between resumed batches. Transferred counts acknowledged file uploads once, including uploads with verification issues, but excludes folders, conflicts and unconfirmed attempts. Throughput is transferred bytes divided by total duration; active runs and zero-duration runs show no final throughput. Read-only checks have no transfer throughput. Audit exports include duration_seconds, bytes_transferred and throughput_bytes_per_second automatically. Existing historical reports are unchanged. Run history and Content run results show Duration (HH:MM:SS), Transferred (decimal units) and Throughput (decimal units per second). Duration covers the recorded run start to finish, including discovery, checks, retries and pauses between resumed batches. Transferred counts acknowledged file uploads once, including uploads with verification issues, but excludes folders, conflicts and unconfirmed attempts. Throughput is transferred bytes divided by total duration; active runs and zero-duration runs show no final throughput. Read-only checks have no transfer throughput. Audit exports include duration_seconds, bytes_transferred and throughput_bytes_per_second automatically. Existing historical reports are unchanged. Run results contains operational checks and run evidence with the optional Export run results action; user commands are shown in Audit trail; Existing export fields and historical evidence remain unchanged; rounds include an additional option field (Copy Once or Sync, null for read-only checks).

Continuous controls: Start synchronization performs the initial copy and then keeps the same saved scope up to date. Show a compact state beside the controls: Running: followed by a short current activity, Waiting, Stopping, Stopped or Error with a short reference to run details. Keep detailed activity in expandable run history and show last successful synchronization and the next check in the option context without duplicate status blocks. Stop synchronization stops new transfers, safely finishes in-flight transfers and saves progress while retaining the target copy; keep Stop sync visible with its active spinner until stopped. Start synchronization after stopping begins a fresh round and verifies recorded copies against the current target. Prevent concurrent manual copying and continuous synchronization for the same selection. Enable these controls only after continuous updates, safe overwrites, permissions and recovery integration are implemented and tested. Reason: clearly distinguish a one-off copy from the continuity service and provide visible, controlled operation.

One durable synchronization task is allowed per customer, using the saved scope and single target. Start schedules an immediate run; subsequent checks default to every 15 minutes, configurable in Settings. Each execution has its own automatic run record. Stop cancels future execution and retries, finishes in-flight work safely and retains completed progress. Closing the browser does not stop the worker; service restarts recover enabled tasks without restarting deliberately stopped tasks. Stop before editing connections, scope or destination names. Copy once is unavailable while synchronization is enabled or stopping. Missed intervals coalesce into one catch-up run. Reason: one task provides simple controls and avoids overlapping transfers. Task control, scheduling and conditional content-adapter behavior have local tests. The default web service and worker install the continuous adapter. Connections can generate a permission-check certificate and keep its private key encrypted; the customer administrator must register the public certificate and consent to selected-site and directory access in Microsoft 365. Start requires a valid saved certificate. Each new configuration runs isolated synthetic conditional-write, recovery-readback and effective read-only access checks before transferring source files. Unsupported source rights or failed checks block the run. Local fixtures verify these integrations; external Graph/Nextcloud compatibility remains unverified until the customer environment passes its checks. Independent MFA, collaborative editing and verified recovery remain separate failover requirements. Supported uniform internal group rights cover whole libraries and selected roots; custom, direct-user and differing nested permissions block safely.

Manual folders and files: Copy once on Synchronization copies the current saved scope, including empty folders and new descendants, to verified Team folders, automatically creating missing managed scope-root folders. Connections and managed storage are checked automatically. A missing or invisible Team folder is reported with its destination path and setup guidance, separately from a missing WebDAV account root. Employee users and SharePoint permissions are not processed; existing target access remains in effect. This user-approved interim step does not establish failover readiness. Verified existing copies of the same source version are skipped; changed or unverified targets produce warnings and are never overwritten; deletion and retention integration remain outside this step. Background runs use bounded batches, item retries and durable completed-item resume. Upload, file ID, size and source date verification are recorded separately, with source attribution and automatic audit exports. Checks run within active synchronization; manual Check connections remains available while stopped. Direct conditional WebDAV uploads are used; server upload limits and large-file compatibility require live validation.

Short synchronization option descriptions

Keep the descriptions below synchronization controls brief. Copy files once says: Copy the selected files and folders once. Existing files and permissions are left unchanged. Synchronize continuously says: Keep the selected files and permissions up to date. Missing folders are created automatically. Below Synchronize continuously, add the short policy explanation: Confirmed SharePoint deletions are mirrored automatically. If SharePoint is unavailable or cannot be read completely, the Nextcloud copy is preserved and synchronization retries automatically. Retain the configured interval, Settings link, last successful sync and next check as compact context. Keep concrete configuration blockers and one inline action status. Technical provisioning, baseline verification, recovery and compatibility details belong in About Cloud Sync and automatic run/audit evidence, not in lengthy instructions below the buttons. This text change does not alter transfer rules or historical reports.

Starting, stopping and automatically restoring folders

Start sync enables the service and schedules a new round with current source, target and permission checks. Stop sync disables future rounds and stops active work safely; show Stopping beside the controls with the Stop sync spinner until finished; keep Start sync visible and disabled until safely stopped. Preserve and verify unchanged copies without blindly replaying an old work list. Copy Once is optional and is never a prerequisite. If a previously used Team folder is missing, administrator management API inventory must confirm deletion rather than lost access or a rename. Synchronization automatically creates missing Team folders, including previously used folders that were deleted. No separate recovery button or Copy Once run is required. After complete source and permission discovery, archive the affected baseline, operations, journals and managed-folder/compatibility evidence before rebuilding managed storage and copying the current source. Retain other libraries, historical runs and encrypted recovery copies. Recheck target absence immediately before archiving; changed, hidden, renamed or incompletely inventoried targets block safely. Automatic folder restoration evidence appears in Run results and optional exports. Local tests do not certify live compatibility.

Automatic managed Team folder creation

Copy once automatically creates a missing managed Team folder after source discovery completes. It uses the Nextcloud Group folders management API and requires the configured technical account to be a Nextcloud administrator with management API access. For each newly created folder, Cloud Sync creates a dedicated technical group containing only that existing account and grants read, write and create access (no delete or share). No employee accounts, memberships or SharePoint permissions are synchronized. Existing accessible Team folders are reused without changing their rights. Hidden existing folders, personal storage, name collisions, unexpected access and unconfirmed creation outcomes block transfer rather than creating duplicates or broadening access. Persisted folder IDs and setup progress support retries; an ambiguous creation response requires administrator review. Optional root grouping is passed as the managed mount path and must pass exact path and WebDAV managed-root verification before content transfer. Creation, technical access and verification results appear automatically on Synchronization, Run results, and in the audit export. Manual connection checks remain read-only; synchronization validates access within each active round. Actual server compatibility still requires live validation.

After technical access is configured, the worker checks WebDAV mount visibility up to four times with fresh HTTP sessions and waits of 1, 2 and 4 seconds between checks. Only a missing resource is retried; denied access, personal storage and invalid managed-mount evidence remain blockers. Progress stays beside Copy once. A persistent failure preserves the created folder and its ID for the next run and reports the visibility problem without assuming that a top-level folder has a root-layout error. Successful verification records the check count in both screen results and audit exports. No additional folder or access mutation occurs during these visibility checks.

File timestamps and source information: decision and rationale

Decision: preserve the SharePoint file creation date as the Nextcloud creation date and the SharePoint last-modified date as the Nextcloud last-modified date on each synchronized update. Use the service-level SharePoint timestamps as the source of truth rather than client-supplied local file-system timestamps.

Record synchronization time separately in Cloud Sync. Retain the source creator and last editor as source information in Cloud Sync; do not present them as the identities that performed the Nextcloud upload.

Reason: employees must recognize when a document originated or changed. Replacing those dates with the transfer time would make an initial copy look like newly created or edited content and would undermine sorting and comparison.

Read the dates back from Nextcloud after transfer and verify that they were preserved, including chunked uploads. Validate support and timestamp precision against the actual target version. Unsupported or mismatched dates must be visible as a verification issue, not silently reported as successful preservation.

During failover, Nextcloud edits receive their actual current modification times. Keep the last synchronized source timestamps separately for recovery; do not overwrite failover edits with old source dates.

These basic timestamps and source identities are an explicit exception to the earlier exclusion of additional metadata. Arbitrary SharePoint business fields remain outside scope. Folder timestamp behavior has not been decided by this file-specific requirement. Creation and modification upload headers and strict date readback are implemented and locally tested; real server behavior, including chunk assembly, remains unverified.

Users, groups and access rights

Discover users & permissions shows the users and groups found in the selected SharePoint source scope and a path-scoped authorization matrix. Discovery always collects complete root, subfolder and file authorization evidence. There is no administrator-selected depth. Target access verification during synchronization remains complete for the operation being performed.

Each source user defaults to the same Nextcloud sign-in name and can be mapped to another Nextcloud user. When no matching target account exists, Cloud Sync recommends creating a managed independent account during explicit failover. Existing mapped accounts retain their independently managed profile; Cloud Sync never creates personal shares, administrator rights, ownership rights or sharing privileges.

At explicit failover, Cloud Sync creates planned managed independent Nextcloud accounts and target authorization groups. Direct-user grants and unique folder or file rights become managed derived access groups, not personal shares. Normal synchronization stores complete source membership evidence without modifying employee accounts. Failover applies the last successful plan; reset removes owned access without deleting employee accounts.

The authorization matrix is path-scoped: a verified Group folders ACL is applied for each selected library, folder or file path. During normal operation employee memberships remain withheld; failover activates each user separately. The stored failover profile grants write access only to source editors in their authorized paths; it never grants Nextcloud administration, sharing, ownership or personal-storage access.

Cloud Sync blocks safely when source evidence is incomplete, a target identifier is unmanaged, Group folders cannot prove path-ACL support and readback, a role is unsupported, or a guest, public link or anonymous identity occurs. It preserves the last confirmed matrix rather than widening access.

New managed users receive no email during discovery, mapping checks or normal synchronization. Creation omits the target email address; Cloud Sync retains the delivery address only in its pending activation record. Normal synchronization creates no employee accounts and sends no activation email. Failover provisioning queues account activation without sending email. Only explicit customer-admin failover activation releases that user's pending welcome message through the Nextcloud provisioning API. Delivery is journaled; an unconfirmed send requires administrator review. Passwords and activation tokens are never included in the screen, audit records or exports. Activation and recovery must not depend solely on Microsoft sign-in or Microsoft 365 email being available during the outage.

Limited Access and the recognized built-in Web-Only Limited Access role are navigation permissions, not document grants. Cloud Sync excludes the latter only when both its numeric role ID (1073741833) and RoleTypeKind (9) match; localized names do not control recognition. These assignments create no target group or document access. Actual content grants and descendant permission exceptions remain subject to the supported mapping checks; navigation-only evidence cannot establish access. This corrects a false blocker without broadening permissions.

Employees receive and test an independent Nextcloud sign-in method with MFA before an outage. Activation and recovery must not depend solely on Microsoft sign-in or Microsoft 365 email being available during the outage.

Normal operation

SharePoint is authoritative. Employees have no managed Nextcloud access during normal synchronization; the synchronization service can update the copy. SharePoint read-only users must not gain editing rights during failover.

Settings configures synchronization and retention. Check interval controls automatic rounds only while synchronization is active; each round checks source and target access before processing changes. Stop sync stops future rounds, with owned-access cleanup finishing safely. There is no separate scheduled read-only connection check or enable switch. Check connections and discovery remain explicit read-only actions available during setup or while synchronization is stopped. Stale-success and blocked notifications follow active synchronization, not an idle customer. Reason: synchronization already performs the required checks; a second schedule adds duplicate requests and makes Settings confusing. Older standalone scheduler flags are ignored, and identifiable queued automatic checks are retired without claiming success; explicit or coalesced manual requests and historical results remain. Run results and its compatible export keep synchronization checks and outcomes; Audit trail records user actions separately. CS-041 supersedes the earlier standalone scheduler. Local regression tests do not establish live target compatibility.

Cloud Sync checks for changes every 15 minutes by default, configurable per customer. This is a polling interval, not a guarantee that every change is available within 15 minutes. Large changes, throttling or connection failures can increase the actual delay.

Background workers operate independently of browser sessions. Only one synchronization round runs per customer at a time. Work resumes safely from saved progress after interruption. Different customers can run concurrently with bounded capacity so a large customer does not block others.

Folder inheritance and file permission exceptions

Discovery automatically summarizes how many checked files have explicitly assigned permissions. Files that inherit folder permissions need no separate full rights lookup; files with their own rights remain explicit exceptions, even when those rights match the parent. Each sync checks again for new file-specific permissions, including when file content is unchanged. There is no folder-only setting or additional approval step.

Reason: keep setup simple while preserving confidential file exceptions. Complete discovery with zero exceptions is an observation for that snapshot, not a promise about later changes. Missing, incomplete or outdated evidence never means zero exceptions; rediscover the current scope when the summary is unavailable. The same counts and explanation are recorded in automatic run results and their optional export. Historical reports are unchanged. Server-side exception filtering remains unverified and is not enabled; local tests do not establish live performance or compatibility.

Efficient source permission checks

Each synchronization round and users-and-permissions discovery reads current source rights and memberships. Within that one snapshot, complete SharePoint group memberships are reused only for the same site and group, and complete Entra memberships only for the same directory group. Shared inherited rights are reused only after a complete, unambiguous folder chain identifies the same source and its current inheritance is checked. Missing parent evidence falls back to the individual authoritative check; incomplete or ambiguous responses remain errors. Observations are discarded before every new snapshot, including a retry after interruption.

Reason: avoid repeated source requests without treating unchanged files as proof of unchanged permissions. The selected scope, rights exceptions, stop guards and automatic run/export evidence remain intact. This is locally tested request reduction, not a promised synchronization duration or new live compatibility evidence.

Starting and restarting synchronization

The synchronization start button reads Start sync before the first start and Restart sync after a previously started synchronization has fully stopped. Completed Copy Once runs do not establish synchronization start history. The same label follows confirmed status polling and remains Restart sync when run history is hidden or cleared. Restart sync shows the concise help: Resume synchronization using the current settings and saved progress. While synchronization is enabled or still stopping, the existing active Start sync and Stop sync controls retain their applicable busy states. A restart remains disabled until managed-access cleanup completes and existing availability and work guards permit it. The start endpoint, saved progress, settings, audit event categories and run/export status names remain unchanged; this is an action-label clarification, not a reset or automatic restart. CS-043 supersedes earlier fixed Start sync wording. Existing run results and historical reports need no content rewrite because they already distinguish Started by user and Restarted by user.

Settings and automatic saving

Settings saves valid edits automatically without a Save settings button. Synchronization, notifications, retention and transfer each have a separate foldable Configure card, with one concise explanation under every field. Settings can change during normal synchronization without interrupting an active transfer: transfer defaults apply to the next run, the interval updates the next waiting round, and notification and retention changes apply at the next delivery or cleanup check. Failover, recovery and pending managed-access cleanup block changes. Shorter retention can remove older copies or evidence at the next cleanup; increasing it cannot restore removed data. Autosave submits only edited fields, serializes pending edits and preserves drafts on failure; one accepted bulk change produces one audit event and unchanged values produce none. Existing run results and exports retain their recorded settings. CS-042 supersedes the earlier combined Settings card and explicit save action. Local validation does not establish live integration readiness.

Manual failover and collaborative work

An authorized customer administrator activates failover manually. Source synchronization must stop before the agreed editing rights are enabled. A connection error never triggers automatic failover.

Employees can add and edit documents in Nextcloud. Collaborative browser editing is supported where a working online office environment is provided by the Nextcloud operator. Its independence from Microsoft and actual collaborative editing are tested during onboarding.

Cloud Sync records additions, edits and deletions during failover for later review. Failover changes are preserved until the administrator explicitly confirms they have been handled during recovery.

Guided recovery to SharePoint

The administrator asks employees to stop editing in Nextcloud before reconciliation. Cloud Sync provides an overview of files added, changed or deleted during failover and flags files also changed in SharePoint.

The administrator reviews differences and manually returns the desired changes to SharePoint. Automatic reverse synchronization and automatic conflict merging are outside the first release.

Normal synchronization resumes only after verification and explicit administrator confirmation. The recovery overview remains available in the history and as an optional report export. SharePoint becoming reachable is not permission to overwrite unreconciled Nextcloud changes.

Recovery retention

Deleted content and previous content of overwritten files remain recoverable for 30 days by default, configurable per customer. Only authorized administrators can access this protected recovery area; employees see the current copy.

Retained content counts towards storage usage. The ordinary retention window must not discard unresolved failover changes: those remain until the administrator confirms recovery handling.

Incomplete scans and source outages

SharePoint is authoritative inside verified managed Team folders. Compare SHA-256 hashes and source dates regardless of which process placed it there; matching files are adopted without upload, while differing files use a guarded conditional replacement. Copy Once retains its separate existing-file rules. After complete current source and permission discovery, synchronization compares the actual target inventory independently of browser sessions or earlier copy records. Add missing source files, conditionally replace files with different contents, size or source dates, and remove target-only content and explicitly excluded subtrees. Capture and verify previous file bytes in protected recovery storage before replacement or deletion. Verify target identity and ETag, delete obsolete folders only after a fresh inventory proves them empty, and verify removal. An explicitly deselected library's previously verified Team folder is removed only after exact management identity checks and complete empty-content verification. Personal storage, unrelated Team folders and changed destination bindings remain outside automatic cleanup. Incomplete scans, denied source access, target changes and unconfirmed mutations block cleanup. Stop sync, change scope, rediscover users and permissions, then start sync. Employee memberships remain withheld during normal synchronization and are released only by explicit per-user failover activation after target access verification. Copy Once remains additive. Automatic run details and optional audit exports contain the same changes and folder outcomes; historical reports remain unchanged. Local tests do not establish live compatibility.

An unreachable or incompletely read source is never evidence that files were deleted or access was revoked. Cloud Sync preserves the last confirmed copy and rights, marks the round incomplete and alerts the customer administrator.

Cloud Sync is a SharePoint mirror: reliably confirmed source deletions and access revocations are processed automatically, including large or deliberate deletions. Confirmed deleted source folders are removed from the verified target after their confirmed files are removed. No routine cleanup approval or deletion-count threshold is required. Backup is responsible for recovery from unwanted source deletions; the existing recovery-retention policy is separate from outage protection. Missing files in an unsuccessful or incomplete scan, denied access and an inaccessible library never authorize cleanup. A successful connection alone does not establish complete source discovery. The dashboard shows when files and rights were last verified, including uncertainty while the source is unavailable. Retries continue automatically; after complete source and permission discovery succeeds, mirroring resumes automatically unless failover is active. Failover remains a manual decision.

Status and notifications

The dashboard shows the last fully successful synchronization, actual synchronization lag and errors requiring action. File transfer and permission processing are shown separately: successful uploads alone do not establish failover readiness.

Administrators receive email when synchronization or permission processing is blocked, or when an active schedule has had no fully successful round for more than 60 minutes. The threshold is configurable. A recovery notification follows resolution.

Synchronization-lag alerts are suppressed during deliberate failover. Customers configure an additional notification address outside Microsoft 365 so broader Microsoft outages do not hide the notifications.

A safe item-level failure, such as a locked target file or a source item that cannot be read before any target mutation, is retained as Warning after normal retries. The round continues with other items and then shows Waiting — 1 item needs retry (with the actual count); the next scheduled synchronization retries it. Incomplete discovery, invalid scope, incomplete target inventory, identity or ETag uncertainty, permission-validation failures and unconfirmed overwrite or deletion outcomes are Error conditions: the round stops, preserves the confirmed target copy and requires a new start after resolution.

Action feedback

Action buttons, except the three named synchronization controls, turn amber, show a spinner and say Working... while their operation is active. They cannot be submitted again during that operation. The original label and style return when the operation completes or fails; the existing inline status shows the outcome. Reason: administrators must be able to distinguish an active operation from an unavailable button and see when work has finished without relying on colour alone.

Continuous synchronization keeps Start sync and Stop sync visible together, with Sync now visible beside the wait area. These three controls retain their labels instead of Working... so their functions remain recognizable. When stopped, Start sync is available only when existing checks allow it; Stop sync and Sync now are disabled. During a confirmed queued or running round, Start sync is amber with a spinner and disabled; Stop sync is available and Sync now is disabled. Between rounds, Start sync remains disabled without a spinner, while Stop sync and Sync now are available. A submitted Sync now request spins only that button until the resulting confirmed queue transfers the active indication to Start sync. While safely stopping, only Stop sync spins and all three buttons are disabled. A blocked enabled task shows Error without a spinner and can still be stopped. A countdown reaching zero does not prove that a round has started, and an interrupted status connection does not prove it has finished. Reason: clearly separate an enabled schedule, active work and a control request. Keep one existing inline state and automatic run/audit evidence; no duplicate progress block or change to synchronization/failover verification requirements.

A queued background check remains active until the worker confirms completion, rather than only until the request is accepted. Losing the status connection does not establish completion. Direct view controls finish immediately; resetting a folder name stays active until its automatic save resolves. Stop synchronization remains usable while continuous synchronization runs. This presentation adds no readiness guarantee, separate progress block, report-generation step or change to automatic audit/export evidence. Historical reports remain unchanged.

Source-authoritative access planning

The source authorization matrix is authoritative at selected roots, subfolders and files. Preserve equivalent effective access and restrictions for included users and groups, rather than choosing target authorization depth. Excluded users cannot regain access through synchronized groups. Excluding a group removes its grants, while another included group or direct user grant may still provide access. Unsupported or incomplete permission evidence blocks affected application without broadening access.

View permissions mapping is a native keyboard-accessible disclosure, collapsed by default, containing the folder matrix, direct user permissions and File-specific permissions. It is read-only and requires no approval. Automatic mapping refreshes preserve whether the administrator has opened or closed it. Expanding the view does not trigger discovery or change target access. It shows discovered source grants and target identity mappings, without Normal access or Failover access columns. This is discovery and mapping, not failover configuration. Selected roots and subfolders appear together in one indented folder tree inside a group permissions matrix. The first columns are Scope and Type, using the same source names, ordering, indentation and documentLibrary or Folder types as Selected Scope in Folders and files. Rows outside the selected scope, including unselected library ancestors, are omitted. Each synchronized source group has its own column labelled only with the source group name; target group names remain in Select and map groups. Excluded groups have no column. Cells show the effective source role, Read only, Read & write or No access, and incomplete evidence remains Not discovered or Not verified. Direct user permissions remain in a separate list and File-specific permissions follows the matrix. With many groups the matrix scrolls horizontally, with a keyboard-focusable scroll region; readable group columns do not compress. Scope names and indentation identify the selected roots without a repeated root annotation. Cells already show inherited effective rights, so no redundant inheritance-equality note is shown. Explicit assignments stay visible and exceptions identify added, changed and removed grants. File-specific permissions remains a separate list below the tree, including explicit grants equal to the parent. Only complete inspected evidence can support an inheritance or no-exceptions statement. Earlier partial discovery requires rediscovery. No review approval is required; the administrator inspects evidence and the app verifies it automatically.

Automatic mapping saves refresh the planned access preview. Discovery and previews are read-only; synchronization records selected source identities and rights while employee provisioning is deferred until failover. The existing optional audit export includes the same authorization plan and source evidence. These views have local regression coverage, not verified live Nextcloud permission or failover compatibility. Historical migration reports remain unchanged.

Audit history and optional exports

Audit trail replaces Reports and audit and answers who did what in Cloud Sync, and when. Record meaningful user commands and saved changes throughout the application: sign-in attempts, sign-in and sign-out, invitations, connection and credential changes, scope and target-name changes, user and group mapping changes, discovery and account-check requests, Copy Once and synchronization controls, failover and recovery actions when available, settings, hiding run history and exports. Service-administrator actions within a customer environment are included. Page views, scrolling, keystrokes and unsaved drafts are outside this trail.

Show one newest-first chronological list with Time, User, Action, Subject and Outcome. The Details column is omitted; saved before/after changes remain in the optional audit export. Filters select a period, user and action, with text search and 50-action pages. Times include seconds and the Europe/Amsterdam UTC offset. Export audit trail exports the complete filtered selection, rather than only the visible page. Bulk configuration saves create one event with before/after differences after the change is committed; unchanged saves add no change event. Credential changes record only that a credential changed, never its value. Sign-in attempts identify the account attempted, not a verified person. Unknown logins cannot be assigned to a customer.

Request accepted means only that a command was accepted. Rejected commands are recorded separately and do not imply a saved change. Background checks, file transfers and synchronization outcomes remain operational evidence under Synchronization and its linked Run results screen, with a separate Export run results action. The existing operational JSON export remains compatible. Audit trail contains user actions only; automatic process events cannot appear as user actions. Existing legacy user events remain visible without inventing missing before/after values or attributing old worker events to a user.

Audit records are retained for 12 months by default, configurable per customer, and survive sign-out and clearing run history. Customers can view and export only their own records; there is no user action to edit or clear audit records. Do not record passwords, tokens, private keys or document contents. Automatic storage and optional exports require no report-generation action. Historical migration reports, synchronization journals and protected recovery evidence remain intact. Reason: reconstruct administrator decisions without mixing them with process output or claiming process success from a user command.

Commercial scope and billing

Cloud Sync is intended to be a paid service. The first release includes a billing stub only: no payment processing or invoice generation. Pricing, subscription structure, allowances and commercial limits have not been decided.

Nextcloud hosting and its online office environment have an explicitly assigned operator. Including or pricing these services is a separate commercial decision. The synchronization interval is not a contractual recovery-point or availability guarantee.

Daily continuity dashboard

Overview is the daily continuity dashboard. CS-057 presents exactly three full-width cards in order: Monitor continuity phase, Recent sync, and Reset session. Connected clickable chevrons show Preparation, Synchronization, Failover and Recovery; they open Connections, Synchronization, Failover and Recovery respectively without starting actions. Highlight only the current phase with Current phase, using saved lifecycle evidence with failover and recovery taking precedence. A stopped previously started synchronization remains in Synchronization; Copy Once alone does not establish that phase. The sequence does not imply automatic progression or completed earlier phases. On narrow screens the arrows point downward. Remove separate monitoring/configuration cards, repeated phase text and contextual navigation links. Recent sync retains the seven-day timeline, compact legend, collapsed explanation, button-styled period navigation and event links to retained run details. Refresh read-only evidence every 5 seconds while visible; preserve keyboard focus and open event details and warn when the connection is interrupted. The session card has a visible header and separate collapsed Reset session and Session history sections; keep explicit confirmation, safety gates and button-styled archived downloads. About Cloud Sync and service navigation remain accessible. This supersedes the earlier CS-044 dashboard layout and the outer collapsed card in CS-045, and explicitly permits the Recent sync topic title under CS-024. Reason: one uncluttered view with direct phase navigation and less repeated information. Configured does not mean verified connectivity or failover readiness. Clear run history hides finished entries on both Overview and Synchronization. Run results, operational exports, audit records and historical reports remain unchanged. This presentation adds no live synchronization or failover certification.

Managed group ownership

When a suggested Nextcloud group name already belongs to an unrelated group, Cloud Sync creates a distinct, readable Cloud Sync name and records its exact source and target connection binding. Select and map groups shows the actual managed group beside the original suggestion; automatic run exports include the binding. Explicit custom mappings to unmanaged groups block with the exact name and an instruction to choose another group. Never adopt an unrelated group or change its members to bypass the conflict. A new Team folder does not imply a new group. Reason: group identities exist independently of folder identities, and existing customer access must remain protected. Local collision/restart tests are not live target evidence.

Employee provisioning at failover

CS-039: normal synchronization creates no employee accounts or authorization groups. It stores complete source rights and the target baseline and verifies technical-only managed storage. Required technical storage groups remain; temporary non-administrator probe accounts are created only for needed access checks and removed afterwards.

The first explicit failover activation creates the planned employee accounts and source/per-user access groups from the latest successful stored rights inventory, without a new SharePoint request. Employee memberships remain withheld until exact directory identity, path ACL readback and effective access checks succeed. Only the explicitly activated managed employee receives its activation message. Saved mappings cannot change during failover; collisions and ambiguous creations require review.

Reason: keep synchronization simple and robust while accepting more involved failover. This supersedes advance provisioning in CS-035 and CS-038. Normal sync success verifies files and technical-only access, not employee provisioning or live failover readiness. Prepare independent sign-in and a usable activation address outside Microsoft 365 before an outage. Existing employee access from the earlier model requires Stop sync and Reset managed access before restarting. Local protocol tests do not certify live compatibility.

Discovery after scope or identity changes

CS-058: synchronization requires completed Users & permissions discovery and successful read-only target mapping checks bound to the current selected scope, source configuration, target identity and project session. Source credentials or explicit scope changes invalidate that binding; changing only a target folder name does not add source identities. Existing discovery generations without this binding require one fresh discovery after upgrading. Every round still reads fresh source rights and membership. New folders and files within the selected scope need no manual rediscovery when all source users and groups were included in the completed discovery. Newly observed stable user or group IDs block the round before target preparation, file transfer or publication of a new failover plan; no default mapping or action is inferred. Show the new user/group counts and instruct Stop sync, Discover users & permissions, review the refreshed mappings, and Restart sync. Only successful discovery and mapping publication clears that hold; a failed or partial discovery cannot clear it. Discovery retains its existing fresh-user-choice replacement behavior, and remains unavailable while synchronization is active. A hold blocks failover activation; old successful runs remain historical evidence. Reason: ordinary content growth stays automatic, while identities requiring mapping choices cannot first surprise the administrator during an outage. Normal synchronization remains technical-only and employee provisioning remains deferred until explicit failover. Automatic Run results and operational exports retain the same blocker text; the optional operational export also states whether identity discovery is required. Process blockers remain outside user-action Audit trail. No new approval, progress block, report-generation action, target permission bypass or live failover certification is introduced.

Technical-storage blockers identify the Team folder name and ID plus observed group-right masks when those values are available. Incomplete group information requires read-only management review. Reset managed access is suggested only when exact customer/target-bound Cloud Sync employee-group ownership is recorded. Unrelated shared/admin destinations require stopping sync and selecting a distinct Target folder name, never removing unrelated access to reuse the folder. Automatic run details and operational exports show the same diagnostic. Local tests are regression evidence; live read-only observations certify only the observed target state, not a successful remediation.

Access cleanup and reset

Synchronization creates no employee accounts or access groups. It stores complete source permissions and maintains technical-only storage. Explicit failover creates the planned employee accounts and access groups before effective access verification and activation. A group named after a source group or a directly authorized person is an access group, not a temporary probe. Temporary non-administrator probe accounts have unique cs-probe- identifiers and are recreated for later checks.

Stop sync removes owned temporary probes and demonstrably unused owned groups after active work finishes. Required technical storage groups and prepared failover groups remain. The worker also processes interrupted probe cleanup while synchronization is stopped. Ownership comes from customer-bound target records, never a name prefix or an empty member count. Changed identities, incomplete inventories and unconfirmed deletions block cleanup and preserve retry evidence. While cleanup is blocked, only the saved technical account app password can be corrected; target identity and other settings stay fixed until cleanup completes. Retry access cleanup appears beside the failure and resumes the same operation with its ownership and retry evidence preserved.

CS-040: Settings contains configuration only. Synchronization offers Reset managed access with explicit confirmation as an exceptional repair for older or inconsistent managed employee access. Stop synchronization and all copies and discovery first; complete failover and recovery before resetting. Reset removes verified owned employee mount grants, path ACL rules and memberships, removes unused owned groups and temporary probes, and invalidates failover preparation. Configuration, employee accounts, target files, Team folders, required technical storage access, historical runs, audit and protected recovery copies remain. Start sync explicitly and complete a new successful round to prepare failover again.

When Reset managed access encounters legacy group names without exact ownership bindings, it first checks complete Team folder and descendant ACL references and the exact provisioning group-absence response. Confirmed absent, unreferenced groups can be retired from local cleanup tracking without changing Nextcloud. Existing groups, uncertain lookups, remaining references and records explicitly bound to another target or customer remain blocked; the error identifies the groups requiring review. Run results and Export run results retain the confirmed-absence and retained-group evidence. Historical ownership and run evidence remain available. This correction follows CS-038 and CS-040; local tests do not establish live target compatibility.

Retry access cleanup rechecks an earlier unconfirmed account or group creation. Only an exact provisioning response confirming absence, complete Team folder and descendant ACL reference inventory, and no conflicting target or customer binding can retire the pending creation record. Existing accounts, aliases, existing groups, remaining references and uncertain directory responses still require administrator review. This check changes no Nextcloud object and does not establish ownership. New creation records include the target and customer binding; legacy unbound records are reconciled only through confirmed absence. Run results and Export run results preserve the reviewed creation evidence. Reason: manual removal in Nextcloud must not leave a permanent local creation hold after absence can be verified. This follows CS-038 and CS-040 and has local regression evidence only.

If Nextcloud management still lists a Team folder but WebDAV returns HTTP 404 for the technical account, cleanup remains blocked rather than treating the folder as deleted. The error identifies the current Team folder name, ID and technical account. Verify that folder and account access in Nextcloud Team folders administration; deleting files, users or groups alone does not establish removal of the managed Team folder. Cleanup never grants access to an inaccessible folder automatically or skips unknown descendant ACL references. Run results and Export run results retain the blocked-folder identity and reason. If management inventory changes during the check, retry with a fresh inventory. This follows the confirmed-absence boundary in CS-038 and CS-040; local fixtures are not live target evidence.

Reason: temporary checks must not clutter Nextcloud, while stopping synchronization must preserve the continuity copy and its prepared access. Resetting access is a separate deliberate repair, not a routine failover or recovery step. Deactivate failover verifies employee access revocation; recovery confirmation automatically queues owned-access cleanup before synchronization can restart. Files, employee accounts, technical storage and history remain. Unknown ownership and references to unverified storage require administrator review. Automatic cleanup evidence and retained-group reasons appear in Run results and its compatible export; Audit trail records the reset request without claiming successful processing. Local regression tests do not certify live target cleanup or reset compatibility.

Failover access and manual recovery

Failover and Recovery are separate pages. Failover has Prepare failover, Activate failover and Deactivate failover cards. Prepare failover uses the same Stop sync command and confirmed task status as Synchronization; an accepted stop request is not proof that active work has finished. Activation is blocked until synchronization and discovery are stopped.

During normal synchronization employees have no managed target access. Synchronization records the complete source rights inventory and target baseline and verifies technical-only storage using temporary non-administrator probes. Failover creates employee accounts, source and per-user groups and exact path ACLs from that stored evidence, without contacting SharePoint. Read only is the default on Failover. Activating the first user opens failover; Update access changes an active user, and Revoke withdraws that user. Read & write is capped by the last verified SharePoint editing rights at every path; read-only and denied exceptions remain enforced. Employee identities and authorization groups are created during failover; saved mappings cannot be edited during the outage. Existing personal storage and unrelated Nextcloud groups are untouched. Reason: continuity access must be an explicit administrator action and must not widen source authorization.

Only the latest successful synchronization for the current configuration prepares activation. Recheck exact target folder identity, technical-only management access, account identity and non-administrator enabled status, ACL write/readback and effective access using temporary probes before granting employee membership. Pending external operations block synchronization and do not become a successful access status. Only an explicitly activated managed user receives its pending Nextcloud welcome message; an ambiguous delivery requires review rather than automatic resending. Independent sign-in, MFA and collaborative editing still need an operator exercise; local fixtures do not establish live failover readiness.

Access checks use temporary, non-administrator Cloud Sync test accounts. Delete them after every synchronization round or failover permission test, including failed or stopped operations, and verify exact directory absence. Previously retained owned probes are removed during the next cleanup. Disable before deletion so a failed delete cannot leave a verified probe active; an uncertain deletion blocks completion and retains retry evidence. Keep only credential-free lifecycle evidence after confirmed removal. Later tests create fresh probes for previously verified managed groups; employee identities, mappings and unrelated groups remain unchanged. Reason: permission verification must not leave test accounts cluttering Nextcloud. Local protocol tests do not establish live cleanup compatibility.

Deactivate failover revokes all prepared employee memberships and verifies their removal, updates user statuses and enters Recovery with synchronization stopped. Recovery results are created automatically after deactivation and can be refreshed using Check recovery changes. Compare the complete managed target inventory with the last successful sync baseline, including added, modified and deleted files and folders. Capture changed file bytes conditionally into encrypted recovery storage and verify readback before publishing the checklist. Unavailable or changing inventory is an error, never an empty successful result.

Recover manually shows counts, target paths, change types, protected file downloads and one checkbox per change. Return the required content to SharePoint manually, handle deletions and conflicts, then save the checklist. An unchanged rescan retains completed items; changed evidence invalidates the affected checkbox. Confirmation requires a complete scan, all items resolved and unchanged target evidence. A checked item and recovery confirmation are administrator attestations, not automated source writes or source readback. Confirmation queues owned employee-access cleanup back to technical-only storage. Wait for cleanup to complete. Confirmation permits an explicit Start sync; it never starts synchronization automatically. Confirmation releases holds for reviewed paths; unrelated unresolved copies remain protected. Reason: a manual worklist supports deliberate recovery without overwriting SharePoint automatically.

Automatic run exports include prepared access, actual per-user status, unconfirmed operations, recovery changes and administrator confirmations. Audit trail contains meaningful user commands and committed checklist changes; automatic scan results remain operational evidence. The integrated controls have isolated standard-protocol and UI regression tests. Live failover, mail delivery, independent MFA and office behavior remain unverified on customer targets; historical migration reports are unchanged.

A fresh project session

CS-061 supersedes CS-045/057 labels: Overview offers Reset session at the bottom in a Reset session card with a visible header, collapsed Reset session and Session history sections, a short explanation and explicit confirmation. It archives the current session and clears active scope, target-name overrides, user/group mapping choices, discovery, progress and readiness. Connections, credentials and service settings remain. Target folders, files, employee accounts, exact ownership bindings, protected recovery copies and user-action history are retained. Reason: begin setup again without losing the evidence needed to manage an existing target safely.

CS-067 makes Reset session available even during active work or external repair; archival waits for the worker execution lock. Unconfirmed file operations and unresolved protected recovery copies are archived and retained; they do not block local initialization. Affected target destinations remain guarded before further writes. Existing managed employee access remains recorded and must be verified before further target writes. The local reset never contacts Nextcloud, changes rights, deletes target data or starts synchronization; it retains cleanup obligations without requiring their prior completion. Earlier managed libraries retain ownership evidence and are not treated as deselected merely because a new session starts. Old or duplicate forms are rejected after a session changes. A new session requires selecting scope, fresh discovery and current checks before synchronization or failover readiness can be established.

Session history in the same Overview card offers read-only downloads of previous saved configuration and operational results. Active run history and exports show the new session; historical results are preserved in the archive without copying approvals or readiness into the new session. Archived exports exclude credentials and user-action records; Audit trail retains the session command and configuration differences under its existing retention. Successful archived run details follow the configured run-detail retention; summaries and unresolved evidence remain. Local session, isolation and concurrency tests do not certify live target reuse. The inherited migration Start New Session behavior remains unchanged.

Delivery boundary and next implementation work

The local service delivers authenticated customer administration, one-use invitations, customer-separated databases, encrypted credentials, the approved navigation, one target with optional root, source selection after discovery, browser-independent read-only checks, automatic audit with optional export, calendar-based audit retention and a billing stub. The unauthenticated migration handler is not mounted in the service; it remains a separate local compatibility command.

Tested components include source identity and deletion policies, incomplete-scan blocking, group-right and membership policies, a persistent resumable round coordinator, encrypted recovery copies, unresolved-change retention, failover/recovery transition guards and durable notifications with TLS mail delivery and retry. These components are not evidence of working live synchronization. Employee provisioning, authoritative source group translation and protected target recovery capture are integrated for supported configurations. External live validation, independent MFA and office validation remain incomplete. SMTP delivery is not configured or live-validated. Per-user failover and a manual recovery checklist are integrated with local protocol tests; live transitions still require target validation. Manual additive content transfer and managed Team folder creation with technical-account access are available without employee permission synchronization; live integration remains unverified.

Hosting architecture, production security controls, secret storage, supported Nextcloud configurations, scale targets and contractual service levels still require technical validation or further decisions. Reuse controlled resumable transfers and evidence-based verification from the migration code where appropriate.

Earlier operating-guide detail (superseded by CS-124)

CS-123: Choose sites, libraries and folders in Select scope using the Select sites and content tab. Connections no longer asks for site paths. Site selection includes the discovered descendants; newly discovered libraries need review and acceptance. Library-based target storage is unchanged. Automatic site discovery requires Graph Sites.Read.All; activity dates additionally require Reports.Read.All. Sort sites by name or Last activity date in either direction, with unknown dates last. Usage dates include the report refresh date and are not synchronization evidence. Existing projects require Project reset or Full reset, followed by source connection setup; Session reset is insufficient. Finish work, access cleanup and recovery first. No automatic conversion or target movement occurs.

Open Connections and use Source connection and Target connection. Check connection saves and checks only the selected connection. Leave saved secrets empty to retain them. The Microsoft 365 administrator must register the permission-check public certificate and grant the required consent and selected-site access.

Open Select scope. Discover scope begins an empty selection; Change scope edits a saved selection; folder selections, target names and the optional root save as a draft. Accept changes applies the complete draft, while Discard changes keeps the accepted scope. Refresh source reads current source evidence; required preparation can also run automatically after acceptance. Neither acceptance nor navigation starts synchronization.

Leave Target root folder empty for separate Team folders per selected root. A single safe root name groups selected destinations under one shared Team folder. Storage is independent of individual accounts; unselected ancestors are not created. Existing target copies are never moved automatically.

Normal sync mirrors content and stores source rights and exceptions. It checks technical roots, folders and transferred files, without scanning unchanged file ACLs or effective access each round. External file ACL changes may remain undetected until a targeted check or failover preparation. Run results state the verification boundary (CS-096).

CS-103: Synchronization has Synchronize, Copy once and View run log. With Debug on, a Debug column after Details offers Show debug for recorded run measurements. Synchronize has controls, one inline status and Recent sync. Tabs only navigate; refresh preserves focus. Start copy runs once with fresh file, permission and storage checks and prepares failover only after complete verification. It preserves conflicting existing files and unrelated target content. Partial copies do not establish readiness. Stop copy drains active work; failed cleanup keeps Retry access cleanup available on the same card. Start sync maintains accepted scope, saves source rights and verifies technical-only access. Restart sync resumes progress; Sync now requests the next waiting round. A per-round item limit defers unprocessed items to the next scheduled sync; these items are remaining work, not failed attempts needing retry. Inline status, Run results and operational exports show the remaining count and per-round limit separately from actual retry warnings. Completed items are retained and are not uploaded again. A partial round remains incomplete and does not establish failover readiness. Existing stored status codes and historical reports remain unchanged; this corrects future feedback without configuration conversion. This follows the single inline-status standard and CS-034 command/result separation.

Confirmed source deletions are mirrored with verification and protected recovery where applicable. If the source is unavailable or cannot be read completely, the target copy is preserved. Stop sync waits for active work and required access cleanup; command acceptance does not mean that stopping has finished. Stop sync while waiting disables the schedule immediately when no temporary access probe or unfinished principal creation remains. Existing Cloud Sync accounts, technical groups and Read only / Read & write groups alone do not queue target checks or cleanup; they are retained. Active work still finishes safely, and existing pending, running or blocked cleanup journals retain their verification and retry guards. Stop sync does not revoke failover access; existing failover and recovery guards remain. Reason: retained identities and groups are not evidence of granted access. Current Run results and operational exports preserve actual cleanup evidence without inventing a cleanup operation for an idle stop. Historical reports remain unchanged. No stored configuration conversion is required; this changes only future stop and worker decisions.

CS-109-118: new successful sync plans use existing-account archive access. Older prepared plans keep their compatibility workflow until recovery and a fresh successful sync. Normal synchronization creates empty archive group pairs without employee access; it never creates employee accounts in the new model.

Stop sync before editing access. Clicking Refresh accounts offers unique case-insensitive email suggestions and Do not map for unmatched users. Mapping and category edits autosave; activation waits for confirmed saving. Autosave grants no access. Read only reads/downloads; Read & write also creates, edits, moves and deletes within the archive, without sharing or administration.

Source-root effective rights suggest categories. USERS contains mapping rows and searches above their respective source and target columns. GROUPS contains compact mapped target emails in three category columns. Drag an email to change its category; source proposals, deviations and all source/target evidence are on Show logging. Observed group access is on Deactivate; Show logging contains recorded actions and flat result details (CS-121). Source exceptions are available only on Show logging; further decisions about their handling remain pending. The optional archive evidence export is also on that tab. The dated source exception overview explains rights omitted below the root and expected broader/reduced access. Activate failover confirms the archive-wide consequences and queues the reviewed plan. Mapping selections alone do not activate employees.

During active failover, moving a user changes actual managed membership; No access means neither group, not absence of other access. Revoke access preserves groups and memberships. Replace account verifies old managed removals before new grants. Partial or interrupted commands need explicit retry or Revoke access; refresh never replays them.

Failover refreshes accounts and access only through Refresh accounts, never on opening. Pending work uses status polling without requesting new target reads. Failed reads require an explicit retry. Observation time and stale/incomplete labels remain visible. Fresh pre-write reads reject unreviewed external differences. Source proposals and saved choices never substitute for actual target observations. Identity, ownership and independent readback remain mandatory; the new model does not test effective employee access.

Revoke access verifies the selected group rights off, retaining accounts/groups/memberships; the last revocation enters Recovery. Additional access is shown separately and never removed automatically. Direct shares and descendant access are not completely enumerated; incomplete checks never mean no other access. Complete Recovery and required technical-only checks before explicitly restarting sync. Live sign-in, target compatibility and effective access require operator validation.

CS-097: Rounds share unchanged plans but retain dated evidence. Fresh checks still run each round. CS-105 bounds heartbeat writes and parallel inventory reads, preserving fresh checks.

Project offers Session reset, Project reset and Full reset (CS-122). View run log combines run duration, confirmed folder/file Added / Modified / Deleted totals and filtered changes with user start/restart/stop requests and committed resets (CS-103/107). Thin lines mark starts; thick lines mark resets. Run log refreshes every 15 seconds while visible. History follows audit retention, normally 12 months. Optional exports retain this evidence. Audit trail keeps commands and committed differences with local times and captured application versions (CS-034/104). Accepted commands do not prove processing.

View debug log is removed. The Debug flag controls visibility of the Debug column and Show debug links. Clear debug history removes finished session measurements, preserving active work, file history, audit and recovery evidence.

Temporary reads retry; persistent failures preserve confirmed evidence.

VPS installations and routine deployments configure private worker upload staging at /var/lib/cloud-sync-upload on the filesystem containing /var/lib, instead of the potentially small /tmp tmpfs. Systemd creates the service-owned directory with mode 0700; PrivateTmp remains enabled. A startup check rejects a conflicting TMPDIR, insecure ownership/permissions, an unwritable directory or Python fallback to another temporary location. This checks storage availability, not capacity for a complete transfer; allow one complete source file per active transfer and monitor free disk space and quota. Staging contains unencrypted source content and temporary files are deleted on close. Stop synchronization and wait for cleanup before deployment, then explicitly restart synchronization after verifying the worker. Existing projects, credentials, target data and historical reports require no conversion; operator overrides remain separate. Current Run results and operational exports keep the same storage diagnostics and transfer evidence. This implements the CS-051 hosting correction; local tests do not certify VPS capacity or successful live uploads.

Temporary upload storage errors refer to the Cloud Sync worker host, before the file is uploaded to Nextcloud. Check the worker temporary directory (TMPDIR or the system temporary directory), its available space, quota and service-account write permissions. Allow space for one complete source file per active transfer; a separate temporary volume can be full while the Nextcloud target has free space. Diagnostics distinguish capacity/quota, permissions/read-only storage and other OS failures without exposing private paths. Run results and operational exports retain the same error detail; historical evidence is unchanged. After correcting the local storage problem, explicitly restart synchronization. This refines CS-051 diagnostics; transfer safeguards and startup commands are unchanged.

Counts and results are dated evidence, not current readiness. Status meanings and exported codes remain consistent. Explicit successful empty sync results mean zero changes; missing evidence stays unavailable.

CS-080 refines CS-070/076/079: page headers state the current dependency and purpose; cards explain one task, followed by required inputs, actions with inline feedback and optional detail. Use current screen and action names in instructions. CS-093: Long-running statuses show real stages/counts or elapsed waiting, never fabricated progress. Timers do not prove worker activity; errors retain unconfirmed outcomes.

Buttons perform commands or local disclosure actions. Ordinary links navigate or download optional evidence; tabs only navigate. Compact controls retain focus and touch targets. Single-line inputs and dropdowns share their height and top alignment in each form context. About shows this current guide first and keeps detailed design history collapsed separately, because superseded implementation descriptions must not be mistaken for current instructions. No extra approval, progress block or report-generation step is introduced.

Sequential connections (CS-125, issue #47)

Connections guides the administrator through Source connection and then Target connection. The target form is available only after a current successful source check. Continue to Select scope still requires both saved bindings to be validated. Opening a step never saves credentials or starts a check.

Reason: Reduce competing forms and make the required order clear while preserving independent read-only connection evidence.

There are no existing projects to convert. No automatic configuration conversion, target movement or historical migration-report rewrite is implemented. Existing command/session, source identity, target ownership, cleanup, recovery and independent readback safeguards remain. About stays public at /about. Startup commands are unchanged. Local protocol and authenticated HTTP tests do not certify live SharePoint/Nextcloud/VPS behavior.

Discover, select and analyze scope (CS-126, issue #48)

Select scope starts with Discover SharePoint Sites. This lists sites without enumerating every library or file. Explicitly selecting a site loads only its libraries and folder tree into the draft. Each site has one foldable card, with its selection and analysis details together. Analyze selected scope accepts the draft and scans only its accepted contents and exclusions, collecting counts, sizes, file types and the top ten files/folders per site. Successful content, permission and target-account preparation is required before entering Synchronization. Analysis is dated evidence, not a frozen file list or proof of failover readiness.

Reason: Keep discovery fast and the screen understandable; prevent unselected sites from being scanned for sizing and make the scale visible before starting work.

There are no existing projects to convert. No automatic configuration conversion, target movement or historical migration-report rewrite is implemented. Existing command/session, source identity, target ownership, cleanup, recovery and independent readback safeguards remain. About stays public at /about. Startup commands are unchanged. Local protocol and authenticated HTTP tests do not certify live SharePoint/Nextcloud/VPS behavior.

Choose one synchronization method (CS-127, issue #49)

Synchronization first offers Synchronize continuously and Copy once. Choosing a method records intent and exposes only that method, without starting work. Change synchronization method requires stopped work and completed required cleanup; pending copies also block it. The run log stays below the chosen controls, including its filters, details, debug measurements and complete optional export. The competing tabs and duplicate Recent sync timeline are removed.

Reason: Keep the current task visible during active synchronization and avoid presenting two simultaneous workflows.

There are no existing projects to convert. No automatic configuration conversion, target movement or historical migration-report rewrite is implemented. Existing command/session, source identity, target ownership, cleanup, recovery and independent readback safeguards remain. About stays public at /about. Startup commands are unchanged. Local protocol and authenticated HTTP tests do not certify live SharePoint/Nextcloud/VPS behavior.

Last content change (CS-128, issue #50)

Last content change replaces usage-based Last activity date. For each discovered web, read SharePoint visible-list metadata using LastItemUserModifiedDate and show the latest user item modification across visible lists and document libraries. Visits, hidden lists, separately discovered subsites and system-only changes are outside this boundary. Certificate consent and site access remain required; Reports.Read.All is not required for this date. Keep observation time and explicit unavailable/incomplete/no-recorded-change reasons. A missing list date or failed page never produces a partial maximum claimed as a complete site date. These dates are not synchronization evidence.

Reason: Use an item mutation signal instead of visit activity, without misrepresenting incomplete access or silently increasing Microsoft permissions.

There are no existing projects to convert. No automatic configuration conversion, target movement or historical migration-report rewrite is implemented. Existing command/session, source identity, target ownership, cleanup, recovery and independent readback safeguards remain. About stays public at /about. Startup commands are unchanged. Local protocol and authenticated HTTP tests do not certify live SharePoint/Nextcloud/VPS behavior.

Project is the first phase (CS-129, issue #51)

Project is the first active phase, before Connections. Define a project name and continue explicitly. The project phase contains the existing Session reset, Project reset and Full reset choices in a foldable Reset project card. A page visit never resets data. Returning to Project follows the stopped-work, cleanup and recovery guards. Session reset retains the project name and method choice; project/full reset clear them and return to fresh Project setup. Historical evidence and target content keep their existing reset rules.

Reason: Treat project definition as setup rather than a utility menu. Interpret refresh as an explicit reset choice, never an automatic destructive action on navigation.

There are no existing projects to convert. No automatic configuration conversion, target movement or historical migration-report rewrite is implemented. Existing command/session, source identity, target ownership, cleanup, recovery and independent readback safeguards remain. About stays public at /about. Startup commands are unchanged. Local protocol and authenticated HTTP tests do not certify live SharePoint/Nextcloud/VPS behavior.

Settings belong to their context (CS-130, issue #52)

Synchronization settings contain timing, notifications, transfer controls, diagnostics and technical-detail retention; Copy once omits continuous-only timing and alert controls. Scope exposes diagnostics for analysis. Recovery exposes protected-copy retention. Audit retention appears with the audit card. The Settings menu is removed. Contextual partial saves are validated against their available fields and current phase. During failover/recovery, only recovery and audit retention may change; unresolved evidence stays protected. Other processing settings retain their lifecycle guards.

Reason: Explain settings where they matter and preserve bounded policy edits during recovery without enabling connection, scope or processing changes.

There are no existing projects to convert. No automatic configuration conversion, target movement or historical migration-report rewrite is implemented. Existing command/session, source identity, target ownership, cleanup, recovery and independent readback safeguards remain. About stays public at /about. Startup commands are unchanged. Local protocol and authenticated HTTP tests do not certify live SharePoint/Nextcloud/VPS behavior.

Inline user-action audit trail (CS-131, issue #53)

A collapsed Audit trail card appears below every customer phase and Run results. It replaces the Audit trail menu item and keeps meaningful commands, committed before/after differences, rejected actions, actor/version/time evidence, secret redaction, complete filtered exports and configurable retention. Filter and pagination parameters are prefixed so they preserve scope and run-log state on the current page. Worker outcomes remain in Synchronization and Run results, never in the user-action trail. Expanding, filtering and navigating evidence does not start work.

Reason: Make user actions available in context without turning the audit trail into a process report or adding another navigation level.

There are no existing projects to convert. No automatic configuration conversion, target movement or historical migration-report rewrite is implemented. Existing command/session, source identity, target ownership, cleanup, recovery and independent readback safeguards remain. About stays public at /about. Startup commands are unchanged. Local protocol and authenticated HTTP tests do not certify live SharePoint/Nextcloud/VPS behavior.

Projects and local deletion (approved 2026-11-02)

Create project saves the required project name once and opens Connections directly. The extra Define Project page is skipped for newly created projects; Back from the source connection returns to Projects. Existing project configuration and explicit property edits are not converted.

Delete project removes that project and its local settings, runs, reports and history, while retaining shared customer connections. Delete customer removes the customer, every project, saved connections, invitations and customer administrator accounts and sessions. Only a service administrator with explicit customer management may delete a customer; customer administrators may delete their own projects. Both commands require confirmation, stopped work, completed access cleanup and recovery, and no unconfirmed target operations. Nextcloud documents are retained; deletion makes no remote requests and does not certify remaining access. A minimal deletion audit and target destination reservations remain at service level so retained copies cannot be silently adopted. Interrupted local file removal stays pending and is retried by worker maintenance; an accepted command does not prove file removal completed.

Home opens Projects. Delete customer belongs on Service administration under Review customers, keeping service-wide customer administration separate from project management. Projects has no Customers card. Project rows show Open and Delete side by side as compact text actions for easy scanning. Open navigates; Delete requires confirmation and retains deletion guards. On Projects, changing Customer immediately shows the matching projects; All accessible customers restores the complete accessible list. There is no Filter button. This removes an unnecessary confirmation for read-only navigation and preserves customer access restrictions and the Audit trail destination. One Customer selector governs both the list and New project; customer administrators see their fixed customer name. Select one customer before creating a project. New project opens a compact dialog with that customer, Project name, Create project and Cancel. Customer creation and invitations belong only on Service administration. Enable management explicitly grants existing management access and stays there; View projects navigates to the selected customer's projects without granting access. This separates customer administration from project work and prevents conflicting selections. Each customer shares one Microsoft 365 source and one Nextcloud target. Use another customer for different systems.