docs: variantSubsections and readSkillEffective docblocks name added subsections; office-hours cap history ends 'Before: 1.2279' (ship Step 9.4)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
garrytanandcapy-ai[bot] committed 2026-10-26 04:59:51 +00:00
1 parent 01818d5dda
commit a3c6fc01bb
3 files changed
+5 -4

No files matched your search

+3 -2
View File
@@ -64,8 +64,9 @@ const headingOf = (section: string) => section.split('\n', 1)[0]!;
/**
* A skill-specific variant of a shared section, cut down to the `### `
* subsections that differ, when the two share their heading, intro and
* subsection headings. Otherwise the whole section stays inline.
* subsections that differ plus any it adds after the shared ones, when it
* keeps the shared heading, intro and subsection headings in order.
* Otherwise the whole section stays inline.
*/
function variantSubsections(own: string, shared: string): string | null {
const ownParts = splitSections(own, '### ');