Repository navigation
Conversation
Signed-off-by: Rudy Celekli <[email protected]>
Signed-off-by: Rudy Celekli <[email protected]>
Signed-off-by: Rudy Celekli <[email protected]>
|
CI follow-up (Codex assisting on behalf of @rudycelekli): shard 1 exposed an introduced regression in The full relevant semantic, graph and return-projection selection passes 281 tests across 14 files, including the failing suite and the existing mutation/copy controls. Production build, check and check:fast pass with 122 existing lint warnings and zero errors. The actual built CLI and an npm-packed CLI both retain TOKEN while the changed count remains unknown. The packed consumer reused the frozen dependency runtime; that is distinct from the complete package install verifier, which is being attempted separately. New hosted CI is pending, and the previous run remains failed. |
|
The two red checks are the same failure.
I can't push to this branch (403 on // source.count = 2 makes the initializer-derived object unknown, so TOKEN
// is no longer a definite literal seed. Structural flow is asserted above.
expect(literal.status).toBe("partial");
expect(literal.summary.total_seed_matches).toBe(0);Verified locally: |
|
Package verification follow-up (Codex assisting on behalf of @rudycelekli): the complete repository |
|
Thanks for tracing the shard failure. Codex is assisting on behalf of @rudycelekli. The updated signed head |
|
Reviewed: pre-pass mutation-path collection + slot-only invalidation is well-scoped and domain-pure — 17 mutation shapes report unknown instead of stale literal while 11 unaffected-property cases keep sibling facts (answers the overly-broad-invalidation failure). Traced collection-after-definitions, path<2 guard for copied primitives, cycle protection, single binding factory, and lexical shadowing — all correct, erring toward unknown is the safe direction. Strongest coverage of the batch (34 regressions + 281-test focused run). APPROVE. Advisory follow-up: document known-untracked channels (Object.assign, Reflect.set/deleteProperty, cross-function param writes) as out-of-scope so future stale-literal reports triage as uncovered-channel. |
Review — APPROVE (one advisory follow-up)SummaryAdds a pre-pass ( Verification
Advisory (non-blocking)
|
Signed-off-by: Rudy Celekli <[email protected]>
|
Thanks for the review. Codex is assisting on behalf of @rudycelekli. Signed head |
|
Rebased onto current main via merge (6b7412f), picking up the merged #764 empty-key migration, #769 builtin defaults, and #794 promise-ownership changes that touch the same semantic files. Auto-merged with no textual conflicts; verified the combined suite: member_mutations + empty_keys + graph builder + builtin defaults + promise ownership + reference import — 111/111 passed, plus npm run check 5/5 and check:fast. The path-prefix invalidation and empty-key handling coexist cleanly. |
|
Thanks, @rudycelekli, for your work on “fix(javascript): keep mutated object initializer values unknown.” I appreciate your contribution to REA. |
…uto#752) * fix(javascript): keep mutated object initializer values unknown Signed-off-by: Rudy Celekli <[email protected]> * fix(javascript): retain copied slots while following nested mutations Signed-off-by: Rudy Celekli <[email protected]> * fix(javascript): retain facts for unchanged object properties Signed-off-by: Rudy Celekli <[email protected]> * docs(javascript): state untracked mutation channels Signed-off-by: Rudy Celekli <[email protected]> --------- Signed-off-by: Rudy Celekli <[email protected]> Co-authored-by: morluto <[email protected]>
What changes
Keep affected initializer-derived object and array slots unknown after explicit property mutations. The public JavaScript application analysis command previously reported a definite
"initial"return value for a function that first assignsoptions.mode = "updated"and then returnsoptions.mode.The analysis remains execution-free. Mutation tracking follows lexical aliases and nested shared references, including destructuring and spreads, while preserving primitive copies, shallow spread source slots, unrelated shadowed bindings and immutable controls. It conservatively invalidates affected property paths rather than inventing the value after a write, while retaining facts about unchanged properties.
Verification
Real built
rea analyze-javascript-applicationagainst an extracted application: direct, nested-spread and conditional shared-reference fixtures publish stale literals on main and unknown fields after the fix.Native Node execution provides the independent runtime result for both conditional branches. A shallow spread copy retains the original object's scalar slot in the CLI result before and after; conditional object branches remain unknown.
New regression file: 16 failures on main with five controls passing; The current regression file passes 34 tests, including unaffected-property and shared-reference controls added after hosted CI exposed an overly broad invalidation.
Fourteen focused semantic, graph and exported-return projection files: 281 tests pass, including the original graph assertion retaining three TOKEN seed matches.
Production TypeScript build,
npm run check,npm run check:fast, andgit diff --checkpass. Lint retains 122 existing warnings and reports zero errors.Node 24.18.0 and the current lockfile's direct package versions, with three integrity-verified leaf packages installed in an isolated runtime. No package or lockfile source changes.
The complete native package verifier passes on signed head 6a355b0 in 71.87 seconds: real npm-packed installs into two isolated temporary prefixes, CLI/MCP workflows, setup/readback/update and startup checks. Its owned temporary npm cache and prefixes were cleaned afterward; no user-global installation was changed.
No CLI/MCP schema or generated catalog changes. Full deterministic coverage remains with hosted CI.
AI assistance: implemented and independently source reviewed with Codex on behalf of @rudycelekli before publication.