Skip to content

Deliver ARK 067G–075D geometry, rebuild and agent updates - #44

Merged
CenturyMesh merged 22 commits into
mainfrom
codex/075d-agent-onboarding
Nov 13, 2026
Merged

CenturyMesh merged 22 commits into
mainfrom
codex/075d-agent-onboarding

Conversation

@CenturyMesh

Copy link
Copy Markdown
Owner

Problem and resulting behavior

ARK's local 067G–075D development includes geometry, rebuild, resource, installer and agent improvements that are not yet on main. This PR publishes that accumulated work for review: more granular geometry/assembly recomputation, expanded surface and extrusion authoring, adaptive resources, recoverable Claude authentication and current onboarding across providers.

The final source follow-up shares design-brief guidance between provider instructions and static guides: a concept is an intermediate checkpoint, failed operations must preserve design intent or expose the limitation, and requested engineering claims must distinguish measured evidence from assumptions. This is experimental guidance, not a demonstrated fix for the reported design-quality regression.

Scope and contracts

  • Related issue: none.
  • Roadmap: A.02, A.03, A.04, B.01–B.05, C.04, D.02, E.01 and F.03; per-iteration status and limits are recorded in docs/iterations/067G.md through docs/iterations/075D.md.
  • Includes design variants/review and drawing-library work, exact surface tools, incremental rebuild/cache changes, RAM/worker policies, growing edit/history storage, and region/offset/thin-wall extrusion workflows.
  • Preserves expected_revision, atomic publication, explicit rejection and native B-rep authority. Conditional persisted features retain their documented format gates.
  • release.json records the existing 075D / 0.9.76 iteration. The final guidance follow-up has no newly packaged runtime.
  • Draft: the cause of the reported agent design-quality regression and a matched live before/after comparison remain unresolved. The policy change must not be represented as restored design quality.
  • The preexisting Team review-button UI failure is documented in docs/iterations/075D.md and remains unresolved.

Verification

Current source:

  • Passed all six selected suites with:
    powershell -NoProfile -File scripts/dev-build.ps1 -Target Tests -BuildDirectory out/release-068B -TestRegex '^(onboarding-current-075d|assistant-connector|assistant-acp|assistant-claude-code|agent-workflow-033d|specialized-component-patterns)$'
  • Receipt: out/release-068B/dev-build-20261110T190649291Z.json.
  • git diff --check passed.
  • The initial guidance attempt failed one exact-text constraint assertion; the original constraint sentence was preserved, the test was not weakened, and subsequent runs passed.
  • The historical public airplane command file was replayed unchanged in an isolated installed 075D session: seven features evaluated without failure and all seven native B-rep validity reports passed. Its current snapshot was inspected. This is geometry-availability evidence, not autonomous design or flight qualification.

Earlier scoped evidence retained in the iteration documents:

  • 074B: 206 native/script suites and 29 affected Studio flows passed; UI captures and isolated upgrade/rollback checks were inspected.
  • 075D: eleven focused suites, two Single assistant UI layouts and isolated upgrade/rollback checks passed.
  • The additional Team blockers UI check failed on both the packaged 074B baseline and 075D; it is not claimed fixed.
  • These earlier results are not a fresh full-suite run at this PR head. Hosted CI, live model quality comparison and manufacturing qualification are not claimed.

Review checklist

  • The change follows AGENTS.md and relevant module contracts.
  • Document edits retain revision checks, atomicity and explicit rejection.
  • Applicable local checks and their limitations are recorded above; broader acceptance remains pending.
  • Documentation and affected roadmap status reflect the final behavior.
  • No credentials or private user drawings/conversations are included.
  • Dependency notices are preserved; the final source follow-up adds no dependency.
  • Release identity comes from release.json; the guidance follow-up does not change document versions.

Bruno Santos and others added 21 commits November 7, 2026 12:49
The 071D hardware probe read Linux available memory from
sysconf(_SC_AVPHYS_PAGES), which counts free pages only. After a large
build the page cache leaves little memory free while most of it can still
be reclaimed, so the policy saw almost no headroom: feature workers fell
to one, payload admission and the decoded candidate cache dropped to zero
and prepared candidates were evicted. Windows uses ullAvailPhys, which
includes reclaimable memory, so only Linux was affected.

On Linux the probe now reads MemAvailable from /proc/meminfo, the kernel's
estimate of memory usable without swapping, clamped to total RAM. It keeps
the sysconf value when the field is missing or malformed (kernels before
3.14). memAvailableBytes071D parses the text so the rule has a
deterministic test on every platform.

This targets the ten linux-native-occt failures on this PR (worker
eligibility, scheduler look-ahead, candidate refresh and Jacobian reuse),
all of which pass on Windows. Local: resource-policy-071d and agent-team
pass on Windows; the Linux block compiles under GCC -Wall -Wextra and
returns the expected bytes on a sample. Hosted Linux CI is the check for
the failures themselves.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
studio-parametric-graph-ui has exited with a main-thread stack overflow
(0xC00000FD) since 065F. Studio linked the default 1 MiB main stack and
its WinMain frame used about half of it; the UI thread also runs document
tools, so a large frame further down could exhaust the rest.

The same binary with only its reserve raised to 8 MiB (editbin) passed
the check, so the cause is headroom rather than the test's logic. Studio
now links with an 8 MiB reserve (/STACK on MSVC, --stack on MinGW). It is
address space; pages are committed on demand.

Local: the rebuilt Studio reports an 8 MiB reserve, and
studio-parametric-graph-ui, -parametric-role-ui, -chat-dock-ui,
-assistant-ui and -connectors-ui pass. studio-team-blockers-ui still
fails at its review-button assertion, unchanged and documented in 075D.
Hosted CI does not run Studio UI checks. 075D also records the Linux
MemAvailable fix from the previous commit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@CenturyMesh
CenturyMesh marked this pull request as ready for review November 12, 2026 23:34
…euse

With Linux budgets now read from MemAvailable, the 071D native cache
check reached its 512 MiB branch on Linux for the first time and failed:
it expects 140 retained decoded entries. NativeResultCache deliberately
disables persistent reuse outside Windows until the ELF dependency closure
has custody, and the decoded RAM tier is filled only from verified disk
hits, so Linux retains none. The earlier free-page reading had kept Linux
below 512 MiB and the check silently skipped.

Windows keeps the retention check. Elsewhere the test now asserts the
documented behaviour: no decoded entries and no retained bytes.

Linux CI at b63e93d: 194 of 195 passed, including all ten earlier
failures; this was the remaining one. resource-policy-071d passes on
Windows; the Linux branch is checked by hosted CI.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@CenturyMesh
CenturyMesh merged commit 940cf99 into main Nov 13, 2026
4 checks passed
@CenturyMesh
CenturyMesh deleted the codex/075d-agent-onboarding branch November 13, 2026 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant