[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M758EM2ZRJH8PXZ24V5FTRJR":3,"skill-same:01M758EM2ZRJH8PXZ24V5FTRJR":61},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":35,"repositoryHtmlUrl":36,"repositoryHomepageUrl":37,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M758EM2ZRJH8PXZ24V5FTRJR","pipeline-debugging",null,"Check the data store and service logs before changing code.","lukemcqueen\u002Fsteadfaste-fleet","lukemcqueen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F405240?v=4","01M757MHPAGRXTJAT46SKZP98R","Luke McQueen","01M757MHPZ573KP8DT9GB8SBQ7",4,"MIT","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fpipeline-debugging\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: pipeline-debugging\ndescription: Check the data store and service logs before changing code.\nversion: 1.0.0\ncategory: devops\nauthor: Gisu\nlicense: MIT\nplatforms: [linux]\naliases: [iswc-debugging, cisnet-debugging]\n---\n\n# Pipeline Debugging — Data + Service + Code\n\n## The Core Insight\n\nPipeline bugs have three layers of truth:\n- **Code** — what the developer intended to happen\n- **Database** — what actually happened (committed state)\n- **Service logs** — what the runtime environment actually did\n\nThese three are often different. The most common debugging mistake is\nchanging code based on assumptions that the database and logs would\ncontradict in seconds.\n\n## Method: Data-First Pipeline Debugging\n\n### Step 1: Check the data store\n\nBefore any code change, query the database tables that hold the entity's\nprocessing state. This reveals:\n- Was the entity processed? (status, timestamps)\n- Was it rejected or did it succeed? (status code, rejection reason)\n- What was the actual output? (ISWC assigned, error message)\n\nFor the client ISWC\u002FCIS-Net pipeline:\n```sql\nSELECT w.socworkcde, i.iswc, s.status, s.rejection_reason\nFROM tblworkinfo w\nLEFT JOIN tbliswc i ON i.dbkey = w.dbkey\nLEFT JOIN tbliswcsync s ON s.dbkey = w.dbkey\nWHERE w.socworkcde = '\u003Cwork-code>';\n```\n\n### Step 2: Check the service logs\n\nFind the service-agent that processes the pipeline stage and grep for\nthe entity's identifier:\n\n```bash\n# Find the logs\nfind \u002Fservice\u002Froot -name \"*.log\" | head -20\n\n# Grep for the entity\ngrep -ri '\u003Centity-id>' \u002Fservice\u002Froot\u002F 2>\u002Fdev\u002Fnull\n```\n\nKey signals:\n- **404\u002F401 on API calls** — the service can't authenticate or reach its upstream\n- **NullPointerException \u002F crash on startup** — service never processes anything\n- **\"Processed successfully\"** — service did work, no error on its side\n- **Empty results** — entity didn't reach this service stage\n\n### Step 3: Connect the findings\n\nMap what the DB, logs, and code each say. If they disagree, the data\nstore and logs are more reliable than the code — they show what actually\nhappened.\n\nExample from a real session: The code said \"work exists in CIS-Net with\nno ISWC → send UPDATE.\" The DB said \"status=REJECTED, no ISWC.\" The\nTomcat ISWC Agent logs said \"401 Unauthorized on updateAgentRun — agent\ncrashing before processing.\" The actual root cause was an expired API\nkey, not a code bug.\n\n### Step 4: Fix the actual blocker\n\nOnly make code changes when the code is demonstrably wrong (DB + logs\nconfirm the code path is incorrect). If the DB shows \"service never\nprocessed the entity\" and the logs show \"service crashed on startup,\"\nfix the service — not the pipeline code.\n\n### Step 5: Verify\n\nAfter the fix, re-query the DB and re-check the logs to confirm the\nentity was processed. Don't claim the fix works until you can cite:\n- DB query showing the updated status\n- Log line showing successful processing\n\n## Pitfalls\n\n- **Making code changes without checking the DB** — wastes cycles on\n  hypotheses the DB disproves instantly\n- **Assuming the code route is the problem** — the pipeline might never\n  reach the code you're fixing\n- **Claiming \"done\" without verification** — a stated claim without tool\n  output is a promise, not evidence\n- **Ignoring service logs** — a crashed service silently drops all\n  entities; no code change can fix that\n- **Overcomplicating the fix** — the `iswc_or_error` nil fix was 2 lines\n  and fixed the \"unknown error\" cascade. Most pipeline fixes are small\n  when you identify the right break point.\n\n## Reference\n\n- `references\u002Fiswc-cisnet-pipeline-debugging-2026-07-29.md` — full session\n  narrative for the client ISWC\u002FCIS-Net pipeline debugging session\n","# Pipeline Debugging — Data + Service + Code\n\n## The Core Insight\n\nPipeline bugs have three layers of truth:\n- **Code** — what the developer intended to happen\n- **Database** — what actually happened (committed state)\n- **Service logs** — what the runtime environment actually did\n\nThese three are often different. The most common debugging mistake is\nchanging code based on assumptions that the database and logs would\ncontradict in seconds.\n\n## Method: Data-First Pipeline Debugging\n\n### Step 1: Check the data store\n\nBefore any code change, query the database tables that hold the entity's\nprocessing state. This reveals:\n- Was the entity processed? (status, timestamps)\n- Was it rejected or did it succeed? (status code, rejection reason)\n- What was the actual output? (ISWC assigned, error message)\n\nFor the client ISWC\u002FCIS-Net pipeline:\n```sql\nSELECT w.socworkcde, i.iswc, s.status, s.rejection_reason\nFROM tblworkinfo w\nLEFT JOIN tbliswc i ON i.dbkey = w.dbkey\nLEFT JOIN tbliswcsync s ON s.dbkey = w.dbkey\nWHERE w.socworkcde = '\u003Cwork-code>';\n```\n\n### Step 2: Check the service logs\n\nFind the service-agent that processes the pipeline stage and grep for\nthe entity's identifier:\n\n```bash\n# Find the logs\nfind \u002Fservice\u002Froot -name \"*.log\" | head -20\n\n# Grep for the entity\ngrep -ri '\u003Centity-id>' \u002Fservice\u002Froot\u002F 2>\u002Fdev\u002Fnull\n```\n\nKey signals:\n- **404\u002F401 on API calls** — the service can't authenticate or reach its upstream\n- **NullPointerException \u002F crash on startup** — service never processes anything\n- **\"Processed successfully\"** — service did work, no error on its side\n- **Empty results** — entity didn't reach this service stage\n\n### Step 3: Connect the findings\n\nMap what the DB, logs, and code each say. If they disagree, the data\nstore and logs are more reliable than the code — they show what actually\nhappened.\n\nExample from a real session: The code said \"work exists in CIS-Net with\nno ISWC → send UPDATE.\" The DB said \"status=REJECTED, no ISWC.\" The\nTomcat ISWC Agent logs said \"401 Unauthorized on updateAgentRun — agent\ncrashing before processing.\" The actual root cause was an expired API\nkey, not a code bug.\n\n### Step 4: Fix the actual blocker\n\nOnly make code changes when the code is demonstrably wrong (DB + logs\nconfirm the code path is incorrect). If the DB shows \"service never\nprocessed the entity\" and the logs show \"service crashed on startup,\"\nfix the service — not the pipeline code.\n\n### Step 5: Verify\n\nAfter the fix, re-query the DB and re-check the logs to confirm the\nentity was processed. Don't claim the fix works until you can cite:\n- DB query showing the updated status\n- Log line showing successful processing\n\n## Pitfalls\n\n- **Making code changes without checking the DB** — wastes cycles on\n  hypotheses the DB disproves instantly\n- **Assuming the code route is the problem** — the pipeline might never\n  reach the code you're fixing\n- **Claiming \"done\" without verification** — a stated claim without tool\n  output is a promise, not evidence\n- **Ignoring service logs** — a crashed service silently drops all\n  entities; no code change can fix that\n- **Overcomplicating the fix** — the `iswc_or_error` nil fix was 2 lines\n  and fixed the \"unknown error\" cascade. Most pipeline fixes are small\n  when you identify the right break point.\n\n## Reference\n\n- `references\u002Fiswc-cisnet-pipeline-debugging-2026-07-29.md` — full session\n  narrative for the client ISWC\u002FCIS-Net pipeline debugging session\n",{"name":5,"author":24,"aliases":25,"license":15,"version":28,"category":29,"platforms":30,"description":7},"Gisu",[26,27],"iswc-debugging","cisnet-debugging","1.0.0","devops",[31],"linux","main","2e6aa8d15ab0a366c90be54f61bf9c6e97015e83","skills\u002Fdevops\u002Fpipeline-debugging",1,"https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet","steadfaste.com","https:\u002F\u002Fgithub.com\u002Flukemcqueen","AI Architect | Building Hermes Cortex: governed multi-agent AI for autonomous software engineering | Enterprise Tech Consultant","2026-11-14 22:33:34",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add lukemcqueen\u002Fsteadfaste-fleet --skill pipeline-debugging",{"tool":47,"command":48},"bunx","bunx skills add lukemcqueen\u002Fsteadfaste-fleet --skill pipeline-debugging",{"tool":50,"command":51},"pnpm","pnpm dlx skills add lukemcqueen\u002Fsteadfaste-fleet --skill pipeline-debugging","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fpipeline-debugging\u002FSKILL.md",true,[55],{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fiswc-cisnet-pipeline-debugging-2026-07-29.md","REFERENCE","参考文档",2727,"https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fpipeline-debugging\u002Freferences\u002Fiswc-cisnet-pipeline-debugging-2026-07-29.md",[62,70,77,84,91,98],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":69},"01M7DXY4G8NSVB59K8B6S2AQNP","macbook-linux-maintenance","Legacy MacBook Linux fixes: GPU wedge, reboot hang, thermal.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fmacbook-linux-maintenance\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":69},"01M7DXXYJCXFJ3TGB84ZQ8KFE6","governance-regression-triage","Triage a host's governance issues: what changed.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fgovernance-regression-triage\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":69},"01M7DXXSAP1G8FDRJAMXQGBBMK","enforcement-immutability","Use when enforcement files lose their immutable flag.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fenforcement-immutability\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":69},"01M78SSDQVRYX64Y16X32TC0NS","steadfaste-fleet-repo-deploy","Use when committing to the steadfaste-fleet repo.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fsteadfaste-fleet-repo-deploy\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":69},"01M78SS928F3R2RJAYVW4E30CE","steadfaste-fleet-maintenance","Maintain an installed Steadfaste Fleet instance — update both the upstream Hermes Agent and the fleet repo layer, merge diverged histories, sync skills safely, and troubleshoot common issues. Covers the dual-update workflow (hermes update + fleet-update.sh), encrypted brain data backup, mycortex import, and recovery techniques.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fsteadfaste-fleet-maintenance\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":69},"01M78SP1CHW0T0BWE5ZT6JBPX8","fleet-preflight","DEPRECATED alias — merged into survey-before-action (2026-08-20). Load survey-before-action instead; its \"Repo-Specific Pre-Flight\" section covers git search, Hermes boundary, and deployment verification.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Ffleet-preflight\u002FSKILL.md",[],[]]