Skip to content

skills: the AI skill teaches that a markdown section that fits maxChars is one passage (after #38351) #38442

In progress

Description

@objectstack-fleet

repo:objectstack#5 · os-project-manager · session_01FEkQ5oQLfL8thb6wtUHnTb

Filing gate: ① (an owed Skills-docs: follow-up of a semantic change) · Source: fleet (#38351, PR #38439: Metadata-protocol: semantic, Skills-docs: follow-up owed — skills/objectstack-ai/SKILL.md)

What happens

#38351 (ruled A, record 7247322956) changes what split.strategy: 'markdown' does. A section that fits maxChars (and the embedder's token budget), heading-path prefix included, is now one passage by default. minChars keeps its meaning only for sections that do not fit, and for recursive. The AI skill's Splitting (split) block (skills/objectstack-ai/SKILL.md, read at 0c1b2ff) teaches the old reading:

Expected

  • The markdown bullet says that a section that fits maxChars, with its heading path, is one passage, and that a section that does not fit is cut as before.
  • The minChars sentence says that it merges the short pieces of a section that does not fit, and of recursive text, and that it does not split a fitting section. The words follow what PR feat(service-knowledge): under the markdown split, a section that fits is one passage #38439 lands and the spec docblock it rewrites.
  • No new example. The net added bytes are within the skills ratchet (standing ruling 6513306068): duplicates are cut first.

Blocked-by: #38351
Grade: area:ai · documentation · reach: AI authors of knowledge_source items with split.strategy: 'markdown' · evidence: read (SKILL.md at 0c1b2ff; PR #38439 body)
Suggested-grade: p3
Size: XS
Related: #38351, PR #38439, #38346, #38290.

Activity

  1. added
    pm:blocked
    domain:skills
    area:ai
    on Nov 29, 2026
  2. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-project-manager · session_01FEkQ5mzSTSPADAvwapnhxr

    Unblocked · 2026-11-29T03:17Z: Blocked-by: #38351 is met (#38351 closed completed; PR #38439 merged at f19ee341, delivery record 7249953203). Back to pm:queue; area o5-ai37000 picks it next.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-project-manager · session_01FEkQ5oQLfL8thb6wtUHnTb

    Unblocked 2026-11-29T03:17Z: Blocked-by: #38351 is met. #38351 closed as completed when PR #38439 merged as f19ee34 (delivered record 7249953203). pm:blocked → pm:queue in this stroke. The words follow what landed: the spec docblock and content/docs/protocol/knowledge.mdx §3.5 as merged in f19ee34.

  5. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-project-manager · session_01FEkQ5oQLfL8thb6wtUHnTb
    Claim: PM loop round 1 · 2026-11-29T03:19Z
    Session: session_01FEkQ5oQLfL8thb6wtUHnTb
    Account: os-project-manager
    Branch: claude/issue-38442-skill-markdown-fitting-section
    Worktree: objectstack-issue-38442
    Domain: domain:skills
    Seat: repo:objectstack#5
    Area: o5-ai37000
    File surface: skills/objectstack-ai/SKILL.md (the Splitting (split) block only) (stop on breach; explain in the report). Net added lines budget: +2 at most, with duplicates cut first (standing ruling 6513306068).
    Container & model: XS, mode:subagent, model: ceiling (dispatch-gates --tier at f459c86, Model tier — MANDATORY: - skills/objectstack-ai/SKILL.md ⇢ 'skills/**'), effort: medium (XS wording of two sentences to match landed code)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7249965337
    Premise: holds at f459c86 — PR #38439 (f19ee34) is on main; the skill's markdown bullet reads "one section per heading, each passage embedded with its heading path" and its maxChars paragraph reads "Adjacent pieces shorter than minChars (default 200) are merged" for every strategy, which no longer holds for a markdown section that fits.
    Serial constraints cleared: check-handover --inflight at f459c863: one hit, #38369 (this area), whose claim names this file only to exclude it ("is not in it"): false overlap; no open pull touches skills/objectstack-ai/ (file lists read)
    Pre-claim lane: skills/** ⇒ domain:skills; governed (Tier H), lands through the seat after a contract-review-tier review (fable, high, verified); not the low-risk arm unless the record reads Security-touching: no.
    Pre-claim deps: Blocked-by: #38351, closed (PR #38439 merged f19ee34).
    Prior rulings read: ruling A on #38351 (record 7247322956, 「#38351 同意」) and its item 6 (no minChars = maxChars step); standing ruling 6513306068 (skills byte ratchet).

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-project-manager · session_01FEkQ5oQLfL8thb6wtUHnTb
    os-dev-report

    {
      "issue": 38442,
      "status": "blocked",
      "branch": "claude/issue-38442-skill-markdown-fitting-section",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38466",
      "session": "session_01FEkQ5oQLfL8thb6wtUHnTb",
      "premise_still_valid": true,
      "summary": "Draft PR 38466 (head 572e9126) rewrites the Splitting block of skills/objectstack-ai/SKILL.md to match the splitter merged in f19ee341: the markdown bullet says a section that fits maxChars with its heading path is one passage and one that does not is cut as recursive cuts; the minChars sentence says it merges in recursive text and in a markdown section that does not fit, and a fitting section stays whole whatever minChars is. The area's mid-round addition is in the second commit: the settings label reads 'Longest passage', true only once the PR of card 38290 is on main, and the PR body says this PR lands after it. BLOCKED on one thing only the PM can lift: the skills token ratchet is red by 40 (7240 against ceiling 7200, headroom on main 0) after three restatement cuts in the block (67 bytes paid, 225 added), and the row lives in scripts/check-skills-token-ratchet.mjs, outside the claim's file surface (stop on breach). The measured row move (7200 to 7240, standing ruling record 6513306068 letter B) is ready as one commit on the no-PR backup branch claude/issue-38442-skill-markdown-fitting-section-wip at 924f8304, where the gate and its self-test are green. Nothing else waits: both card wording items are done and pushed. Net lines +1 (505 to 506), within the +2 budget.",
      "tests": "Prose-only diff: no test, no ablation. Final head 572e9126. node scripts/check-skills-token-ratchet.mjs exit 1: 'skills/objectstack-ai/SKILL.md is 7240 tokens; the ratchet ceiling is 7200 (over by 40)'. On 924f8304 (wip branch): exit 0, 'skills/objectstack-ai/SKILL.md 7240 / 7240 (+0)', self-test '111 cases pass'. Size readings: the file 505 lines / 28827 bytes to 506 lines / 28985 bytes; all skills/*/SKILL.md 4386 lines / 228099 bytes to 4387 / 228257; ratcheted bundle 200891 to 200931 tokens.",
      "gates": "Local, head 572e9126, the 49 commands of dispatch-gates.mjs --commands, exit codes captured before any pipe: 43 exit 0 (among them check-skills-token-ratchet --self-test, spec check:skill-docs, check:skill-links, check:skill-identifier-liveness, check:skill-compatibility, check:skill-frame-sync, check:pm-skill-id-lint, check:doc-authoring, check:nul-bytes, check:published-files, check-empty-changeset, check-changeset-no-major, check-adr-0087-registration); 1 exit 1 (check-skills-token-ratchet, the gap); 5 exit 3 NOT MEASURED, reason: each needs a whole-workspace build that this prose diff does not owe locally (lint check:doc-formula-expressions, check:dts-closure, check:dual-build-cjs-loads, check:lean-entry-closure, check:sourcemap-no-sources-content). --ran: '49 derived, 49 run, 0 NOT-MEASURED, 0 UNRUN' (the tool's zero is the runner's claim; the five exit-3 families above are NOT MEASURED). CI check-runs: NOT MEASURED, reason: the report is delivered when local verification ends; Lint & Repo Gates is expected red on the ratchet until the row is moved.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 relay strokes — pr_create (POST /repos/objectstack-ai/objectstack/pulls, draft; POST /repos/objectstack-ai/objectstack/issues/38466/assignees) and this report (POST /repos/objectstack-ai/objectstack/issues/38442/comments). No labels sent. git push x3 (work branch twice, wip branch once) is not a REST write.",
      "deviations": [
        "Order conflict, named not chosen silently: the order cites the standing ruling 6513306068 (cut duplicates first, raise the remainder by measurement) but limits the file surface to the skill file, stop on breach. The row move was therefore NOT made on the PR branch; it is on the wip branch.",
        "The changeset .changeset/38442-skill-markdown-fitting-section.md is outside the named file surface: skills/** ships as @objectstack/skills, so the diff publishes (AGENTS.md Post-Task step 3) and takes a patch changeset, no skip-changeset.",
        "The first gate run was stopped at command 5 when the area's addition arrived; the full run cited is on the final head.",
        "PR body ends with the line the order names; a revision, if the row joins, is the seat's to write (draft at the scratchpad path in the final report).",
        "wip branch claude/issue-38442-skill-markdown-fitting-section-wip is to be deleted once its commit lands or is declined."
      ],
      "open_questions": [
        {
          "question": "The token ratchet row for skills/objectstack-ai/SKILL.md must move 7200 to 7240 for the PR to go green, and its file is outside the claim's file surface. How does it land?",
          "options": [
            "A: widen the file surface to scripts/check-skills-token-ratchet.mjs and merge wip commit 924f8304 into the PR branch (one patch round; the PR body already quotes the ruling)",
            "B: keep the surface; cut 158 more bytes in the Splitting block, which has no further restatement, so facts would be dropped"
          ],
          "recommendation": "A, because it is the gate's recognised path under the standing ruling, the cuts were made first, and the commit is already measured green."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: 38290 · noted, not filed — the 'Longest passage' label line in this PR is false on main until that card's PR merges; landing order is stated in the PR body.",
        "carrier: none · noted, not filed — the block's sentence 'Changing split re-splits a document only when it next changes' was not checked against the split algorithm version move described in the changeset of f19ee341; read-only observation, no repro."
      ]
    }
  8. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-project-manager · session_01FEkQ5oQLfL8thb6wtUHnTb

    File surface widened (claim 7249982868), on the dev report 7250187261. Two files are added: scripts/check-skills-token-ratchet.mjs, the skills/objectstack-ai/SKILL.md row only, 7200 → 7240 as measured; and the changeset .changeset/38442-skill-markdown-fitting-section.md, a patch on @objectstack/skills, which publishes the tree.
    Ruling-ref: standing ruling 6513306068 「A:先削重复,余额按实测提高」. The dev cut restatements in the block first (67 bytes paid against 225 added), and the measured remainder raises the row. Cutting a further 158 bytes would drop facts, so no.
    Recorded 2026-11-29T03:40Z.

  9. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t

    Triage: lands in skills/objectstack-ai/SKILL.md (the Splitting (split) block) and its row in scripts/check-skills-token-ratchet.mjs · area:ai · domain:skills · Bug · p3 → p2 (raising an in-flight card is allowed) · pm:dispatched (draft PR #38466) · size XS. Rationale: the rule landed. #38351 closed, and PR #38439 merged as f19ee341. On main the shipped skill still says markdown is "one section per heading" (~L332) and that short pieces are merged for every strategy (~L340). A shipped skill that misstates a landed rule is a Bug with reach "builders, often", so p2. For L1: PR #38466's "Longest passage" line is true only once #38290's change lands, which is not merged. Hold that line or split it out.

    Recorded 2026-11-29T03:48Z.

  10. added
    priority:p2
    and removed on Nov 29, 2026
  11. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-project-manager · session_01FEkQ5oQLfL8thb6wtUHnTb
    os-dev-report

    {
      "issue": 38442,
      "status": "done",
      "branch": "claude/issue-38442-skill-markdown-fitting-section",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38466",
      "session": "session_01FEkQ5oQLfL8thb6wtUHnTb",
      "premise_still_valid": true,
      "summary": "Patch round after widening record 7250198232 (option A). Final head 924f8304 on claude/issue-38442-skill-markdown-fitting-section: wip commit 924f8304 was fast-forwarded onto the work branch (no rebase, no force) and pushed, so draft PR 38466 now carries three commits: the Splitting-block wording (ae01b013), the 'Longest passage' settings label (572e9126) and the ratchet row 7200 to 7240 (924f8304). The token ratchet and its self-test are green at the new head. The PR body file was revised for the new head (ratchet section, Tests, record 7250198232, lands after PR 38468) and NOT sent: the seat sends it. NOT DONE: the remote backup branch claude/issue-38442-skill-markdown-fitting-section-wip is still on origin at 924f8304; git push --delete answered HTTP 403 once and was not retried; it waits for a hand with delete rights. Net lines of the skill file +1 (505 to 506).",
      "tests": "No test, no ablation (prose plus one ratchet row). Head 924f8304: node scripts/check-skills-token-ratchet.mjs exit 0, 'skills/objectstack-ai/SKILL.md 7240 / 7240 (+0)', 'ratcheted (authored) 200931 / 200931 (+0)'; --self-test exit 0, '111 cases pass'. Size readings: the file 505 lines / 28827 bytes to 506 / 28985; all skills/*/SKILL.md 4386 lines / 228099 bytes to 4387 / 228257.",
      "gates": "Local, head 924f8304, the 67 commands of dispatch-gates.mjs --commands, exit codes captured before any pipe: 62 exit 0 (among them check-skills-token-ratchet and its --self-test, check:ratchet-remedy-authority, check:pm-dispatch-gates, check-self-test-wired, spec check:skill-docs, check:skill-links, check:skill-identifier-liveness, check:skill-compatibility, check:skill-frame-sync, check:pm-skill-id-lint, check:doc-authoring, check:nul-bytes, check:published-files, check-empty-changeset, check-changeset-no-major, check-adr-0087-registration); 5 exit 3 NOT MEASURED, reason: each needs a whole-workspace build not owed locally (lint check:doc-formula-expressions, check:dts-closure, check:dual-build-cjs-loads, check:lean-entry-closure, check:sourcemap-no-sources-content). --ran: '67 derived, 67 run, 0 NOT-MEASURED, 0 UNRUN' (the tool's zero is the runner's claim; the five exit-3 families are NOT MEASURED). The one test file naming the ratchet script (packages/spec/scripts/platform-catalog.test.ts) names it in a comment only; not run. CI check-runs: NOT MEASURED, reason: the report is delivered when local verification ends.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "3 relay strokes over both rounds — pr_create (POST pulls, draft; POST issues/38466/assignees), the first report (comment 7250187261) and this report (POST /repos/objectstack-ai/objectstack/issues/38442/comments). No labels sent. git push x4 (work branch three times, wip branch once) plus one refused git push --delete (403); none is a REST write.",
      "deviations": [
        "The remote wip branch could not be deleted (403, not retried): pending delete by a hand with delete rights.",
        "Commit 924f8304's message still says it is held on a no-PR branch outside the file surface; history was not rewritten (no rebase, no force). The PR body file carries a history note.",
        "The PR body on GitHub is still the one sent at 572e9126; the revised body is in the scratchpad file named in the final report, for the seat to send.",
        "A second os-dev-report comment was posted so the newest report on the card is not the blocked one.",
        "The changeset and the ratchet row are outside the claim's original file surface; both are covered by widening record 7250198232."
      ],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: PR 38468 (card 38290) · noted, not filed — the 'Longest passage' label line is false on main until that PR merges; the body file says this PR lands after it.",
        "carrier: none · noted, not filed — the block's sentence 'Changing split re-splits a document only when it next changes' was not checked against the split algorithm version move described in the changeset of f19ee341; read-only observation, no repro."
      ]
    }
  12. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-project-manager · session_01FEkQ5oQLfL8thb6wtUHnTb
    os-dev-report

    {
      "issue": 38442,
      "status": "done",
      "branch": "claude/issue-38442-skill-markdown-fitting-section",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38466",
      "session": "session_01FEkQ5oQLfL8thb6wtUHnTb",
      "premise_still_valid": true,
      "summary": "Rework round on contract review 7250515767 (FAIL, one should-fix S1). Final head 3fbae9642c5e75d541f1eb8d6336f7d955e733fa on claude/issue-38442-skill-markdown-fitting-section, pushed as a fourth commit (no rebase, no force). S1: the block's last sentence now reads 'Changing split rebuilds the source's whole index, and its searches are refused until the rebuild finishes.', following knowledge.mdx section 3.5 'A split change is a new index' (read with knowledge-index-fingerprint.ts and knowledge-service.ts on the head). Cut first: the 'and refused' of 'Retired and refused' (12 bytes; its 400 UNKNOWN_KEY and parse error say it). The ratchet row moves to the new measurement, 7248 (28827 to 29017 bytes, priced 28990, ceil(28990/4) = 7248), under widening record 7250198232 and standing ruling 6513306068; its comment arithmetic and the changeset are updated. Net lines of the skill file are now +2 (505 to 507), at the budget. N1 unchanged. The PR body file is revised for this head and NOT sent. Still open outside the tree: the remote backup branch claude/issue-38442-skill-markdown-fitting-section-wip (at 924f8304) cannot be deleted from the dev container (403).",
      "tests": "No test, no ablation (prose plus one ratchet row). Head 3fbae964: node scripts/check-skills-token-ratchet.mjs exit 0, 'skills/objectstack-ai/SKILL.md 7248 / 7248 (+0)', 'ratcheted (authored) 200939 / 200939 (+0)'; --self-test exit 0, '111 cases pass'. Size readings: the file 505 lines / 28827 bytes to 507 / 29017; all skills/*/SKILL.md 4386 lines / 228099 bytes to 4388 / 228289.",
      "gates": "Local, head 3fbae964, the 67 commands of dispatch-gates.mjs --commands, exit codes captured before any pipe: 62 exit 0 (among them check-skills-token-ratchet and its --self-test, check:ratchet-remedy-authority, check:pm-dispatch-gates, check-self-test-wired, spec check:skill-docs, check:skill-links, check:skill-identifier-liveness, check:skill-compatibility, check:skill-frame-sync, check:pm-skill-id-lint, check:doc-authoring, check:nul-bytes, check:published-files, check-empty-changeset, check-changeset-no-major, check-adr-0087-registration); 5 exit 3 NOT MEASURED, reason: each needs a whole-workspace build not owed locally (lint check:doc-formula-expressions, check:dts-closure, check:dual-build-cjs-loads, check:lean-entry-closure, check:sourcemap-no-sources-content). --ran: '67 derived, 67 run, 0 NOT-MEASURED, 0 UNRUN' (the tool's zero is the runner's claim; the five exit-3 families are NOT MEASURED). The one test file naming the ratchet script (packages/spec/scripts/platform-catalog.test.ts) names it in a comment only; not run. CI check-runs: NOT MEASURED, reason: the report is delivered when local verification ends.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "4 relay strokes over three rounds — pr_create (POST pulls, draft; POST issues/38466/assignees), and three report comments (7250187261, 7250422586, this one: POST /repos/objectstack-ai/objectstack/issues/38442/comments). No labels sent. git push x5 plus one refused git push --delete (403); none is a REST write.",
      "deviations": [
        "The remote wip branch could not be deleted (403, not retried): pending delete by a hand with delete rights.",
        "The PR body on GitHub is still the one sent at 572e9126; the revised body for head 3fbae964 is in the scratchpad file named in the final report, for the seat to send.",
        "The changeset gained one bullet for the corrected sentence and names the fourth cut.",
        "Net lines of the skill file reached the +2 budget; a further addition would breach it."
      ],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: PR 38468 (card 38290) · noted, not filed — the 'Longest passage' label line is false on main until that PR merges; the body file says this PR lands after it."
      ]
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area:aidomain:skillspm:dispatchedpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions