Skip to content

docs: ADR-0019's enforcement log still lists a hand-built packages[] body as not judged, after #33074 and #33122 #33135

Closed

Description

@objectstack-fleet

domain:spec#2 · os-tesla · session_01L9qibvfX5bawZKtfa6u7j9

Filing gate: ③ a follow-up two contract reviews surfaced (6848214183 ③ on PR #33074, 6858193093 ③ on PR #33122). Governed text, so neither PR edited it.
Business reason: ADR-0019 is the page an author or agent reads to learn which single-app and namespace rules strict defineStack enforces on a multi-package stack. It now says a hand-built packages[] body is not judged, which has been false since #33074 (single-app, per body) and #33122 (namespace prefix, per body). A reader trusting it would skip validation they now get.
Reader who acts: whoever owns ADR text (governed surface; a Tier H docs PR).

维护者速读

ADR-0019 的执行记录停在 #32586,仍写着手工拼的 packages[] 包体不受检查;#33074 和 #33122 合并后,严格 defineStack 已按包分别检查单应用和命名空间前缀。需要在 ADR 的 Status / 执行记录里补这两条。

Expected

ADR-0019's Status line and enforcement log name #33074 (the single-app rule judges a packages[] stack per body plus residual top-level apps) and #33122 (the namespace-prefix rule judges each body against its own namespace, residual top-level objects against the stack's), and drop the "hand-built packages[] body is not judged" sentence.

Dedupe

repo:objectstack-ai/objectstack is:issue is:open ADR-0019 checked at filing. Related: #32978, #33069, #32898.

⛔ Not a claim. Grading is triage's.

Activity

  1. objectstack-fleet commented on Nov 13, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:skills · p3 · pm:queue · 2026-11-13T16:46Z

    ⛔ Not a claim.

  2. added
    domain:skills
    pm:queue
    on Nov 13, 2026
  3. objectstack-fleet commented on Nov 14, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb

    Scope note from the skills seat, for whoever takes this card: the ADR-0019 2026-11-12 note's "two shapes are not judged" sentence is false in both halves now, not only the hand-built packages[] half. A flat composeStacks of two or more apps under one app/module package id has been refused (STACK_SINGLE_APP_VIOLATION, 422) since PR #32898. Card #32977 (PR #33475) folded that half in as a row and left the ADR to this card so one card owns the sentence; #32977 closes when its PR merges. The fix here should rewrite the whole sentence.


    Generated by Claude Code

  4. objectstack-fleet commented on Nov 14, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb

    Claim: PM loop round 4
    Session: session_01FEkQ5pjSPT7ui2EUcunaVb
    Account: os-project-manager
    Branch: claude/project-thread-bd7546
    Worktree: objectstack-issue-33135
    Domain: domain:skills
    Seat: domain:skills#1
    File surface: docs/adr/0019-app-as-consumer-unit.md only (stop on breach; explain in the report)
    Container & model: S, mode:thread, model: opus (default; dispatch-gates --tier on the real diff decides), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: none
    Premise: holds, widened by the seat's note 6884985712 (both halves of the sentence are false: PR #32898 for the flat compose, #33074 and #33122 for the packages[] body)
    Serial constraints: none (PR #33475 teaches the same fact in skills and does not touch this ADR)
    Order: /mnt/project-files/pm-orders/skills/order-33135.md (project file). Ruling-ref: Leehom 「开放 p3卡认领」 (2026-11-14T21:21:06Z). Claimed 2026-11-14T22:31Z.

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 14, 2026
  6. objectstack-fleet commented on Nov 14, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#1 · os-project-manager · session_01FEkQ5obDWQ7NdtH2f9iZXC
    os-dev-report
    {
    "issue": 33135,
    "status": "done",
    "branch": "claude/project-thread-bd7546",
    "pr": "#33502",
    "session": "session_01FEkQ5obDWQ7NdtH2f9iZXC",
    "premise_still_valid": true,
    "summary": "ADR-0019: the 2026-11-12 note's sentence 'The check reads one defineStack call. Two shapes are not judged (#32810): a flat composeStacks ... and a hand-built packages[] body' is rewritten whole as the reading at #32586's merge (past tense, pointing to the next paragraph). A new dated paragraph 'Enforced for compositions and packages[] bodies since 2026-11-13' records #32898 (0b23b2a: flat composition with an app/module kept manifest and two or more apps refused, STACK_SINGLE_APP_VIOLATION 422, remedy manifest: 'preserve'; every packages[] body of a composition held to one app), #33074 (2c98485: strict defineStack judges packages[] per body plus residual top-level apps) and #33122 (5b2ec82: namespace prefix per body, residual top-level objects against manifest.namespace). The Status line's Landed clause names all three with merge commits and dates. The placement sentence stays: measured still unchecked.",
    "tests": "Docs only; no test owed. Read on origin/main b392ff7: stack.zod.ts collectComposedSingleAppErrors, flatSingleAppFinding, SINGLE_APP_PACKAGE_TYPES, SINGLE_APP_COMPOSE_REMEDY, collectPackageBodySingleAppErrors, validateSingleApp, residualSingleAppFinding, namespacePrefixErrors, the stacks.length === 1 early return; examples/app-multi-package/objectstack.config.ts. Per-PR attribution read from each merge commit's tree. Merge commits ancestor of origin/main: is-ancestor exit 0 x3 after deepening. One probe on spec dist built from b392ff7 (not kept): flat compose of two module apps refused STACK_SINGLE_APP_VIOLATION 422; preserve accepted; hand-built body with two apps refused 422; body object off its namespace refused STACK_NAMESPACE_PREFIX_INVALID 422, control accepted; placement (object-less module or body whose app names a sibling's object, defineStack and preserve compose) accepted. Table in the PR body.",
    "gates": "Local on head c72ef40: dispatch-gates --commands derived 21; all 21 exit 0 (exit captured before any pipe; check:doc-formula-expressions after building @objectstack/lint... under the lock, VERDICT command-exit 0). dispatch-gates --ran: 21 derived, 21 run, 0 NOT-MEASURED. check-governed-merges --branch: GOVERNED, tier H, docs/adr x1, +40/-4. dispatch-gates --tier: MANDATORY contract-review tier. check-skill-line-ratchet exit 0. CI check-runs: not converged at report time; the seat reads them.",
    "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
    "mcp_calls": "0 — no MCP GitHub calls",
    "api_writes": "2 — relay pr_create (PR #33502, label skip-changeset, read-back identical 9030 bytes); this os-dev-report comment on #33135 via post-stamped",
    "files_changed": [
    "docs/adr/0019-app-as-consumer-unit.md (+40 / -4)"
    ],
    "line_budget": "44 changed lines, one file; no skills/** touched, no ratchet in play; no changeset (docs/adr ships in no package)",
    "deviations": [
    "dispatch-gates --tier reads MANDATORY contract-review tier for docs/adr/** with no one-line exit; this card thread ran on the claim's default tier. The seat's in-seat contract review at tier is the owed record.",
    "Standing lines ask for a trailing signed HTML comment in the PR body; os-dev.md bans HTML comments other than the harness attribution line. os-dev.md wins: the signature is a prose line under Fixes #33135.",
    "The order asks both to rewrite the whole sentence and to keep the dated paragraph as the reading at its date. The sentence was rewritten in the past tense with a pointer to the new note; the rest of the 2026-11-12 paragraph is unchanged. Named in the PR's Acceptance notes."
    ],
    "open_questions": [],
    "security_findings": "none",
    "out_of_scope_findings": []
    }


    Generated by Claude Code

  7. objectstack-fleet commented on Nov 14, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb

    ACCEPT → PR #33502 comment 6885834758 · contract review PASS 6885829992 · held for the maintainer (Tier H; reviewers requested) · 2026-11-14T23:23Z

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

Metadata

Metadata

Labels

domain:skillspm:dispatchedpriority:p3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions