Skip to content

ADR 0001 (accepted): one OctoSense repository - #54

Merged
ymote merged 5 commits into
mainfrom
docs/adr-one-repo
Sep 27, 2026
Merged

ymote merged 5 commits into
mainfrom
docs/adr-one-repo

Conversation

@ymote

@ymote ymote commented Sep 27, 2026

Copy link
Copy Markdown
Contributor

Proposes one OctoSense repository (OctoSense-Desktop renamed) for the shell, its services, the system apps and both packagings (desktop and ROM). makepad, octos, OctoScript and its runtimes, App Hub, OctoScript-App-Design-Flow, the websites and Rinx stay separate.

Why (measured 2026-09-27): ROM home/src and Desktop src share 47 Rust files (~35,700 lines), only 18 identical; 17 of the 54 PRs merged into Desktop, ROM and System-Apps since 2026-09-26 only moved pins; one-App-Hub had to be kept by hand.

Contents: layout, what stays separate, pinning rules (each external dependency pinned once; no internal pins; shared graph checks), path-filtered CI and per-product releases, a history/identity plan that replaces the deferred force-push rewrite for these repositories, contest link stability (nothing contestant-visible moves before 2026-10-12 without same-day link checks), a phased migration with exit criteria, consequences, alternatives, risks and open questions.

Status: Proposed — for review; not to be merged until the open questions are decided.

🤖 Generated with Claude Code

ymote and others added 4 commits September 27, 2026 07:04
Proposes merging the shell (today duplicated between OctoSense-Desktop
and OctoSense-ROM home/), the shell services now in System-Apps
(kernel service, app-agent broker, AI-providers glue), the system apps
and both packagings into one repository, renamed OctoSense. makepad,
octos, OctoScript and its runtimes, App Hub, the app-building harness
and the websites stay separate. Includes the measured duplication and
pin churn, pinning and CI rules, a history/identity plan that replaces
the deferred rewrite for these repositories, contest link stability,
a phased migration with exit criteria, alternatives and open questions.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…shells, rewrite scope)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…port covers

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@ymote ymote changed the title ADR 0001 (proposed): one OctoSense repository ADR 0001 (accepted): one OctoSense repository Sep 27, 2026
@ymote
ymote merged commit c8ecea3 into main Sep 27, 2026
2 checks passed
@ymote
ymote deleted the docs/adr-one-repo branch September 27, 2026 14:48
chrislearn pushed a commit to chrislearn/OctoSense that referenced this pull request Sep 29, 2026
ADR 0001 (accepted): one OctoSense repository
chrislearn pushed a commit to chrislearn/OctoSense that referenced this pull request Sep 29, 2026
makepad OctoSense-org#52 (OHOS packager honours the workspace target dir), OctoSense-org#53
(sys.dataset and sys.news_digest registered), OctoSense-org#54 (peer-link client);
Octoscript-Makepad OctoSense-org#56 (taskplan_light accents). Both runtime patches
apply unchanged; the stacked tree is now 2320c430.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tyreseluo pushed a commit to tyreseluo/OctoSense that referenced this pull request Oct 4, 2026
App Hub moves from 58c3c8ae to its main 0d5b47a2:
- OctoSense-org#53: publisher keys come from the authenticated catalog.
- OctoSense-org#54: an installed release launches as itself, from verified bytes.
- OctoSense-org#63, OctoSense-org#64: the native apps OctoSense made native are reserved
  (calculator, clock, notes, reminders, weather, browser, task); its
  example app `weather` became `forecast`.
- OctoSense-org#61, OctoSense-org#67: makepad repins (this workspace's [patch] wins either way).
- Docs.

octosense-app-contract 1.1.0 (App Hub OctoSense-org#66, published to crates.io)
carries the reserved names. app-policy re-exports them, so App Hub's
admission tests at 58c3c8ae, whose fixtures still use `weather`, fail
against 1.1.0. The pin and the lock move together.

App Hub's new bundle layout (App Hub OctoSense-org#62, which OctoSense-org#301 prepares for) is
not in 0d5b47a2: installed bundles stay where the shell looks today.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant