This commit is contained in:
Harivansh Rathi 2026-04-01 01:03:21 +00:00
parent 7ae2b7a71c
commit a4cb20d228
9 changed files with 596 additions and 0 deletions

View file

@ -0,0 +1,29 @@
## Why
The scaffold phase is complete, but the repo still lacks a clear product-level plan for how aiNAS should evolve beyond a thin Nextcloud shell and a minimal backend stub. Before implementing more code, we need planning artifacts that define the system of record, the role Nextcloud should play, the control-plane domain we intend to own, and the delivery sequence for the first real product capabilities.
## What Changes
- Add a north-star planning layer for the aiNAS platform.
- Define the Nextcloud substrate that aiNAS will adopt instead of rebuilding from scratch.
- Define the first high-level control-plane domain model and service contracts.
- Define the intended standalone web control-plane direction outside Nextcloud.
- Define the future device access layer boundary, including the distinction between cloud-drive style access and true remote mounts.
## Capabilities
### New Capabilities
- `nextcloud-substrate`: A documented contract for which server, storage, sharing, and client primitives aiNAS will adopt from Nextcloud.
- `control-plane-core`: A documented contract for the first real aiNAS backend domain model and API surface.
- `standalone-control-plane-web`: A documented contract for the future Next.js web console that will become the aiNAS product surface outside Nextcloud.
- `device-access-layer`: A documented contract for how aiNAS will eventually support native device access, including mount and sync modes.
### Modified Capabilities
- None.
## Impact
- Affected code: planning artifacts only
- Affected systems: architecture, product sequencing, service boundaries, implementation roadmap
- Dependencies: Nextcloud server, Nextcloud desktop/iOS references, aiNAS control-plane service, future Postgres/Redis-backed product metadata
- APIs: establishes the intended aiNAS-owned API and adapter boundaries at a high level before implementation