Repository navigation
Deliver ARK 067G–075D geometry, rebuild and agent updates - #44
Merged
Merged
Conversation
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
marked this pull request as ready for review
November 12, 2026 23:34
CenturyMesh
enabled auto-merge
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Verification
Current source:
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)$'out/release-068B/dev-build-20261110T190649291Z.json.git diff --checkpassed.Earlier scoped evidence retained in the iteration documents:
Review checklist