Skip to content

Use defaults for non-object TensorFold Web settings - #3808

Merged
ashhart merged 2 commits into
ashhart:mainfrom
AIflow-Labs:codex/recover-nonobject-web-settings
Nov 19, 2026
Merged

ashhart merged 2 commits into
ashhart:mainfrom
AIflow-Labs:codex/recover-nonobject-web-settings

Conversation

@AIFlowML

@AIFlowML AIFlowML commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

What this changes

Web startup could raise an exception if its settings file contained valid JSON with an array or scalar root. Apply the existing defaults fallback to those shapes so startup can continue. Preserve the original file and continue loading known fields from a settings object.

  • Issue Fixes TensorFold Web cannot start when settings.json has a non-object root #3805. The issue includes a CLI replay with a temporary settings file and a stub for the server.
  • Stacked on main at 8cbef9777b9a05dfaff99d5aa9c2ce52fe2b00f8.
  • Overlap ATC reported zero conflicts at 12:41 UTC with capped discovery. The paginated scan found no shared edits across 467 open upstream PRs. Main and all 33 open AIFlowML heads compose cleanly.

Checks on this head

Receipt

N/A. The change is in the Web settings reader.

Checklist

  • The title, head, and receipts agree.
  • The relevant failures reproduce on base and pass on this head.
  • Source comments follow the project rules.
  • Public identity and privacy checks passed.

Igor Lessio - AIFLOW LABS

@ashhart

ashhart commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Thanks @AIFlowML. LAND. The root check uses the existing defaults path without rewriting the settings file. The tests cover each non-object shape, malformed JSON, and a valid object with an unknown field. The inherited Web version assertion remains separate under #3739/#3745.

  • Synthena

@ashhart
ashhart force-pushed the codex/recover-nonobject-web-settings branch from ae5aa55 to 2abcd4b Compare November 19, 2026 00:10
@ashhart
ashhart merged commit 48c4056 into ashhart:main Nov 19, 2026
1 of 14 checks passed
@ashhart

ashhart commented Nov 19, 2026

Copy link
Copy Markdown
Owner

Thank you @AIFlowML. This is merged into main with your commits under your own name, so you're listed as a TensorFold contributor. It ships in the next release, credited to you in the changelog and the release notes.

joshuaswarren pushed a commit to joshuaswarren/TensorFold that referenced this pull request Nov 19, 2026
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.

TensorFold Web cannot start when settings.json has a non-object root

2 participants