• fork: rebuild #2, an authenticated multi-skill import commits as one change (fixes #63)
    fork-tests / verify (pull_request) Successful in 5m45s

    Mike Roservices released this 2026-10-20 21:09:47 +00:00 | 3467 commits to local since this release

    An authenticated import now upserts its skill rows, writes their source-auth
    metadata and stores or rotates their PAT secrets in one database transaction.
    A failure on any skill restores the pre-request state, including new and
    rotated PATs (local_encrypted secrets are database rows, so they roll back).
    A PAT the import replaces is released only after the commit. The route's
    company.skills_imported entry is written only for a committed import, so the
    activity log records the final durable outcome. An import without auth
    persists exactly as upstream's does.

    The upstream seam in company-skills.ts stays one line: applyImportAuth becomes
    persistImport, which runs upstream's upsertImportedSkills on the transaction.

    Co-Authored-By: Claude Opus 5.5 [email protected]

    Downloads