WIP: Confine filesystem timestamp authority at startup #130

Draft
erikinkinen wants to merge 12 commits from feature/source-event-clock-query into feature/vfs-counted-entry-evidence
Owner

Summary and rationale

Bind filesystem timestamps to the separate Wall2-only Timed object. Reject the old PUBLIC clock route and undeclared capability aliases before starting the service.

Tracking and scope

Depends on the prepared #82 consumer, including its completed #83–86 boundaries. The destination is #82’s original work branch; its prepared history must first be reconciled through the recorded merge path. No immutable preview is a merge destination.

Paired with the design, CapABI #25, Timed #16, Ttyd #51, Rootd #22 and the manual.

Architecture, authority and failure behavior

The exact VFS sender replaces PUBLIC authority. Startup authenticates the inherited endpoint, primary factory and declared transfers, then freshly queries the complete attributed window. Only exact type/kind/rights matches are admitted; every other visible coordinate must return full-status NOT_FOUND. The window boundaries must return DENIED, not absence. Refusal never adopts or drops a foreign capability. A 512-byte immutable coordinate bitmap describes declarations, not cached authority.

The original runtime, cleanup and retained-slot pool remain intact. No unsafe code or syscall type is added. Named and Launchd retain their intended general clock brokers. Native startup latency remains unmeasured; the hosted count of 3977/3978 queries is not timing proof.

Validation evidence

  • Formatting, strict host/native Clippy and warning-denied builds/tests.
  • All 434 controls, preserving the original 429 consumer controls.
  • Actual native ELF, both original bounded runtime/smoke frame gates and documentation.
  • Exact-slot, wider-rights, stale alias, full-status and forged startup negatives; 16 Markdown files.
  • Paired configured-image execution and startup latency under the Integration profiler.

The full 13 maintained gates passed before the two final bounds-description comment edits. Executable behavior is unchanged, and final formatting and Markdown checks were repeated. IPC 6115cf98, CapABI 93522637 and the complete component profile are retained. Component checks do not establish guest execution.

Review checklist

  • Signed original feature, documented provenance and unchanged dependency protocol.
  • Purpose-specific README/ARCHITECTURE/ROADMAP; paired manual update.
  • All changed code below 1000 physical lines; explicit ownership and failure behavior.
  • Exact-head public CI and human review.
## Summary and rationale Bind filesystem timestamps to the separate Wall2-only Timed object. Reject the old PUBLIC clock route and undeclared capability aliases before starting the service. ## Tracking and scope Depends on [the prepared #82 consumer](https://git.erikinkinen.fi/erix/vfsd/src/branch/feature/vfs-counted-entry-evidence-merge-ready-8c30ee02), including its completed #83–86 boundaries. The destination is #82’s original work branch; its prepared history must first be reconciled through the recorded merge path. No immutable preview is a merge destination. Paired with [the design](https://git.erikinkinen.fi/erix/timed/issues/15), [CapABI #25](https://git.erikinkinen.fi/erix/lib-capabi/pulls/25), [Timed #16](https://git.erikinkinen.fi/erix/timed/pulls/16), [Ttyd #51](https://git.erikinkinen.fi/erix/ttyd/pulls/51), [Rootd #22](https://git.erikinkinen.fi/erix/rootd/pulls/22) and [the manual](https://git.erikinkinen.fi/erix/docs/pulls/105). ## Architecture, authority and failure behavior The exact VFS sender replaces PUBLIC authority. Startup authenticates the inherited endpoint, primary factory and declared transfers, then freshly queries the complete attributed window. Only exact type/kind/rights matches are admitted; every other visible coordinate must return full-status NOT_FOUND. The window boundaries must return DENIED, not absence. Refusal never adopts or drops a foreign capability. A 512-byte immutable coordinate bitmap describes declarations, not cached authority. The original runtime, cleanup and retained-slot pool remain intact. No unsafe code or syscall type is added. Named and Launchd retain their intended general clock brokers. Native startup latency remains unmeasured; the hosted count of 3977/3978 queries is not timing proof. ## Validation evidence - [x] Formatting, strict host/native Clippy and warning-denied builds/tests. - [x] All 434 controls, preserving the original 429 consumer controls. - [x] Actual native ELF, both original bounded runtime/smoke frame gates and documentation. - [x] Exact-slot, wider-rights, stale alias, full-status and forged startup negatives; 16 Markdown files. - [ ] Paired configured-image execution and startup latency under the Integration profiler. The full 13 maintained gates passed before the two final bounds-description comment edits. Executable behavior is unchanged, and final formatting and Markdown checks were repeated. IPC `6115cf98`, CapABI `93522637` and the complete component profile are retained. Component checks do not establish guest execution. ## Review checklist - [x] Signed original feature, documented provenance and unchanged dependency protocol. - [x] Purpose-specific README/ARCHITECTURE/ROADMAP; paired manual update. - [x] All changed code below 1000 physical lines; explicit ownership and failure behavior. - [ ] Exact-head public CI and human review.
ci: Use shared development dependency profiles
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / test (push) Has been cancelled
CI / markdown (push) Has been cancelled
fa03373af7
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
ci: Declare policy helper and output boundaries
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 9s
CI / test (push) Failing after 1m35s
c704ff23dd
Select a disjoint operation parent for policy evidence and explicitly identify the helper checkout excluded from original component input. Keep the complete dependency policy and existing acceptance commands.
Retain the original complete entry digest independently of optional raw path reporting. Preserve original admission and cleanup authority. Adapt the selected complete creation-intent codec without widening this file-only consumer; reject socket creation before custody or provider effects and keep independently modeled complete native caller keys.
Preserve the complete previously merged feature, including its original runtime and negative controls. Retain the current explicit whole-source cohort and maintained frame-owner closure once, omit equivalent generic CI history, and keep original source and completed merge receipts available for provenance.
Retain the completed feature as a distinct signed integration boundary in the prepared counted-entry history. Original source, approved heads and prior merge receipts remain unchanged.

#83
Preserve the complete previously merged feature, including its original runtime and negative controls. Retain the current explicit whole-source cohort and maintained frame-owner closure once, omit equivalent generic CI history, and keep original source and completed merge receipts available for provenance.
Preserve the complete previously merged feature, including its original runtime and negative controls. Retain the current explicit whole-source cohort and maintained frame-owner closure once, omit equivalent generic CI history, and keep original source and completed merge receipts available for provenance.
Retain the completed feature as a distinct signed integration boundary in the prepared counted-entry history. Original source, approved heads and prior merge receipts remain unchanged.

#84
Preserve the complete previously merged feature, including its original runtime and negative controls. Retain the current explicit whole-source cohort and maintained frame-owner closure once, omit equivalent generic CI history, and keep original source and completed merge receipts available for provenance.
Retain the completed feature as a distinct signed integration boundary in the prepared counted-entry history. Original source, approved heads and prior merge receipts remain unchanged.

#85
docs: Merge retained context lifetime documentation
All checks were successful
CI / markdown (push) Successful in 3s
CI / test (push) Successful in 2m43s
8c30ee0242
Retain the completed feature as a distinct signed integration boundary in the prepared counted-entry history. Original source, approved heads and prior merge receipts remain unchanged.

#86
fix: Confine filesystem clock authority at startup
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Successful in 1m57s
3f94f19503
Require the dedicated Wall2-only timestamp object and validate the actual inherited endpoint plus every declared original capability. Query the full attributed CSpace window, preserve native denial versus absence, and refuse undeclared aliases or uncertain observations without adopting or dropping them. Retain the complete counted consumer and closed feature boundaries.
erikinkinen added this to the Alpha 1 milestone 2026-11-15 09:38:49 +01:00
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Successful in 1m57s
This pull request has changes conflicting with the target branch.
  • .github/workflows/ci.yml
  • ARCHITECTURE.md
  • README.md
  • ROADMAP.md
  • ci/retained-provider-companions.toml
  • scripts/vfsd_frame_disassembly.py
  • tests/frame_tool_authority_test.py
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/source-event-clock-query:feature/source-event-clock-query'
git switch 'feature/source-event-clock-query'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'feature/vfs-counted-entry-evidence'
git merge --no-ff 'feature/source-event-clock-query'
git switch 'feature/source-event-clock-query'
git rebase 'feature/vfs-counted-entry-evidence'
git switch 'feature/vfs-counted-entry-evidence'
git merge --ff-only 'feature/source-event-clock-query'
git switch 'feature/source-event-clock-query'
git rebase 'feature/vfs-counted-entry-evidence'
git switch 'feature/vfs-counted-entry-evidence'
git merge --no-ff 'feature/source-event-clock-query'
git switch 'feature/vfs-counted-entry-evidence'
git merge --squash 'feature/source-event-clock-query'
git switch 'feature/vfs-counted-entry-evidence'
git merge --ff-only 'feature/source-event-clock-query'
git switch 'feature/vfs-counted-entry-evidence'
git merge 'feature/source-event-clock-query'
git push origin 'feature/vfs-counted-entry-evidence'
Sign in to join this conversation.
No description provided.