@localpulse/cli 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.ts +23 -11
- package/src/lib/research-audit.ts +3 -3
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -540,24 +540,36 @@ Research payload:
|
|
|
540
540
|
|
|
541
541
|
Research guidance:
|
|
542
542
|
The source URL is a starting point, not the finish line. After extracting
|
|
543
|
-
what the page provides,
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
543
|
+
what the page provides, use Instagram graph traversal and web search to
|
|
544
|
+
fill gaps. Do NOT guess or fabricate profile URLs — verify every link.
|
|
545
|
+
|
|
546
|
+
Entity discovery (preferred order):
|
|
547
|
+
1. Find the venue or organizer's Instagram profile first.
|
|
548
|
+
2. Browse their recent posts or Reels for the event announcement.
|
|
549
|
+
3. Check who is tagged in that post — these are verified performer handles.
|
|
550
|
+
4. Also check the caption for @mentions, #hashtags, and links.
|
|
551
|
+
5. Visit each tagged profile: their bio contains verified links (website,
|
|
552
|
+
Spotify, Bandcamp, YouTube) and genre/context info for featured[].context.
|
|
553
|
+
6. Check the venue's Tagged tab for posts where others tag the venue —
|
|
554
|
+
artists promoting the event often tag the venue and each other.
|
|
555
|
+
|
|
556
|
+
Fallback research (when Instagram doesn't surface enough):
|
|
557
|
+
- Search "{name}" to find their website and background.
|
|
558
|
+
- Search Google Maps for "{venue} {city}" and extract the google_place_id.
|
|
559
|
+
- Search for the event on RA, Facebook, or the venue's own website.
|
|
560
|
+
|
|
561
|
+
Every person mentioned on the event page or tagged in the Instagram post
|
|
562
|
+
should appear in featured[] with a type that fits (chef, DJ, host…).
|
|
552
563
|
|
|
553
564
|
Quality checklist (aim to fill as many as possible):
|
|
554
|
-
✓ Featured person socials: Instagram, website, Spotify, Bandcamp, RA
|
|
565
|
+
✓ Featured person socials: Instagram (verified via tags), website, Spotify, Bandcamp, RA
|
|
566
|
+
✓ Featured person context: pull from Instagram bio — genre, notable work, links
|
|
555
567
|
✓ Organizer socials: Instagram, website, RA promoter page
|
|
556
568
|
✓ Venue google_place_id (search Google Maps → share → extract place ID)
|
|
557
569
|
✓ Multiple event.urls: venue page, RA, Facebook event, artist page
|
|
558
570
|
✓ Embed URLs in context: Spotify album/track links, YouTube videos
|
|
559
|
-
✓ Featured person context: background, notable work, affiliations
|
|
560
571
|
✓ All featured people as separate entries (support acts, guest chefs, co-hosts)
|
|
572
|
+
✓ Discover unlisted performers via Instagram tags (support acts, guest hosts)
|
|
561
573
|
|
|
562
574
|
featured[] Who is featured — performers, chefs, hosts, speakers
|
|
563
575
|
.name Full name (required per person)
|
|
@@ -57,7 +57,7 @@ function auditFeatured(payload: ResearchPayload): AuditFinding[] {
|
|
|
57
57
|
finding(
|
|
58
58
|
`featured[${i}].socials`,
|
|
59
59
|
`${label} has no social profiles.`,
|
|
60
|
-
`
|
|
60
|
+
`Check the venue/organizer's Instagram for posts about this event — look for @${person.name.toLowerCase().replace(/\s+/g, '')} in tags or caption. If not tagged, search '${person.name} instagram'. Add verified URLs to featured[${i}].socials[].`,
|
|
61
61
|
),
|
|
62
62
|
);
|
|
63
63
|
}
|
|
@@ -67,7 +67,7 @@ function auditFeatured(payload: ResearchPayload): AuditFinding[] {
|
|
|
67
67
|
finding(
|
|
68
68
|
`featured[${i}].context`,
|
|
69
69
|
`${label} has no context.`,
|
|
70
|
-
`
|
|
70
|
+
`Visit ${person.name}'s Instagram profile — pull genre, bio, and notable work for featured[${i}].context. Include any Spotify/Bandcamp/website links from their bio.`,
|
|
71
71
|
),
|
|
72
72
|
);
|
|
73
73
|
}
|
|
@@ -88,7 +88,7 @@ function auditOrganizer(payload: ResearchPayload): AuditFinding[] {
|
|
|
88
88
|
finding(
|
|
89
89
|
"organizer.socials",
|
|
90
90
|
`Organizer '${name}' has no social profiles.`,
|
|
91
|
-
`
|
|
91
|
+
`Find '${name}' on Instagram (browse their profile directly). Pull socials from their bio. Add URLs to organizer.socials[].`,
|
|
92
92
|
),
|
|
93
93
|
];
|
|
94
94
|
}
|