Fill README gaps: demo placeholder, architecture diagram, stretch specs#1
Merged
Fill README gaps: demo placeholder, architecture diagram, stretch specs#1
Conversation
Addresses §2.3 of the pre-hackathon checklist — the public README is the first thing reviewers see, so the three checklist items (example specs beyond the must-have clinic queue, architecture visual, demo placeholder) need to land before Tuesday. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
dadachi
added a commit
that referenced
this pull request
Apr 21, 2026
Day-3a's lexical rename handled the domain entities (Shop->Clinic etc.)
but left the substrate's product-name references (Nativeapptemplateapi
module, NativeAppTemplate brand) intact. Generated projects reused
the substrate's actual dev/test databases because config/database.yml
still said `nativeapptemplateapi_development`. Tue-evening probe
accidentally dropped the user's substrate DBs on cleanup.
Fix:
- src/agents/workers/rails.ts: synthesize two product-rename pairs
from the slug and prepend them to the planner's domain plan.
{Nativeapptemplateapi -> <Slug>Api} scopes the Rails module, DB
names, render config. {NativeAppTemplate -> <Slug>} handles
brand/URL references in settings/openapi/envs.
- scripts/ruby/rename.rb: add flat-lowercase patterns for tokens
that don't re-appear in snake form (e.g. `nativeapptemplate.com`,
`com.yourdomain.nativeapptemplate`). Runs AFTER snake so single-
word rename pairs where flat == snake (e.g. `shop`) can't win
over snake's replacement.
Verified on both specs:
clinic-queue: module ClinicQueueApi, database
clinic_queue_api_development, zero leftover
NativeAppTemplate/nativeapptemplate/Nativeapptemplateapi tokens.
task-tracker: module TaskTrackerApi, database
task_tracker_api_development.
Full `bin/rails test` on generated clinic-queue project:
405 runs, 814 assertions, 0 failures, 0 errors, 0 skips.
Substrate databases NOT touched (confirmed post-run).
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
Why
Closes the three remaining items in §2.3 of the pre-hackathon prep checklist. Hackathon runs April 21–27; the public README is what reviewers land on when searching for the project, so these gaps need to be filled before Tuesday morning.
Test plan
#substrate,#usage-target-interface,#validation-three-layers)docs/SPEC.md,ROADMAP.md,CLAUDE.md,LICENSE🤖 Generated with Claude Code