Add .obvious/ agent contract from local dev onboarding - #37
Open
obvious-autobuild-staging[bot] wants to merge 1 commit into
Open
Add .obvious/ agent contract from local dev onboarding#37obvious-autobuild-staging[bot] wants to merge 1 commit into
obvious-autobuild-staging[bot] wants to merge 1 commit into
Conversation
Local dev verified end-to-end in sandbox: all three demo apps run (mongod 4.4 + mongodb-schema-importer, S3-upload, vue-demo), lint passes, screenshots captured. Snapshot gap0pvit10wten6lqhs1:default.
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.
Obvious onboarding —
.obvious/contractAutomated onboarding run. Local dev was brought up and verified end-to-end in a sandbox; this PR adds the resulting agent contract. No application code was touched.
Files generated
.obvious/obvious.md— top-level agent guide: stack matrix, per-app commands, Local Verification Summary, snapshot info, known limitations.obvious/codebase-map.md— folder-level map (depth 2, single table).obvious/config.yml— repo policy auto-detected from GitHub settings (default branchmaster; merge/squash/rebase all enabled → squash chosen;deleteBranchOnMerge: false).obvious/skills/local-dev/SKILL.md— durable local-dev record: bring-up sequence, verification checklist, gotchasSource files scanned
All 30 tracked files across the three apps: manifests (
S3-upload/package.json,mongodb-schema-importer/package.json,vue-demo/package.json), all three READMEs, entrypoints (S3-upload/index.js,mongodb-schema-importer/index.js,vue-demo/src/main.js), views/components (views/index.ejs×2,App.vue,Welcome.vue), schema/config modules (schemas.js,configFromSchema.js), env template (env.example.js), static assets, and per-app.gitignorefiles. No root manifest, no root AGENTS.md, no CI configs exist.Local dev validation result
dev_stack_healthy: true — all three demo apps run:
mongodb-schema-importernpm run mongod);GET /populate-defaults→ 200 "Inserted 4 Robots";GET /→ 200 with DB-derived importer fields (name, nick, helmet, color, id) plus Mongoose Robot schema config (6 fields)S3-uploadnpm startwith dummy AWS env credentials →GET /200, page renders a presigned S3putObjectURLvue-demoyarn serve(needsNODE_OPTIONS=--openssl-legacy-provideron Node ≥ 17) → compiled successfully, HTTP 200 on :8080, HMR active;yarn lint→ no lint errorsPlaywright Chromium screenshots captured for all three apps; console inspected (apps boot cleanly; the Flatfile widget iframe is refused without a real license, as expected). Full details in
.obvious/obvious.md→ "Local Verification Summary".Notable fix during bring-up: MongoDB 8.x rejects this repo's pinned
mongodb@~3.0.8driver (legacy OP_QUERY wire protocol) — the app crashes on/populate-defaults. mongod 4.4.29 is installed in the sandbox instead and the constraint is documented in the contract.Sandbox snapshot
gap0pvit10wten6lqhs1:default(sandboxi517zqa9z31yfh4v3rhj1)mongodb-schema-importer/.env.js,vue-demo/env.js); mongod 4.4.29 running with seededrobotscollection;mongodb-schema-importerlive on :9000 andvue-demoon :8080; git tree clean.Blockers
None. Notes (not blockers): the in-browser Flatfile importer widget requires a real Flatfile license key (external SaaS) and real S3 uploads require real AWS credentials — all server-side and page-render flows were verified with safe placeholder values.
Explicit omissions
obvious.md,codebase-map.md,config.yml,skills/local-dev/SKILL.md) are included..obvious/tools/, no.obvious/system-prompt.md, no rootAGENTS.mdcreated or modified; no.obvious-install/staged.TODO(confirm)in the contract: obtaining a real Flatfile license key to exercise the full in-browser import flow.