Skip to content

feat: add LostFound Match Agent template#158

Open
Rewant05 wants to merge 33 commits into
Lamatic:mainfrom
Rewant05:lostfound-match-agent
Open

feat: add LostFound Match Agent template#158
Rewant05 wants to merge 33 commits into
Lamatic:mainfrom
Rewant05:lostfound-match-agent

Conversation

@Rewant05
Copy link
Copy Markdown

@Rewant05 Rewant05 commented May 14, 2026

PR Checklist

1. Select Contribution Type

  • Kit (kits/<category>/<kit-name>/)
  • Bundle (bundles/<bundle-name>/)
  • Template (templates/<template-name>/)

2. General Requirements

  • PR is for one project only (no unrelated changes)
  • No secrets, API keys, or real credentials are committed
  • Folder name uses kebab-case and matches the flow ID
  • All changes are documented in README.md (purpose, setup, usage)

3. File Structure (Check what applies)

  • config.json present with valid metadata (name, description, tags, steps, author, env keys)
  • All flows in flows/<flow-name>/ (where applicable) include:
    • config.json (Lamatic flow export)
    • inputs.json
    • meta.json
    • README.md
  • .env.example with placeholder values only (kits only)
  • No hand-edited flow config.json node graphs (changes via Lamatic Studio export)

4. Validation

  • npm install && npm run dev works locally (kits: UI runs; bundles/templates: flows are valid)
  • PR title is clear
  • GitHub Actions workflows pass
  • All CodeRabbit or other PR review comments are addressed and resolved
  • No unrelated files or projects are modified
  • kits/lostfound-match-agent/README.md — Template README describing the LostFound Match Agent workflow, matching criteria, expected JSON input/output schema, setup, env vars, and usage.
  • kits/lostfound-match-agent/agent.md — Agent role & prompt spec: signals to evaluate and enforced JSON-only output schema with examples.
  • kits/lostfound-match-agent/constitutions/default.md — Constitution: purpose, safety rules, decision guidelines, and structured JSON output requirement.
  • kits/lostfound-match-agent/flows/lostfound-match-agent.ts — Flow definition exporting:
    • meta (name, description, tags, testInput, author)
    • inputs (6 fields: lost_item_description*, found_item_description*, lost_location, found_location, lost_date, found_date)
    • references (system prompt reference "@prompts/lostfound-match-agent_system.md")
    • Notes: file contains no flow.json/node graph; it provides metadata and input schema only (no runtime node types introduced).
  • kits/lostfound-match-agent/lamatic.config.ts — Lamatic template config (metadata, version, author, tags, single mandatory step).
  • kits/lostfound-match-agent/prompts/lostfound-match-agent_system.md — System prompt enforcing evaluation criteria (type, color, brand/material, identifiers, location/date proximity, semantic similarity, conflicts) and strict JSON output contract.

Flow overview

  • Purpose: Compare a lost item report with a found item report and produce a structured match recommendation for human review.
  • Inputs (6): lost_item_description (required), found_item_description (required), lost_location, found_location, lost_date, found_date (optional).
  • Processing: Evaluates matching signals (item type, color, brand/material, unique identifiers, location similarity, date proximity, semantic similarity) and conflicting signals; constructs match_score, decision, reason, matching_signals, conflicting_signals, verification_questions, and next_action.
  • Output: Structured JSON (match_score, decision — Likely/Possible/Not a Match, reason, matching_signals[], conflicting_signals[], verification_questions[], next_action) with emphasis on human verification.

Review Change Stack

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 14, 2026

Walkthrough

Adds a LostFound Match Agent kit: template config and flow, agent prompts and constitution enforcing a strict JSON output schema, and README documentation for matching lost and found reports.

Changes

LostFound Match Agent Kit

Layer / File(s) Summary
Template configuration and flow wiring
kits/lostfound-match-agent/lamatic.config.ts, kits/lostfound-match-agent/flows/lostfound-match-agent.ts
Template config and flow exports: meta (name/description/tags/testInput), inputs schema for lost/found descriptions and optional locations/dates, references wiring to the system prompt, and default export bundling them.
Agent behavior instructions and constraints
kits/lostfound-match-agent/agent.md, kits/lostfound-match-agent/constitutions/default.md, kits/lostfound-match-agent/prompts/lostfound-match-agent_system.md
Agent prompt, constitution, and system prompt specifying matching signals (type, color, brand/material, identifiers, location similarity, date/time proximity, semantic similarity, conflicts) and requiring strict JSON output with match_score, decision, reason, matching_signals, conflicting_signals, verification_questions, and next_action.
User documentation
kits/lostfound-match-agent/README.md
README describing workflow purpose, matching criteria, structured JSON examples, intended use cases, and setup/usage guidance including verification requirement.

Suggested reviewers

  • d-pamneja
  • amanintech
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'feat: add LostFound Match Agent template' is clear, concise, and accurately describes the main change—adding a new template for a LostFound Match Agent.
Description check ✅ Passed The PR description addresses most of the template checklist requirements: contribution type is selected, general requirements are met, file structure validation is mostly checked, and validation items are mostly confirmed.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 14, 2026

PR Validation Results

New Contributions Detected

  • Kit: kits/lostfound-match-agent/README.md
  • Kit: kits/lostfound-match-agent/constitutions
  • Kit: kits/lostfound-match-agent/agent.md
  • Kit: kits/lostfound-match-agent/flows
  • Kit: kits/lostfound-match-agent/lamatic.config.ts
  • Kit: kits/lostfound-match-agent/prompts

Check Results

Check Status
No edits to existing projects ✅ Pass
Required root files present ❌ Fail
Flow folder structure valid ✅ Pass
No changes outside contribution dirs ✅ Pass

Errors

  • ❌ Missing config.json in kits/lostfound-match-agent/README.md
  • ❌ Missing README.md in kits/lostfound-match-agent/README.md
  • ❌ Missing flows/ directory in kits/lostfound-match-agent/README.md
  • ❌ Missing config.json in kits/lostfound-match-agent/constitutions
  • ❌ Missing README.md in kits/lostfound-match-agent/constitutions
  • ❌ Missing flows/ directory in kits/lostfound-match-agent/constitutions
  • ❌ Missing config.json in kits/lostfound-match-agent/agent.md
  • ❌ Missing README.md in kits/lostfound-match-agent/agent.md
  • ❌ Missing flows/ directory in kits/lostfound-match-agent/agent.md
  • ❌ Missing config.json in kits/lostfound-match-agent/flows
  • ❌ Missing README.md in kits/lostfound-match-agent/flows
  • ❌ Missing flows/ directory in kits/lostfound-match-agent/flows
  • ❌ Missing config.json in kits/lostfound-match-agent/lamatic.config.ts
  • ❌ Missing README.md in kits/lostfound-match-agent/lamatic.config.ts
  • ❌ Missing flows/ directory in kits/lostfound-match-agent/lamatic.config.ts
  • ❌ Missing config.json in kits/lostfound-match-agent/prompts
  • ❌ Missing README.md in kits/lostfound-match-agent/prompts
  • ❌ Missing flows/ directory in kits/lostfound-match-agent/prompts

🛑 Please fix the errors above before this PR can be merged.

Refer to CONTRIBUTING.md and CLAUDE.md for the expected folder structure.

@Rewant05
Copy link
Copy Markdown
Author

Hi Lamatic team, the validation checks have passed and this PR has received the passing-checks label.
Could you please add the agentkit-challenge label if required from the maintainer side?
PR link: #158

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@templates/lostfound-match-agent/meta.json`:
- Around line 15-34: Add a formal output schema file describing the agent's
response contract to validate the fields shown in output_example: create an
outputs.json that defines each top-level property (match_score, decision,
reason, matching_signals, conflicting_signals, verification_questions,
next_action) with types, required=true where appropriate, descriptions, and
constraints (e.g., match_score numeric 0–100, arrays of strings for
signals/questions). Ensure the schema keys exactly match the example in
meta.json so integrators can validate agent responses and catch breaking
changes.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Pro

Run ID: ff8ecfab-c3ed-4cf2-a1b6-1753d77bdc6b

📥 Commits

Reviewing files that changed from the base of the PR and between 6e60d64 and bd3c263.

📒 Files selected for processing (4)
  • templates/lostfound-match-agent/README.md
  • templates/lostfound-match-agent/config.json
  • templates/lostfound-match-agent/inputs.json
  • templates/lostfound-match-agent/meta.json

Comment on lines +15 to +34
"output_example": {
"match_score": 85,
"decision": "Likely Match",
"reason": "Both reports describe a dark wallet found near similar academic locations and mention an ID card.",
"matching_signals": [
"Both reports mention a wallet",
"Both reports mention a dark or black color",
"Both reports mention an ID card",
"The locations are similar"
],
"conflicting_signals": [
"The found report does not mention cash"
],
"verification_questions": [
"What name is written on the ID card?",
"How much cash was inside?",
"Does the wallet have any brand or unique mark?"
],
"next_action": "Send this case to an admin for manual verification before returning the item."
},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick | 🔵 Trivial | ⚡ Quick win

Agent, consider documenting the output contract.

The output example demonstrates a well-structured match result with match_score, decision, reason, matching_signals, conflicting_signals, verification_questions, and next_action. However, there's no formal output schema (like an outputs.json file) defining types, constraints, or required fields for this structure.

While not critical for a template, a formal output schema would help integrators validate agent responses and catch breaking changes.

📋 Proposed addition: outputs.json schema

Consider adding templates/lostfound-match-agent/outputs.json:

{
  "match_score": {
    "type": "number",
    "required": true,
    "description": "Match confidence score between 0-100"
  },
  "decision": {
    "type": "string",
    "required": true,
    "description": "Match decision category (e.g., Likely Match, Possible Match, No Match)"
  },
  "reason": {
    "type": "string",
    "required": true,
    "description": "Human-readable explanation of the decision"
  },
  "matching_signals": {
    "type": "array",
    "required": true,
    "description": "List of signals supporting the match"
  },
  "conflicting_signals": {
    "type": "array",
    "required": true,
    "description": "List of signals contradicting the match"
  },
  "verification_questions": {
    "type": "array",
    "required": true,
    "description": "Questions to verify ownership"
  },
  "next_action": {
    "type": "string",
    "required": true,
    "description": "Recommended next step for the administrator"
  }
}
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@templates/lostfound-match-agent/meta.json` around lines 15 - 34, Add a formal
output schema file describing the agent's response contract to validate the
fields shown in output_example: create an outputs.json that defines each
top-level property (match_score, decision, reason, matching_signals,
conflicting_signals, verification_questions, next_action) with types,
required=true where appropriate, descriptions, and constraints (e.g.,
match_score numeric 0–100, arrays of strings for signals/questions). Ensure the
schema keys exactly match the example in meta.json so integrators can validate
agent responses and catch breaking changes.

@github-actions
Copy link
Copy Markdown

Hi @Rewant05! 👋

Before this PR can be reviewed by maintainers, please resolve all comments and requested changes from the CodeRabbit automated review.

Steps to follow:

  1. Read through all CodeRabbit comments carefully
  2. Address each issue raised (or reply explaining why you disagree)
  3. Push your fixes as new commits
  4. Once all issues are resolved, comment here so we can re-review

This helps keep the review process efficient for everyone. Thank you! 🙏

@akshatvirmani
Copy link
Copy Markdown

akshatvirmani commented May 15, 2026

Hello @Rewant05

Can you please check and update the file structure?

Reference: https://github.com/Lamatic/AgentKit/blob/main/CONTRIBUTING.md#repository-layout

@Rewant05
Copy link
Copy Markdown
Author

Thanks @akshatvirmani! I checked that the validation checks have passed and the PR has received the passing-checks label.
I’ll also review the template structure from CONTRIBUTING.md and update the PR accordingly if any structure change is needed.
Glad to know the rest looks good. Thanks for the feedback!

Added README.md for LostFound Match Agent detailing its purpose, problem, solution, input/output examples, use cases, and assumptions.
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
kits/lostfound-match-agent/README.md (1)

1-93: ⚠️ Potential issue | 🟠 Major | 🏗️ Heavy lift

Mission briefing incomplete, agent. Critical operational instructions are missing.

Your README provides excellent intelligence on what this agent does and why it matters, but the field manual is missing essential deployment protocols. As per coding guidelines, every kit README must document setup, environment variables, and usage.

Current status:

  • ✓ Problem analysis and solution overview
  • ✓ Input/output specifications
  • ✓ Use case identification
  • Setup instructions (how to install/configure)
  • Environment variables (required API keys, config)
  • Usage instructions (how to execute the kit)

Without these sections, field operatives cannot deploy this mission. Consider adding:

  1. Setup section covering installation steps
  2. Environment Variables section listing required keys (e.g., AI model API keys)
  3. Usage section with command examples or execution steps

This message will self-destruct after you've addressed these gaps. Good luck, agent.

As per coding guidelines: "Every kit must have a README.md that documents setup, environment variables, and usage"

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@kits/lostfound-match-agent/README.md` around lines 1 - 93, The README is
missing deploy/run instructions—add three sections titled "Setup", "Environment
Variables", and "Usage" to the README.md: under Setup give installation and
dependency steps (e.g., install packages, build steps) and any configuration
required; under Environment Variables list required keys (e.g., OPENAI_API_KEY
or other AI/model/service keys, NODE_ENV, DATABASE_URL if used) and example
expected formats; under Usage provide concrete run examples and commands,
example input JSON and expected output flow, and any troubleshooting notes;
ensure these sections are named exactly "Setup", "Environment Variables", and
"Usage" so reviewers and automation can locate them easily.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@kits/lostfound-match-agent/README.md`:
- Around line 1-93: The README is missing deploy/run instructions—add three
sections titled "Setup", "Environment Variables", and "Usage" to the README.md:
under Setup give installation and dependency steps (e.g., install packages,
build steps) and any configuration required; under Environment Variables list
required keys (e.g., OPENAI_API_KEY or other AI/model/service keys, NODE_ENV,
DATABASE_URL if used) and example expected formats; under Usage provide concrete
run examples and commands, example input JSON and expected output flow, and any
troubleshooting notes; ensure these sections are named exactly "Setup",
"Environment Variables", and "Usage" so reviewers and automation can locate them
easily.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Pro

Run ID: 7377c982-95e8-483c-8d8b-da52320ac3a0

📥 Commits

Reviewing files that changed from the base of the PR and between bd3c263 and ba475f3.

📒 Files selected for processing (1)
  • kits/lostfound-match-agent/README.md

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@kits/lostfound-match-agent/prompts/lostfound-match-agent_system.md`:
- Line 1: Add a top-level H1 heading above the existing prompt text (e.g., "#
LostFound Match Agent System Prompt") so the file starts with a markdown H1 and
satisfies MD041; keep the existing first line "You are a Lost and Found Matching
Agent for institutions such as campuses, airports, malls, hotels, and metro
stations." unchanged after the new heading to preserve the prompt content.
- Around line 24-43: The system prompt's JSON contract allows invalid values for
match_score and decision; change the wording around the "match_score" and
"decision" fields so match_score is explicitly an integer in the range 0-100
(e.g., "match_score": integer 0-100) and require "decision" to be exactly one of
the three allowed strings ("Likely Match", "Possible Match", "Not a Match");
update any validator text or examples in the prompt to enforce integer
casting/clamping for match_score and strict enumeration checking for decision so
downstream parsers always receive a bounded integer and one of the three exact
decision values.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Pro

Run ID: e02787b0-7f65-4e08-8115-4b0fbc6e98db

📥 Commits

Reviewing files that changed from the base of the PR and between ba475f3 and 546aff0.

📒 Files selected for processing (5)
  • kits/lostfound-match-agent/agent.md
  • kits/lostfound-match-agent/constitutions/default.md
  • kits/lostfound-match-agent/flows/lostfound-match-agent.ts
  • kits/lostfound-match-agent/lamatic.config.ts
  • kits/lostfound-match-agent/prompts/lostfound-match-agent_system.md

Comment thread kits/lostfound-match-agent/prompts/lostfound-match-agent_system.md
Comment on lines +24 to +43
Return only valid JSON in this format:

{
"match_score": 0,
"decision": "Likely Match | Possible Match | Not a Match",
"reason": "Short explanation of the decision.",
"matching_signals": [
"Signal 1",
"Signal 2"
],
"conflicting_signals": [
"Conflict 1",
"Conflict 2"
],
"verification_questions": [
"Question 1",
"Question 2"
],
"next_action": "Recommended next step."
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion | 🟠 Major | ⚡ Quick win

Mission-critical: tighten the output contract for parser-safe responses.

At Line 27 and Line 28, constrain match_score (for example, integer 0-100) and require decision to be exactly one of the three allowed values, otherwise downstream consumers may receive inconsistent payloads.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@kits/lostfound-match-agent/prompts/lostfound-match-agent_system.md` around
lines 24 - 43, The system prompt's JSON contract allows invalid values for
match_score and decision; change the wording around the "match_score" and
"decision" fields so match_score is explicitly an integer in the range 0-100
(e.g., "match_score": integer 0-100) and require "decision" to be exactly one of
the three allowed strings ("Likely Match", "Possible Match", "Not a Match");
update any validator text or examples in the prompt to enforce integer
casting/clamping for match_score and strict enumeration checking for decision so
downstream parsers always receive a bounded integer and one of the three exact
decision values.

Rewant05 added 2 commits May 16, 2026 14:57
Clarify the JSON response format and update decision options.
Added setup instructions, environment variables, and usage examples for the Lamatic AgentKit template.
@Rewant05
Copy link
Copy Markdown
Author

Hi @akshatvirmani, I updated the PR to follow the CONTRIBUTING.md repository layout.

The contribution now lives under:

kits/lostfound-match-agent/

with:

  • lamatic.config.ts
  • agent.md
  • README.md
  • flows/lostfound-match-agent.ts
  • constitutions/default.md
  • prompts/lostfound-match-agent_system.md

I also addressed the CodeRabbit feedback by updating the README with Setup, Environment Variables, and Usage sections, and tightening the system prompt output contract.

CodeRabbit review is now completed, but the validation workflow is still failing because it appears to be treating each file/folder inside kits/lostfound-match-agent as a separate kit root and expecting config.json/README.md/flows inside each one.

Could you please confirm whether I should keep the current CONTRIBUTING.md structure or adjust it to match the validator?

@github-actions
Copy link
Copy Markdown

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 18, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai coderabbitai Bot requested a review from amanintech May 18, 2026 10:38
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

♻️ Duplicate comments (1)
kits/lostfound-match-agent/prompts/lostfound-match-agent_system.md (1)

32-50: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Mission-critical: output contract still requires tighter constraints for field validation.

Agent, your JSON schema example demonstrates structure but leaves critical validation gaps. The contract must explicitly constrain:

  • match_score to an integer in range 0-100 (prevent floats, negatives, or values >100)
  • decision to exactly one of three allowed strings: "Likely Match", "Possible Match", or "Not a Match"

Without these constraints, downstream parsers risk receiving match_score: -42 or decision: "Unclear", compromising mission integrity.

🎯 Mission brief: tighten the contract

Add explicit constraints to the prompt text before the JSON example:

 The JSON response must follow this contract:
+
+Field constraints:
+- `match_score`: integer from 0 to 100
+- `decision`: must be exactly one of: "Likely Match", "Possible Match", or "Not a Match"
 
 ```json
 {
-  "match_score": 0,
-  "decision": "Likely Match",
+  "match_score": 0,  // integer 0-100
+  "decision": "Likely Match",  // one of: "Likely Match", "Possible Match", "Not a Match"
   "reason": "Short explanation of the decision.",
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@kits/lostfound-match-agent/prompts/lostfound-match-agent_system.md` around
lines 32 - 50, The prompt's JSON example leaves `match_score` and `decision`
unconstrained; update the system prompt text immediately before the JSON block
to explicitly require that `match_score` is an integer between 0 and 100 (no
floats, no negatives, no >100) and that `decision` must be exactly one of the
three strings "Likely Match", "Possible Match", or "Not a Match"; mention these
constraints in plain language (and optionally as brief inline comments next to
`match_score` and `decision`) so downstream parsers and validators know to
reject/normalize invalid values.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Duplicate comments:
In `@kits/lostfound-match-agent/prompts/lostfound-match-agent_system.md`:
- Around line 32-50: The prompt's JSON example leaves `match_score` and
`decision` unconstrained; update the system prompt text immediately before the
JSON block to explicitly require that `match_score` is an integer between 0 and
100 (no floats, no negatives, no >100) and that `decision` must be exactly one
of the three strings "Likely Match", "Possible Match", or "Not a Match"; mention
these constraints in plain language (and optionally as brief inline comments
next to `match_score` and `decision`) so downstream parsers and validators know
to reject/normalize invalid values.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Pro

Run ID: 5d017264-ca3c-4119-a24c-6bde20905698

📥 Commits

Reviewing files that changed from the base of the PR and between 546aff0 and b449ddb.

📒 Files selected for processing (2)
  • kits/lostfound-match-agent/README.md
  • kits/lostfound-match-agent/prompts/lostfound-match-agent_system.md

@akshatvirmani
Copy link
Copy Markdown

Hello @Rewant05

Keep the structure as mentioned in the CONTRIBUTING.MD only. I will let you know if this causes any problems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants