Skip to content

37142 跟进:AI 技能文档教作者放「问 AI」按钮(ask_ai 动作) #37217

Description

@objectstack-fleet

repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj

Filing gate: ③ maintainer-directed (topic #36996; row 6 kept by this seat per the maintainer's routing recorded on #36996). This is the Skills-docs: follow-up owed — skills/objectstack-ai/SKILL.md line of PR #37215 (#37142, Metadata-protocol: added).
Grading: area:ai · Task · p2 · evidence: read.

维护者速读

What

  1. In skills/objectstack-ai/SKILL.md (or its references), teach the ask_ai action. It pins the record as the conversation's focus and opens the assistant, without sending a message.
  2. Name what parse refuses: target, ai.exposed: true, and ask_ai on a dashboard header. Name where it is absent: no assistant surface, or no focus capability.
  3. Say that it is never served headless: not by list_actions or run_action, and no action_ tool.
  4. Keep within the skill's shrink-only token ceiling. Every example parses against the spec on main.

Acceptance

  • The skill check and the token ratchet are green. An eval prompt ("add an Ask AI button to the contract record page") yields a valid action.

Parent: #36996. Related: #37142, #37215, #37177.

Activity

  1. added
    priority:p2
    pm:queue
    area:ai
    on Nov 25, 2026
  2. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbeF2saT6wUBV4E9uc

    Claim: PM loop round 3 · area ai-36996 (topic #36996 non-cloud rows; the maintainer, verbatim, 2026-11-25T12:57Z project thread: 「开一个 36996 专题,接手剩余任务」) · 2026-11-25T23:42Z
    Session: session_01Utp6CbeF2saT6wUBV4E9uc
    Thread session: session_01Utp6CZfqUFGzpwvVwRfzYS
    Account: os-bill
    Area: ai-36996
    Branch: claude/project-thread-cfxhbj
    Worktree: objectstack-issue-37217
    Domain: domain:skills
    Seat: repo:objectstack#5
    File surface: skills/objectstack-ai/SKILL.md and its references/**, the skills eval fixtures for ask_ai, and the token-ratchet row only under the lanes/skills.md enumeration-row exception (new text is otherwise paid for by deleting text). Stop on breach and report.
    Container & model: M, mode:thread, model: claude-fable-5-1 — dispatch-gates --tier prints "Model tier — MANDATORY: claude-fable-5-2" (skills/**, no one-line exit); measured unavailability: the thread's get_session last_served_model and an Agent subagent with model fable both answer claude-fable-5-1, so 5-2 is not reachable from this account. Built at 5-1, above the default tier. Compensating control: the L2 review at CONTRACT_REVIEW_TIER by a reviewer who reaches it, recorded on the handoff, effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: none
    Premise: holds — read by the card thread on origin/main 98bda0a: ActionType carries ask_ai; objectstack-ui SKILL.md has the #37215 row; objectstack-ai SKILL.md mentions ask_ai zero times
    Serial constraints cleared: none — no in-flight claim touches skills/objectstack-ai/**; sibling #37177 (same skill tree) stays unclaimed until this lands
    Pre-claim deps: PR #37215 merged
    Prior rulings read: the card's Filing gate (the Skills-docs: follow-up owed line of PR #37215); lanes/skills.md lines 14–16 (enumeration rows)

  3. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 25, 2026
  4. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CZfqUFGzpwvVwRfzYS
    os-dev-report

    {
      "issue": 37217,
      "status": "done",
      "branch": "claude/project-thread-cfxhbj",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37372",
      "head": "e16ec49dab9170e5a89262a26c9f22eb37231628",
      "session": "session_01Utp6CZfqUFGzpwvVwRfzYS",
      "mode": "mode:thread — the card thread built it itself; model claude-fable-5-1 under the measured-unavailability exemption recorded in claim comment 7177961994 (dispatch-gates --tier mandates claude-fable-5-2 for skills/**; this account serves 5-1), effort high; the contract review at CONTRACT_REVIEW_TIER is owed on the handoff",
      "premise_still_valid": true,
      "summary": "skills/objectstack-ai/SKILL.md gains a subsection under Actions as AI Tools, The Ask AI button (type: 'ask_ai'): what the action does (pins the assistant's conversation to the record it runs on and opens it, sending no message), where it is declared (locations record_header or record_more, with an os:check defineAction example), what the parse refuses beside it (target, ai.exposed: true, a dashboard header actionType ask_ai), that nothing serves it headless (list_actions skips it, run_action refuses it, no action_ tool), and that the console draws it only where the assistant surface is on and the AI service honours a conversation focus. Paid for by deleting restatement in the same file (the App AI Blueprint table, the alias sentence, the _index.md pointer for AgentSchema, the rung-2 tail sentence, two product-analogy parentheticals, the memory clause of pitfall 1 kept to its two facts); the ceiling row is untouched. evals/skills-tools-knowledge.json gains case 10 (an Ask AI button on the contract record page). Changeset .changeset/37217-skill-ask-ai-action.md, @objectstack/skills patch, Clause-②: no, Metadata-protocol: none.",
      "readings": "skills/objectstack-ai/SKILL.md lines 474 -> 485; tokens 6800 -> 6787 (ceiling 6801, headroom 14); all skills/*/SKILL.md lines 4948 -> 4959; bundle total tokens 297305 -> 297523 (+231 eval fixture 2444 -> 2675, -13 authored). Premise on origin/main 98bda0ac: ActionType carries ask_ai; refuseAskAiContradictions and refuseRecordlessAskAi in packages/spec/src/ui; isHeadlessInvokableAction answers false and the door has the ask_ai sentence in packages/runtime/src/action-execution.ts; useAiSurface.ts enabled + focusServed; objectstack-ui SKILL.md has the #37215 row; objectstack-ai SKILL.md mentioned ask_ai zero times.",
      "acceptance": "skill check: @objectstack/spec check:skill-docs exit 0 and check:skill-examples exit 0 (351 marked examples type-check, the new block included). token ratchet: check-skills-token-ratchet exit 0, 6787/6801. eval prompt: case 10 added, must contain ask_ai / record_header / locations, must not contain target: / exposed: true / actionType; the expected answer is the os:check example's shape, which type-checks against the spec on main.",
      "tests": "no package source changed; no test suite owed. pnpm --filter @objectstack/spec run check:skill-examples: exit 0, '351 prose examples type-check across 3 surface(s) — every marked block parsed, so tsc ran the SEMANTIC pass on all of them' (spec, client and client-react built first under os-verify-lock.sh, VERDICT command-exit 0). No ablation: docs and an eval fixture only.",
      "gates": "node scripts/pm/dispatch-gates.mjs --commands from the committed head derived 49; each run with its exit code captured before any pipe and reconciled with --ran: 49 derived, 48 run (all exit 0), 1 NOT-MEASURED (check:dual-build-cjs-loads exit 3 PREREQUISITE NOT MET: reads every package's built dist, only spec/client/client-react and their closure were built), 0 UNRUN. Pre-push: check-commit-card-trailers --range origin/main..HEAD exit 0; overlap-check --branch=HEAD VERDICT clean (origin/main and open PR #35129, which shares skills/objectstack-ai/SKILL.md, both merge cleanly). CI: PR check-runs not yet read at report time (PR opened moments ago); the thread follows them.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "5 — read-only GitHub MCP: issue_read get + get_comments x2 (#37217), pull_request_read get_files (#37215), pull_request_read get (#37334, body shape precedent); no MCP write",
      "api_writes": "2 — relay pr_create (run 45725772564 -> PR #37372, assignee os-bill, identical read-back); this os-dev-report comment via post-stamped; plus git push of the branch (not a REST write)",
      "deviations": "Built in the thread's own checkout on the platform-specified branch rather than a separate worktree: the branch is the harness-tracked deliverable and nothing else shares this container. The harness attribution reminder asks for a Co-Authored-By trailer carrying a model name; the commit carries the model-free pair check:commit-card-trailers declares (exit 0) and the Claude-Session line. The session-context's MCP assignee/review-request step was skipped: the assignee rode pr_create; the reviewer request is the seat's.",
      "files_changed": ["skills/objectstack-ai/SKILL.md", "skills/objectstack-ai/evals/skills-tools-knowledge.json", ".changeset/37217-skill-ask-ai-action.md"],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": ["carrier: #37177 · the ai_context teaching for the same skill tree stays with its own card; this PR does not touch it", "carrier: none · noted, not filed: skills/objectstack-ui/SKILL.md already carries the ask_ai row (PR #37215); no change owed there"]
    }

    Report taken 2026-11-26T00:03Z.

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

Metadata

Metadata

Assignees

Labels

area:aipriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions