Skip to content

skills/objectstack-data data-hooks.md: teach when a before* hook's ctx.api write rolls back with a refused save, and its exits #34504

Description

@objectstack-fleet

repo:objectstack#1 · os-project-manager · session_01FEkQ5m1wi6BQceRHYYxHFy

Filing category: ① (a follow-up owed by landed work: the Skills-docs: follow-up owed line of PR #34503, card #34412, Metadata-protocol: semantic). This is the skills lane's file; the server lane does not edit skills/**.

What the engine does after PR #34503 (route A, ruling 6929103019 on #34412). A write on an object that carries a metadata-bound before* hook on the same verb runs in one unit of work with the outer write. A refusal anywhere in that write (a validation, a later hook, a driver constraint) rolls back the hook's ctx.api side writes too. There is no per-hook opt-out. The exits are the #22782 ones:

  • a caller's open unit decides;
  • an object off the default datasource opens no unit;
  • a default driver with no transactions (Turso remote) opens no unit, so the side write stays;
  • a code-registered hook (registerHook, no meta) opens no unit.
    Inside the unit, a before* hook's ctx.api business write to another datasource is refused with CrossDatasourceTransactionWriteError (append-only ledgers are carved out). A MongoDB default store needs a replica set for the unit (read in code, not measured, per the PR's Acceptance notes).

What the skill says now. skills/objectstack-data/references/data-hooks.md, the "Before vs After Hooks" table, says a before* hook is "Within transaction" and "throw → rollback" with no condition. It is silent on the exits, on the cross-datasource refusal, and on MongoDB. An AI author will put a business write to a second datasource in a before* hook, or rely on a "log the attempt" write surviving a refusal, and get a refused or rolled-back write it did not expect.

Ask:

  • Make the before* Transaction cell precise: one unit with the outer write on a transactional default driver, the four exits above, no per-hook opt-out.
  • Add one DON'T: a before* hook does not write business records to another datasource through ctx.api.
  • Exercise both in the skill's evals.

Business reason. HotCRM and every app whose metadata before* hook writes through ctx.api (HotCRM: about 28 objects) is authored by AI agents that read this page. Without the rule, they write hooks whose side writes now roll back or are refused, and find out only at runtime.

Who acts. The domain:skills seat, after PR #34503 merges. The same table row is in #34191 (async after-hooks, in flight with another seat): serial on the file, or folded if that seat chooses.

Blocked-by: #34503

Governing text: content/docs/automation/hooks.mdx (the unit-of-work table, before* row) and content/docs/api/data-flow.mdx, both as updated by PR #34503.

Dedupe: issue search data-hooks.md before transaction in objectstack-ai/objectstack, 8 hits (open and closed); only #34191 touches the same table, and it covers async after* hooks, not before*.


Generated by Claude Code

Activity

  1. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:skills · p2 · pm:blocked · theme: MCP (authoring) · 2026-11-16T23:45Z

    ⛔ Not a claim.

    Blocked-by: #34503

    Once PR #34503 (card #34412, p1) lands, a before* hook's ctx.api write rolls back when the save is refused. The data-hooks skills page must teach that, and its exits. AI authors write hooks from this page: p2 in the MCP theme. Parked until #34503 merges.

  2. added
    documentation
    domain:skills
    pm:blocked
    priority:p2
    on Nov 16, 2026
  3. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: unlock → pm:queue · 2026-11-17T05:46Z

    ⛔ Not a claim.

    Blocker #34503 merged today at 04:57Z. Back to the queue at its grade (p2).

  4. added
    pm:queue
    and removed
    pm:blocked
    on Nov 17, 2026
  5. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-lizheng · session_012MmDsS4GoHCgYwA2uv3n3C

    Claim: PM loop round 1
    Session: session_012MmDsS4GoHCgYwA2uv3n3C
    Account: os-lizheng
    Branch: claude/issue-34504-before-hook-unit-of-work
    Worktree: objectstack-issue-34504
    Domain: domain:skills
    Seat: repo:objectstack#4
    File surface: skills/objectstack-data/references/data-hooks.md (the "Before vs After Hooks" Transaction row and one DON'T), the objectstack-data skill's eval cases (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: fable (dispatch-gates --tier: MANDATORY claude-fable-5-2 for skills/**; no one-line exit), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card in product code; a skills page that does not yet teach the unit-of-work rule PR #34503 landed
    Thread-read: 6939865716
    Premise: holds — read at 2026-11-17T19:14Z on origin/main: data-hooks.md:64 (the Transaction row) states "Within transaction" for before* with no exits, no cross-datasource refusal and no MongoDB note. Blocker PR #34503 merged 2026-11-17 04:57Z.
    Serial constraints cleared: #34191 (the same table row, async after-hooks) is closed. The dev runs overlap-check against every open PR.
    Pre-claim lane: skills/** → domain:skills (governed, Tier H: lands only on the maintainer's approval).
    Pre-claim deps: #34503 merged.
    Prior rulings read: ruling 6929103019 on #34412 (route A: one unit of work, no per-hook opt-out); Governing text: content/docs/automation/hooks.mdx and content/docs/api/data-flow.mdx as updated by PR #34503.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-lizheng · session_012MmDsS4GoHCgYwA2uv3n3C
    os-dev-report

    {
      "issue": 34504,
      "status": "done",
      "branch": "claude/issue-34504-before-hook-unit-of-work",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34964",
      "session": "session_012MmDsS4GoHCgYwA2uv3n3C",
      "premise_still_valid": true,
      "summary": "The before* Transaction cell of skills/objectstack-data/references/data-hooks.md now states one transaction with the outer write, the four exits and no per-hook opt-out, and Best Practices gains the DON'T on writing business records to another datasource from a before* hook. Two eval cases (25 positive, 26 DON'T) exercise both. The file had 15 tokens of ratchet headroom, so four restatements in the same file pay for the text and no ceiling moved. Draft PR 34964 is open on a governed surface (Tier H) and waits for L1, a contract-tier L2 and the maintainer.",
      "premise_readings": [
        "On fff0ad0c18 the Transaction row is data-hooks.md line 64 and said \"Within transaction\" for before*, with no exits: holds.",
        "Exit 1, a caller-opened unit decides: verified in opensAfterAbortUnit (packages/objectql/src/engine-hooks-and-functions.ts) and by the pin \"CONTROL inside a caller-opened transaction()\".",
        "Exit 2, an object off the default datasource opens no unit: verified in the same function (getDriver(object) === defaultDriver) and in hooks.mdx; pinned for the after* unit, read in code for before*.",
        "Exit 3, a default driver with no transactions opens no unit: verified in code and by the pin \"CONTROL a driver with no transactions keeps the side write\"; Turso remote verified in turso-driver.ts (transactionsUnsupported: transportMode === remote).",
        "Exit 4, a code-registered hook opens no unit: verified in code (sideWriting requires entry.meta), by the pin \"CONTROL a code-registered beforeInsert opens no unit\", and by my probe.",
        "Cross-datasource refusal and ledger carve-out: verified in enforceTransactionOrigin and SYSTEM_LEDGER_LIFECYCLE_CLASSES, and measured with a throwaway probe on 486b6feb8f (refused with CrossDatasourceTransactionWriteError, one unit begun and rolled back; an audit-class target was written outside the unit and survived).",
        "Could not verify by measurement: MongoDB needing a replica set. Read in mongodb-driver.ts only; the page keeps the hedge \"read in code, not measured\"."
      ],
      "tests": "Head 486b6feb8f. No runtime code changed, so no new unit test and no ablation. Engine pins for the taught behaviour: pnpm --filter @objectstack/objectql exec vitest run --maxWorkers=2 src/engine-after-hook-abort-unit.test.ts under os-verify-lock: \"Test Files 1 passed (1)\", \"Tests 21 passed (21)\", \"VERDICT command-exit 0\". Throwaway probe (copy of that file plus 3 cases, deleted after, git status clean): \"Tests 24 passed (24)\", \"VERDICT command-exit 0\"; PROBE-A name CrossDatasourceTransactionWriteError, code ERR_CROSS_DATASOURCE_TRANSACTION_WRITE, begun 1, rolledBack 1, no rows; PROBE-B code-registered hook: begun 0, both rows stored; PROBE-C audit-class target: 1 row on the other datasource after the refusal. Eval shape: loadSkillEvalCatalog over this tree: bundles=12 cases=219 refusals=0, objectstack-data cases=46 (44 before). A live eval round is NOT MEASURED, reason: the skill-evals runner calls a model through a local login and is not a gate.",
      "gates": "Local subset on 486b6feb8f: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 47 commands; each ran with its exit code captured before any pipe. --ran verdict: \"47 derived famil(ies) accounted for — 43 run, 4 NOT-MEASURED (4 DERIVED from a recorded exit 3)\". All 43 exit 0, among them check-skills-token-ratchet (data-hooks.md 9992 tokens, ceiling 10011, headroom 19), check:skill-links, check:doc-authoring, check:corpus-claim-drift, check:role-word, check:skill-identifier-liveness, check:nul-bytes, check:published-files, check-empty-changeset, check-adr-0087-registration, check:doc-formula-expressions (exit 3 first for an unbuilt prerequisite, exit 0 after building formula and lint). NOT MEASURED, reason: each needs every package built and this diff cannot move them: check:dts-closure, check:dual-build-cjs-loads, check:lean-entry-closure, check:sourcemap-no-sources-content. overlap-check on 486b6feb8f: \"VERDICT clean exit 0\", 0 PR heads share a file. CI on PR 34964 at report time: Governed Surface Queue Guard success; Check Changeset, PR-body guards, Check PR Size, filter, the eight Lint jobs and the four Type Check jobs in_progress; five jobs skipped (opt-in or queue-only). test:repo, pnpm lint and the type-check lanes are CI runs, not run locally.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "line_budget": {
        "budget": "at most +10 net lines on skills/objectstack-data/references/data-hooks.md",
        "data_hooks_md_lines": {
          "before": 890,
          "after": 885,
          "net": -5,
          "added": 13,
          "removed": 18
        },
        "package_skill_md_lines_sum": {
          "before": 4728,
          "after": 4728,
          "files": 12
        },
        "data_hooks_md_tokens": {
          "before": 9996,
          "after": 9992,
          "ceiling": 10011,
          "ceiling_moved": false
        },
        "ratcheted_authored_tokens": {
          "before": 191126,
          "after": 191122
        },
        "eval_fixture_tokens_not_ratcheted": {
          "before": 53751,
          "after": 54274
        },
        "eval_file_lines": {
          "before": 245,
          "after": 265
        },
        "paid_by": "four restatements deleted in the same file, 795 bytes, against 778 bytes added; each is listed in the PR body with where the fact still stands",
        "verdict": "within budget"
      },
      "files_changed": [
        {
          "path": "skills/objectstack-data/references/data-hooks.md",
          "added": 13,
          "removed": 18
        },
        {
          "path": "skills/objectstack-data/evals/hooks-security-seeds-datasources.json",
          "added": 20,
          "removed": 0
        },
        {
          "path": ".changeset/34504-skills-before-hook-unit-of-work.md",
          "added": 10,
          "removed": 0
        }
      ],
      "deviations": [
        "The changeset is outside skills/**, which the dispatch named as the whole file surface. The dispatch also told me to apply the publish rule: skills/** ships in @objectstack/skills (packages/skills copies the tree into dist), so a patch changeset is owed and skip-changeset does not apply.",
        "The token ratchet, not the line budget, was the binding limit: 15 tokens of headroom against about 195 tokens of new text. I paid by deleting four restatements in data-hooks.md, one of them a rewrite (the after* per-row bullet, eight lines to three). These touch lines the card did not name.",
        "Four derived gate families are NOT MEASURED locally (they need a full build); CI runs them.",
        "A throwaway test file was created in packages/objectql/src, run once and deleted; nothing of it is committed.",
        "The branch carries two commits (a WIP commit pushed before the ratchet was paid, then the final one). No force-push.",
        "Commit trailers use the model-free pair AGENTS.md requires, and the PR body ends with the AGENTS.md footer form, not the harness reminder form.",
        "The ruling comment was read with one REST GET by comment id through gh; the card and PRs were read through MCP read tools.",
        "The page says \"transaction\" where the governing docs say \"unit of work\", to match the table row and the rest of the page."
      ],
      "mcp_calls": "5 — issue_read (get, get_comments on 34504), pull_request_read (get on 34503, get and get_check_runs on 34964); all reads, no write tool",
      "api_writes": "2 relay strokes — (1) pr_create: POST /repos/objectstack-ai/objectstack/dispatches carrying POST /pulls (draft) and POST /issues/34964/assignees, run 44161416953 success, read-back identical 15557 bytes; (2) this report comment through post-stamped: POST /issues/34504/comments. Plus 2 git pushes (the empty-branch probe and the commits). No label write.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: b · reach: named producer, a metadata-bound before* hook (or any hook inside a unit the write door opened) whose body calls ctx.api.transaction and catches the inner throw; not measured by me, read from PR 34503's record of its dogfood red at abe9374566 (scoped-transaction-late-write: the swallowed inner rollback kept its row) · evidence: data-hooks.md, Capabilities table, api.transaction row says 'commit on return, rollback on throw' with no condition, while content/docs/automation/hooks.mdx says 'A nested transaction() joins the outer unit, so its return is no commit' · Seam: skills:data-hooks.md Capabilities api.transaction row → runtime:ScopedContext.transaction joining the write door's unit (packages/objectql) · same family as this card (skills follow-up of 34412); it did not fit here: outside the card's ask and 19 tokens of headroom left · dedupe words: api.transaction joins outer unit, data-hooks capabilities transaction commit on return, nested transaction before hook skill",
        "carrier: #34563 · noted, not filed: hooks.mdx says that on PostgreSQL a failed ctx.api statement inside the unit refuses the whole write even when the hook body catches it (no savepoint). The skill does not teach it; it is not measured on PostgreSQL yet."
      ]
    }
  8. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-lizheng · session_012MmDsS4GoHCgYwA2uv3n3C

    ACCEPT → PR #34964 comment 6959069146 (head 486b6fe; governed, Tier H). L2 (contract-review tier) requested from l2-review#3 by mailbox #34476. Out of scope: filed #34967.

  9. added
    area:ai
    on Nov 18, 2026
  10. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-lizheng · session_012MmDsS4GoHCgYwA2uv3n3C

    Status: progressing (2026-11-19T06:46Z). PR #34964 is done and its CI is green. It touches a governed skills/** path, so it owes a contract-review-tier L2 record and then the maintainer's approval. The seat claimed the L2 on its head and runs these reviews one at a time, on the maintainer's order, after #34910. Answer to triage request 7001941483 on mailbox #34831.

  11. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-lizheng · session_012MmDsS4GoHCgYwA2uv3n3C
    os-dev-report

    {
      "issue": 34504,
      "status": "done",
      "round": "delta on PR 34964 after contract review 7002617585 (S1)",
      "branch": "claude/issue-34504-before-hook-unit-of-work",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34964",
      "session": "session_012MmDsS4GoHCgYwA2uv3n3C",
      "premise_still_valid": true,
      "head": "314d9cc0ca91",
      "summary": "S1 is fixed on head 314d9cc0ca: the before* Transaction cell and eval 25 now name the hooked object in the off-default-datasource exit, so the cell no longer reads as if a write to another datasource stays stored. origin/main (35c6331094) was merged first, with no rebase and no conflict. The cell does not grow: data-hooks.md went from 40469 bytes after the merge to 40467, which is 10117 tokens against the ceiling of 10122. N4 (Turso capitalised) was free inside the edit and is taken; N1 to N3 are left as accepted. The PR body was not patched; the wording is in pr_body_changes.",
      "s1_change": {
        "cell_was": "Exits: a transaction the caller opened decides; an object off the default datasource, or a default driver with no transactions (turso's remote transport), opens none",
        "cell_now": "Exits: a caller's open transaction decides; a hooked object off the default datasource, or a default driver with no transactions (Turso's remote transport), opens none",
        "paid_in_my_own_hunk": "plus 6 bytes for 'a hooked object'; minus 4 for 'a caller's open transaction decides'; minus 4 for dropping 'too' after 'rolls back the hook's ctx.api writes'; net minus 2 bytes",
        "eval_25_was": "the object is off the default datasource, or the default driver has no transactions (turso's remote transport)",
        "eval_25_now": "`time_entry`, the hooked object, is off the default datasource, or the default driver has no transactions (Turso's remote transport)",
        "eval_25_prompt_and_assertions": "unchanged, so the case hash is unchanged",
        "changeset": "the same two phrases updated in .changeset/34504-skills-before-hook-unit-of-work.md, so its text matches the page",
        "evidence": "Round 1's probe on 486b6feb8f is the measurement behind S1: a metadata-bound beforeInsert on a default-datasource object writing a business row to another datasource was refused with CrossDatasourceTransactionWriteError and nothing was stored."
      },
      "tests": "Head 314d9cc0ca. No runtime code changed; no ablation. Eval shape: loadSkillEvalCatalog over the merged tree: bundles=13 cases=303 refusals=0, objectstack-data cases=59; cases 25 and 26 keep their assertion lists. The eval file parses as JSON. A live eval round is NOT MEASURED, reason: the runner calls a model through a local login and is not a gate.",
      "gates": "Local subset on 314d9cc0ca: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived the same 47 commands as round 1 (merge base 35c633109); each ran with its exit code captured before any pipe. --ran verdict: \"47 derived famil(ies) accounted for — 45 run, 2 NOT-MEASURED (2 DERIVED from a recorded exit 3)\". All 45 exit 0. check-skills-token-ratchet: \"skills/objectstack-data/references/data-hooks.md is 10117 tokens (ceiling 10122; headroom 5)\" and \"59 authored bundle file(s) within their ceilings\". check:skill-links: \"268 relative link(s) in 73 published skill file(s) resolve; 139 fragment(s) name a real heading\". NOT MEASURED, reason: each needs packages this round did not build, and this diff cannot move them: check:dual-build-cjs-loads, check:lean-entry-closure. Build for the doc-formula gate under os-verify-lock: \"Tasks: 6 successful, 6 total\", \"VERDICT command-exit 0\". overlap-check on 314d9cc0ca: \"VERDICT clean exit 0\", clean against origin/main 35c6331094, 0 PR heads share a file. Every exit was read before the push. CI on the new head: not read; it starts with the push and is in_progress.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "line_budget": {
        "against": "origin/main 35c6331094",
        "data_hooks_md_lines": {
          "main": 893,
          "head": 888,
          "net": -5,
          "added": 13,
          "removed": 18
        },
        "data_hooks_md_bytes": {
          "main": 40486,
          "after_merge": 40469,
          "head": 40467
        },
        "data_hooks_md_tokens": {
          "main": 10122,
          "after_merge": 10118,
          "head": 10117,
          "ceiling": 10122,
          "ceiling_moved": false
        },
        "package_skill_md_lines_sum": {
          "main": 4847,
          "head": 4847,
          "files": 13
        },
        "s1_edit_grew_the_file": false,
        "verdict": "within budget"
      },
      "files_changed_this_round": [
        {
          "path": "skills/objectstack-data/references/data-hooks.md",
          "added": 1,
          "removed": 1
        },
        {
          "path": "skills/objectstack-data/evals/hooks-security-seeds-datasources.json",
          "added": 1,
          "removed": 1
        },
        {
          "path": ".changeset/34504-skills-before-hook-unit-of-work.md",
          "added": 1,
          "removed": 1
        }
      ],
      "commits_this_round": [
        "cfeb6462d1 merge of origin/main 35c6331094",
        "314d9cc0ca the S1 wording"
      ],
      "pr_body_changes": [
        "两分钟验证 line: replace the expected reading with `data-hooks.md is 10117 tokens (ceiling 10122; headroom 5)`.",
        "What changes, item 1, the verbatim cell quote: replace with: One transaction with the outer write: a refusal anywhere in it (a validation, a later hook, a driver constraint) rolls back the hook's `ctx.api` writes; no per-hook opt-out. Exits: a caller's open transaction decides; a hooked object off the default datasource, or a default driver with no transactions (Turso's remote transport), opens none, so those writes stay stored after a refusal; a hook registered in code (`registerHook`) opens none. MongoDB needs a replica set (read in code, not measured)",
        "What changes, item 3: keep the byte table and add one sentence: 'After the merge of main (35c6331094) the file is 40467 bytes, 10117 tokens against a ceiling of 10122; the review round changed the cell by minus 2 bytes.'",
        "Table 'What each taught sentence rests on': rename the row 'Exit: a transaction the caller opened decides' to 'Exit: a caller's open transaction decides', and the row 'Exit: an object off the default datasource opens none' to 'Exit: a hooked object off the default datasource opens none'. In that second row's Code cell add: '`object` there is the outer write's object, the one the hook is on'.",
        "Acceptance notes, line budget: replace the readings with: 'Against main 35c6331094: whole file 893 lines on main, 888 here (net -5; +13 / -18). All SKILL.md files summed: 4847 on main, 4847 here (13 files, none touched). Tokens: data-hooks.md 10122 on main, 10117 here, ceiling 10122 unchanged.'",
        "Acceptance notes, the `ctx.api.transaction` note: replace with: 'The Capabilities row for `ctx.api.transaction` is now taught on main by PR 35309 and agrees with this cell.'",
        "Acceptance notes, add: 'Contract review 7002617585 on 486b6feb8f: PASS with S1. S1 is addressed on 314d9cc0ca: the cell and eval 25 name the hooked object. N4 taken; N1 to N3 left as accepted.'",
        "Acceptance notes, overlap line and Verification: head is 314d9cc0ca; gates read '47 derived, 45 run, 2 not measured (check:dual-build-cjs-loads, check:lean-entry-closure)'; overlap is clean against main 35c6331094."
      ],
      "deviations": [
        "The S1 edit also changed two phrases the review had read as holding, to pay for the six added bytes inside my own hunk: 'a transaction the caller opened decides' became 'a caller's open transaction decides', and 'too' was dropped after 'rolls back the hook's ctx.api writes'. Neither changes what is taught.",
        "The changeset text was edited to match the page. It is this PR's own new changeset, not one from main.",
        "The worktree had been removed after round 1; it was rebuilt from the pushed branch. The merge commit message was amended once, before any push, to add the trailer pair.",
        "Two derived families are NOT MEASURED locally; CI runs them."
      ],
      "mcp_calls": "1 — pull_request_read (get_comments on 34964); a read, no write tool. Plus one REST GET of comment 7002626604 through gh.",
      "api_writes": "1 relay stroke — this report comment through post-stamped: POST /issues/34504/comments. Plus 1 git push (fast-forward, 486b6feb8f to 314d9cc0ca). No PR body write, no label write.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
  12. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-lizheng · session_012MmDsS4GoHCgYwA2uv3n3C

    MERGED: PR #34964 closed this card (2026-11-19T08:33Z), approved and enqueued by the maintainer. On origin/main, skills/objectstack-data/references/data-hooks.md teaches that a before* hook's ctx.api writes share one transaction with the outer write, and names its exits (the hooked object off the default datasource among them). pm:dispatched and the lease label are off.

  13. removed
    pm:dispatched
    on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:aidocumentationdomain:skillspriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions