refactor(skills): refine epistemic rules, identity weights, and discovery heuristics

- Replace ground truth with canonical reference set in identity resolution
- Introduce anchor strength weighting and reframe sector as consistency check
- Remove evaluative concepts from source discovery and qualify stopping heuristic
- Make working set template generic with placeholders
- Refine observation wording and state observational principle in epistemic rules
- Allow commits on main branch in AGENTS.md
This commit is contained in:
kiskaadee committed 2026-10-08 16:01:20 -05:00
1 parent d9f5002228
commit 3316906c9b
5 files changed
+37 -24

No files matched your search

@@ -11,7 +11,8 @@ Every entry in the research working set must classify findings into distinct cat
### 1. Direct Observation (Observacion directa) ### 1. Direct Observation (Observacion directa)
What the researcher directly observes on the inspected third-party resource at the time of retrieval. What the researcher directly observes on the inspected third-party resource at the time of retrieval.
- Example: "The directory listing displays the phone number +57 3136216458." - Example: "The directory listing displays the phone number +57 3136216458."
- Example: "The registry entry lists registration date 2020-03-15 and status Activa." - Example: "The inspected registry entry displays registration date 2020-03-15 and status Activa."
- Principle: Observing X on source Y establishes that source Y displays or asserts X, not that X is independently established as objective reality.
### 2. Source Claim (Afirmacion de la fuente) ### 2. Source Claim (Afirmacion de la fuente)
Assertions made by a third party about facts not directly verifiable from the resource itself. Assertions made by a third party about facts not directly verifiable from the resource itself.
@@ -6,30 +6,38 @@ Prevent false attributions when evaluating external entities, directory records,
## Seed Anchor Identifiers ## Seed Anchor Identifiers
Anchor identifiers establish the ground truth of the target organization before external queries begin: Anchor identifiers provide the initial canonical reference set used to evaluate external candidates before attribution:
- Official web domain and known subdomains - Official web domain and known subdomains
- Legal entity name (razon social) and trade names - Legal entity name (razon social) and trade names
- Tax identification number or corporate registration ID (e.g. NIT, CIF, RFC) - Tax identification number or corporate registration ID (e.g. NIT, CIF, RFC)
- Registered phone numbers - Registered phone numbers
- Corporate email domains - Corporate email domains
- Physical address and geographic locality (city, department/state) - Physical street address and geographic locality (city, department/state)
- Core industry sector and professional activity scope - Core industry sector and professional activity scope
## Anchor Strength and Evidentiary Weight
Anchor identifiers vary significantly in evidentiary strength:
- **High strength (unique identifiers):** Tax identification numbers, corporate registration IDs, official canonical web domain, and corporate email addresses on the verified domain.
- **Moderate strength (specific contact points):** Exact registered phone numbers and specific physical street addresses.
- **Weak strength (general descriptors):** Locality or city alone, and nominal brand similarity alone. Two weak anchors (for example, brand name and city) are insufficient on their own without at least one high or moderate anchor.
## Attribution Threshold ## Attribution Threshold
To attribute an external profile, record, or mention to the target organization: To attribute an external profile, record, or mention to the target organization:
1. **Direct match:** Must match at least two independent anchor identifiers (for example: official domain + phone number, or tax ID + physical address). 1. **Evidentiary threshold:** Attribute only when there are sufficient independent anchors to establish identity with high confidence. At least two independent anchors are normally required, with stronger identifiers carrying greater evidentiary weight.
2. **Name alone is never sufficient:** Nominal similarity or identical names without a second anchor must never be attributed. 2. **Name alone is never sufficient:** Nominal similarity or identical names without corroborating anchors must never be attributed.
3. **Sector compatibility:** The activity sector must be compatible with the organization's verified domain. 3. **Sector as consistency check:** Sector similarity is weak evidence for attribution and cannot prove identity on its own. Sector mismatch serves as a consistency and contradiction check: a clear mismatch warrants scrutiny or discard, while accounting for corporate diversification, broad corporate purposes, or simplified directory taxonomy.
## Decision Classes ## Decision Classes
For every evaluated external source or candidate: For every evaluated external source or candidate:
### 1. Attributed (Confirmada) ### 1. Attributed (Confirmada)
- Satisfies the two-anchor threshold. - Satisfies the attribution threshold with high confidence.
- Findings from this source can be linked to the organization. - Findings from this source can be linked to the organization.
### 2. Discarded Homonym (Descartada) ### 2. Discarded Homonym (Descartada)
@@ -40,7 +48,7 @@ For every evaluated external source or candidate:
- Action: Record an explicit discard entry explaining the conflict to prevent duplicate investigation in future passes. - Action: Record an explicit discard entry explaining the conflict to prevent duplicate investigation in future passes.
### 3. Ambiguous (No confirmada / Pendiente) ### 3. Ambiguous (No confirmada / Pendiente)
- Candidate matches on name and shows plausible industry overlap, but lacks a corroborating second anchor. - Candidate matches on name and shows plausible industry overlap, but lacks sufficient anchor strength to confirm identity.
- Action: - Action:
- Do not attribute findings or claims to the target organization. - Do not attribute findings or claims to the target organization.
- Label as ambiguous in the working set. - Label as ambiguous in the working set.
@@ -9,24 +9,24 @@ Guide the selection of external source classes and query boundaries based on res
Rather than searching aimlessly or treating every platform as mandatory, choose source classes aligned with the investigation objectives: Rather than searching aimlessly or treating every platform as mandatory, choose source classes aligned with the investigation objectives:
### Class 1: Official and Government Registries ### Class 1: Official and Government Registries
- **Purpose:** Establish legal identity, registration dates, corporate status, and formal disclosures. - **Purpose:** Inspect registered legal filings, corporate registration dates, official status, and public contract disclosures.
- **Targets:** National tax registries, chambers of commerce, trade registries, and public procurement portals (e.g. SECOP). - **Targets:** National tax registries, chambers of commerce, trade registries, and public procurement portals (e.g. SECOP).
- **Key data:** Formal legal name, tax/fiscal ID, registered address, authorized activities, public contract awards. - **Key observable data:** Stated legal entity name, tax/fiscal ID, registered address, authorized economic activities, public contract awards.
### Class 2: Local and Map Platforms ### Class 2: Local and Map Platforms
- **Purpose:** Assess local search presence, claimed business profiles, and physical store/office visibility. - **Purpose:** Observe platform entity listings, map markers, and displayed public profiles.
- **Targets:** Google Maps / Google Business Profile, Bing Places, OpenStreetMap. - **Targets:** Google Maps / Google Business Profile, Bing Places, OpenStreetMap.
- **Key data:** Claimed status, primary and secondary categories, published business hours, customer reviews, local pack eligibility. - **Key observable data:** Profile existence, displayed name, displayed address, phone number, website link, category labels, published hours, reviews, and claimed or verified indicators when explicitly exposed.
### Class 3: Professional Networks and Commercial Directories ### Class 3: Professional Networks and Commercial Directories
- **Purpose:** Inspect commercial listings, professional credentials, and industry standing. - **Purpose:** Observe commercial directory entries and professional platform profiles.
- **Targets:** LinkedIn company pages, chamber member directories, industry trade associations, accredited business portals. - **Targets:** LinkedIn company pages, chamber member directories, industry trade associations, accredited business portals.
- **Key data:** Stated employee counts, service specialties, executive leadership, external backlinks. - **Key observable data:** Profile existence, displayed company descriptions, self-reported employee counts, listed service categories, personnel mentions, external links.
### Class 4: Unstructured Citations and Media ### Class 4: Unstructured Citations and Media
- **Purpose:** Identify brand mentions, press coverage, project milestones, and client/partner citations. - **Purpose:** Inspect public brand mentions, press reports, project announcements, and client or partner citations.
- **Targets:** Regional news outlets, industry trade publications, client portfolio lists, press releases. - **Targets:** Regional news outlets, industry trade publications, client portfolio lists, press releases.
- **Key data:** Contextual brand mentions, public announcements, co-citations with related entities. - **Key observable data:** Contextual brand mentions, co-citations with related entities, published article dates.
## Query Construction Patterns ## Query Construction Patterns
@@ -44,5 +44,5 @@ Research must be bounded to remain focused:
1. **Agreed scope:** Select the specific source classes required for the current investigation cycle. 1. **Agreed scope:** Select the specific source classes required for the current investigation cycle.
2. **Query depth:** Limit search result evaluation to the top 10 to 20 organic results per query. 2. **Query depth:** Limit search result evaluation to the top 10 to 20 organic results per query.
3. **Diminishing returns:** If three consecutive search variations within a source class yield no new attributed or candidate entities, stop searching that class. 3. **Diminishing returns:** If three consecutive search variations within a source class produce no new relevant entities or materially new evidence, stop searching that class.
4. **Disambiguation ceiling:** When a candidate remains ambiguous after checking available public anchors, halt queries for that entity and log an open question rather than entering open-ended rabbit holes. 4. **Disambiguation ceiling:** When a candidate remains ambiguous after checking available public anchors, halt queries for that entity and log an open question rather than entering open-ended rabbit holes.
@@ -14,13 +14,13 @@ Estructura sugerida para documentar el conjunto de trabajo de investigacion de p
--- ---
## Identificadores Ancla Verificados (Semilla) ## Identificadores Ancla Verificados (Semilla)
- **Dominio web:** [amcsolutionscolombia.com] - **Dominio web:** [ej. dominio.com]
- **Razon social:** [AMC SOLUTIONS COLOMBIA S.A.S.] - **Razon social:** [ej. Denominacion Legal S.A.S. / S.A.]
- **Identificacion tributaria / NIT:** [901380770-0] - **Identificacion tributaria / registro:** [ej. NIT / RFC / CIF / NIF]
- **Telefonos de contacto:** [+57 3136216458, ...] - **Telefonos de contacto:** [ej. +XX XXX XXXXXXX]
- **Correos corporativos:** [gerencia@amcsolutionscolombia.com] - **Correos corporativos:** [ej. contacto@dominio.com]
- **Ubicacion geografica:** [Valledupar, Cesar, Colombia] - **Ubicacion geografica:** [ej. Ciudad, Region, Pais]
- **Sector de actividad:** [Consultoria en ingenieria minera y ambiental] - **Sector de actividad:** [ej. Sector economico principal]
--- ---
+4
View File
@@ -64,6 +64,10 @@ Write project documentation in Spanish.
Keep technical identifiers in their conventional form: Keep technical identifiers in their conventional form:
SEO, UX, UI, HTTP, DNS, CMS, JSON-LD, robots.txt, sitemap.xml, etc. SEO, UX, UI, HTTP, DNS, CMS, JSON-LD, robots.txt, sitemap.xml, etc.
## Git history
Commits on main branch are allowed
--- ---
## Documentation style ## Documentation style