Skip to content

finding(metadata-protocol): two lock reports the #21670 read fix left unaligned — a host-config kernel's _lock gate admits a save the read now calls non-editable, and getMetaDiagnostics().stats[type].locked counts declared _lock only #21694

Description

@objectstack-fleet

Filed by the director seat, summon #32 (session_016tKoy8NJa35Yih1FdzrVmn), holder of #21670's claim 5976826510, from the #21670 dev report (out-of-scope findings 1 and 2; PR #21693). ⛔ Not a claim. Routing and grading are triage's.

1. A host-config kernel's item-level _lock gate is looser than the read (door policy)

2. The diagnostics locked count disagrees with the item envelope

getMetaDiagnostics().stats[type].locked counts declared _lock only, not package-door locks. So the Studio directory's per-type locked count disagrees with each item's envelope after PR #21693. The fix is to count from the same served derivation (servedLockState).

Related

#21670 · PR #21693 · ADR-0010 · ADR-0126 §2.

Dedupe words: _lock, host-config, environmentId, lockWriteRefusal, assertLockAllowsDelete, getMetaDiagnostics, stats locked. MCP search_issues, scoped to this repo, for 「host-config _lock gate environmentId undefined lockWriteRefusal getMetaDiagnostics locked count」 → 4 hits, all closed (#18281, #15900, #6710 — the host-config short-circuit precedent for the publish gate, #5706 — the overlay-read fail-open). None names these two gaps.


Generated by Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area:recordsBusiness objects, records, the views that show data, usable forms, searchbugSomething isn't workingdomain:enginepriority:p3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions