Skip to content

skills: teach the record write's text envelope and its organization-language key (follow-up of #34062) #34434

Closed

Description

@objectstack-fleet

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

Filing gate: follow-up owed by landing work (skills-docs follow-up named by ruling 6913660232 on #34062, "A skills-docs follow-up is owed"), carried by the PR that closes #34062.

Business reason. An AI author building a flow reads skills/**, not the spec. After #34062 lands, a create_record / update_record fields value can be marked as text ({ dialect: 'template', source }), and that sentence is written in the organization's language from the app's flows bundle. Until the skills say so, an author writing a zh-CN app (HotCRM's case escalation, hotcrm#2494) keeps writing an English bare string, which the platform stores verbatim, and nothing tells them the marked form exists. Who benefits: every app whose flows write user-read text into records, in a non-English organization.

What to change (after the #34062 PR merges; the wording must match what landed):

  • skills/objectstack-automation/SKILL.md, "Valid-but-silently-wrong" item 1: the list of value slots names fields.* as "a literal or a CEL envelope". Add the third form for create_record / update_record fields only: a text envelope, a sentence for people to read, written in the organization's language (Localization setting when somebody set it, else the app's i18n.defaultLocale), never the starter's; a bare string stays a literal and is never translated; a missing translation writes the authored text. Its source is a text slot ({{ }} holes; a single-brace token is refused).
  • skills/objectstack-i18n/SKILL.md, the flows group paragraph: add the key flows.FLOW.records.NODE_ID.fields.FIELD, picked in the organization's language, scaffolded by os i18n extract, judged by the existing coverage check.

Reader who acts. The skills seat, as a skills-only wording PR (low-risk Tier S arm), after the #34062 PR merges. The PR body reports the whole-file and whole-package before/after line counts that os-dev.md requires for skills/**.

Not in scope: hooks and actions (sibling #34374 carries their text rule and its own skills lines).

Dedupe words (not searched by this thread; the filing seat reads them): records.fields skills, text envelope create_record skills, organization language flow skills, 34062 skills.

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 / zh-CN · 2026-11-16T17:46Z

    ⛔ Not a claim.

    Blocked-by: #34062

    Once #34062 lands, a flow's create_record / update_record value can be marked as text, so that it is written in the organization's language. AI authors read skills/**, not the spec, so without this page they keep writing English literals. Authoring guidance in the MCP and zh-CN themes, with no direct effect until #34062 ships: p2. Parked on #34062, which carries it.

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: unlock → pm:queue · 2026-11-16T21:49Z

    ⛔ Not a claim.

    Its blocker #34062 (PR #34438 merged at 21 is closed: 46Z):the text envelope has shipped, so the skills page can teach it. Back to the queue for its lane, with the grade unchanged.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmSXPDB46NVRepWVrL3

    Claim: PM loop round 1 · 2026-11-16T22:33Z
    Session: session_01ADHkmSXPDB46NVRepWVrL3 (area o2-S session); a card thread of this account's project is the dev and reports its own session id
    Account: os-steve
    Branch: pending — the card thread's designated branch; a follow-up Claim: from this session names it before the first push
    Worktree: objectstack-issue-34434
    Domain: domain:skills
    Seat: repo:objectstack#2
    File surface: skills/objectstack-automation/SKILL.md (Valid-but-silently-wrong item 1, the value slots), skills/objectstack-i18n/SKILL.md (the flows group paragraph), at most one eval case in each skill's evals/, the two skills' rows of scripts/check-skills-token-ratchet.mjs (raise by measurement after fold-first, standing ruling 6513306068), one root .changeset/ file (stop on breach; explain in the report)
    Container & model: S, mode:thread, model: TIER_DEFAULT — --tier reads MANDATORY CONTRACT_REVIEW_TIER for skills/**; exit taken: the proactive low-headroom downgrade, reason: maintainer 2026-11-15 21:53Z 「fable 不多了,后续契约复审找review 席位」; compensating control: the at-tier L2 review through the review seat, effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 6930433650
    Premise: holds at origin/main e8cba8f — PR #34438 merged (0e2e4f5) ships the text envelope on create_record / update_record fields; skills/objectstack-automation/SKILL.md and skills/objectstack-i18n/SKILL.md do not teach it.
    Serial constraints cleared: none — no open PR lists skills/objectstack-automation/**, skills/objectstack-i18n/** or scripts/check-skills-token-ratchet.mjs except this area's own PR #34484, which edits only the ratchet's objectstack-formula row (a different line; the later of the two merges main). The only other open PR under skills/ is #34230 (skills/objectstack-ai/**), disjoint.
    Line budget: net +3 lines on each of the two SKILL.md files; one eval case per skill at most.
    Pre-claim lane: domain:skills (skills/objectstack-automation/SKILL.md, skills/objectstack-i18n/SKILL.md).
    Pre-claim deps: no open Blocked-by: — blocker #34062 closed with PR #34438 merged (21:14Z); hot files idle as above.
    Prior rulings read: check-prior-rulings.mjs --card 34434 → 226 title-term hits; ADR-0139 D4, ADR-0014 Decision §2, ADR-0022 Decision §2, ADR-0032 Decision §3, ADR-0035 Decision §4, ADR-0045 Decision §3, ADR-0061 D2, ADR-0063 Decision §2; thread: none. The card's own rulings 6913660232 (B) and 6929082704 (A) are what PR #34438 shipped; the card teaches them, it decides nothing.
    Lease: lease:o2-S. Order: /mnt/project-files/objectstack-seat2/34434-delta.md with the seat's standard order beside it (project share).

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmSXPDB46NVRepWVrL3

    Claim: PM loop round 1 · branch named · 2026-11-16T22:34Z
    Follow-up to claim 6931410531 (same seat, same claim).
    Thread session: session_01ADHkmQ4vgatNKAwYizZLG3
    Account: os-steve
    Branch: claude/project-thread-qf7ti3
    Seat: repo:objectstack#2

  8. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmQ4vgatNKAwYizZLG3
    os-dev-report

    {
      "issue": 34434,
      "status": "done",
      "branch": "claude/project-thread-qf7ti3",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34499",
      "head": "0085ff5a",
      "session": "session_01ADHkmQ4vgatNKAwYizZLG3",
      "premise_still_valid": true,
      "files_changed": [
        "skills/objectstack-automation/SKILL.md",
        "skills/objectstack-i18n/SKILL.md",
        "scripts/check-skills-token-ratchet.mjs",
        ".changeset/34434-skills-flow-record-text.md"
      ],
      "line_budget": {
        "budget": "net +3 lines on each SKILL.md",
        "skills/objectstack-automation/SKILL.md": "lines 460 -> 462 (+2); tokens 6858 -> 6903; ceiling 6861 -> 6903 (+42, measured remainder after three restatement cuts, standing ruling record 6513306068)",
        "skills/objectstack-i18n/SKILL.md": "lines 530 -> 533 (+3); tokens 6146 -> 6219; ceiling 6333 unchanged",
        "all skills/*/SKILL.md": "lines 4599 -> 4604 (+5); tokens 59380 -> 59498 (+118)"
      },
      "gates": "dispatch-gates --commands at 0085ff5a: 66 derived, 66 run, all exit 0; --ran: 0 NOT-MEASURED (also all exit 0 at ec0711a2 and 7101d3cb). Full pnpm build --concurrency=2 under the verify lock at ec0711a2: VERDICT command-exit 0, 119/119. pnpm --filter @objectstack/rest exec vitest run --project repo at 0085ff5a: 5 files, 300 passed, 23 skipped. PR check runs at 0085ff5a: CI, Lint & Type Check, Governed Surface Guard, PR-Body Guards, PR Automation all success (Test Core 1-3/8, Lint & Repo Gates, TypeScript Type Check, Build Core, Test UI, Live E2E UI, Dogfood Regression Gate, Check Changeset success). File: /mnt/project-files/objectstack-seat2/34434-gates-ran.txt",
      "dogfood_battery": "n/a - no ! in the PR title and Clause-2 is no",
      "deviations": [
        "Test Core 2/8 was red at 7101d3cb: packages/rest/src/meta-state-route-doc-spelling.test.ts (test:repo) pins the state-introspection route sentence in skills/objectstack-automation/SKILL.md, which the first round had cut as a restatement. Restored at 0085ff5a; the ceiling raise grew from +19 to +42. The PR body written at pr_create still says 6880 and four cuts: the corrected body is at /mnt/project-files/objectstack-seat2/34434-body-r2.md for the seat to write.",
        "No eval case added (claim allows at most one per skill; none needed)."
      ],
      "mcp_calls": "4 - mcp__github__get_job_logs (reads only)",
      "api_writes": "2 - pr_create via fleet-write relay; this comment via post-stamped.mjs",
      "open_questions": [
        { "question": "Contract review needed (skills/** is governed, Tier H) at head 0085ff5a", "options": ["route to the L2 review seat"], "recommendation": "route to the L2 review seat" }
      ],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationdomain:skillspm:dispatchedpriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions