Proposal: add jcode-harness embedded skills and LLM wiki memory loop#151
Open
chapzin wants to merge 136 commits into
Open
Proposal: add jcode-harness embedded skills and LLM wiki memory loop#151chapzin wants to merge 136 commits into
chapzin wants to merge 136 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR is a proposal/reference implementation for a
jcode-harnessproduct direction on top of jcode internals. It focuses on making agent work more auditable and reproducible by combining:/initscaffolding and swarm-analysis artifacts;The intent is not to force a direct merge of a large generated branch. Per the repository contribution policy, this PR is meant to make the design direction, tests, tradeoffs, and evidence reviewable so the maintainer can reuse, adapt, or rewrite the parts that fit upstream.
Problem / motivation
Long-running agent work can fail quietly when:
This branch explores a local-first harness layer that keeps those concerns explicit in repo files, docs, tests, and CLI contracts.
Main changes
Embedded skills and routing
llmwiki-memoryskill for safe use of local LLM wiki memory, provenance, transcript sync, and secret boundaries.karpathy-guidelines,optimization, andclean-code-guardianas offline built-ins.src/skill_pack.rswithinclude_str!.src/skill_router.rsso wiki/project-memory/prior-decision/provenance tasks selectllmwiki-memory."pr"trigger with"pull request", avoiding matches inside words likepriororproject./initand project-local harness artifacts.jcode/init artifacts for project status, init questions, skills/MCP plans, and swarm-analysis plan/report files./initswarm flow: architecture, QA, documentation/onboarding, and tooling/security discovery roles with synthesis blocked on a report barrier.llmwiki-memoryis part of the bootstrap guidance.Docs and README
jcode-harnessfork thesis.docs/assets/jcode-harness-loop.svg, a visual engineering-loop diagram inspired by the style ofchapzin/codex-harness-mcp.docs/CODEX_BOOTSTRAP.md,docs/SKILLS_HARNESS.md,docs/SKILLS_HARNESS_STATUS.md, and release gates to reflect the Jcode + local LLM wiki + Karpathy-skills scope..jcode/side_panel/status.md.Tests / cleanup
#[allow(deprecated)].Validation run
Commands run successfully during this branch:
Also run successfully:
Note:
selfdev reloadwas attempted after a successful build, but the reload tool returnedCould not find jcode repository directory.selfdev statusstill showed the new build channel/recent build.README-specific validation:
Tradeoffs and review notes
jcode-harness; that may be too fork-specific for upstream without a different landing-page strategy.llmwiki-memorytreats wiki memory as provenance/context, not source-code truth. Code claims still need repository/test evidence..jcode/artifacts are project-local harness state and may need upstream discussion about whether they belong in-tree or only in initialized projects.Security / safety boundaries
.envvalues, deployment secrets, database credentials, cookies, or private keys should be synced into LLM wiki memory.Suggested maintainer review path
If this is too broad to merge directly, the most reusable slices are likely:
"pr"false-positive fix;llmwiki-memoryskill as an optional/local memory guidance layer;/initswarm-analysis design and docs as a reference for future bootstrap UX;Need help on this PR? Tag
@codesmithwith what you need.