Skip to content

Refresh canonical skill-lib snapshot - #19

Merged
erinepshovel-code merged 1 commit into
mainfrom
chore/refresh-skill-lib-c14ee9d
Sep 6, 2026
Merged

erinepshovel-code merged 1 commit into
mainfrom
chore/refresh-skill-lib-c14ee9d

Conversation

@erinepshovel-code

Copy link
Copy Markdown
Contributor

Propagation

  • source repository: The-Interdependency/skill-lib
  • source commit: c14ee9d500579a4b5d6821f62c9d82ca96e73608
  • target repository: The-Interdependency/ptcna
  • target base: 7435cd4ce676b437656c50e874b6525e84d384d9
  • exact skills copied: canon, interdependent-work-graph, meta-module-build, msdmd, ratios, risk-boundary-build, skill-usage, test-build, the-interdependency

Verification

  • canonical vendored-skill drift with strict source SHA — pass
  • multilingual C/C++/Perl/Java parser smoke — pass
  • shebang placement and displaced-shebang rejection smoke — pass
  • commit diff check — pass
  • existing MSDMD collection regenerated/compared under the published parser — fresh
  • ratios: 50/50 covered, 282 verified, 0 gaps/drift/misplacement

Generated files

  • no generated file changed; existing collection output remained byte-identical where present

Doctrine / hmmm

  • no target-local doctrine contradiction found
  • full target suite is left to the repository’s PR workflows where configured; absence of such a workflow remains hmmm, not a claimed pass

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 6, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-06T18:27:52.607688Z c5bd4d0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@erinepshovel-code
erinepshovel-code merged commit a06a049 into main Sep 6, 2026
5 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c5bd4d05ef

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +36 to +38
# extension → line-comment marker. Keep this registry entry-for-entry equivalent
# to universal.ts; tests fail if either parser gains or loses an extension alone.
COMMENT_MARKERS: dict[str, str] = {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Declare contracts for the materially revised parsers

This public registry and the new shebang-placement semantics materially revise the parser, but neither this module nor the other changed executors adds the required MODULE_BUILD and CONTRACTS declarations or paired CHECKS evidence. Add those declarations and executable evidence so the new extension and placement behavior is represented in the repository's metadata audit.

AGENTS.md reference: AGENTS.md:L45-L49

Useful? React with 👍 / 👎.

".rb": "#", ".rake": "#", ".gemspec": "#",
".ex": "#", ".exs": "#",
".sh": "#", ".bash": "#", ".zsh": "#", ".fish": "#",
".pl": "#", ".pm": "#", ".t": "#",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Refuse ambiguous .pl marker detection

Do not map .pl unconditionally to #: .pl is also a conventional Prolog suffix, where the line-comment marker is %. For such a file, marker_for() selects the Perl marker, so parse_file() silently ignores valid % === ... === blocks and walk_tree() reports a false coverage gap; leave the suffix unresolved and require an explicit marker, as the parser already does for other ambiguous suffixes.

Useful? React with 👍 / 👎.

Comment on lines +154 to +157
# The named-form computers above use Python imports, definitions, docstrings,
# and call syntax. Other parser-supported languages remain discoverable without
# becoming false strict-mode gaps or receiving Python-shaped verification.
COMPUTER_EXTENSIONS = {".py"}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Verify Python stub and windowed-script extensions

Include .pyi and .pyw in the Python computer scope. Both extensions are newly registered as Python, but this set routes them to outside_computer_scope; consequently --strict succeeds when their seals are missing, and even deliberately drifted seals are reported only as unverifiable despite the existing Python metric computers being applicable.

Useful? React with 👍 / 👎.

Comment on lines 327 to +329
working = _strip_seal(lines, ext)
new = "\n".join([want] + working + [want]) + "\n"
if _has_valid_shebang(working):
new_lines = [working[0], want, *working[1:], want]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Exclude TypeScript hashbangs from the code-line count

When --write handles a Node TypeScript executable, this path preserves its #! line while _count_ts() classifies that line as code rather than as a hashbang comment. A script containing a hashbang and one statement is therefore stamped with N:M = 2:0 instead of 1:1, making the canonical density metric inaccurate for every .ts or .tsx executable using the newly supported shebang placement.

Useful? React with 👍 / 👎.

Comment on lines +55 to +57
".swift": "//", ".kt": "//", ".kts": "//", ".cs": "//",
".mm": "//", ".scala": "//", ".dart": "//", ".zig": "//",
".groovy": "//", ".gradle": "//", ".php": "//",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Account for PHP's required opening tag

Do not route .php files through the generic boundary-placement check without a PHP-aware preamble rule. A valid PHP file begins with <?php, so a named seal immediately after that tag is always reported as misplaced; moving the // ratios: seal to literal line 1 instead places it outside PHP and can emit the annotation in an HTTP response or trigger headers-already-sent failures. Either exclude PHP from RATIOS scanning or treat the opening tag as a required language boundary.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant