Alchemy lab v2 for developers. Transmutation circles are build pipelines, philosopher stone is zero-bug release, homunculi are bots.
  • JavaScript 100%
Find a file
2026-06-30 11:14:27 +00:00
node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709 test: add e2e tests 2026-06-28 11:10:07 +00:00
src feat(#1): alchemist v2 engine — ingredients, recipes, transmutation, homunculi, ASCII lab 2026-06-15 17:07:35 +00:00
tests fix: e2e tests now use CommonJS require for node --test compatibility 2026-06-30 11:14:24 +00:00
package.json feat(#1): alchemist v2 engine — ingredients, recipes, transmutation, homunculi, ASCII lab 2026-06-15 17:07:35 +00:00
README.md feat(#1): alchemist v2 engine — ingredients, recipes, transmutation, homunculi, ASCII lab 2026-06-15 17:07:35 +00:00

code-alchemist-v2

Alchemy lab v2 for developers. Transmutation circles are build pipelines, philosopher stone is zero-bug release, homunculi are bots.

Usage

const { AlchemyLab, INGREDIENT_TYPES, RECIPE_TYPES, HOMUNCULUS_TYPES } = require('./src/alchemy');

const lab = new AlchemyLab('Lab of Transmutation');
lab.setAlchemist('Paracelsus');

// Gather ingredients
lab.addIngredient(INGREDIENT_TYPES.CLEAN_CODE, 3);
lab.addIngredient(INGREDIENT_TYPES.TEST_CASE, 2);

// Create recipe and transmute
lab.createRecipe(RECIPE_TYPES.BUILD_ARTIFACT);
lab.addToRecipe(0, 0);
lab.addToRecipe(0, 1);
lab.transmute(0);

// Create homunculi (bots)
lab.createHomunculus(HOMUNCULUS_TYPES.TEST_RUNNER);
lab.createHomunculus(HOMUNCULUS_TYPES.LINTER);
lab.runHomunculi();

console.log(lab.labView());
console.log(lab.report());

Ingredients

  • Raw Data (potency 5) -> Clean Code (15) -> Library Extract (20) -> Docker Image (35) -> Philosopher Dust (100)

Recipes

  • Build Artifact (difficulty 3, 80% success)
  • Hotfix Potion (difficulty 2, 60% success)
  • Feature Elixir (difficulty 4, 70% success)
  • Refactor Draught (difficulty 5, 50% success)
  • Philosopher Stone (difficulty 10, 5% success) — The zero-bug release

Homunculi (Bots)

  • Test Runner, Linter, Formatter, Deployer, Security Auditor