chore(cursor): add CORE dev environment (graphify install + attribution hygiene) - #18
Draft
real-limitless wants to merge 3 commits into
Draft
real-limitless wants to merge 3 commits into
real-limitless wants to merge 3 commits into
Conversation
…on hygiene) Add .cursor/environment.json for the ProjectEverflow CORE checkout: - install: bash .cursor/install.sh provisions the graphify knowledge-graph CLI (graphifyy) that AGENTS.md and the bundled skill rely on, and puts pip's --user script dir on PATH. - start: bash .cursor/strip-cursor-attribution.sh runs per-boot hygiene that removes Cursor co-author git hooks, installs a commit-msg strip hook, overrides a Cursor git identity, and keeps a reaper so the hook cannot linger between commits.
…arent Multi-repo Cloud Agent workspaces run install/start from the workspace parent, not the repo root, so a bare .cursor/install.sh path fails with exit 127. Resolve the script under either the current dir or the projecteverflow/ subdir before invoking it.
…lback The draft-build harness runs install/start from a cwd that is neither the repo root nor the workspace parent, so relative lookups fail. Search a list of known roots (cwd, workspace parent, and the absolute /agent/repos path) and exec the first script that exists.
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
Sets up the Cloud Agent development environment for the ProjectEverflow CORE checkout, which previously had no
.cursor/environment.json. Brings this repo in line with the sibling CORE repos (e.g. OpenFlow) that already run a per-boot attribution-hygienestartcommand, and provisions the graphify knowledge-graph CLI thatAGENTS.mdand the bundled skill rely on.What changed
New
.cursor/files:environment.json—name,install, andstart. Both commands search a list of known roots (cwd, workspace parent, and the absolute/agent/repos/projecteverflowpath) and exec the first script found, so they work regardless of the agent's working directory.install.sh(idempotent) —pip install --user --upgrade graphifyyand adds pip's--userscript dir toPATHsographify query|path|explain|updatework out of the box.strip-cursor-attribution.sh(start, per-boot) — removes Cursor*co-author*git hooks, installs acommit-msg.cursor.zz-strip-attributionscrub hook into every hook set, overrides aCursor Agentgit identity, and keeps a reaper so the co-author hook cannot linger between commits. Prints anOK/FAILproof line.hooks/commit-msg-strip-cursor-attribution— the commit-msg hook that stripsCo-authored-by: Cursor,Made/Generated with Cursor, andcursoragent@cursor.comlines.Validation
bld-20260910-27e2a3b9-c019-4471-a5ea-aa2812fa88abpinned to this branch SUCCEEDED — install installedgraphifyy-0.9.57and loggedgraphify CLI ready. Two earlier builds surfaced a working-directory path issue in the multi-repo build harness; the absolute-root fallback fixes it.commit-msg.cursor.co-authorfiles across the workspace (→ 0), installed the strip hook into every hook set, overrode theCursor Agentidentity to the repo owner, and started the reaper. Proof line:OK — no commit-msg.cursor.co-author or *co-author* files.graphify query,graphify explain, andgraphify path. Runtime output lives under the gitignoredgraphify-out/and is not committed.Co-authored-bytrailer; authored by the repo owner, notcursoragent@cursor.com).The committed
.cursor/environment.jsonis repo-file-managed and takes precedence over dashboard config once merged. Environment changes affect newly started agents; this does not rebuild the current running agent.