DataArt/artisyn-implementation-harness / skills/implementation-harness
implementation-harness
FlaggedInstall the portable AI-dev harness, rebuild its operational graph standalone, harvest project skill improvements into its canonical templates, package direct canonical edits into a portable bundle, or apply canonical updates to an existing project. Use /implementation-harness launch, /implementation-harness reindex-graph, or /implementation-harness patch harvest|prepare|apply.
bin/lib/reporter.mjs
View on GitHub/** Text the CLI prints: version comparison, the next-step lines and the pinned update command. */
export const VERSION_PATTERN = /^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/;
const parse = (version) => {
const [core, ...rest] = String(version).split('-');
return {
numbers: core.split('.').map((part) => Number.parseInt(part, 10) || 0),
pre: rest.length > 0 ? rest.join('-') : null,
};
};
const compareIdentifiers = (a, b) => {
const left = a.split('.');
const right = b.split('.');
for (let index = 0; index < Math.max(left.length, right.length); index += 1) {
if (left[index] === undefined) return -1;
if (right[index] === undefined) return 1;
const numeric = /^\d+$/.test(left[index]) && /^\d+$/.test(right[index]);
const difference = numeric
? Number(left[index]) - Number(right[index])
: left[index].localeCompare(right[index]);
if (difference !== 0) return difference < 0 ? -1 : 1;
}
return 0;
};
/** -1, 0 or 1 comparing semver versions; a pre-release sorts before its release. */
export function compareVersions(a, b) {
const left = parse(a);
const right = parse(b);
for (let index = 0; index < 3; index += 1) {
const difference = (left.numbers[index] ?? 0) - (right.numbers[index] ?? 0);
if (difference !== 0) return difference < 0 ? -1 : 1;
}
if (left.pre === right.pre) return 0;
if (left.pre === null) return 1;
if (right.pre === null) return -1;
return compareIdentifiers(left.pre, right.pre);
}
/** Releases up to this version were tagged `artisyn-implementation-harness-v<version>`. */
const LAST_LONG_TAG = '4.0.2';
/** The git tag of a release: `v<version>`, or the long form for releases up to 4.0.2. */
export const releaseTag = (version) =>
compareVersions(version, LAST_LONG_TAG) <= 0
? `artisyn-implementation-harness-v${version}`
: `v${version}`;
/** The base name of a release's ZIP and tarball, the same for every release. */
export const releaseAsset = (version) => `artisyn-implementation-harness-v${version}`;
/** The command that updates an install of the recorded channel, pinned to `version`. */
export function updateCommand({ channel, name, version, provider = 'claude' }) {
const tag = releaseTag(version);
const asset = releaseAsset(version);
switch (channel) {
case 'npm':
return `npx ${name}@${version} update`;
case 'zip':
return `download ${asset}.zip and ${asset}.zip.sha256 from the GitHub Release tagged ${tag}, or run the bundled CLI: node <package>/bin/artisyn-implementation-harness.mjs update --version ${version}`;
case 'marketplace':
return provider === 'codex'
? 'codex plugin marketplace upgrade'
: provider === 'copilot'
? 'copilot plugin update artisyn'
: 'claude plugin update artisyn@dataart';
case 'skills.sh':
return 'npx skills update';
case 'gh-skill':
return `gh skill install DataArt/artisyn-implementation-harness implementation-harness@${tag} --scope project`;
default:
return `unknown channel "${channel}"`;
}
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |