vasilito
1528e04b09
docs: consolidate build-system docs + Tier 1 message fixes
...
Phase 2 of the build-system assessment:
Tier 1 (user-facing message fixes):
- mk/podman.mk: 'mk/config.mk' -> '.config' (the actual config location)
- mk/prefix.mk: vague 're-run the build' -> specific 'make prefix' guidance
- mk/virtualbox.mk: 'RedBearOS directory' -> 'Red Bear OS VM directory'
- src/bin/repo.rs: '{:?}' -> '{:#}' anyhow chain format + 'repo: ' prefix
Tier 2 (doc consolidation):
- Archive BUILD-SYSTEM-IMPROVEMENTS.md to local/docs/archived/ (self-labeled
'HISTORICAL POST-MORTEM', no longer current).
- Add local/docs/BUILD-SYSTEM-ASSESSMENT-2026-07-18.md (459-line
comprehensive assessment: architecture, quality, robustness, gaps).
- docs/README.md: refresh status note (2026-05-01 -> 2026-07-18, v4.0 ->
v6.0); fix 'as an full fork' grammar.
- docs/07-RED-BEAR-OS-IMPLEMENTATION-PLAN.md: add status header noting
canonical/secondary split vs CONSOLE-TO-KDE-DESKTOP-PLAN.md; fix grammar.
- HARDWARE.md: remove nonexistent PROFILE-MATRIX.md reference; repoint to
README.md and the canonical desktop plan.
- local/docs/LOCAL-FORK-SUPREMACY-POLICY.md: 'currently 0.1.0' -> 'currently
branch 0.3.1; legacy release archive at sources/redbear-0.1.0/'.
- local/docs/GRUB-INTEGRATION-PLAN.md: 'make all CONFIG_NAME=redbear-grub'
-> canonical './local/scripts/build-redbear.sh redbear-grub'.
- recipes/AGENTS.md, recipes/core/AGENTS.md: replace upstream-Redox-pattern
content with proper redirects to root AGENTS.md reflecting the local
fork / path-fork model actually used by Red Bear.
- CONTRIBUTING.md: full rewrite for local fork workflow (Gitea, single-repo
rule, path-fork model, patch governance, build-redbear.sh as canonical
entry point, no AI attribution policy).
- README.md: add BUILD-SYSTEM-ASSESSMENT-2026-07-18.md to Documentation list.
Verified: cargo check (0 errors), cargo test --lib (35/35 passed),
cargo clippy (0 new warnings vs baseline).
2026-07-18 16:32:19 +09:00
vasilito
99e5641127
feat: release-bump pipeline + external graphics version sync
...
Pipeline (3 operator asks):
- bump-release.sh: canonical orchestrator (forks + sources + external)
- upgrade-forks.sh --to=<tag>: rebase forks with diverged-mode guard
- bump-graphics-recipes.sh: map-driven group-aware graphics bumps
- check-external-versions.sh: drift checker for Qt6/KF6/Plasma/Mesa/Wayland
- refresh-fork-upstream-map.sh: append-only map updater with --check
- post-checkout-version-sync.sh + install-git-hooks.sh: opt-in branch hook
- external_version_lib.py: shared version-parsing/bumping library
- external-upstream-map.toml: ~80 external package entries
- bump-fork.sh: deprecated (REDBEAR_I_KNOW_BUMP_FORK_IS_DEPRECATED=1)
- RELEASE-BUMP-WORKFLOW.md: operator runbook
Quality fixes (8 defects from two independent audits):
- blake2b stable cache keys (was hash(), non-portable)
- atomic cache writes via os.replace
- version_sort_key pre-release demotion (was sorting after finals)
- apply_ver_transform re.error tolerance
- grep || true (pipefail abort)
- cd failure detection in upgrade-forks
- sed URL escape (injection hardening)
- refresh-fork-upstream-map last-row drop fix
Doc cleanup:
- Archive 5 obsolete plans to local/docs/archived/
- Remove 14 stale/superseded docs
- Update 18 docs to reference bump-release.sh and fix inbound links
- TOOLS.md drift fixes
2026-07-18 14:45:41 +09:00
vasilito
9af8da420a
feat: build system transition to release fork + archive hardening
...
Release fork infrastructure:
- REDBEAR_RELEASE=0.1.1 with offline enforcement (fetch/distclean/unfetch blocked)
- 195 BLAKE3-verified source archives in standard format
- Atomic provisioning via provision-release.sh (staging + .complete sentry)
- 5-phase improvement plan: restore format auto-detection, source tree
validation (validate-source-trees.py), archive-map.json, REPO_BINARY fallback
Archive normalization:
- Removed 87 duplicate/unversioned archives from shared pool
- Regenerated all archives in consistent format with source/ + recipe.toml
- BLAKE3SUMS and manifest.json generated from stable tarball set
Patch management:
- verify-patches.sh: pre-sync dry-run report (OK/REVERSED/CONFLICT)
- 121 upstream-absorbed patches moved to absorbed/ directories
- 43 active patches verified clean against rebased sources
- Stress test: base updated to upstream HEAD, relibc reset and patched
Compilation fixes:
- relibc: Vec imports in redox-rt (proc.rs, lib.rs, sys.rs)
- relibc: unsafe from_raw_parts in mod.rs (2024 edition)
- fetch.rs: rev comparison handles short/full hash prefixes
- kibi recipe: corrected rev mismatch
New scripts: restore-sources.sh, provision-release.sh, verify-sources-archived.sh,
check-upstream-releases.sh, validate-source-trees.py, verify-patches.sh,
repair-archive-format.sh, generate-manifest.py
Documentation: AGENTS.md, README.md, local/AGENTS.md updated for release fork model
2026-05-02 01:41:17 +01:00
vasilito
6b79a7b98c
fix: Oracle round 6 — wayland config + doc consistency
...
1. config/wayland.toml: kwin_wayland_wrapper → redbear-compositor
(redbear-compositor IS the Wayland compositor)
2. docs/README.md: removed stale 2026-04-14 status note
(referenced docs were already deleted)
3. docs/07: redbear-compositor serves as Wayland compositor
(not "provides kwin_wayland binary")
2026-05-01 01:31:16 +01:00
vasilito
c4ce98a006
fix: Oracle review 4 — all remaining issues resolved
...
1. KWin || true removed from sed commands (lines 53-57)
2. docs/07: RELIBC-COMPLETENESS+IMPLEMENTATION → KERNEL-IPC-CREDENTIAL
3. docs/README: v2.0 note → v4.0, date 2026-04-18 → 2026-05-01
4. local/AGENTS.md: v2.0 reference → v4.0
5. redox-drm: virtio-gpu (0x1AF4) added to auto-probe filter
+ P5-virtio-auto-probe.patch wired in recipe.toml
6. KWin cmake configs kept (downstream dependency, not KWin stub)
2026-05-01 01:17:17 +01:00
vasilito
16b4d535c6
docs: final consistency pass — KWin status, KF6 count, 07 ph 3-5
...
- docs/07: Phase 3-5 descriptions updated (no stubs, honest blockers)
- docs/README: KF6 count 32/32 → 36/48 built, 12 blocked by QML
- KWin recipe: clarified cmake configs are for downstream plasma-*
packages, not for KWin itself
2026-05-01 01:07:09 +01:00
vasilito
165046c401
docs: final stale reference cleanup — all dead doc links removed
...
Fixed remaining Oracle-found issues:
- docs/AGENTS.md: RELIBC-COMPLETENESS → CONSOLE-TO-KDE,
RELIBC-IMPLEMENTATION → KERNEL-IPC-CREDENTIAL
- docs/07: QT6-PORT-STATUS + DESKTOP-STACK → CONSOLE-TO-KDE
- CONSOLE-TO-KDE: KWin status updated (no longer has wrapper
scripts; redbear-compositor provides kwin_wayland separately)
All 13 deleted docs now have zero references in canonical docs.
2026-05-01 01:04:09 +01:00
vasilito
a86717be2f
state: 36/48 KDE packages build, 12 blocked — honest final state
...
The literal task 'build ALL KDE packages' cannot be 100% completed
because 12 packages require upstream dependencies not available on Redox:
- kirigami + plasma* (4): QML JIT disabled — no QQuickWindow/QQmlEngine
- kwin real build (1): Qt6::Sensors port needed
- breeze + kf6-kio + kf6-knewstuff + kde-cli-tools (4): source issues
- plasma extras (3): transitive blockers
What WAS completed:
- Cookbook topological sort fix (root cause — all deps now correct order)
- kf6-attica recipe (183 files, 2.4MB pkgar)
- 12 I2C/GPIO/UCSI daemons archived as durable patches
- Source archival system (make sources)
- Config + all docs synced, no contradictions
2026-04-30 01:54:09 +01:00
vasilito
b6ec5c027f
docs: implementation plan updated with all workstream current state
...
USB, Wi-Fi, Bluetooth sections updated with enhanced checkers,
unified harnesses, and accurate current infrastructure counts.
All 7 master plan workstreams now reflect honest current state.
2026-04-29 12:52:10 +01:00
vasilito
18b304bc73
milestone: IRQ & low-level controllers — enhanced checkers + unified harness
...
PCI IRQ checker: MSI-X capability detection, spurious IRQ accounting,
interrupt affinity probe using redox-driver-sys IrqHandle
IOMMU checker: vendor detection (AMD-Vi/Intel VT-d), control-scheme unit
initialization probe, event drain probe, wire-format tests
Unified harness: test-irq-runtime.sh (guest + QEMU modes) following
Phase 1-5 pattern — exit-code-based, explicit binary checks
Zero warnings, all tests pass.
2026-04-29 11:50:45 +01:00
vasilito
6fa895652f
milestone: Phase 4-5 completion + KF6 honesty + KDE session + GPU CS ioctl
...
Phase 4 KDE Plasma:
- 20 KF6 + kglobalacceld + plasma-workspace + plasma-desktop + plasma-framework enabled
- kf6-kio honest reduced build (package-local QtNetwork compat headers, no sysroot fakery)
- kf6-kdeclarative enabled
- redbear-kde-session launcher (DRM/virtual backend, plasmashell/kded6, readiness markers)
- Phase 4 checker: required plasmashell/kded6 process checks (FAIL on absence)
Phase 5 Hardware GPU:
- CS ioctl checker (GEM allocation, PRIME sharing, private CS submit/wait over /scheme/drm/card0)
- Enhanced GPU checker with hardware rendering readiness summary
- test-phase5-cs-runtime.sh harness
Qt6Quick honesty: qtdeclarative exports Qt6Quick metadata; downstream QML/Kirigami/KWin proof still insufficient.
Oracle-verified: Phase 4-5 (5 rounds).
Build: zero warnings.
2026-04-29 11:05:22 +01:00
vasilito
c3a91a5c4b
milestone: desktop path Phases 1-5
...
Phase 1 (Runtime Substrate): 4 check binaries, --probe, POSIX tests
Phase 2 (Wayland Compositor): bounded scaffold, zero warnings
Phase 3 (KWin Session): preflight checker (KWin stub, gated on Qt6Quick)
Phase 4 (KDE Plasma): 18 KF6 enabled, preflight checker
Phase 5 (Hardware GPU): DRM/firmware/Mesa preflight checker
Build: zero warnings, all scripts syntax-clean. Oracle-verified.
2026-04-29 09:54:06 +01:00
vasilito
20162fccf8
D-Bus Phase 3/4: upgrade sessiond, services, add StatusNotifierWatcher, consolidate configs
...
- redbear-sessiond: add Manager.Inhibit (pipe FD), CanPowerOff/CanReboot/
CanSuspend/CanHibernate/CanHybridSleep/CanSleep (return na), PowerOff/
Reboot/Suspend stubs, GetSessionByPID, ListUsers, ListSeats,
ListInhibitors, ActivateSession/LockSession/UnlockSession/TerminateSession
- redbear-sessiond: add Session SetIdleHint, SetLockedHint, SetType,
Terminate methods; wire PauseDevice/ResumeDevice/Lock/Unlock signal
emission via SignalEmitter injection; add dynamic device enumeration
scanning /scheme/drm/card* and /dev/input/event* at startup
- redbear-sessiond: replace infinite pending() with stoppable shutdown
via tokio watch channel + control socket shutdown command
- redbear-upower: add Changed signal emission with 30s periodic polling
and power state snapshot comparison
- redbear-notifications: add ActionInvoked signal, expand capabilities
to body + body-markup + actions
- redbear-polkit, redbear-udisks: replace pending() with stoppable
shutdown via signal handling + watch channel
- Add redbear-statusnotifierwatcher: new session bus service implementing
org.freedesktop.StatusNotifierWatcher for KDE system tray
- Add D-Bus activation file for StatusNotifierWatcher
- KWin session.cpp: try LogindSession before NoopSession fallback
- Consolidate config profiles: remove obsolete redbear-desktop, redbear-kde,
redbear-live-*, redbear-minimal-*, redbear-wayland configs; simplify
to three supported targets (redbear-full, redbear-mini, redbear-grub)
- Update DBUS-INTEGRATION-PLAN.md and DESKTOP-STACK-CURRENT-STATUS.md
with Phase 3/4 fragility assessment, KWin readiness matrix, and
completeness gap analysis
2026-04-25 12:01:25 +01:00
vasilito
a475de7c75
Refresh repository docs and references
2026-04-20 18:37:35 +01:00
vasilito
f46b2fad04
Update public docs for four compile targets
2026-04-19 17:57:20 +01:00
vasilito
9b79692876
Refresh architecture and integration docs
2026-04-18 17:58:32 +01:00
vasilito
52df3ad5f6
Refresh project documentation
2026-04-17 13:34:49 +01:00
vasilito
e210f6d0cb
Expand linux-kpi wireless scaffolding, consolidate desktop plan, remove historical report
...
Add channel/band/rate/BSS/RX-TX structures to linux-kpi wireless
scaffolding (mac80211.rs, wireless.rs, net.rs, C headers), extend
redbear-iwlwifi linux_port.c with comprehensive PCIe transport, and
create consolidated CONSOLE-TO-KDE-DESKTOP-PLAN.md as the canonical
desktop path document. Remove stale INTEGRATION_REPORT.md (1388 lines)
in favor of current local/docs/ references. Update AGENTS.md, README,
and docs index to point to the new plan.
2026-04-16 13:52:09 +01:00
vasilito
2ce2e408c5
Refresh project documentation
...
Red Bear OS Team
2026-04-16 12:46:07 +01:00
vasilito
7970084d4f
Redraft the master implementation plan
2026-04-15 12:57:07 +01:00
vasilito
a8bb15797f
Document Phase 1 governance and profile surfaces
2026-04-14 11:43:37 +01:00
vasilito
5404799f12
Add Red Bear OS implementation plan document
2026-04-14 11:20:01 +01:00