Skip to content

feat(desktop): add Computer History - #3193

Closed
hqhq1025 wants to merge 22 commits into
apache:mainfrom
hqhq1025:codex/computer-history
Closed

hqhq1025 wants to merge 22 commits into
apache:mainfrom
hqhq1025:codex/computer-history

Conversation

@hqhq1025

@hqhq1025 hqhq1025 commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

Current Revision, September 16, 2026

Current pushed head: c918a2418cd28acb21bf346cffeda5abed4d94a4, protocol epoch159.
This documentation-only checkpoint follows implementation/integration head
6a32c2b992217274b593e84971b86825cf055450, including ordinary integration
with upstream 27add3049.
See the current verification, limitations and matched before/after screenshots.
The fresh Windows helper passed all eleven synthetic selected-item scenarios.
Its single clean Rich cold attempt failed before the first body event;
the cause remains unresolved. A subsequent traced WPF attempt
captured its initial body but failed challenge delivery before any key was sent.
WPF physical-input acceptance remains open.
This PR remains Draft. The sections below retain earlier revision-specific
evidence and must not be read as current-head validation.

Capability Completion, September 15, 2026

Revision: c73755700805efddce0411f2fdd92f7994e327b6.

This follow-up connects native collection, bounded analysis and approved
conversation retrieval. It keeps the selected sidebar, summary reader,
granularity controls, existing model connections and default-off consent.

  • macOS: poison stores after partial writes, synchronize before sealing, stop
    on rotation failure and expose an actionable storage error. Capture admitted
    visible text ranges with UTF-16-safe bounds; coalesce generic AX notifications
    while retaining the existing three-second freshness and semantic input paths.
  • Windows: require the recorder's connected/unlocked WTS session; invalidate
    pending work on session transitions and seal before suspension. Preserve
    selection offsets and native truncation provenance. Resolve display names
    and 48px icons for requested running local applications without reading
    History storage. Use native basename for suppression-count inventory.
  • Analysis: replace premature per-candidate previews with one bounded content
    pool and retain intermediate changes. Malformed output retries per window;
    fresh windows continue, while provider-wide failures share a cooldown.
    The original task-oriented prompt preserves decisions, artifacts, blockers
    and last observed state without inventing completed work.
  • Conversation: add Status, Search, Read and narrow ReadEvents through the
    existing Desktop Client Capability and managed session approval. Match the
    actual local storage-root identity, not the local profile label. Require
    current Skill/Host/incognito/consent checks, no Host paths, redaction before
    excerpt extraction, bounded pagination and stable document revisions.
    Reject archive reads overlapping publication instead of mixing rollup generations.
  • Skill: automatically install or transactionally upgrade only trusted,
    unmodified bundled content. Preserve customizations, disabled and pinned
    preferences, including competing edits and interrupted recovery.

Verification

  • More than 370 focused current-build TypeScript tests passed across Desktop,
    summary storage, application metadata, native offers, Host approval/catalog,
    core grants and the actual permission component. No failures or skips.
  • Desktop typecheck, main and production renderer builds, renderer-entry
    and public notices checks, scoped Biome and renderer architecture passed.
    Scoped/staged ASF, protocol epoch and whitespace checks passed.
    Checkout-wide ASF additionally sees
    untracked local Playwright bundles; those artifacts are not committed.
  • macOS: 79 XCTest tests, ARM64/Intel release builds, real Intel VM read-only
    editor with scrolled-tail capture, four semantic-input modes and six Chrome
    scenarios passed. An initial 15-second freshness regression was reproduced
    and corrected back to three seconds before final acceptance.
  • Windows final source: 59 MSVC Rust tests, release build, 11 native Node tests
    and six WPF scenarios passed. The optional-selection regression fails with
    the previous helper and passes after the fix, proving its provider was called.
    WinForms and eleven Edge scenarios passed before that last narrow fix and
    were not rerun afterward. High-integrity guest acceptance does not establish
    ordinary-user or real OS lock/disconnect behavior.
  • Existing Coproxy Astra: real summary generation preserved test outcomes,
    blockers and keywords. Actual production group-builder session completed
    Skill -> approval -> Search -> Read -> a correct body-tail answer in four
    provider requests. Denial produced zero reads/grants and no raw-file bypass.
    This uses real backend/SQLite/native provider with an in-memory transport,
    not full Electron/SessionManager acceptance.

Local self-review and independent agent checks repaired secret-suffix excerpt
leakage, cross-generation search, local Host offer publication, Windows app-ID
filtering and optional selection-provider compatibility. These checks do not
replace independent human approval.

Matched Permission Screenshots

Actual component and production CSS, identical synthetic request, English,
light theme, 100% zoom, DPR 1, height 720. Before is frozen from 632814906.
It cannot render this new capability; the labeled harness diagnostic reports
that exact failure, not a historical production error screen.

Before After
Before 1280 After 1280
Before 320 After 320
Pending submission

Desktop pending
Narrow pending

Only synthetic PNGs are published. The installed CLI lacks native attachments;
these use the PR's existing feature-branch asset convention. Capture provenance
is in .github/assets/computer-history/README.md.

This remains Draft. Packaged Electron, ordinary-user Windows, real lock/
disconnect, live disk-failure recovery, wider application/provider coverage,
newer-main integration, current CI and independent human approval remain
separate requirements. No complete Codex parity or merge readiness is claimed.

Latest Follow-Ups

Summary

Computer History is a local activity surface in the global sidebar. The macOS
implementation is joined by a Draft Windows backend; see the latest validation
follow-up for tested behavior and remaining coverage gaps.
Browsing stays separate from Settings, and saved summaries open in an in-app
reader with title, description, interval, application icons, complete Markdown,
and syntax-highlighted Source. Raw unsummarized fragments stay out of the feed.
The toolbar copies the existing document or reveals its location in Finder.

This revision repairs the capture-to-summary pipeline and keeps the approved
independent-switch design:

  • Recording, local text capture, model summaries, and permission to transmit
    recorded text are separate controls, all off by default. Revocation does not
    authorize a new model request.
  • Electron main rechecks source exclusions and admits recorded text only with
    independently granted transmission permission and validated source markers.
    Renderer event details remain metadata-only.
  • The native collector uses window-lifetime identities, source-bound delayed
    callbacks, and self-contained AX snapshots instead of unreconstructable
    deltas. Secure and excluded subtrees are pruned before text reads, and
    contributing source paths are revalidated.
  • Empty AX child arrays are recognized only after a successful zero-count
    check. Explicit app-owned local documents are admitted without persisting
    their paths. Unavailable snapshots no longer reset retained metadata
    deduplication and emit identical window changes every three seconds.
  • Bounded sampling covers the complete ten-minute interval. Generation
    provenance tracks all eligible events, including unsampled changes.
    Six-hour rollups share an evidence budget across their children. Up to two
    earlier compatible summaries provide labelled context, not evidence of new
    actions.
  • The tool-free prompt uses the trusted UI locale and asks for a task-oriented
    title, second-person description, detailed Markdown, and explicit uncertainty.
    Computer History receives a 180-second model deadline and level-specific
    output budgets; its client request has a separate 190-second terminal bound.
    Daily Review and unrelated transport limits are unchanged.
  • Saved document lookup is independent of the feed's time horizon and parent
    visibility. Interval deletion invalidates summaries derived transitively from
    the deleted evidence. Each consumer snapshots immutable raw-window coverage,
    so intermediate same-ID rewrites cannot erase its historical dependencies.
    Rich archives remain readable when revoked consent or changed exclusions
    prevent their regeneration or reuse.
  • The bundled Computer History skill explains sampled evidence, prior context
    and separate capture/transmission permissions. It supports user-selected
    context and separately approved bounded activity retrieval.

The protocol epoch is 155. This remains Draft. It is based on pinned main
de134f9b1f5b30170b8ed19fb0d3e47bf2571848; integration with newer main and
independent human approval remain required.

Granularity Follow-Up

Revision d0b2ac23f03e66764bc14740a5481fb0232fb707 implements the selected alternative A on the actual
Computer History page: a persistent 10 minutes / 6 hours / 1 day selector
below the heading, defaulting to six hours.

  • Return both saved summary levels with canonical child IDs. Keep unprocessed
    fragments out of the feed and unreferenced leaves separate from a rollup's
    claimed evidence. Opening a summary and expanding its children are distinct.
  • Assemble one-day reading from existing full documents with a four-read queue,
    per-document errors/retry, safe rendered Markdown, Source, copy and reveal.
    Changing granularity never requests another model summary or changes capture,
    consent, model selection or Daily Review scheduling.
  • Use local half-open date overlap, including cross-midnight rollups, fractional
    time zones and daylight-saving changes. Preserve parent-only search matches
    and rollups whose children are absent on a particular date.
  • Preserve the open reader, Source mode and scroll when switching views,
    filtering or receiving new summaries. Keep collection identity stable through
    partially completed rollups; retain fallback documents explicitly opened.
  • Main supplies an opaque read-time file revision covering full persisted
    content and provenance. This refreshes edits beyond the bounded preview,
    including same-size edits with restored mtime and atomic replacement, without
    hashing documents. Revisions are excluded from disk serialization; approved
    model reads now use them as opaque pagination tokens. Daily headings follow
    date H2, activity H3, body H4 and below.

Matched Production Screenshots

Actual production page with synthetic services and identical invented content,
selected 08:30 document, Preview mode, scrollTop 0, zh-CN, Asia/Shanghai, DPR 1
and 100% zoom. The baseline freezes page/copy/CSS from
5b3f30ce4c32dc350104573c60a67b48a6ed24ec and reproduces its covered-child
suppression. These are isolated page captures, not full mobile-shell evidence.

Before After
Before, 1240 x 820 After, 1240 x 820
Before, 390 x 844 After, 390 x 844
Overview, day reading, cross-midnight filtering and retained Source

Six-hour view

Day documents

Narrow dark day reader

Cross-midnight Today filter

Source retained across views

Capture provenance is in the
screenshot README.
No private history, real model request or credentials were used in public
captures. The installed GitHub CLI lacks native attachments; these images reuse
the existing feature-branch asset convention.

Verification And Review

  • Main/summary/evidence: 136/136 passed; adapter: 21/21 passed.
  • Frontend grouping/filter/controller/document/page: 89/89 passed. Page state
    also passed in UTC and Shanghai, with a Kathmandu midnight regression.
  • Final synthetic Playwright matrix: 30 captures, no page errors, external
    requests, missing images or page/reader overflow. All three granularities,
    three locales, light/dark, desktop/narrow, background arrival, Source and
    scroll retention were exercised.
  • Current-source Granularity Story play passed in light and dark at 1280 x 900,
    Asia/Shanghai, without console errors or accessibility-tree audit failures.
  • Core build, Desktop typecheck including stories, main/renderer build,
    renderer-entry/public-notice checks, scoped Biome, ASF headers and whitespace
    checks passed. Renderer architecture passed against 5b3f30ce4; no budget
    increase or second model authority was added.
  • The restarted signed local trial read 83 ten-minute documents and 56 documents
    for the current day. All three views, cross-midnight filtering, settings
    roundtrip, Source/scroll retention and preference persistence passed. Recording
    remained running, and the authorized consent flags and existing shared
    Coproxy configuration remained unchanged. Private captures are not published.
  • Pre-push review identified and fixed four issues: day fallback omission,
    provenance-dependent selection loss, stale full-document caching, and
    fractional-zone cross-midnight clipping. Unnecessary multi-parent arbitration
    was removed because saved canonical windows have one parent. Final local
    self-review and independent agent review found no remaining actionable issue
    in this follow-up; these are not independent human approval.

The PR remains Draft. Current CI, newer-main integration, independent human
approval, packaged deployment and useful-text coverage remain separate
requirements; no claim of merge readiness or complete capture is made.

Inline Model Settings Follow-Up

Revision 5b3f30ce4c32dc350104573c60a67b48a6ed24ec implements the selected
alternative A. The previous Configure action opened Daily Review, mixing its
scheduling controls with Computer History model selection and providing no
contextual return.

  • Choose the summary model directly in Computer History using a searchable
    selector. Browsing/searching/dismissing does not save; explicit selection does.
  • Manage connections opens this Mac's Models settings and provides a return
    that restores the model field's focus and the prior scroll position.
  • Reuse the ready local Host's offerable catalog and shared Daily Review
    modelKey, with visible shared-impact disclosure. Preserve canonical-default
    semantics, explicit unavailable selections, consent and scheduling.
  • Keep pending model saves alive across page unmount; returning readers await
    settlement. Report late failures, and fence model availability after an
    uncertain write until fresh readback confirms the provider.
  • Let recording-setting actions complete independently of stalled model
    discovery. Bound narrow selector menus and wrap the Models Host picker.

Matched Production Screenshots

Synthetic bridge, actual production settings/components/adapters, identical
fixture content and state, zh-CN, Asia/Shanghai, DPR 1, 100% zoom and fixed
clock. Baseline source is ef78153f396252648bfb9046b2f59f694dd4f539.
No private history, live screenshot, credentials or model request is included.

Before: Configure opens Daily Review After: inline model choice
Before model settings, 1240 x 820 After model settings, 1240 x 820
Before model settings, 390 x 844 After model settings, 390 x 844
Open selector, narrow dark state, and connection-management return

Searchable model selection

Narrow dark selector

Local Models with contextual return

Narrow Models with wrapped Host selector

Full paired light/dark assets and capture details are in the
updated screenshot provenance.
The integration contract
documents the model authority and navigation behavior.

Validation For This Follow-Up

  • 94 unique focused source-bundled tests passed across settings, navigation,
    consent, controller, page state, application metadata and Desktop adapter.
  • Complete product-computer-history--settings Story play passed, including
    browser errors and accessibility-tree checks.
  • 18 synthetic production browser groups passed with 39 captures, no unexpected
    browser errors and no external requests. Covers 1240/390 widths, light/dark,
    three locales, exact saves, defaults, unavailable models, local Host failure,
    catalog recovery, return focus/scroll and deferred save success/failure.
  • Desktop typecheck including stories, main/renderer builds, renderer-entry and
    public-notice checks, scoped Biome, ASF headers and whitespace checks passed.
  • Renderer architecture check passed against ef78153f3. The ledger decreases
    one legacy surface useState; no existing architecture budget was raised.
  • The reloaded signed local trial displayed its actual catalog and completed
    History settings -> local Models -> contextual return. Coproxy Astra, all
    four authorized consent flags, disabled Daily Review scheduling and its
    08:00 time remained unchanged. Native recording remained running. Live
    provider switching was not exercised; changed-model writes were synthetic.
  • Local pre-push self-review found no remaining actionable issue in this delta.
    The PR remains Draft, not merge-ready. Newer-main integration, current CI and
    independent human approval remain required.

Matched Settings Comparison

Production SettingsModal and ComputerHistorySettingsPage, synthetic services,
1240 x 820, zh-CN, Asia/Shanghai, light theme, DPR 1, 100% zoom, same initial
content and scroll position. The before component is frozen from the previous
implementation. Recording is enabled, local text capture is off, summaries are
on, and recorded-text transmission is off in both fixtures.

Before:

Before: three controls

After:

After: independent recorded-text permission

Narrow and dark settings

Narrow content and analysis controls

Dark settings

Matched deletion-scope warning, 1240 x 820 and 390 x 844

The same synthetic activity is selected in all captures. This warning now
includes dependent later summaries and legacy documents with unknown
dependencies. No actual history was deleted.

Before: interval-only warning

After: dependency-aware warning

Before: narrow warning

After: narrow warning

All public screenshots are synthetic. Native attachment support is unavailable
in the installed GitHub CLI, so the images use this feature branch's existing
asset convention. No credentials, actual history, generated private documents,
or private screenshots are included.

Earlier Reader And Feed Comparisons

The following earlier matched pairs document the unchanged browsing direction.
They are historical screenshots, not evidence for newly changed consent copy.

Settings separated from the reader, 1440 x 900

Before: combined settings and browsing

After: content-first reader

Summary-only feed, 1240 x 820

Before: raw fragments and summaries

After: saved summaries only

See the integration contract
and screenshot provenance.

Validation

  • Native Swift tests: 66 passed; release helper built and installed in the
    isolated signed development app.
  • Summary lineage: 50 tests passed, including immutable ancestry across
    same-ID rewrites, missing intermediates, raw expiry, sparse gaps, bounded
    coverage, legacy inputs and restart convergence. Both new blocker
    regressions fail under the previous deletion logic.
  • Desktop Computer History: 209 tests across 13 current-source suites passed,
    with no failures or skips, including the final 130-test
    main/evidence/summary integration subset.
  • Runtime Host request deadline, handshake and election: 41 tests passed.
    A broader 62-test Host batch had one production child-patch timeout; its
    isolated rerun passed. This is not a claim that the full workspace is green.
  • Desktop typecheck passed. Final production renderer build, entry check and
    public-notice check passed.
  • Scoped Biome checks, whitespace checks and ASF header audit passed.
  • Synthetic consent browser matrix: 29 records, no failures. Deletion warning:
    four matched captures, three locale checks and 36 focused tests passed.
  • The PR body was read back unchanged with all 12 image elements. The two
    inspected after-image URLs returned HTTP 200 as PNGs; local visual inspection
    passed. A complete URL check and browser loading of GitHub/remote images
    timed out, so full online image availability and rendering remain unverified.

The isolated signed development-app trial uses the user's existing Coproxy
Astra configuration with explicitly authorized recording, local text capture,
summarization, and recorded-text transmission. Actual model output was saved
and rendered in the reader; this is separate from the synthetic browser matrix.
The September 14, 2026 01:10-01:20 Asia/Shanghai interval captured readable text
from the local synthetic settings page in Chrome, generated a specific
task-oriented summary, and appeared automatically in the live feed without
manual refresh. The reader displayed four Markdown sections and five list
items, with CSS Custom Highlights in Source and no horizontal overflow.
History-to-Settings-to-History navigation succeeded with all four permissions
still enabled. No private document or live screenshot is published.
includesText records input provenance, not proof that an AX snapshot contains
useful readable document text.

Remaining Before Merge

  • Useful text coverage must be measured by application. Structural-only or
    unavailable AX observations still occur; no claim of complete capture or
    Codex-equivalent summary detail is made. Post-fix useful-text capture in
    Codex remains unverified because the OS reported the login window as
    frontmost. The bounded tree depth may miss deeply nested content.
  • Accessibility privacy checks rely on information provided by applications.
    Unmarked secrets in ordinary documents and unrecognized private windows are
    not guaranteed to be detected. Source exclusions remain important.
  • Cancellation cannot retract already transmitted evidence; a client timeout
    does not establish provider termination. Provider failures remain possible.
  • Immutable ancestry is precise at ten-minute-window granularity. More than
    256 disjoint ranges coalesce the oldest gaps conservatively; legacy
    generation records cannot prove independence from earlier evidence.
  • Approved Computer History tools are now present; complete packaged Electron
    and SessionManager acceptance remains separate from the synthetic provider chain.
  • Packaged/notarized deployment remains unverified. Windows native-window
    collection and tested Edge/WinForms/WPF bodies have controlled live acceptance.
    Other browser/application families, ordinary-user, locked-session and packaged
    Electron coverage remain gaps. See the latest Windows follow-up.
    Narrow screenshots cover the isolated surface, not full mobile shell support.
  • Current CI, integration with newer main, and an independent approval are
    required. This revision is not merge-ready.

@coderabbitai

coderabbitai Bot commented Aug 18, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 24b6ef47-9509-4e46-b916-706706cd7414

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added the effort/XL Under 2500 readable lines label Aug 27, 2026
@github-actions github-actions Bot added effort/XXL Over 2500 readable lines and removed effort/XL Under 2500 readable lines labels Sep 3, 2026
Integrate pinned main de134f9, replace the old workbar route with a global history feed, add an inline Markdown reader and native app icons, and keep recording policy in client settings. Harden collector maintenance and opt-in summary cancellation; document remaining source/provenance gaps.
@hqhq1025
hqhq1025 requested a review from Astro-Han September 13, 2026 08:49
@hqhq1025

Copy link
Copy Markdown
Contributor Author

Backend follow-up in 09d4833: refresh existing ten-minute summaries when retained evidence changes; preserve complete saved summaries at the retention boundary; prioritize pending leaf summaries over derived rollups; invalidate an enclosing six-hour summary immediately before publishing a changed child. No capture-consent, provider-selection, or renderer changes are included in this revision.

Validation: 29 summary tests and 17 focused main integration tests passed; the five new regression cases fail against the preceding implementation. Main-process TypeScript, scoped Biome, ASF audit, diff checks, and build:main passed. A failed parent rebuild can temporarily leave its rollup absent while preserving child documents; subsequent admitted work retries generation. Existing global backoff remains.

The PR remains Draft. Representative evidence sampling, richer summary content, and the pending timeline interaction alternatives are separate follow-up work. Review is requested from @Astro-Han.

@hqhq1025

Copy link
Copy Markdown
Contributor Author

Searchable Metadata And Readable Documents

Revision c33b337fcfb3b114c70b1f32ac2406a6ceb513b8 adds the approved metadata
direction. This PR remains Draft; protocol epoch is now 154.

  • Model output includes up to ten evidence-backed keywords, with sparse/legacy
    output supported and bounded Unicode normalization and encoded-size checks.
    Keyword privacy and evidence rules match the existing summary contract.
  • Keywords appear below descriptions in individual and collection readers.
    Clicking a keyword returns to the current filtered feed and focuses search.
    It does not change granularity, capture settings, consent or model selection.
  • Search combines all query terms across titles, descriptions, keywords,
    complete document bodies, application names/IDs and actual filenames.
    Main returns at most 2,048 characters of matching excerpts per summary only
    for active queries. Idle polling omits search excerpts. The existing bounded
    Composer context is unchanged; no new model or autonomous skill call exists.
  • Search requests debounce and fence stale results immediately. Invalid input
    has localized feedback while health polling and pause/resume remain usable.
    Ephemeral matches do not invalidate full-document caches.
  • New filenames use YYYY-MM-DD_HH-mm__10min|6h__Short-topic.md, without a
    timezone suffix. Main selects and persists the basename; canonical IDs remain
    unchanged. Title changes retain filenames, legacy files remain unchanged,
    and no rename-only migration or keyword backfill model run is performed.
  • Filesystem-aware collision handling protects case-insensitive volumes.
    Lookup caching publishes only validated unique identities; duplicate IDs
    remain rejected, and known damaged files continue to report errors.

Matched Screenshots

Actual production page with synthetic services, identical invented content,
selected 08:30 document, Preview mode, scroll position 0, zh-CN,
Asia/Shanghai, DPR 1, 100% zoom and fixed 08:40 clock. Baseline:
839113807cd9776ff10f7640752f7106094cc3dc. No private history is published.

Before After
Before, desktop reader After, desktop reader
Before, narrow dark reader After, narrow dark reader
Full-body matches, filenames and day reading

Six-hour body matches
Readable document filename
Day collection

Capture provenance.
The installed CLI lacks native attachments; screenshots reuse the existing
feature-branch convention.

Verification

  • Main/summary/evidence/filename integration: 164 cases verified. The final full
    batch passed 163/164 with an unrelated native-lock probe timeout; its isolated
    rerun passed. The corruption regression and focused search rerun also passed.
  • Renderer/controller/document/adapter: 124/124 passed. Core search: 6/6;
    keyword protocol/coordinator: 24/24; four isolated Storybook plays passed.
  • Final synthetic browser matrix: 16 before and 48 after captures, no page
    errors, broken images, unexpected external requests or tracked overflow.
    Includes all three granularities, keyword keyboard activation, filename and
    body-only matches beyond 12K, invalid-query recovery and source/copy behavior.
  • Core/Runtime Host/Desktop main/preload/renderer builds and complete Desktop
    typecheck passed. Strict-base renderer architecture, staged Biome, ASF headers,
    whitespace and protocol epoch checks passed. Existing large-chunk and
    browser-externalization build warnings remain.
  • A real Coproxy Astra canary using synthetic observations produced valid
    Chinese Markdown and nine relevant keywords. It retained tested/blocked/
    unexecuted distinctions and omitted hostile sentinels and synthetic secrets.
    This single case is not a general model privacy guarantee.
  • The final restarted signed local trial retained all four consent settings,
    shared Coproxy model configuration and running collection. Two automatically
    generated summaries used readable filenames and five/seven keywords.
    Actual-body search, keyword activation, all three views, Markdown Preview
    and Source passed. Live evidence remains private.

Local pre-push review found and fixed case-insensitive collisions, ambiguous
cache publication, known-corruption lookup, oversized polling payloads,
invalid-query health blocking and non-idempotent Unicode normalization. No
remaining actionable finding in this delta after the scoped review; an agent
review is not independent human approval.

Remaining Limits

The local trial's existing native application-metadata helper timed out during
icon lookup, including a separate 15-second single-app probe. The interface
shows fallback initials and an error; this revision does not claim real icon
lookup is healthy. Complete capture coverage, newer-main integration, current
CI, packaged deployment and independent human approval remain outstanding.
The skill still consumes submitted history context only. This PR is not
merge-ready.

@hqhq1025

Copy link
Copy Markdown
Contributor Author

Centralized Permissions And Automatic Skill

Revision 839113807cd9776ff10f7640752f7106094cc3dc implements the selected
permission direction B. This PR remains Draft.

  • Computer History settings owns only feature/content/model choices, exclusions
    and deletion. It shows aggregate OS readiness and a contextual authorization
    link, with no system permission request control.
  • The existing Permission Center owns OS actions and rechecks. Its Computer
    History scope groups Accessibility and Input Monitoring first, focuses the
    missing permission, and returns to the original settings control and scroll.
  • OS permissions use local Desktop IPC even without a ready selected Host.
    Host capability diagnostics load separately; lifecycle replacement retires
    only those reads. Collector AX remains distinct from Electron AX.
  • Opening System Settings never implies a grant. Focus return performs an
    authoritative recheck. Failed reads retain cached rows but retire readiness
    and disable actions until a successful read. All authorization buttons sit
    below their descriptions so narrow/English layouts stay readable.
  • An already-enabled recorder can resume after a later grant without
    overriding pause or disable. Failed collector-policy synchronization blocks
    every recorder start until a successful configuration write, preventing old
    text/exclusion policy from being used after a partial settings save.
  • Recording enablement or existing saved history installs the bundled skill
    through the local Host's existing catalog. Reconnection retries; customized
    content and manual disable survive, including deletion/reinstallation.
    Queued enable signals survive failed reads. No second skill/model authority.
  • Selected-history chat drafts preserve Markdown line breaks and the existing
    escaped untrusted-context wrapper.

The permission UI/controller now belongs to features/permissions behind narrow
injected ports. Existing shared settings primitives moved to the presentation
contract with compatible legacy entries; no architecture budget was increased.

Matched Production Screenshots

Production components and synthetic services, identical underlying permission
state and invented content, fixed clock, Asia/Shanghai, DPR 1 and 100% zoom.
No private history, live model response or credential is published.

Before After
History settings before, 1240 x 820 History settings after, 1240 x 820
Permission Center before, 390 x 844 Permission Center after, 390 x 844

Contextual permissions and return, 1240 x 820

Matched Markdown draft handoff, 1240 x 820

Before: flattened Markdown
After: preserved Markdown lines

All five permission pairs, two contextual views and exact baseline/capture
provenance are in the asset README.
The installed CLI has no native image attachment option; this uses the PR's
existing feature-branch image convention.

Validation

  • 407 current Desktop focused tests and eight core capability tests passed.
    The failed-policy-write and lost-enable regressions failed before their fixes
    and pass afterward. An initial broad glob included a deleted test's stale
    build output; after removing that generated output, the current-source-selected
    batch passed 407/407 with no skips.
  • Main/preload/renderer builds; preload/renderer/Storybook typechecks; 44-file
    Biome lint, staged Biome formatting, ASF headers and whitespace checks passed.
    The unchanged large-chunk/browser-externalization build warnings remain.
  • Strict-base architecture passed against both d0b2ac23 and pinned main
    de134f9b1f5b30170b8ed19fb0d3e47bf2571848.
  • Synthetic production QA: 20 interaction groups, 40 after captures, three
    locales, desktop/narrow and light/dark passed. All 83 settings stories /
    85 theme render/play cases passed; no unexpected browser errors, asset
    failures or external requests. Rendered screenshots were inspected.
  • The signed local app was restarted with its existing isolated profile.
    Real History settings -> permissions -> return preserved focus/scroll,
    recording, four consent choices, the existing model and enabled skill.
  • Three real model conversations exercised natural skill discovery, missing
    context, and overlapping/untrusted submitted history. Manual disable blocked
    invocation and survived restart; the prior enabled state was then restored.
    Draft review and Composer retained Markdown structure. Evidence stays private.
  • Local self-review and an independent agent source review found and resolved
    two failures: old collector policy after partial save, and a lost queued
    install signal after rejection. No remaining verified finding in this delta.

Remaining Limits

First-use authorization with a fresh signed app identity, live revocation,
packaged/notarized deployment, newer-main integration, current CI and independent
human approval remain unverified or outstanding. The skill interprets submitted
context only; it does not autonomously retrieve Computer History. Three model
cases do not establish universal instruction compliance or complete capture.
This revision is not merge-ready.

@hqhq1025

Copy link
Copy Markdown
Contributor Author

Windows Backend Follow-Up

Revision 3c10fd6f5 adds a draft Windows x64 recording backend. There are no
renderer, navigation, or model-picker changes in this follow-up.

Implementation

  • Add a Rust WinEvent/UI Automation helper producing the existing JSONL
    envelope. Reuse Electron main's settings, retention, evidence projection,
    Markdown summaries, and local model authority.
  • Bind snapshots to an exact HWND/PID and source generation. Run UIA on an MTA
    in bounded child processes with independent parent/consent/deadline watchdogs.
    Do not add screenshots, audio, low-level keyboard hooks, or typed-text events.
  • Require explicit native-document or document-URL provenance. Keep sensitive,
    excluded, unknown-source, and stale snapshots out of persistence. Distinguish
    provider failures from expected suppression and expose failure/recovery through
    existing status.
  • Keep storage maintenance admission in Electron main using first-instance
    named pipes. Validate local NTFS and non-reparse paths before and after
    admission; reject network/device paths. Preserve graceful stdin shutdown
    and parent-death handling.
  • Add Windows build/package integration, locked dependency notices, and a
    Windows CI workflow with synthetic persistence and cross-language native/Node
    ownership and paused-process tests.

Verification

  • Desktop main build passed.
  • Main, evidence, summary, and ownership tests: 178 passed, 2 Windows-only
    kernel tests skipped on macOS.
  • Pure native tests: 41 passed, including final-write ABA, parent/EOF, pause,
    backlog, text policy, provenance, file bounds, and health recovery.
  • Windows MSVC target check and strict Clippy passed for all targets.
  • Build, notice generation, and ASF classifier tests: 54 passed.
  • Native/Node smoke: 10 Windows-only tests added, all skipped on macOS.
  • Rust formatting, scoped Biome, ASF header audit, notice freshness, and
    whitespace checks passed.

Local self-review and an independent agent review found and fixed source ABA,
final admission timing, stale health reporting, local-volume validation, and
Windows atomic-replacement reader sharing. These checks do not constitute
independent human approval.

Remaining Acceptance

No interactive Windows capture or Windows executable execution has been
verified yet; the available test guest is stopped. The new Windows CI results
must be assessed separately. UIA coverage and timing remain application- and
provider-dependent, especially browsers without document URLs, elevated or
cross-process UI, and unknown native frameworks. The implementation is not a
claim of Codex-equivalent coverage. No private history, credentials, model
requests, or live screenshots were used in the public fixtures.

Keep this PR Draft. Interactive Windows acceptance, newer-main integration,
current CI, and independent human approval remain required before merge.

@hqhq1025

Copy link
Copy Markdown
Contributor Author

Windows Runtime Validation And Recovery Fixes

Revision 7d58632396b8864fde17fb171dc1ef647c868680 keeps the PR Draft.
This backend-only follow-up does not change the renderer, model picker, or
permission UI.

Verified Causes And Changes

  • Windows can return ERROR_PIPE_BUSY when the native ownership pipe already
    exists. Treat it as occupied, alongside first-instance access denial, and
    exercise both Node/native directions against the actual Windows kernel.
  • Node's kill-on-close Job terminated the recorder before final sealing when
    main died. Spawn the Windows recorder detached from that Job while retaining
    its ChildProcess, stdin and native parent watchdog. Actual parent-death tests
    retain stdin independently and require sealed storage and released ownership.
  • Global window-destruction events incorrectly split source identity. Only
    destruction of the retained source HWND rotates its window generation; other
    destruction conservatively invalidates pending content. Pure edits retain
    their source identity.
  • A cancelled capture had already consumed its dirty marker and could wait for
    the fifteen-second idle heartbeat. Retain unsettled generations for fresh,
    rate-limited retries. Completed observations do not turn unrelated idle
    destruction into work. Preserve the three-second gate, failure backoff and
    all final admission checks.
  • Reduce redundant UIA round trips with fresh element-scoped identity and
    visibility caches. Do not prefetch names or values before privacy admission.
    Keep optional leaf ValuePattern absence distinct from provider failure, and
    classify UIA timeout explicitly. Provider calls use 250 ms bounds; the 700 ms
    traversal and independent two-second worker deadline remain.

Executed Validation

Windows 11 x64, Node 24.18.1 and MSVC, September 15, 2026:

  • 54 native tests passed; the release helper rebuilt on Windows.
  • All 10 Node/native ownership, path-validation and shutdown tests passed.
  • The actual WinForms matrix passed in 96.7 seconds: body changes, same-title
    HWND switching, pure-edit identity, long Chinese/supplementary Unicode,
    password/plaintext changes, private-title suppression, pause/resume,
    text-disabled metadata, application exclusion and EOF sealing.
  • The strengthened blocked-provider case first observed a recorder failure.
    After release, new body was persisted in 5.45 seconds and fresh zero-failure
    status arrived from the same recorder in 7.40 seconds. Cleanup was clean.
  • The pre-fix diagnostic observed readable standalone snapshots while the
    recorder delayed new content by 17.4 seconds. Removing epoch retry also
    makes the deterministic scheduling regression fail.

Local validation:

  • Desktop main build passed; main/ownership tests passed 119, with two
    Windows-only cases skipped locally. The Windows kernel suite above is
    separate executed evidence.
  • Pure Rust tests passed 47; Windows-target Clippy passed with warnings denied.
  • Build-helper tests passed 7; scoped Biome, Rust formatting, ASF headers and
    whitespace checks passed. Interactive/browser harnesses skip without opt-in.
  • Accepted synthetic Windows JSONL traversed production evidence projection,
    summary coordination and the existing Coproxy Astra connection. One actual
    model call produced canonical Markdown with keywords; readback and restart
    passed without another model call. This was not full Electron acceptance.

Coverage Gaps

The final Edge 151.0.4129.93 matrix has nine semantic failures and one passing
snapshot-only/no-files case. A visible descendant belonged to Edge's GPU child
process; a separate diagnostic found no valid Document source URL. No browser
process or document authority was added or weakened.

Password and private-title tests now require matched same-document controls.
They fail at the useful baseline in this environment, so their negative and
recovery phases are not accepted coverage. A null snapshot alone does not
prove browser privacy protection. Both fresh-profile Edge instances closed
normally. Browser provenance adaptation remains required.

The lab account had High integrity because the image disables UAC, despite a
Limited scheduled task. Ordinary-user, locked-session and packaged Electron
coverage remain unverified. All fixtures used isolated synthetic homes; no
personal history, browser profiles, raw private content or reverse-engineered
third-party files are included in the PR. Owned test processes/tasks were
cleaned up; the VM remains running.

Local Self-Review And Readiness

Reviewed the complete delta, callers, new fixtures, privacy/source fences,
shutdown ownership, scheduling, regression strength, type build and lint.
Independent agent review additionally identified the lost retry and weak
password controls; those issues are addressed and rerun as described above.
No further actionable issue was found in the implemented native-window scope.
The two-field scheduler replaces redundant clocks; no broader refactor or
duplicate test layer is needed.

This is not independent human approval or a claim that the whole PR is ready.
Keep Draft. Browser support, remaining runtime acceptance, newer-main
integration, current CI and another person's approval remain required.

@hqhq1025

Copy link
Copy Markdown
Contributor Author

Windows browser and native-text follow-up

This backend-only revision adds measured Edge and WPF body coverage. It does not change the frontend, model configuration, consent defaults, retention, or the shared summary pipeline. The PR remains Draft.

Root causes and changes

  • Whole-window Edge traversal reached a GPU-owned pane before the page. Capture now starts at the outermost Document on the focused element's verified ancestry to the selected window. Same-PID, document URL/domain, password, root, focus and final-tree checks remain.
  • Chromium accessibility initializes asynchronously. Bounded ordinary metadata queries on one verified content host can initialize it; later workers independently admit actual page content. No forced-accessibility flag, subprocess allowlist or address-bar URL fallback was introduced.
  • An iframe wrapper can share the UIA Document role with its actual child. Only an absent ValuePattern and a verified single Document child permit the textless wrapper; each actual document still owns and checks its URL.
  • WPF TextBox owns a scalar ValuePattern despite ScrollViewer template children. Its value is deferred until complete native-window validation, guarded before/after, and followed by another tree check. Generic parent TextPattern aggregation remains prohibited.
  • IA2 document/text events now use the existing foreground-root filter, epochs and three-second rate gate. Same-window edits preserve the source UUID.
  • A subsequent iframe timeout exposed excessive metadata round trips. Fresh type/framework/state batching reduces those calls while keeping the original narrow sensitive-read visibility request. Capture budgets were not increased.

Executed validation

Actual Windows 11 build 26200, Edge 151.0.4129.93, Node 24.18.1 and Rust/MSVC 1.95.0:

Validation Final result
Native kernel/store/lifecycle tests 54 passed
Node/native ownership, EOF and parent-death tests 10 passed
Edge xj9Teh All 11 cases passed in 44.01 s
WPF 4frkEO All 5 cases passed in 32.86 s, peer diagnostics disabled
WinForms recorder 6WiP4E Full matrix passed in 91.14 s; recovered body 2.43 s after UI release

The Edge matrix includes real body/origin, same-origin navigation, matched password/title changes and recovery, blocked page/iframe domains, real neutral-title InPrivate, text-off/on, and a fresh-profile recorder with no snapshot warm-up. The added DOM iframe-focus case blocks only the parent, requires complete suppression, then restores both useful bodies without navigation. It does not independently attest the UIA focused-element object.

The recorder case checks actual body fields, exact PID/HWND/domain, nonempty UUID identity, replaced-text removal, complete JSONL, matching sealed metadata, stopped runtime and released ownership. The final cold body arrived in 3.53 s; the same-window edit arrived in 3.61 s, versus 15.58 s before document/text notifications.

Failure evidence is retained: 6vofWh passed ten cases but its allowed iframe hit the 700 ms native budget at 739.90 ms including launch. After metadata batching, nM5Evc passed all eleven with a 655.45 ms iframe baseline; the final stronger matrix also passed. These are measured improvements, not worst-case guarantees for arbitrary pages.

Local pure Rust tests (47), Windows-target Clippy with warnings denied, helper-build tests (7), JS syntax/opt-in discovery, Biome, ASF headers and whitespace checks passed. Opt-in Windows suites skip on macOS; their runtime results above came from Windows.

The final diff received local self-review and independent browser/native-source review. No remaining actionable blocker was found in this delta; no new provider layer or broader refactor was needed.

Remaining limits

  • The VM account has High integrity with UAC disabled. Ordinary-user/UAC-on, locked-session and packaged Electron acceptance remain unverified.
  • Coverage is specific to the tested Edge and standard WinForms/WPF controls. Modern Notepad, Office, Firefox, Electron/WebView2 and larger/custom trees remain separate gates.
  • Private-window detection remains a title heuristic. Sequential UIA checks are not an atomic tree transaction.
  • A newly staged executable showed about 24 s of delay before native entry. The cause is unconfirmed; no security-software exclusion was added.
  • Windows still lacks macOS typed/click/submission evidence and native app-icon/name enrichment. A changed body is not proof of a user action.
  • The existing Astra-to-Markdown production-path canary was not rerun in this delta. No packaged UI/model E2E is claimed.
  • Newer-main integration, current CI and independent human approval are still required before merge.

All desktop content was synthetic and used isolated homes/profiles. Owned recorders, fixtures and browsers exited; completed lab tasks were removed. Raw evidence/profiles and local research notes are not included in the commit.

@hqhq1025

Copy link
Copy Markdown
Contributor Author

macOS VM body capture and current Codex reference

Revision: 63281490612318511ea264d493b744d556c14cbb.

This follow-up fixes four causes found through isolated synthetic acceptance:

  • Directly launched Chrome can have no LaunchServices launchDate. Window
    identity now uses kernel PID/start time plus AX window equality, rechecked
    after capture. Same-title windows remain distinct; PID reuse cannot restore
    an earlier process identity.
  • Reading the owned application's AX role before its focus initializes
    Chromium's native accessibility provider on cold startup. No accessibility
    mode attributes are written and no forced-renderer-accessibility flag is used.
  • Unfocused read-only document values were capped at 400 bytes. Admitted
    AXValue leaves now retain up to 8 KiB, bounded by the unchanged 32 KiB tree,
    node, depth and traversal limits. UTF-8 and JSON-escape expansion are bounded,
    valid prefixes are retained, and clipping is marked.
  • Control-focus notifications discarded retained delivery fingerprints.
    They now invalidate pending input/callbacks while preserving committed
    deduplication. Actual window/source transitions still produce events.

Controlled Validation

The macOS 26.3 x86_64 VM used only synthetic AppKit fixtures and isolated Chrome
profiles. The exact 26a4246e55a7b4ef1fbbe76a7f748684b321ba0b baseline and
corrected helper ran against the same Chrome 153.0.8010.36.

Acceptance Result
Baseline fxLr93 All six useful-body/recovery cases failed; no ordinary body. Owned processes exited cleanly.
Corrected Chrome ylZCZ6 All six cases passed in 35.219 s, with sealed output and empty owned process groups.
AppKit reader 3_nl__ld Long tail retained, same-window edit identity stable, zero duplicate window changes across four control-focus transitions, same-title windows distinct, return identity preserved.
Privacy and recovery Allowed sibling retained beside blocked iframe; focused password and paused content absent; fresh body recovered afterward.
Production summary projection Actual 10 browser and 14 reader records retain long-tail evidence with text consent; no body without consent; exclusions remain enforced.
Local tests 68 Swift tests and 13 evidence/helper-build tests passed. Intel helper cross-build, ASF headers and whitespace checks passed.

Chrome same-page updates were observed in 2.759 s and the long-body case in
3.062 s. The 305 ms cold-case measurement starts after recorder readiness, not
browser process launch. These are controlled timings, not worst-case guarantees.
An earlier Chrome run passed semantic checks but failed cleanup because an
updater inherited log pipes; it is retained as failed evidence. Regular-file
logs and bounded owned-process checks resolved that harness issue. Chrome
updated during investigation, so the same-version pair above is the acceptance
comparison; the earlier Chrome 146 failure is not used as its baseline.

Reference And Limits

Read-only inspection pinned Codex desktop 26.908.70816/9275 and native service
26.913.1001067/1001067. The installed app, service and client are arm64-only;
no Intel-compatible History distribution was verified. Current socket IPC is
CodexComputerUseIPC-5; Desktop controls use a separate PID-addressed Apple
Event bridge. Historical IPC-2 fixture parity is not current-build acceptance.
Current Codex and Maka therefore did not run side by side in this Intel VM.

The VM inherited existing permissions and reported APFS errors during boot.
Its bundled Swift manifest toolchain failed before compilation, so XCTest ran
on the host and the cross-built Intel helper ran in the guest. Fresh packaged
permission onboarding, real-user/locked-session coverage, other app families,
latest model-generated Markdown and Electron rendering were not revalidated.
No frontend, model configuration or Windows code changed in this follow-up.

Final self-review and independent agent review found no remaining actionable
issue in this delta; two weak test assertions were corrected. This is not human
approval or whole-PR merge readiness. Raw evidence, profiles and operator notes
remain untracked. The PR stays Draft; current CI, newer-main integration,
packaged acceptance and independent human approval remain required.

@hqhq1025

Copy link
Copy Markdown
Contributor Author

Computer History Follow-Up, September 16

Revision: 6a32c2b992217274b593e84971b86825cf055450, normally pushed after
integrating upstream 27add3049 with feature snapshot 37d2845b9.
The PR remains Draft.

Changes

  • Harden native action/selected-item capture, source/privacy checks,
    cancellation and capture-to-storage boundaries. Windows observation-only
    leases retain selected-item monitoring without granting physical-input
    authority; RichEdit reads remain bounded.
  • Preserve observations across bounded retrieval pages and summary dependencies
    across replacement/deletion without widening aggregate limits.
  • Support exact packaged Windows application IDs in recent choices, manual
    exclusions and metadata lookup.
  • Preserve upstream overlay ownership, search lifecycle and Work Board commands
    alongside History settings and local draft handoff. Migrate Storybook off the
    deleted settings hook and replace the raw group opener with Astryx Button,
    retaining the chosen layout and behavior.
  • Use protocol epoch 159 for the combined contracts, rejecting incompatible
    upstream 157 and pre-merge History 158 peers.

Verification

These are separate, overlapping suites; counts must not be summed.

Check Result
Final complete Desktop typecheck PASS: preload, main, renderer and Storybook
Final complete Desktop build PASS: native resources, main, preload, overlays, renderer, entry and notice checks
Merged Desktop suite before final primitive/story changes 559 passed; 2 Windows-only skips
Fresh emitted page/draft/overlay suite after final changes 43 passed; no skips
Host build/typecheck and epoch-159 handshake/History suite PASS; 21 tests passed
Architecture and surface inventory Strict upstream check and 112 checker tests passed; regenerated 294-file inventory passed
Repository guards Staged Biome, whitespace, epoch 158-to-159 guard and commit hooks passed; official scoped ASF audit clean, excluding only noncommit root output/ and .playwright-cli/

Actual merged Electron composition passed nine check groups with 14 synthetic
screenshots: History gear opens SettingsModal; model/permissions return restores
focus; Escape and Return to app restore the gear; settings blocks underlying
draft actions; confirmation appends exactly once to the local composer while
preserving its draft. Provider detail/catalog state clears on reopening.
Layouts were inspected at 1240 x 820 and 800 x 720. Forbidden History mutations
and permission actions: zero; owned processes exited.

Those Electron captures precede the final group-button primitive change.
Separate current-primitive validation passed 27 component tests and browser
keyboard, focus, disclosure and day-reader checks; eight matched screenshot
pairs had identical decoded pixels. The final build includes that change.

The broader Host batch retained two process-timing failures alongside 239
passes; both tests passed unchanged in isolation. Their cause remains unresolved,
so the original failures are not presented as a clean batch.

Native Evidence And Readiness

  • macOS: fresh synthetic AppKit selected-items run s119C7 passed in 52.467
    seconds. Text and metadata modes each passed five positive and five negative
    cases and sealed 12 events. Actual append-end checkpoints, independent export
    replay, cleanup and original container identity/pause readback passed.
    Earlier failures remain unchanged. This validates selected items for that
    generation, not general physical input or platform parity.
  • Windows fresh generation final-native-fixture-timing-20260916: MSVC own-crate
    tests passed 228 with zero failures and two expected interactive-hook tests
    ignored. All three formerly failing tests passed. Own-crate release compilation
    succeeded; native Node passed 17 with zero failures or skips. The 56-file export
    retained original logs and receipts; all 21 exported sources matched the frozen
    archive by exact bytes. Independent cleanup found all six tasks Ready and no
    owned processes; native215 and the earlier failed generation were unchanged.
    Native Clippy was unavailable and skipped, so fullPipelinePassed=false
    remains explicit. No foreground fixture ran in this build validation.
    Fresh selected-items acceptance is next and remains pending.
  • The preceding Windows generation remains recorded as 225 passed, 3 failed,
    2 ignored; release and native Node checks were not reached. The successor
    moves test fixture preparation before lease timestamps, preserving production
    limits and assertions. Deterministic replay failed all three cases before and
    passed all three afterward; host-side tests and Windows GNU Clippy passed.
    This evidence does not replace the fresh MSVC result.
  • The no-input challenge preflight passed once in 50.60 ms within the unchanged
    750 ms limit. It sent no physical input and is not WPF acceptance.

This is source integration and scoped validation, not complete Windows/macOS
or Codex parity. Windows selected-items/RichEdit/input acceptance, typed
characters/IME/WinUI, cross-control drags, WPF UTF-16 metadata, ordinary-user/UAC,
packaged capture-to-conversation and matched current Codex parity remain open.
GitHub currently reports no check runs for this head; CI is not a pass. Current CI, final native evidence and independent human approval remain required
before merge readiness. Review was requested again from @Astro-Han after this push. No PR merge or
auto-merge is requested.

Matched Screenshots

Application-ID pairs use production components with synthetic services and
labelled synthetic names/icons, English, light mode, DPR 1, 100% zoom and matched
fixture/time/scroll state at 1280 x 900 or 430 x 900. Before substitutes only
three ID validators from c73755700805efddce0411f2fdd92f7994e327b6.
All 12 captures and 56 behavior/asset checks passed; these do not establish
native icon lookup or recording.

Application-ID State Before After
Desktop recent choices Before desktop recent After desktop recent
Desktop manual exclusion Before desktop manual After desktop manual
Desktop saved exclusions Before desktop exclusions After desktop exclusions
Narrow recent choices Before narrow recent After narrow recent
Narrow manual exclusion Before narrow manual After narrow manual
Narrow saved exclusions Before narrow exclusions After narrow exclusions

Group-button pairs share synthetic content, light theme, DPR 1, 100% zoom and
fixed displayed time. Before substitutes only the raw opener and associated
styles; after uses Astryx Button. Paired decoded pixels are identical.

Group Opener State Before After
Desktop six-hour list, 1240 x 820 Before desktop group button After desktop group button
Narrow day list, 390 x 844 Before narrow group button After narrow group button

See screenshot provenance.
Captures contain no private activity or credentials and performed no native
recording, real settings writes or model calls.

@hqhq1025

Copy link
Copy Markdown
Contributor Author

Fresh Windows Selected-Items Acceptance

Follow-up to the current revision report.
The head remains 6a32c2b992217274b593e84971b86825cf055450; no further code
change was needed for this run.

The single synthetic WPF selected-items run against
final-native-fixture-timing-20260916 passed in93.329 seconds. It covered
two selected rows, clear, reselect, identical-label item/control replacement,
dynamic values/leaves, text-off roles-only metadata, restored text, password
suppression/recovery and application exclusion/recovery. All11 positive
scenarios passed. Both denied intervals retained unchanged event counts.

Independent sealed readback verified14 ended segments and17 events, complete
JSONL, exact metadata counts, distinct segment-local event identities and
all11 accepted events unchanged. Denied synthetic markers were absent.
Runtime stopped with zero capture failures. All63 evidence files were exported;
packet/source/helper comparisons used exact bytes. Independent cleanup found
all six tasks Ready, no owned processes and unchanged helper bytes.

No physical input was sent. This is selected-item capture evidence for the
tested WPF provider under the existing administrator token, not ordinary-user/
UAC validation or RichEdit/WPF keyboard acceptance. The prior native215 clear
timeout remains preserved as failed evidence. Native Clippy, current CI,
broader parity and independent human approval remain open. Keep Draft.

@hqhq1025

Copy link
Copy Markdown
Contributor Author

Current Checkpoint And Rich Cold Failure

Documentation-only head 7d3e691fc546498a6931dcb8e30c6ac3b36ebd67
records the current acceptance boundaries. Production source remains the
reviewed 6a32c2b99 revision.

The single clean-release RichEdit cold attempt failed before first body
acceptance: the recorder reported one capture failure; both ended segments
contained zero events. The outer wrapper exited1 in27.582 seconds without
timing out. Fixture show, paused recorder startup and resume completed; no
physical input or warmup probe was used.

The uninstrumented result does not identify a provider operation or prove
that the earlier700ms traversal-budget cause recurred. Original deadlines
and privacy checks were not widened. No retry was performed.

All54 evidence files were exported; the30 frozen packet files and helper
matched exact reviewed bytes. Recorder and fixture exited normally, and
independent cleanup found all six tasks Ready with no owned processes.
This remains failed Rich coverage, separate from the successful selected-items
run. Native Clippy, WPF keyboard acceptance, broader parity, CI and independent
human approval remain open. The PR stays Draft.

@hqhq1025

Copy link
Copy Markdown
Contributor Author

Traced WPF Acceptance Checkpoint

Current head: c918a2418cd28acb21bf346cffeda5abed4d94a4.
This is a documentation-only update; the native helper remains the
final-native-fixture-timing-20260916 generation.

One synthetic WPF attempt captured and sealed its initial useful body with
zero capture failures, but failed the first Return receipt. The guest phase
ended in 39.734 seconds, exit 1, without outer timeout.

Complete CPU, guest-reader and publication traces establish one challenge
replacement and no guest nonce forwarding, witness, admission, sent key or
fixture receipt. The guest read the empty sidecar 26 times, then observed its
absence. This locates the acceptance failure in challenge delivery, but does
not establish a particular SMB/cache cause or a recorder input defect.
No physical input was dispatched; Ctrl+A and later cases were not reached.

The 72-file export passed exact packet/helper comparisons, full trace
sequence/footer checks and sealed-history verification. Both segments ended
normally; the only event is the accepted body. CPU and guest cleanup passed,
all six tasks are Ready, and the helper is unchanged. No retry was performed.

Before execution, review found and repaired a harness race where a queued
ready callback could publish after a poll error. The old-source composed
regression reproduces it; the correction invalidates authorization immediately
and checks current request/owner/health before publication. Local checks passed
14 packet tests and six harness tests with one explicit native skip, followed
by independent review and native PowerShell parsing.

Rich cold failure attribution and WPF physical-input acceptance remain open.
Native Clippy remains unavailable, current CI has no reported check runs, and
ordinary-user/UAC, packaged end-to-end use and broader parity remain separate
gates. The PR stays Draft and is not merge-ready.

@hqhq1025

Copy link
Copy Markdown
Contributor Author

Single cold text-capture diagnostic

The separate instrumentation-only generation passed 232 MSVC tests (2 ignored),
release compilation and 17 native Node tests. Native Clippy remains unavailable;
the explicit diagnostic-only exception does not change fullPipelinePassed=false.
Production collector source was not modified.

One no-input, no-warmup cold attempt failed after 28.092 seconds, without an
outer timeout. The first body assertion observed captureFailures=1.

Two complete numeric streams identify local 700 ms budget expiry during final
visible-text validation. Capture completed in 701.480 ms; the single worker's
reader reached EOF and the parent classified failure while authority remained
current. The endpoint-comparison closure can synthesize UIA_E_TIMEOUT at its
intermediate local deadline checks, so that category is not proof of an external
provider timeout. Main decoded the frozen evidence independently; a second
source review agreed with this causal boundary.

The complete 65-file export was compared byte-for-byte. Both empty history
segments were sealed, scoped cleanup passed, six scheduled tasks were Ready,
and all three protected helpers were unchanged. No retry was performed.

This diagnostic establishes local budget exhaustion for this instrumented run,
not a uniquely faulty provider call, clean-release timing, or a verified
production fix. Cold body acceptance and the separate WPF input-delivery
acceptance remain open. Privacy checks and deadlines are unchanged.

The PR remains Draft and is not merge-ready. CI has no reported checks at the
verified head; no CI pass is claimed.

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This computer history spike has been outdated for a while, maybe we could discuss again on this feature.

@github-actions github-actions Bot added the stale No qualifying activity within the lifecycle policy window label Oct 17, 2026
@github-actions

Copy link
Copy Markdown

This pull request has had no new commits for 30 days and has been marked stale. It will be closed in 7 days unless a new commit is pushed.

Comments do not reset this timer: only a new commit does. If the pull request is intentionally long-lived, a maintainer can apply the pinned label.

@github-actions

Copy link
Copy Markdown

This pull request has been closed because it received no new commits during the 7-day grace period. This is not a judgement on the merit of the change; it only keeps the review queue aligned with work that is actively in flight.

The branch and review history are preserved. Push a new commit and reopen the pull request whenever the work is ready to continue.

@github-actions github-actions Bot closed this Oct 24, 2026
M4n5ter added a commit that referenced this pull request Nov 27, 2026
Sync vendored third-party/nsh from 3f8ecd8b3 (0.7.0) through
a901baa2e (0.7.2 + post-0.7.2 fixes):

- Remove superseded local patches now provided upstream and migrate
  consumers to upstream canonical APIs:
  - nsh-engine / ios-shell: HostCall::sender() -> HostSender (#3357)
  - nsh-ios-host / nsh-platform-ios: AppOptions::host (#3354) and
    touch.rs gesture cancel fix (#3420)
  - TextView renderImage(image, context) & terminal images (#3359,
    #3260, #3372, #3290)
  - nsh-bundler / nsh-cli / ui-build: default unresolved-import errors
    (#3425)
  - nsh-core: list display: none retention (#3193) and touch-selection
    (#3380)
  - nsh-platform-macos: file_drop (#3385) and mount (#3386) cleanups
  - nsh-platform-windows: richedit.rs window-specific IME association
    (#3411)
- Preserve upstream RichEditor onReadonlyInput behavior (#3371) with
  opt-in readonly_sink for Maka's embedded composer.
- Fix a Windows RichEdit caret-alignment regression introduced with
  follow-on-draw (#3411): translate the cached caret when the client
  rectangle shifts (with a regression unit test).
- Update third-party/nsh provenance (upstream.json, SOURCE.md),
  Cargo.lock files, LICENSE, and CLI dependency notices.

Generated-by: Maka (Gemini)
M4n5ter added a commit that referenced this pull request Nov 27, 2026
Sync vendored third-party/nsh from 3f8ecd8b3 (0.7.0) through
a901baa2e (0.7.2 + post-0.7.2 fixes):

- Remove superseded local patches now provided upstream and migrate
  consumers to upstream canonical APIs:
  - nsh-engine / ios-shell: HostCall::sender() -> HostSender (#3357)
  - nsh-ios-host / nsh-platform-ios: AppOptions::host (#3354) and
    touch.rs gesture cancel fix (#3420)
  - TextView renderImage(image, context) & terminal images (#3359,
    #3260, #3372, #3290)
  - nsh-bundler / nsh-cli / ui-build: default unresolved-import errors
    (#3425)
  - nsh-core: list display: none retention (#3193) and touch-selection
    (#3380)
  - nsh-platform-macos: file_drop (#3385) and mount (#3386) cleanups
  - nsh-platform-windows: richedit.rs window-specific IME association
    (#3411)
- Preserve upstream RichEditor onReadonlyInput behavior (#3371) with
  opt-in readonly_sink for Maka's embedded composer.
- Fix a Windows RichEdit caret-alignment regression introduced with
  follow-on-draw (#3411): translate the cached caret when the client
  rectangle shifts (with a regression unit test).
- Update third-party/nsh provenance (upstream.json, SOURCE.md),
  Cargo.lock files, LICENSE, and CLI dependency notices.

Generated-by: Maka (Gemini)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

effort/XXL Over 2500 readable lines stale No qualifying activity within the lifecycle policy window

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants